Water Quality Models for Drinking Water Treatment Processes
Apply balance_ions
within a dataframe and output a column of water
...
Apply balance_ions
function and output a dataframe
Add Na, K, Cl, or SO4 to balance overall charge in a water
Determine TOC removal from biofiltration using Terry & Summers BDOC mo...
Apply blend_waters
within a dataframe and output a column of water
...
Apply blend_waters
to a dataframe and output water
slots as a data...
Determine blended water quality from multiple waters based on mass bal...
Apply calculate_corrosion
to a dataframe and output a column of `wat...
Apply calculate_corrosion
to a dataframe and create new columns with...
Calculate six corrosion and scaling indices (AI, RI, LSI, LI, CSMR, CC...
Calculate dissolved inorganic carbon (DIC) from total carbonate
Calculate hardness from calcium and magnesium
Determine disinfection credit from chlorine.
Apply chemdose_dbp
within a data frame and output a column of `water...
Apply chemdose_dbp
function within a data frame and output a data fra...
Calculate DBP formation
Calculate new fluoride concentration after dosing alum.
Apply chemdose_ph
within a dataframe and output a column of water
...
Apply chemdose_ph
function and output a dataframe
Calculate new pH and ion balance after chemical addition
Apply chemdose_toc
within a dataframe and output a column of water
...
Apply chemdose_toc
function and output a data frame
Determine TOC removal from coagulation
Calculate unit conversions for common compounds
Convert water
class object to a dataframe
Convert a water
class object to a dataframe with ions in mg/L or ug/...
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
Apply dissolve_pb
to a dataframe and create a new column with numeri...
Simulate contributions of various lead solids to total soluble lead
Calculate bromate formation
Determine disinfection credit from ozone.
Apply pac_toc
within a data frame and output a column of water
cla...
Apply pac_toc
function within a data frame and output a data frame
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
Apply solvedose_alk
to a dataframe and create a new column with nume...
Calculate a desired chemical dose for a target alkalinity
Apply solvedose_ph
to a dataframe and create a new column with numer...
Calculate a desired chemical dose for a target pH
Convert mg/L of chemical to lb/day
Apply solveresid_o3
to a data frame and create a new column with res...
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. 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