Water guide: Difference between revisions

From Opasnet
Jump to navigation Jump to search
Line 223: Line 223:


=== Calculations ===
=== Calculations ===
==== Initiate model ====


<rcode name="waterguide" label="Initiate Water guide model" embed=0 graphics=1>
<rcode name="waterguide" label="Initiate Water guide model" embed=0 graphics=1>
Line 286: Line 288:
}
}
</rcode>
</rcode>
==== Plotly test ====
library(OpasnetUtils)
library(ggplot2)
library(plotly)
objects.latest("Op_en6177", code_name="waterguide") # [[Water guide]] fetch the whole model
total_population <- 10000
# Create ovariables from user input data
RawClass <- Ovariable("RawClass", data=data.frame(RawWaterClass = "Surface water - high contamination", Result=1))
Treatment <- Ovariable("Treatment", data=data.frame(TreatmentMethod=c("None"), Result=1))
ChlorineDose <- Ovariable("ChlorineDose", data=data.frame(Result=0.0))
RawConsumption <- Ovariable("RawConsumption", data=data.frame(Result=0.8))
# divide the given population size to different age groups based on age distribution of all of Finland
population <- Ovariable("population",
                        dependencies=data.frame(
                          Name=c("total_population")
                        ),
                        formula=function (...) {
                          population2 <- Ovariable(
                            "population2",
                            ddata="Op_en2949", subset="Population"
                          )
                          population2 <- EvalOutput(population2)
                          population <- population2/oapply(population2, cols = "Age", FUN=sum) * total_population
                          return(population)
                        }
)
BoDattr <- EvalOutput(BoDattr, verbose=FALSE, forceEval=TRUE)
plotdata <- oapply(unkeep(BoDattr, sources=TRUE), NULL, mean, "Iter")
plotdata <- oapply(plotdata, FUN=sum, cols="Age")
plot_ly(plotdata@output, x = ~BoDattrResult, y = ~Exposure_agent,
        type = 'bar',
        orientation = "h", # bars vertically or horizontally
        color = ~Response, # what to use as a basis for colored groups
        colors=c("sandybrown", "gray50", "darkorchid1", "aquamarine1", "firebrick1",
                "cornflowerblue", "gold1", "chocolate3")) %>% # the colors used
  # in the order that the diseases appear in the table. not level order. table order.
  layout(barmode = 'stack', # stacked plot instead of each disease its own bar
        title = paste('Burdens of disease of drinking water in a population of', total_population),
        xaxis = list(title ="DALY"),
        yaxis = list(title =""))
# calculate the number of cases
cases <- BoDattr/case_burden
cases <- oapply(unkeep(cases, sources=TRUE), NULL, mean, "Iter")
cases <- oapply(cases, FUN=sum, cols="Age")
plot_ly(cases@output, x = ~Result, y = ~Exposure_agent,
        type = 'bar', orientation = 'h',
        color = ~Response, width = 3,
        colors=c("sandybrown", "gray50", "darkorchid1", "aquamarine1", "firebrick1",
                "cornflowerblue", "gold1", "chocolate3")) %>%
  layout(barmode = 'stack',
        title = paste('Cases of disease from drinking water in a population of', total_population),
        xaxis = list(title ="tautitapaukset"),
        yaxis = list(title =""))


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

Revision as of 18:32, 14 August 2019

Obs! Water guide will be updated during summer 2019. Currently the results can only be seen by updating the result page approximately a minute after beginning to run the code.

Water guide - An assessment of the health impacts of water quality addresses the potential microbiological health risks of drinking water. These microbiological risks are due to the contamination of raw water with microbes that cause potential health problems for people using tap water, as well as the efficiency of drinking water treatment, which can be insufficient for removing harmful microbes from drinking water. The assessment will be used to determine, how high the health risk is from certain microbes in raw water. The assessment is based on a mathematical Water guide -model, which can be found below.

Question

How to assess the microbiological risks of drinking water as well as their health effects? Information of water treatment plants must be possible to use as raw data.

Answer

Situation

Classification of raw water:

