This function takes a water defined by define_water and the first order decay curve parameters from an ozone dose and outputs a dataframe of acutal CT, and log removal for giardia, virus, and crypto
water: Source water object of class "water" created by define_water. Water must include ph and temp
time: Retention time of disinfection segment in minutes.
dose: Ozone dose in mg/L. This value can also be the y intercept of the decay curve (often slightly lower than ozone dose.)
kd: First order decay constant. This parameter is optional. If not specified, the default ozone decay equations will be used.
baffle: Baffle factor - unitless value between 0 and 1.
Returns
A data frame containing actual CT, giardia log removal, virus log removal, and crypto log removal.
Details
First order decay curve for ozone has the form: residual = dose * exp(kd*time). kd should be a negative number. Actual CT is an integration of the first order curve. The first 30 seconds are removed from the integral to account for instantaneous demand.