powered by
This function applies the Terry model to a water created by define_water to determine biofiltered DOC (mg/L).
define_water
biofilter_toc(water, ebct, ozonated = TRUE)
A water class object with modeled DOC removal from biofiltration.
Source water object of class "water" created by define_water.
The empty bed contact time (min) used for the biofilter
Logical; TRUE if the water is ozonated (default), FALSE otherwise
library(tidywater) water <- define_water(ph = 7, temp = 25, alk = 100, toc = 5.0, doc = 4.0, uv254 = .1) %>% biofilter_toc(ebct = 10, ozonated = FALSE)
Run the code above in your browser using DataLab