Water guide: Difference between revisions
Line 589: | Line 589: | ||
rawclass <- c(rep("Ground water - clean", 3), rep("Surface water - high contamination", 4)) | rawclass <- c(rep("Ground water - clean", 3), rep("Surface water - high contamination", 4)) | ||
labels <- c("Ground - none", "Ground - sand", "Ground - sand+uv", "Surface - none", | labels <- c("Ground - none", "Ground - sand", "Ground - sand+uv", "Surface - none", | ||
"Surface - uv", "Surface - sand+uv", "Surface - sand+carbon+uv") | |||
plotdata_illness <- data.frame(matrix(ncol=5, nrow=0)) | plotdata_illness <- data.frame(matrix(ncol=5, nrow=0)) | ||
Line 615: | Line 615: | ||
oapply(plotdata, FUN=sum, cols=c("Response", "Age"))@output, | oapply(plotdata, FUN=sum, cols=c("Response", "Age"))@output, | ||
label = labels[i])) | label = labels[i])) | ||
} | } | ||
Line 638: | Line 638: | ||
y=illness_data$response[illness_data$label==levels(illness_data$label)[i]], # y (exposure agent) on y | y=illness_data$response[illness_data$label==levels(illness_data$label)[i]], # y (exposure agent) on y | ||
visible = illness_data$visible[illness_data$label==levels(illness_data$label)[i]], # is this trace visible | visible = illness_data$visible[illness_data$label==levels(illness_data$label)[i]], # is this trace visible | ||
# text = aval$pathogen[aval$rawclass==levels(aval$rawclass)[i]], # text to be used as a label | |||
mode="markers", | mode="markers", | ||
marker = list(size=10, # marker size | marker = list(size=10, # marker size | ||
colorscale = list( | colorscale = list(list(0, 'rgba(200,200,200,0.2)'), list(1, 'rgba(0,181,204,1)')), # sets the colors used when color=0 and color=1 | ||
color = c(rep(1, 8), # the first 17 markers use color 1 | color = c(rep(1, 8), # the first 17 markers use color 1 | ||
rep(0, 8*5))), # the rest use color 0 | rep(0, 8*5))), | ||
# opacity = c(rep(1, 8), # the first 17 markers use color 1 | |||
# rep(0.05, 8*5))), # the rest use color 0 | |||
hoverinfo = "x", # what is the info shown when mouse on top of marker | hoverinfo = "x", # what is the info shown when mouse on top of marker | ||
showlegend=F) | showlegend=F) | ||
bw <- list(args = list('visible', rep(FALSE, length(treatment))), # set all steps to not visible | bw <- list(args = list('visible', rep(FALSE, length(treatment))), # set all steps to not visible | ||
method = 'restyle', | |||
label= levels(illness_data$label)[i]) # Sets the text label to appear on the menu | |||
bw$args[[2]][i] = TRUE # set data on step | bw$args[[2]][i] = TRUE # set data on i+1 step to be visible when step i is chosen | ||
buttons_water1[[i]] = bw # make a list with all the steps | buttons_water1[[i]] = bw # make a list with all the steps | ||
} | } | ||
Line 679: | Line 681: | ||
label = "0.5") | label = "0.5") | ||
) | ) | ||
# add slider control to plot | # add slider control to plot | ||
Line 689: | Line 690: | ||
updatemenus = list(list(active = 0, | updatemenus = list(list(active = 0, | ||
buttons = buttons_water1)), | buttons = buttons_water1)), | ||
# type = "buttons")), | |||
# y = , | |||
# direction = "right")), | |||
title = paste('Burdens of disease of drinking water in a population of', total_population), | title = paste('Burdens of disease of drinking water in a population of', total_population), | ||
xaxis = list(title ="DALY"), | xaxis = list(title ="DALY"), | ||
Line 697: | Line 698: | ||
illness_plot | illness_plot | ||
# | |||
### DALYS BY AGE GROUP ---- | ### DALYS BY AGE GROUP ---- | ||
Line 721: | Line 724: | ||
y=age_data$age[age_data$label==levels(age_data$label)[i]], # y (exposure agent) on y | y=age_data$age[age_data$label==levels(age_data$label)[i]], # y (exposure agent) on y | ||
visible = age_data$visible[age_data$label==levels(age_data$label)[i]], # is this trace visible | visible = age_data$visible[age_data$label==levels(age_data$label)[i]], # is this trace visible | ||
# text = aval$pathogen[aval$rawclass==levels(aval$rawclass)[i]], # text to be used as a label | |||
mode="markers", | mode="markers", | ||
marker = list(size=10, # marker size | marker = list(size=10, # marker size | ||
colorscale = list( | colorscale = list(list(0, 'rgba(200,200,200,0.2)'), list(1, 'rgba(0,181,204,1)')), # sets the colors used when color=0 and color=1 | ||
color = c(rep(c(1,0,0,0,0,0), 6))), | color = c(rep(c(1,0,0,0,0,0), 6))), | ||
hoverinfo = "x", # what is the info shown when mouse on top of marker | hoverinfo = "x", # what is the info shown when mouse on top of marker | ||
Line 731: | Line 734: | ||
bw <- list(args = list('visible', rep(FALSE, length(treatment))), # set all steps to not visible | bw <- list(args = list('visible', rep(FALSE, length(treatment))), # set all steps to not visible | ||
method = 'restyle', | method = 'restyle', | ||
label= levels( | label= levels(age_data$label)[i]) # Sets the text label to appear on the menu | ||
bw$args[[2]][i] = TRUE # set data on step | bw$args[[2]][i] = TRUE # set data on i+1 step to be visible when step i is chosen | ||
buttons_water2[[i]] = bw # make a list with all the steps | buttons_water2[[i]] = bw # make a list with all the steps | ||
} | } | ||
Line 800: | Line 803: | ||
pathogen_plot <- plot_ly() | pathogen_plot <- plot_ly() | ||
for (i in 1:length(treatment)) { | for (i in 1:length(treatment)) { | ||
pathogen_plot <- add_trace(pathogen_plot, # add traces to illness_plot | |||
type = "scatter", | |||
x=pathogen_data$result[pathogen_data$label==levels(pathogen_data$label)[i]], # x (BoD) on x | |||
y=pathogen_data$pathogen[pathogen_data$label==levels(pathogen_data$label)[i]], # y (exposure agent) on y | |||
visible = pathogen_data$visible[pathogen_data$label==levels(pathogen_data$label)[i]], # is this trace visible | |||
mode="markers", | |||
marker = list(size=10, # marker size | |||
colorscale = list(list(0, 'rgba(200,200,200,0.2)'), list(1, 'rgba(0,181,204,1)')), # sets the colors used when color=0 and color=1 | |||
color = c(rep(1, 6), # the first 17 markers use color 1 | |||
rep(0, 6*5))), # the rest use color 0 | |||
hoverinfo = "x", # what is the info shown when mouse on top of marker | |||
showlegend=F) | |||
bw <- list(args = list('visible', rep(FALSE, length(treatment))), # set all steps to not visible | bw <- list(args = list('visible', rep(FALSE, length(treatment))), # set all steps to not visible | ||
method = 'restyle', | method = 'restyle', | ||
label= levels(pathogen_data$label)[i]) # Sets the text label to appear on the menu | label= levels(pathogen_data$label)[i]) # Sets the text label to appear on the menu | ||
bw$args[[2]][i] = TRUE # set data on step | bw$args[[2]][i] = TRUE # set data on i+1 step to be visible when step i is chosen | ||
buttons_water3[[i]] = bw # make a list with all the steps | buttons_water3[[i]] = bw # make a list with all the steps | ||
} | } | ||
steps_cl3 <- list(list(args = list('marker.color', # marker color is changed | steps_cl3 <- list(list(args = list('marker.color', # marker color is changed | ||
Line 894: | Line 897: | ||
# marker = list(size = c(rep(13, 17), rep(3, 17*5)), | # marker = list(size = c(rep(13, 17), rep(3, 17*5)), | ||
# color = 'rgba( | # color = 'rgba(0,181,204,1)'), | ||
pushIndicatorGraph(illness_plot, 84) | |||
</rcode> | </rcode> | ||
Revision as of 08:40, 6 September 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
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:
- Identifying the danger (does the variable researched pose a danger to humans?)
- Assessing the exposure-response function (how big a dose results in how big a response?)
- Assessing exposure (how much are humans exposed?)
- 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
- Op_en2949 Population of Finland
- Op_en2261 HIA
- Op_en7948 ERF of waterborne microbes
- Op_fi2994 op_fi:Paikkakuntakohtaiset tiedot talousveden käsittelyyn (in Finnish) Water treatment in Finland
- Op_en7957 Health impacts of waterborne microbes
- Op_en7947 Case burden of waterborne microbes
- Op_en7953 Pathogen concentrations in raw water
- Op_en7954 Drinking water treatment efficiency (Filtration etc.)
- Op_en7955 Drinking water disinfection efficiency (UV, ozone)
- Op_en7956 Drinking water chlorination efficiency
Table of decisions used in drawing plotly graphs.
Obs | Decision | Option | Variable | Cell | Change | Description | Result |
---|---|---|---|---|---|---|---|
1 | Adjust | Ground - none | RawConcentration | RawWaterClass: Ground water - surface water contamination | Remove | ||
2 | Adjust | Ground - none | RawConcentration |
Well, this doesn't work at all.
Calculations
Initiate model
Plotly test
Another plotly test
Plotly with two sliders
See also
Moderator:Päivi Meriläinen (see all) |
|
Upload data
|
- op_fi:Arviointi pohjavesilaitoksen mikrobiologisista riskeistä
- op_fi:Arviointi juomaveden kloorifenolien terveysvaikutuksista
- heande:Kuovesi
- op_fi:Mikrobien määrä juomavedessä
- op_fi:Mikrobien määrä pohjavedessä
- http://www.fao.org/docrep/006/y4666e/y4666e06.htm#TopOfPage
- http://wiki.camra.msu.edu/index.php?title=Main_Page
- http://www.medicina.fi/index.php?option=com_content&view=article&id=48&Itemid=56#I
- Archived model version:
- Split version: a corrected model 19.7.2019.
- Old version: The original 2012 version that was the starting point for development
- New version: An intermediate version with bugs
- Model run 12.7.2019 [1]
Municipality-specific data
- Op_fi2603 op_fi:Arviointi juomaveden laadun terveysvaikutuksista/Kuopio (vedenpuhdistamon tietoja)
- heande:Polaris:Raakaveden patogeenipitoisuudet/Lahti
- heande:Polaris:Raakaveden patogeenipitoisuudet/Mikkeli
- heande:Polaris:Raakaveden patogeenipitoisuudet/Kirkkonummi
- heande:Polaris:Paikkakuntakohtaiset tiedot talousveden käsittelyyn/Lahti
- heande:Polaris:Paikkakuntakohtaiset tiedot talousveden käsittelyyn/Mikkeli
- heande:Polaris:Paikkakuntakohtaiset tiedot talousveden käsittelyyn/Kirkkonummi
- heande:Polaris:Juomaveden desinfiointi/Lahti
- heande:Polaris:Juomaveden desinfiointi/Mikkeli
- heande:Polaris:Juomaveden desinfiointi/Kirkkonummi
- heande:Polaris:Vedenkäsittelyn tehokkuus/Lahti
- heande:Polaris:Vedenkäsittelyn tehokkuus/Mikkeli
- heande:Polaris:Vedenkäsittelyn tehokkuus/Kirkkonummi