This function takes a water defined by define_water and other disinfection parameters and outputs a data frame of the required CT (ct_required), actual CT (ct_actual), and giardia log removal (glog_removal).
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.
residual: Minimum chlorine residual in disinfection segment in mg/L as Cl2.
baffle: Baffle factor - unitless value between 0 and 1.
Returns
A data frame of the required CT, actual CT, and giardia log removal.
Details
CT actual is a function of time, chlorine residual, and baffle factor, whereas CT required is a function of pH, temperature, chlorine residual, and the standard 0.5 log removal of giardia requirement. CT required is an empirical regression equation developed by Smith et al. (1995) to provide conservative estimates for CT tables in USEPA Disinfection Profiling Guidance. Log removal is a rearrangement of the CT equations.