Learn R Programming

tidywater (version 0.7.0)

solveresid_o3: Determine ozone decay

Description

This function applies the ozone decay model to a water created by define_water from U.S. EPA (2001) equation 5-128.

Usage

solveresid_o3(water, dose, time)

Value

A numeric value for the resiudal ozone.

Arguments

water

Source water object of class "water" created by define_water.

dose

Applied ozone dose in mg/L

time

Ozone contact time in minutes

Examples

Run this code
ozone_resid <- define_water(7, 20, 100, doc = 2, toc = 2.2, uv254 = .02, br = 50) %>%
  solveresid_o3(dose = 2, time = 10)

Run the code above in your browser using DataLab