R: Water Quality Models for Drinking Water Treatment Processes

# Water Quality Models for Drinking Water Treatment Processes

## Documentation for package ‘tidywater’ version 0.10.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

balance_ions | Add an ion to balance overall charge in a water
balance_ions_df | Add an ion to balance overall charge in a water
biofilter_toc | Determine TOC removal from biofiltration using Terry & Summers BDOC model
biofilter_toc_df | Determine TOC removal from biofiltration using Terry & Summers BDOC model
blend_waters | Determine blended water quality from multiple waters based on mass balance and acid/base equilibrium
blend_waters_df | Determine blended water quality from multiple waters based on mass balance and acid/base equilibrium
bromatecoeffs | Data frame of bromate coefficients for predicting bromate formation during ozonation
calculate_activity | Calculate activity coefficients
calculate_corrosion | Calculate six corrosion and scaling indices (AI, RI, LSI, LI, CSMR, CCPP)
calculate_corrosion_df | Calculate six corrosion and scaling indices (AI, RI, LSI, LI, CSMR, CCPP)
calculate_hardness | Calculate hardness from calcium and magnesium
chemdose_chloramine | Calculate chlorine and chloramine Concentrations with the breakpoint cblorination approach
chemdose_chloramine_df | Calculate chlorine and chloramine Concentrations with the breakpoint cblorination approach
chemdose_chlordecay | Calculate chlorine decay
chemdose_chlordecay_df | Calculate chlorine decay
chemdose_dbp | Calculate DBP formation
chemdose_dbp_df | Calculate DBP formation
chemdose_ph | Calculate new pH and ion balance after chemical addition
chemdose_ph_df | Calculate new pH and ion balance after chemical addition
chemdose_toc | Determine TOC removal from coagulation
chemdose_toc_df | Determine TOC removal from coagulation
chloramine_conv | Data frame of conversion factors for estimating DBP formation from chloramines
cl2coeffs | Data frame of Cl2 decay coefficients
convert_units | Calculate unit conversions for common compounds
convert_water | Convert 'water' class object to a dataframe
convert_watermg | Convert 'water' class object to a dataframe
correct_k | Correct acid dissociation constants
dbpcoeffs | Data frame of DBP coefficients for predicting DBP formation
dbp_correction | Data frame of correction factors for estimating DBP formation as a function of location
decarbonate_ph | Apply decarbonation to a water
decarbonate_ph_df | Apply decarbonation to a water
define_water | Create a water class object given water quality parameters
define_water_df | Apply 'define_water' within a dataframe and output a column of 'water' class to be chained to other tidywater functions
discons | Dissociation constants and standard enthalpy for weak acids/bases
dissolve_cu | Calculate Dissolved Copper Concentration
dissolve_cu_df | Calculate Dissolved Copper Concentration
dissolve_pb | Simulate contributions of various lead solids to total soluble lead
dissolve_pb_df | Simulate contributions of various lead solids to total soluble lead
edwardscoeff | Data frame of Edwards model coefficients
gacbv_toc | Calculate maximum bed volumes to stay below target DOC
gacbv_toc_df | Calculate maximum bed volumes to stay below target DOC
gacrun_toc | Calculate TOC Concentration in GAC system
gacrun_toc_df | Calculate TOC Concentration in GAC system
gac_toc | Calculate TOC Concentration in GAC system
gac_toc_df | Calculate TOC Concentration in GAC system
leadsol_constants | Data frame of equilibrium constants for lead and copper solubility
modify_water | Modify slots in a 'water' class object
modify_water_df | Modify slots in a 'water' class object
mweights | Molar weights of relevant compounds
opensys_ph | Calculate pH for water in an open system
opensys_ph_df | Calculate pH for water in an open system
ozonate_bromate | Calculate bromate formation
ozonate_bromate_df | Calculate bromate formation
pactoccoeffs | Data frame of PAC TOC model coefficients
pac_toc | Calculate DOC Concentration in PAC system
pac_toc_df | Calculate DOC Concentration in PAC system
plot_ions | Create summary plot of ions from water class
plot_lead | Create dissolved lead and DIC contour plot given input data frame
pluck_water | Pluck out a single parameter from a 'water' class object
regulate_toc | Determine if TOC removal meets Stage 1 DBP Rule requirements
regulate_toc_df | Determine if TOC removal meets Stage 1 DBP Rule requirements
solvecost_chem | Determine chemical cost
solvecost_labor | Determine labor cost
solvecost_power | Determine power cost
solvecost_solids | Determine solids disposal cost
solvect_chlorine | Determine disinfection credit from chlorine.
solvect_chlorine_df | Determine disinfection credit from chlorine.
solvect_o3 | Determine disinfection credit from ozone.
solvect_o3_df | Determine disinfection credit from ozone.
solvedose_alk | Calculate a desired chemical dose for a target alkalinity
solvedose_alk_df | Calculate a desired chemical dose for a target alkalinity
solvedose_ph | Calculate a desired chemical dose for a target pH
solvedose_ph_df | Calculate a desired chemical dose for a target pH
solvemass_chem | Convert mg/L of chemical to lb/day
solvemass_solids | Determine solids lb/day
solveresid_o3 | Determine ozone decay
solveresid_o3_df | Determine ozone decay
summarise_wq | Create summary table from water class
summarize_wq | Create summary table from water class
toc_compliance_table | Data frame of TOC removal requirements per Stage 1 DBP Rule
vlog_removalcts | Data frame of virus log removal CT values
water_df | Data frame of water quality parameters