Health impacts of waterborne microbes: Difference between revisions

From Opasnet
Jump to navigation Jump to search
Line 58: Line 58:
objects.store(RawConsumption)
objects.store(RawConsumption)
cat("Ovariable RawConsumption saved. \n")
cat("Ovariable RawConsumption saved. \n")
</rcode>
The raw water default class: Surface water - high contamination
<rcode
name="rawclass"
label="Initialize raw water class"
>
# This is code "Op_en 7957/rawclass" on page [[Health impact of waterborne microbes]]
library(OpasnetUtils)
RawClass <- Ovariable("RawClass", data=data.frame(RawWaterClass = "Surface water - high contamination", RawClassResult = 1))
objects.store(RawClass)
cat("Ovariable RawClass saved. \n")


</rcode>
</rcode>
Line 107: Line 123:


TreatedConcentration <- Ovariable("TreatedConcentration", dependencies = data.frame(
TreatedConcentration <- Ovariable("TreatedConcentration", dependencies = data.frame(
                                   Name=c("RawConcentration", "MicrobeLogDecrease"),
                                   Name=c("RawConcentration", "MicrobeLogDecrease", "RawClass"),
                                   Ident=c("Op_en7953/variable", "Op_en7957/logdecrease")
                                   Ident=c("Op_en7953/variable", "Op_en7957/logdecrease", "Op_en7957/rawclass")
                                   ),
                                   ),
                                   formula = function(...){
                                   formula = function(...){
                                     # Use the rows of RawConcentration with the right type of raw water
                                     # Use the rows of RawConcentration with the right type of raw water
                                    # THE DATA FOR WHICH RAW WATER TYPE TO USE COMES IN REALITY FROM THE USER???
                                     RawConcentration <- RawConcentration*RawClass
                                    # THIS HAS TO BE CHANGED WHEN INTERFACE IS MADE
                                    raw.water <- "Surface water - high load"
                                   
                                     RawConcentration <- RawConcentration[RawConcentration$'Raw water source' == raw.water]
                                      
                                      
                                     # Calculate the concentration of bacteria after treatment from log decrease
                                     # Calculate the concentration of bacteria after treatment from log decrease

Revision as of 06:06, 17 July 2019



Question

What are the health impacts of waterborne microbes in drinking water?

Answer

Rationale

Data

Health impacts of waterborne microbes depends on the following parameters:

Calculations

RCode

Daily cold tap water use of Finns

+ Show code

+ Show code

The raw water default class: Surface water - high contamination

+ Show code

Log decrease of concentration of microbes in drinking water due to water treatment

+ Show code

Pathogen concentration in drinking water

+ Show code

The amount of pathogens an average water consumer is exposed to in a day

+ Show code

See also