Water Quality Models for Drinking Water Treatment Processes
Add an ion to balance overall charge in a water
Determine TOC removal from biofiltration using Terry & Summers BDOC mo...
Determine blended water quality from multiple waters based on mass bal...
Calculate activity coefficients
Calculate six corrosion and scaling indices (AI, RI, LSI, LI, CSMR, CC...
Calculate hardness from calcium and magnesium
Calculate chlorine and chloramine Concentrations with the breakpoint c...
Calculate chlorine decay
Calculate DBP formation
Calculate new pH and ion balance after chemical addition
Determine TOC removal from coagulation
Calculate unit conversions for common compounds
Convert water
class object to a dataframe
Correct acid dissociation constants
Apply decarbonation to a water
Apply define_water
within a dataframe and output a column of water
...
Apply define_water
and output a dataframe
Create a water class object given water quality parameters
Calculate Dissolved Copper Concentration
Calculate Dissolved Copper Concentration
Simulate contributions of various lead solids to total soluble lead
Modify a single slot in a water
class object
Calculate bromate formation
Calculate DOC Concentration in PAC system
Pipe operator
Create summary plot of ions from water class
Pluck out a single parameter from a water
class object
Determine chemical cost
Determine labor cost
Determine power cost
Determine solids disposal cost
Determine disinfection credit from chlorine.
Determine disinfection credit from ozone.
Calculate a desired chemical dose for a target alkalinity
Calculate a desired chemical dose for a target pH
Convert mg/L of chemical to lb/day
Determine solids lb/day
Determine ozone decay
Create summary table from water class
tidywater: Water Quality Models for Drinking Water Treatment Processes
Provides multiple water chemistry-based models and published empirical models in one standard format. As many models have been included as possible, however, users should be aware that models have varying degrees of accuracy and applicability. To learn more, read the references provided below for the models implemented. Functions can be chained together to model a complete treatment process and are designed to work in a 'tidyverse' workflow. Models are primarily based on these sources: Benjamin, M. M. (2002, ISBN:147862308X), Crittenden, J. C., Trussell, R., Hand, D., Howe, J. K., & Tchobanoglous, G., Borchardt, J. H. (2012, ISBN:9781118131473), USEPA. (2001) <https://www.epa.gov/sites/default/files/2017-03/documents/wtp_model_v._2.0_manual_508.pdf>.
Useful links