A quoted R expression representing the routine water-treatment pathway in the illustrative water-supply risk assessment. It calculates the treated Cryptosporidium concentration, ingested dose, individual infection probability, and number of person-day exposure trials.
Format
A quoted R expression that creates the following model nodes:
- treated_conc
Cryptosporidium concentration remaining after treatment.
- treatment_dose
Daily ingested dose from treated water.
- p_inf_treatment
Individual daily probability of infection through the treatment pathway.
- person_days
Number of person-day exposure trials, calculated as population multiplied by exposure days.
Examples
treatment_exp
#> {
#> treated_conc <- source_conc * 10^(-treatment_lrv)
#> treatment_dose <- treated_conc * water_volume
#> p_inf_treatment <- 1 - exp(-dose_response_r * treatment_dose)
#> person_days <- population * exposure_days
#> }
treatment_module <- eval_module(
exp = list(treatment = treatment_exp),
data = water_data,
mctable = water_mctable,
data_keys = water_data_keys
)
#> treatment evaluated
#> mcmodule created (expressions: treatment)