Size of the exposed population:

The amount (in liters) of unboiled tap water consumed per person per day:

Microbe concentrations of raw water

Campylobacter concentration (microbes/l):

E.coli O157:H7 concentration (microbes/l):

Rotavirus concentration (microbes/l):

Norovirus concentration (microbes/l):

Cryptosporidium concentration (microbes/l):

Giardia concentration (microbes/l):

Water cleaning: Cleaning process and chlorination

Water cleaning methods in use:
Traditional cleaning
Well working cleaning
Enhanced cleaning
Slow sand filtration
Limestone filtration
Active carbon filtration
UV
Ozonization

Chlorine dose (mg/l):

+ Show code

The result page opens in a new tab by pressing the Run model -box. It will take approximately 40 seconds for the model to run, after which the results will appear on the result page.

User instructions for the Water guide -model


1. Choose classification of raw water

  • Ground water - Clean: clean ground water
  • Ground water - Surface water load: f.ex. shore infiltration
  • Surface water - Low load: relatively clean surface water
  • Surface water - Medium load: f.ex. low waste water load
  • Surface water - High load: f.ex. waste water load

OR

Choose 'I will determine microbe concentration by hand'. Write pathogen concentrations in their respective boxes.

2. State the concumption of drinking water per 24 h in liters per day per person (default 1.153 l/d).

3. State the population size of target area. (default 100000)

4. Choose treatment processes used. Obs! You can choose multiple options. If none of the first six treatment processes are used, choose "None of the above cleaning methods". If neither UV nor ozone is used, choose "None of the above disinfection methods".

5. Choose whether chlorination is used or not by inputing the chlorine dose used (mg/l). If there is no chlorination, the dose will be 0 mg/l (default 1.5 mg/l).

6. You can see the results in a new tab by pressing 'Run code'

The first two tables and one Figure at the end of the page you can see the starting values inputed into the model. The health effects are reported as two measures:

  • How many cases of gastroenteritis there are in the area per year.
  • How many DALYs or disability adjusted life years are lost due to those cases of gastroenteritis each year in the area.

Rationale

The model has been translated from Analytica to R. You can find the original model here (page in Finnish, link to the model code at the top): op_fi:Tiedosto:Vesiopas.ANA. If the user does not give concentrations for the pathogens, the values on page Pathogen concentrations in raw water will be used.

Health-based quality requirements and recommendations have been implanted on the quality of household water. In Finland, the ministry of social affairs and health is responsible for the legislation of the quality, and monitoring it is the responsibility of municipal health protection officials. Upholding and developing good water quality require high-standard research and cooperation between different parties. Ground waters and artificial ground waters are usually not disinfected. The chemicals and microbes in raw water and byproducts of disinfection produced in household water production can present health risks to the people using the household water. Water leaving the treatment plant can stay in the pipes for a long time. If the circumstances are favourable for microbial growth, the water can become low in quality and even detrimental to health while in the pipe network.

Household water is produced from either ground or surface water. The problems of these types of waters as raw water are different. Using surface water always requires establishing an actual treatment plant and the associated knowledge, skills, technologies and educated monitoring personnel. Ground water on the other hand doesn't require very complex treatment, so not many treatment plant personnel are needed, and there is less monitoring. Additionally today there are many treatment plants that produce artificial ground water. The qualities of artificial ground water can be similar to good ground waters, but the quality of the water is often only be equal to medium quality surface water.

Treatment of ground water usually includes increasing the pH and and hardness of water. This can be done using different techniques, of which the use of calcium hydroxide and carbon dioxide to regulate pH are the most common. Sometimes also precipitation of iron or manganese is required using strong oxidisers such as permanganate or chlorine. Low quality ground water is also disinfected.

In order to make surface water drinkable, it has to be heavily treated. The hardest thing is to precipitate the humus. This is done by using not only different precipitation chemicals, also for example adjust pH and breaking down the humus with strong oxidisers such as ozone. On top of that, the precipitated chemicals (such as salts of aluminium and iron) need to be removed and water hardness raised so that the pipelines don't disintegrate over time. Also, the population has to be protected from the microbes always present in surface waters, so the water needs to be disinfected to remove pathogens.

