Health impacts of waterborne microbes: Difference between revisions

From Opasnet
Jump to navigation Jump to search
Line 32: Line 32:
library(OpasnetUtils)
library(OpasnetUtils)


Wateruse = Ovariable("Wateruse", data = data.frame(WateruseResult = 1153), save = TRUE)
Wateruse = Ovariable("Wateruse", data = data.frame(WateruseResult = 1153))
 
objects.save(Wateruse)


oprint(Wateruse)
oprint(Wateruse)
Line 42: Line 44:
library(OpasnetUtils)
library(OpasnetUtils)


dependencies = data.frame(
RawConsumption <- Ovariable("RawConsumption",
Name = c("Wateruse"),
                            dependencies = data.frame(Name = c("Wateruse"), Ident = c("Op_en7957/consumption")),
Ident = c("Op_en7957/consumption")
                            formula = function(...){
                              return(2 / 3 * Wateruse / 1000)  # 2/3 consumed unboiled. Converted into liters.
                            }
)
)


function = function(...){
objects.store(RawConsumption)
return(2 / 3 * Wateruse / 1000) # 2/3 consumed unboiled. Converted into liters.
}
 
RawConsumption <- Ovariable("RawConsumption", dependencies = dependencies, formula = function, save = TRUE)


oprint(RawConsumption)
oprint(RawConsumption)
Line 117: Line 117:
}
}


TreatedConcentration <- Ovariable("TreatedConcentration", dependencies = dependencies, formula = funktio, save = TRUE)
TreatedConcentration <- Ovariable("TreatedConcentration", dependencies = dependencies, formula = funktio)
 
objects.store(TreatedConcentration)


oprint(TreatedConcentration)
</rcode>
</rcode>


Line 128: Line 129:
library(OpasnetUtils)
library(OpasnetUtils)


dependencies = data.frame(
Exposure <- Ovariable("Exposure",
Name = c("TreatedConcentration", "RawConsumption"),
                      dependencies = data.frame(
Ident = c("Op_en7957/pathconcentration", "Op_en7957/rawconsumption")
                        Name = c("TreatedConcentration", "RawConsumption"),
                        Ident = c("Op_en7957/pathconcentration", "Op_en7957/rawconsumption")
                        ),
                      formula = function(...){
                        return(TreatedConcentration * RawConcumption)
                      }
)
)


funktio = function(...){
objects.store(Exposure)
return(TreatedConcentration * RawConcumption)
}


Exposure <- Ovariable("Exposure", dependencies = dependencies, formula = funktio, save = TRUE)
oprint(Exposure)
</rcode>
</rcode>


== See also ==
== See also ==

Revision as of 10:44, 15 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

Concentrations of pathogens in drinking water

+ Show code

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

+ Show code

See also