The quality of water is also affected by the condition of the pipelines and the water spends in them. If there is a lot of coagulation in the pipelines, these dregs include not only different inorganic compounds but also a large amout of bacterial mass. The coagulates in the pipelines and their qualities have started to be researched in Finland only recently.

The purpose of risk assessment is to produce information of the true size of the risk for decision-making. Risk assessment is a scientific process in which experts hold a key role. Because there are any kinds of risks to study, risk assessment processes can be very different. In environmental health risk assessment consists of four steps:

  1. Identifying the danger (does the variable researched pose a danger to humans?)
  2. Assessing the exposure-response function (how big a dose results in how big a response?)
  3. Assessing exposure (how much are humans exposed?)
  4. Characterising the risk (how high is the health risk?)[1]

All water treatment plants should periodically do risk assessment on on the household water they produce. It is done to identify actions to be taken in different crisis situations and prepare plans for different problematic situations and possible damage. Different treatment plants and for example vacation centers need different kinds of plans and implementations.

Dependencies

Calculations

Initiate model

+ Show code

Plotly test

library(OpasnetUtils) library(ggplot2) library(plotly)


objects.latest("Op_en6177", code_name="waterguide") # Water guide fetch the whole model

total_population <- 10000

  1. Create ovariables from user input data

RawClass <- Ovariable("RawClass", data=data.frame(RawWaterClass = "Surface water - high contamination", Result=1)) Treatment <- Ovariable("Treatment", data=data.frame(TreatmentMethod=c("None"), Result=1)) ChlorineDose <- Ovariable("ChlorineDose", data=data.frame(Result=0.0)) RawConsumption <- Ovariable("RawConsumption", data=data.frame(Result=0.8))

  1. divide the given population size to different age groups based on age distribution of all of Finland

population <- Ovariable("population",

                       dependencies=data.frame(
                         Name=c("total_population")
                       ),
                       formula=function (...) {
                         population2 <- Ovariable(
                           "population2",
                           ddata="Op_en2949", subset="Population"
                         )
                         population2 <- EvalOutput(population2)
                         population <- population2/oapply(population2, cols = "Age", FUN=sum) * total_population
                         return(population)
                       }

)

BoDattr <- EvalOutput(BoDattr, verbose=FALSE, forceEval=TRUE)

plotdata <- oapply(unkeep(BoDattr, sources=TRUE), NULL, mean, "Iter") plotdata <- oapply(plotdata, FUN=sum, cols="Age")


plot_ly(plotdata@output, x = ~BoDattrResult, y = ~Exposure_agent,

       type = 'bar',
       orientation = "h", # bars vertically or horizontally
       color = ~Response, # what to use as a basis for colored groups
       colors=c("sandybrown", "gray50", "darkorchid1", "aquamarine1", "firebrick1",
                "cornflowerblue", "gold1", "chocolate3")) %>% # the colors used
 # in the order that the diseases appear in the table. not level order. table order.
 layout(barmode = 'stack', # stacked plot instead of each disease its own bar
        title = paste('Burdens of disease of drinking water in a population of', total_population),
        xaxis = list(title ="DALY"),
        yaxis = list(title =""))


  1. calculate the number of cases

cases <- BoDattr/case_burden

cases <- oapply(unkeep(cases, sources=TRUE), NULL, mean, "Iter") cases <- oapply(cases, FUN=sum, cols="Age")

plot_ly(cases@output, x = ~Result, y = ~Exposure_agent,

       type = 'bar', orientation = 'h',
       color = ~Response, width = 3,
       colors=c("sandybrown", "gray50", "darkorchid1", "aquamarine1", "firebrick1",
                "cornflowerblue", "gold1", "chocolate3")) %>%
 layout(barmode = 'stack',
        title = paste('Cases of disease from drinking water in a population of', total_population),
        xaxis = list(title ="tautitapaukset"),
        yaxis = list(title =""))

See also

Municipality-specific data

References