Difference between revisions of "Climate change policies and health in Kuopio"

From Testiwiki
Jump to: navigation, search
(Model version 2)
m
 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
[[Category:Climate change]]
 
[[Category:Climate change]]
 
[[Category:Urgenche]]
 
[[Category:Urgenche]]
{{assessment|moderator=Jouni|status=Ongoing}}
+
{{assessment|moderator=Jouni}}
  
 
{{summary box
 
{{summary box
Line 67: Line 67:
  
 
:''This model version was used to produce the corrected manuscript in July 2015.
 
:''This model version was used to produce the corrected manuscript in July 2015.
 +
* [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=5YrOTNdv6hO2Gg92 Model run 21.7.2015] runs to the end but emissions are too large exp for wood after 1980.
 +
* [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=CKE08J9mOmLlbtoi Model run 22.7.2015] Bugs with fuelShares fixed. Now results are similar to the ones in the manuscript. Except that health impacts are 2-3 times higher, only partly due to higher wood burning in the 2000's.
 +
* [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=iWTbYNM9MZOeQ0P7 Model run 23.7.2015] archived version. Also renovationShares and changeBuildings data corrected.
 +
* [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=PWq7mHEWjyFReXDV Model run 24.7.2015] archived version. This was used for the manuscript.
  
<rcode graphics=1 store=0 variables="name:server|type:hidden|default:TRUE">
+
<rcode graphics=1 store0 variables="name:server|type:hidden|default:TRUE">
 
### THIS CODE IS FROM PAGE [[Climate change policies and health in Kuopio]] (Op_en5461, code_name = "")
 
### THIS CODE IS FROM PAGE [[Climate change policies and health in Kuopio]] (Op_en5461, code_name = "")
 
library(OpasnetUtils)
 
library(OpasnetUtils)
Line 79: Line 83:
 
BS <- 24 # base_size = font sixe in graphs
 
BS <- 24 # base_size = font sixe in graphs
 
figstofile <- FALSE
 
figstofile <- FALSE
 
+
saveobjects <- FALSE
############################## Case-sepecific data and submodels
+
finnish <- FALSE
 +
suomenna <- function(ova) {
 +
if(class(ova) == "ovariable") out <- ova@output else out <- ova
 +
if("Heating" %in% colnames(out)) {
 +
out$Heating <- as.factor(out$Heating)
 +
levels(out$Heating)[levels(out$Heating) == "District heating"] <- "District"
 +
}
 +
if("Response" %in% colnames(out)) {
 +
out$Response <- as.factor(out$Response)
 +
levels(out$Response)[levels(out$Response) == "Cardiopulmonary mortality"] <- "Cardiopulmonary"
 +
}
 +
if("Pollutant" %in% colnames(out)) {
 +
out$Pollutant <- as.factor(out$Pollutant)
 +
levels(out$Pollutant)[levels(out$Pollutant) == "CO2trade"] <- "CO2official"
 +
}
 +
out$Time <- as.numeric(as.character(out$Time))
 +
return(out)
 +
}
  
 
obstime <- Ovariable("obstime", data = data.frame(Obsyear = factor(seq(1920, 2050, 10), ordered = TRUE), Result = 1))
 
obstime <- Ovariable("obstime", data = data.frame(Obsyear = factor(seq(1920, 2050, 10), ordered = TRUE), Result = 1))
Line 115: Line 136:
 
forgetDecisions()
 
forgetDecisions()
  
############################ City-specific data
+
############################ IMPORT DATA AND MODELS
  
####!------------------------------------------------
 
 
objects.latest("Op_en5417", code_name = "initiate") # [[Population of Kuopio]]  
 
objects.latest("Op_en5417", code_name = "initiate") # [[Population of Kuopio]]  
 
# population: City_area
 
# population: City_area
Line 130: Line 150:
 
# heatingSharesNew: Building2, Heating
 
# heatingSharesNew: Building2, Heating
 
# eventyear: Constructed, Eventyear
 
# eventyear: Constructed, Eventyear
# efficiencyShares: Time, Efficiency
 
 
#################### Energy use (needed for buildings submodel)
 
 
####!------------------------------------------------
 
objects.latest("Op_en5488", code_name = "initiate") # [[Energy use of buildings]]
 
# energyUse: Building, Heating
 
# efficiencyShares: Efficiency, Constructed
 
# renovationRatio: Efficiency, Building2, Renovation
 
####i------------------------------------------------
 
  
 
###################### Actual building model
 
###################### Actual building model
 
# The building stock is measured as m^2 floor area.
 
# The building stock is measured as m^2 floor area.
  
####!------------------------------------------------
 
 
objects.latest("Op_en6289", code_name = "buildingstest") # [[Building model]] # Generic building model.
 
objects.latest("Op_en6289", code_name = "buildingstest") # [[Building model]] # Generic building model.
# buildings: formula-based
+
 
####i------------------------------------------------
+
###################### Energy and emissions
 +
 
 +
objects.latest("Op_en5488", code_name = "energyUseAnnual") # [[Energy use of buildings]] energyUse
 +
objects.latest("Op_en5488", code_name = "efficiencyShares") # [[Energy use of buildings]]
 +
objects.latest("Op_en2791", code_name = "emissionstest") # [[Emission factors for burning processes]]
 +
objects.latest("Op_en2791", code_name = "emissionFactors") # [[Emission factors for burning processes]]
 +
objects.latest("Op_en7328", code_name = "emissionLocations") # [[Kuopio energy production]]
 +
objects.latest("Op_en7328", code_name = "fuelShares") # [[Kuopio energy production]]
 +
objects.latest("Op_en5141", code_name = "fuelUse") # [[Energy balance]]
 +
 
 +
## Exposure
 +
 
 +
objects.latest("Op_en5813", code_name = "exposure") # [[Intake fractions of PM]] uses Humbert iF as default.
 +
 
 +
###################### Health assessment
 +
 
 +
objects.latest('Op_en2261', code_name = 'totcases') # [[Health impact assessment]] totcases and dependencies.
 +
objects.latest('Op_en5461', code_name = 'DALYs') # [[Climate change policies and health in Kuopio]] DALYs, DW, L
 +
 
 +
frexposed <- 1 # fraction of population that is exposed
 +
bgexposure <- 0 # Background exposure to an agent (a level below which you cannot get in practice)
 +
BW <- 70 # Body weight (is needed for RR calculations although it is irrelevant for PM2.5)
 +
 
 +
##################### CALCULATIONS
 +
 
 
renovationRate <- EvalOutput(renovationRate) * 10 # Rates for 10-year periods
 
renovationRate <- EvalOutput(renovationRate) * 10 # Rates for 10-year periods
 
renovationRate@marginal[colnames(renovationRate@output) == "Age"] <- TRUE
 
renovationRate@marginal[colnames(renovationRate@output) == "Age"] <- TRUE
Line 171: Line 204:
 
)
 
)
  
bui <- oapply(buildings * 1E-6, cols = c("City_area", "buildingsSource"), FUN = sum)@output
+
energyUse <- EvalOutput(energyUse)
 +
fuelUse <- EvalOutput(fuelUse)
 +
fuelUse <- fuelUse * 1E-3 *3600 # kWh -> MJ
 +
 
 +
emissions <- EvalOutput(emissions)
 +
 
 +
population <- 1E+5 # stockBuildings is using another population to divide floor area into City areas.
 +
 
 +
exposure <- EvalOutput(exposure)
 +
exposure@output <- exposure@output[exposure@output$Area == "Average" , ] # Kuopio is an average area,
 +
# rather than rural or urban.
 +
 
 +
totcases <- EvalOutput(totcases)
 +
totcases <- oapply(totcases, cols = c("Age", "Sex"), FUN = sum)
 +
 
 +
DALYs <- EvalOutput(DALYs)
 +
 
 +
###################### GRAPHS AND OUTPUTS
 +
 
 +
bui <- suomenna(oapply(buildings * 1E-6, cols = c("City_area", "buildingsSource"), FUN = sum))
  
 
ggplot(subset(bui, RenovationPolicy == "BAU" & EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Heating)) + geom_bar(binwidth = 5) +  
 
ggplot(subset(bui, RenovationPolicy == "BAU" & EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Heating)) + geom_bar(binwidth = 5) +  
Line 181: Line 233:
 
)
 
)
  
ggplot(buildings@output, aes(x = Time, weight = buildingsResult, fill = Building))+geom_bar()+facet_grid(Efficiency~Heating)
+
if(figstofile) ggsave("Figure3.eps", width = 8, height = 7)
#test <- subset(buildings@output, EfficiencyPolicy == "BAU" & RenovationPolicy == "BAU" & Time == "2000")
 
  
if(figstofile) ggsave("Figure3.eps", width = 8, height = 7)
+
ggplot(bui, aes(x = Time, weight = buildingsResult, fill = Building))+geom_bar()+facet_grid(Efficiency~Heating)
  
 
ggplot(subset(bui, EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Renovation)) +  
 
ggplot(subset(bui, EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Renovation)) +  
Line 211: Line 262:
 
)
 
)
  
###################### Energy and emissions
 
 
####!------------------------------------------------
 
objects.latest("Op_en5488", code_name = "energyUseAnnual") # [[Energy use of buildings]] energyUse
 
objects.latest("Op_en2791", code_name = "initiate") # [[Emission factors for burning processes]]
 
# emissionFactors: Burner, Fuel, Pollutant
 
# fuelShares: Heating, Burner, Fuel
 
####i------------------------------------------------
 
  
energyUse <- EvalOutput(energyUse)
+
ggplot(subset(suomenna(energyUse), EfficiencyPolicy == "BAU"), aes(x = Time, weight = energyUseResult * 1E-6, fill = Heating)) + geom_bar(binwidth = 5) +
 
 
################ Transport and fate
 
 
 
objects.latest("Op_en5813", code_name = "initiate") # [[Intake fractions of PM]], iF
 
 
 
emissions <- EvalOutput(emissions)
 
emissions@output$Time <- as.numeric(as.character(emissions@output$Time))
 
 
 
# Plot energy need and emissions
 
 
 
ggplot(subset(energyUse@output, EfficiencyPolicy == "BAU"), aes(x = Time, weight = energyUseResult * 1E-6, fill = Heating)) + geom_bar(binwidth = 5) +
 
 
facet_wrap( ~ RenovationPolicy) + theme_gray(base_size = BS) +
 
facet_wrap( ~ RenovationPolicy) + theme_gray(base_size = BS) +
 
labs(
 
labs(
Line 241: Line 273:
 
if(figstofile) ggsave("Figure4.eps", width = 11, height = 7)
 
if(figstofile) ggsave("Figure4.eps", width = 11, height = 7)
  
emis <- truncateIndex(emissions, cols = "Emission_site", bins = 5)@output
+
ggplot(suomenna(energyUse), aes(x = Time, weight = energyUseResult * 1E-6, fill = Heating)) + geom_bar(binwidth = 5) +
 +
facet_grid(EfficiencyPolicy ~ RenovationPolicy) + theme_gray(base_size = BS) +
 +
labs(
 +
title = "Energy used in heating in Kuopio",
 +
x = "Time",
 +
y = "Heating energy (GWh /a)"
 +
)
 +
 
 +
emis <- suomenna(truncateIndex(emissions, cols = "Fuel", bins = 5))
  
ggplot(subset(emis, EfficiencyPolicy == "BAU" & RenovationPolicy == "BAU"), aes(x = Time, weight = emissionsResult, fill = Fuel)) + geom_bar(binwidth = 5) +
+
ggplot(subset(emis, EfficiencyPolicy == "BAU" & RenovationPolicy == "BAU" & Pollutant != "CO2eq"), aes(x = Time, weight = emissionsResult, fill = Fuel)) + geom_bar(binwidth = 5) +
 
facet_grid(Pollutant ~ FuelPolicy, scale = "free_y") + theme_gray(base_size = BS) +
 
facet_grid(Pollutant ~ FuelPolicy, scale = "free_y") + theme_gray(base_size = BS) +
 
labs(
 
labs(
Line 252: Line 292:
  
 
if(figstofile) ggsave("Figure5.eps", width = 8, height = 7)
 
if(figstofile) ggsave("Figure5.eps", width = 8, height = 7)
 
ggplot(energyUse@output, aes(x = Time, weight = energyUseResult * 1E-6, fill = Heating)) + geom_bar(binwidth = 5) +
 
facet_grid(EfficiencyPolicy ~ RenovationPolicy) + theme_gray(base_size = BS) +
 
labs(
 
title = "Energy used in heating in Kuopio",
 
x = "Time",
 
y = "Heating energy (GWh /a)"
 
)
 
  
 
ggplot(subset(emis, EfficiencyPolicy == "BAU" & RenovationPolicy == "BAU"), aes(x = Time, weight = emissionsResult, fill = Fuel)) + geom_bar(binwidth = 5) +
 
ggplot(subset(emis, EfficiencyPolicy == "BAU" & RenovationPolicy == "BAU"), aes(x = Time, weight = emissionsResult, fill = Fuel)) + geom_bar(binwidth = 5) +
facet_grid(Pollutant ~ FuelPolicy, scale = "free_y") + theme_gray(base_size = BS) +
+
facet_grid(Pollutant ~ ., scale = "free_y") + theme_gray(base_size = BS) +#FuelPolicy
 
labs(
 
labs(
 
title = "Emissions from heating in Kuopio",
 
title = "Emissions from heating in Kuopio",
Line 285: Line 317:
 
)
 
)
  
###################### Health assessment
+
ggplot(subset(suomenna(exposure), RenovationPolicy == "BAU" & EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = exposureResult, fill = Heating)) +  
 
 
####!------------------------------------------------
 
objects.latest('Op_en2261', code_name = 'initiate') # [[Health impact assessment]] dose, RR, totcases.
 
objects.latest('Op_en5917', code_name = 'initiate') # [[Disease risk]] disincidence
 
directs <- tidy(opbase.data("Op_en5461", subset = "Direct inputs"), direction = "wide") # [[Climate change policies and health in Kuopio]]
 
####i------------------------------------------------
 
 
 
colnames(directs) <- gsub(" ", "_", colnames(directs))
 
 
 
### Use these population and iF values in health impact assessment. Why?
 
 
 
frexposed <- 1 # fraction of population that is exposed
 
bgexposure <- 0 # Background exposure to an agent (a level below which you cannot get in practice)
 
BW <- 70 # Body weight (is needed for RR calculations although it is irrelevant for PM2.5)
 
 
 
population <- 1E+5
 
 
 
exposure <- EvalOutput(exposure, verbose = TRUE)
 
 
 
ggplot(subset(exposure@output, RenovationPolicy == "BAU" & EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = exposureResult, fill = Heating)) +  
 
 
geom_bar(binwidth = 5) + facet_grid(Area ~ Emission_height) + theme_gray(base_size = BS) +
 
geom_bar(binwidth = 5) + facet_grid(Area ~ Emission_height) + theme_gray(base_size = BS) +
 
labs(
 
labs(
Line 313: Line 325:
 
)
 
)
  
exposure@output <- exposure@output[exposure@output$Area == "Average" , ] # Kuopio is an average area,
+
ggplot(subset(suomenna(exposure), EfficiencyPolicy == "BAU"), aes(x = Time, weight = exposureResult, fill = Heating)) + geom_bar(binwidth = 5) + facet_grid(FuelPolicy ~ RenovationPolicy) + theme_gray(base_size = BS) +
# rather than rural or urban.
 
 
 
ggplot(subset(exposure@output, EfficiencyPolicy == "BAU"), aes(x = Time, weight = exposureResult, fill = Heating)) + geom_bar(binwidth = 5) + facet_grid(FuelPolicy ~ RenovationPolicy) + theme_gray(base_size = BS) +
 
 
labs(
 
labs(
 
title = "Exposure to PM2.5 from heating in Kuopio",
 
title = "Exposure to PM2.5 from heating in Kuopio",
Line 323: Line 332:
 
)
 
)
  
totcases <- EvalOutput(totcases)
+
ggplot(subset(suomenna(totcases), EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = totcasesResult, fill = Heating))+geom_bar(binwidth = 5) +  
totcases@output$Time <- as.numeric(as.character(totcases@output$Time))
+
facet_grid(Response ~ RenovationPolicy) +
totcases <- oapply(totcases, cols = c("Age", "Sex"), FUN = sum)
 
 
 
ggplot(subset(totcases@output, EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = totcasesResult, fill = Heating))+geom_bar(binwidth = 5) +  
 
facet_grid(Trait ~ RenovationPolicy) +
 
 
theme_gray(base_size = BS) +
 
theme_gray(base_size = BS) +
 
labs(
 
labs(
Line 335: Line 340:
 
y = "Health effects (deaths /a)"
 
y = "Health effects (deaths /a)"
 
)
 
)
 
DW <- Ovariable("DW", data = data.frame(directs["Trait"], Result = directs$DW))
 
L <- Ovariable("L", data = data.frame(directs["Trait"], Result = directs$L))
 
 
DALYs <- totcases * DW * L
 
  
 
cat("Total DALYs/a by different combinations of policy options.\n")
 
cat("Total DALYs/a by different combinations of policy options.\n")
  
temp <- DALYs
+
dal <- subset(suomenna(DALYs), Response == "Total mortality")
temp@output <- subset(
+
oprint(aggregate(dal["DALYsResult"], by = dal[c("Time", "EfficiencyPolicy", "RenovationPolicy", "FuelPolicy")], FUN = sum))
temp@output,  
 
as.character(Time) %in% c("2010", "2030") & Trait == "Total mortality"
 
)
 
  
oprint(oapply(temp, INDEX = c("Time", "EfficiencyPolicy", "RenovationPolicy", "FuelPolicy"), FUN = sum))
+
ggplot(subset(dal, FuelPolicy == "BAU"), aes(x = Time, weight = DALYsResult, fill = Heating))+geom_bar(binwidth = 5) +  
 
 
ggplot(subset(DALYs@output, FuelPolicy == "BAU" & Trait == "Total mortality"), aes(x = Time, weight = Result, fill = Heating))+geom_bar(binwidth = 5) +  
 
 
facet_grid(EfficiencyPolicy ~ RenovationPolicy) +
 
facet_grid(EfficiencyPolicy ~ RenovationPolicy) +
 
theme_gray(base_size = BS) +
 
theme_gray(base_size = BS) +
Line 360: Line 355:
 
)
 
)
  
ggplot(subset(DALYs@output, Time == 2030 & Trait == "Total mortality"), aes(x = FuelPolicy, weight = Result, fill = Heating))+geom_bar() +  
+
ggplot(subset(dal, Time == 2030), aes(x = RenovationPolicy, weight = DALYsResult, fill = Heating))+geom_bar() +  
facet_grid(EfficiencyPolicy ~ RenovationPolicy) +
+
facet_grid(EfficiencyPolicy ~ FuelPolicy) +
 
theme_gray(base_size = BS) +
 
theme_gray(base_size = BS) +
 
labs(
 
labs(
title = "Health effects in DALYs of PM2.5 from heating in Kuopio",
+
title = "Health effects in DALYs of PM2.5 from heating in Kuopio 2030",
 
x = "Biofuel policy in district heating",
 
x = "Biofuel policy in district heating",
 
y = "Health effects (DALY /a)"
 
y = "Health effects (DALY /a)"
Line 370: Line 365:
  
 
######## Buildings in Kuopio on map
 
######## Buildings in Kuopio on map
 
+
if(FALSE){
 
# Calculate locations for Kuopio districts
 
# Calculate locations for Kuopio districts
  
Line 401: Line 396:
 
cex = 2
 
cex = 2
 
)
 
)
 +
}
 +
 +
if(saveobjects) {
 +
objects.put(list = ls())
 +
cat(c("All objects archived. Write down the key of the run to retrieve them with objects.get. Objects: ",
 +
ls(), "\n"))
 +
}
 +
 +
</rcode>
 +
 +
==== Sensitivity analysis ====
 +
 +
* [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=1zu5BF0w5a3miRtv Sensitivity analysis 26.7.2015] with 750 iterations
 +
 +
<rcode label="Run sensitivity analysis" graphics=1 store=0 variables="
 +
name:num|description:How many iterations? (For more, run on your own computer)|type:slider|options:1;100;1|default:10
 +
">
 +
### THIS CODE IS FROM PAGE [[Climate change policies and health in Kuopio]] (Op_en5461, code_name = "")
 +
library(OpasnetUtils)
 +
library(ggplot2)
 +
 +
### Technical parameters
 +
openv.setN(num)
 +
#rm(list = ls()) # Remove existing objects (necessary on your own computer)
 +
saveobjects <- FALSE
 +
objects.latest("Op_en6007", code_name = "answer") # [[OpasnetUtils/Drafts]] findrest
 +
 +
obstime <- Ovariable("obstime", data = data.frame(Obsyear = factor(seq(2010, 2030, 10), ordered = TRUE), Result = 1))
 +
 +
## Additional index needed in followup of ovariables efficiencyShares and stockBuildings
 +
 +
year <- Ovariable("year", data = data.frame(
 +
Constructed = factor(
 +
c("1799-1899", "1900-1909", "1910-1919", "1920-1929", "1930-1939", "1940-1949",
 +
"1950-1959", "1960-1969", "1970-1979", "1980-1989", "1990-1999",
 +
"2000-2010", "2011-2019", "2020-2029", "2030-2039", "2040-2049"
 +
),
 +
ordered = TRUE
 +
),
 +
Time = c(1880, 1910 + 0:14 * 10),
 +
Result = 1
 +
))
 +
 +
###################### Decisions
 +
 +
decisions <- opbase.data('Op_en5461', subset = "Decisions") # [[Climate change policies and health in Kuopio]]
 +
 +
DecisionTableParser(decisions)
 +
 +
# Remove previous decisions, if any.
 +
 +
forgetDecisions <- function() {
 +
for(i in ls(envir = openv)) {
 +
if("dec_check" %in% names(openv[[i]])) openv[[i]]$dec_check <- FALSE
 +
}
 +
return(cat("Decisions were forgotten.\n"))
 +
}
 +
 +
forgetDecisions()
 +
 +
############################ IMPORT DATA AND MODELS
 +
 +
objects.latest("Op_en5417", code_name = "initiate") # [[Population of Kuopio]]
 +
objects.latest("Op_en5932", code_name = "initiatetest") # [[Building stock in Kuopio]] Building ovariables:
 +
objects.latest("Op_en6289", code_name = "buildingstest") # [[Building model]] # Generic building model.
 +
 +
###################### Energy and emissions
 +
 +
objects.latest("Op_en5488", code_name = "energyUseAnnual") # [[Energy use of buildings]] energyUse
 +
objects.latest("Op_en5488", code_name = "efficiencyShares") # [[Energy use of buildings]]
 +
objects.latest("Op_en2791", code_name = "emissionstest") # [[Emission factors for burning processes]]
 +
objects.latest("Op_en2791", code_name = "emissionFactors") # [[Emission factors for burning processes]]
 +
objects.latest("Op_en7328", code_name = "emissionLocations") # [[Kuopio energy production]]
 +
objects.latest("Op_en7328", code_name = "fuelShares") # [[Kuopio energy production]]
 +
objects.latest("Op_en5141", code_name = "fuelUse") # [[Energy balance]]
 +
 +
## Exposure and health assessment
 +
 +
objects.latest("Op_en5813", code_name = "exposure") # [[Intake fractions of PM]] uses Humbert iF as default.
 +
objects.latest('Op_en2261', code_name = 'totcases') # [[Health impact assessment]] totcases and dependencies.
 +
objects.latest('Op_en5461', code_name = 'DALYs') # [[Climate change policies and health in Kuopio]] DALYs, DW, L
 +
 +
##################### CALCULATIONS
 +
 +
constructionAreas <- EvalOutput(constructionAreas)
 +
constructionAreas@output$City_area <- "City centre"# We are not interested in locations in this analysis.
 +
constructionAreas <- oapply(constructionAreas, cols = "", FUN = sum)
 +
renovationRate <- EvalOutput(renovationRate) * 10 # Rates for 10-year periods
 +
renovationShares <- EvalOutput(renovationShares)
 +
stockBuildings <- EvalOutput(stockBuildings)
 +
stockBuildings@output$City_area <- "City centre"
 +
stockBuildings@output$Building <- "Apartment houses"
 +
stockBuildings <- oapply(stockBuildings, cols = c(""), FUN = sum)
 +
changeBuildings <- EvalOutput(changeBuildings)
 +
changeBuildings@output$City_area <- "City centre"
 +
changeBuildings@output$Building <- "Apartment houses"
 +
changeBuildings@output <- changeBuildings@output[changeBuildings@output$EfficiencyPolicy == "BAU" , ]
 +
changeBuildings <- oapply(changeBuildings, cols = c(""), FUN = sum)
 +
 +
buildings <- EvalOutput(buildings)
 +
buildings@output <- buildings@output[buildings@output$Time == "2030" , ]
 +
energyUse <- EvalOutput(energyUse)
 +
energyUse <- oapply(energyUse, cols = c(
 +
"Efficiency",
 +
"Renovation"
 +
), FUN = sum)
 +
fuelUse <- EvalOutput(fuelUse)
 +
fuelUse <- fuelUse * 1E-3 *3600 # kWh -> MJ
 +
fuelUse <- oapply(fuelUse, cols = c(
 +
"Time"
 +
), FUN = sum)
 +
emissions <- EvalOutput(emissions)
 +
emissions <- oapply(emissions, cols = c(
 +
"Fuel",
 +
"City_area",
 +
"Emission_site",
 +
"Heating"
 +
), FUN = sum)
 +
 +
population <- 1E+5 # stockBuildings is using another population to divide floor area into City areas.
 +
 +
exposure <- EvalOutput(exposure)
 +
exposure@output <- exposure@output[exposure@output$Area == "Average" , ] # Kuopio is an average area,
 +
# rather than rural or urban.
 +
exposure <- oapply(exposure, cols = c(
 +
    "Emission_height",
 +
"Area"
 +
), FUN = sum)
 +
 +
totcases <- EvalOutput(totcases)
 +
totcases <- oapply(totcases, cols = c("Age", "Sex"), FUN = sum)
 +
 +
DALYs <- EvalOutput(DALYs)
 +
 +
cost <- Ovariable("cost",
 +
dependencies = data.frame(Name = c("DALYs", "emissions")),
 +
formula = function(...) {
 +
dals <- DALYs
 +
dals@output <- dals@output[dals@output$Time == "2030" , ]
 +
dals <- oapply(DALYs, INDEX = c("EfficiencyPolicy", "RenovationPolicy", "FuelPolicy", "Iter"), FUN = sum)
 +
emi <- emissions
 +
emi@output <- emi@output[emi@output$Pollutant == "CO2direct" & emi@output$Time == "2030" , ]
 +
emi <- oapply(emissions, INDEX = c("EfficiencyPolicy", "RenovationPolicy", "FuelPolicy", "Iter"), FUN = sum)
 +
cost <- dals * 50000 + emi * 15
 +
bau <- cost
 +
bau@output <- subset(bau@output, FuelPolicy == "BAU" & RenovationPolicy == "BAU" & EfficiencyPolicy == "BAU")
 +
bau <- unkeep(bau, cols = c( "EfficiencyPolicy", "RenovationPolicy", "FuelPolicy"), prevresults = TRUE)
 +
bau <- bau * Ovariable(
 +
output = data.frame(Objective = c("Direct", "BAU comparison"), Result = c(0, 1)),
 +
marginal = c(TRUE, FALSE)
 +
)
 +
cost <- cost - bau
 +
return(cost)
 +
}
 +
)
 +
 +
t1 <- subset(construction@output, Building == "Apartment houses")
 +
t2 <- subset(efficiencyRatio@output, Efficiency == "New")
 +
t3 <- subset(efficiencyShares@output, Efficiency == "New" & Time == "2030" & EfficiencyPolicy == "BAU")
 +
t4 <- subset(emissionFactors@output, Fuel == "Peat" & Pollutant == "PM2.5")
 +
t5 <- subset(emissionFactors@output, Fuel == "Peat" & Pollutant == "CO2direct")
 +
t6 <- subset(energyFactor@output, Building == "Apartment houses" & Heating == "District")
 +
t7 <- subset(ERF@output, Exposure_agent == "PM2.5" & Response == "Total mortality")
 +
t8 <- subset(heatingShares@output, Heating == "District" & Building == "Apartment houses" & Time == "2030")
 +
t9 <- subset(renovationShares@output, RenovationPolicy == "Active renovation" & Renovation == "Sheath reform" & Obsyear == "2030")
 +
 +
testvariable <- Ovariable("testvariable", data = data.frame(
 +
Iter = c(
 +
t1$Iter,
 +
t2$Iter,
 +
t3$Iter,
 +
t4$Iter,
 +
t5$Iter,
 +
t6$Iter,
 +
t7$Iter,
 +
t8$Iter,
 +
t9$Iter
 +
),
 +
Variable = c(
 +
rep("Construction of apartment houses", openv$N),
 +
rep("Efficiency ratio", openv$N),
 +
rep("Efficiency shares", openv$N),
 +
rep("PM2.5 emission factor", openv$N),
 +
rep("CO2 emission factor", openv$N),
 +
rep("Energy factor of apartment houses", openv$N),
 +
rep("Exposure-response funtion of PM2.5", openv$N),
 +
rep("Future heating shares", openv$N),
 +
rep("Shares of renovation types", openv$N)
 +
),
 +
Result = c(
 +
t1$constructionResult,
 +
t2$efficiencyRatioResult,
 +
t3$efficiencySharesResult,
 +
t4$emissionFactorsResult,
 +
t5$emissionFactorsResult,
 +
t6$energyFactorResult,
 +
t7$ERFResult,
 +
t8$heatingSharesResult,
 +
t9$renovationSharesResult
 +
)
 +
))
 +
 +
tornado <- Ovariable("tornado",
 +
dependencies = data.frame(Name = c("cost", "testvariable")),
 +
formula = function(...) {
 +
test <- cost * testvariable
 +
indices <- unique(test@output[test@marginal & ! colnames(test@output) %in% "Iter"])
 +
out <- data.frame()
 +
for(i in 1:nrow(indices)) {
 +
temp <- merge(test, indices[i,])@output
 +
temp <- cor(
 +
temp[[paste(cost@name, "Result", sep = "")]],
 +
temp[[paste(testvariable@name, "Result", sep = "")]],
 +
method = "spearman"
 +
)
 +
out <- rbind(out, data.frame(indices[i,], Result = temp))
 +
}
 +
return(out)
 +
}
 +
)
 +
 +
tornado <- EvalOutput(tornado)
 +
 +
ggplot(tornado@output, aes(x = Variable, y = tornadoResult, colour = Objective)) +
 +
geom_point(position = "jitter", size = 2)+coord_flip() + theme_gray(base_size = 24) +
 +
labs(
 +
title = "Importance diagram with direct or incremental cost",
 +
y = "Spearman correlation vs. cost",
 +
x = "Uncertain input variable to correlate"
 +
)
 +
 +
cortable <- tornado@output
 +
# Remove those that actually are not probabilistic
 +
cortable <- cortable[!cortable$Variable %in% c("CO2 emission factor", "Energy factor of apartment houses") , ]
 +
cortable <- reshape(
 +
cortable,
 +
v.names = "tornadoResult",
 +
timevar = "Objective",
 +
idvar = c("FuelPolicy", "RenovationPolicy", "EfficiencyPolicy", "Variable"),
 +
drop = c("costSource", "testvariableSource", "tornadoSource"),
 +
direction = "wide"
 +
)
 +
 +
cat("Spearman correlations between the outcome (cost) and probabilistic input variables. Cost is either A) direct cost or B) incremental compared with BAU.\n")
 +
 +
oprint(cortable)
 +
 +
if(saveobjects) {
 +
objects.put(list = ls())
 +
cat(c("All objects archived. Write down the key of the run to retrieve them with objects.get. Objects: ",
 +
ls(), "\n"))
 +
}
  
 
</rcode>
 
</rcode>

Latest revision as of 16:52, 11 January 2016


Main message:
Question:

What are the most beneficial ways from public health point of view to reduce GHG emissions in Kuopio?

Answer:

The target of 40 % GHG reduction seems realistic due to reforms in Haapaniemi power plant, assuming that GHG emissions for wood-based fuel is 0. Life-cycle impacts of the wood-based fuel have not yet been estimated.


{{#display_map: 62.900223, 27.637482, Kuopio | zoom = 11 }}

Scope

Question

What are potential climate policies that reach the greenhouse emission targets in the city of Kuopio for years 2010-2030? What are their effects on health and well-being, and what recommendations can be given based on this? The national greenhouse emission target is to reduce greenhouse gas emissions by 20 % between 1990 and 2020; the city of Kuopio has its own, more ambitious target of 40 % for the same time period.

Answer

Conclusions

The target of 40 % GHG reduction seems realistic due to reforms in Haapaniemi power plant, assuming that GHG emissions for wood-based fuel is 0. Life-cycle impacts of the wood-based fuel have not yet been estimated.

Results

Model version 2

This model version was used to produce the corrected manuscript in July 2015.
  • Model run 21.7.2015 runs to the end but emissions are too large exp for wood after 1980.
  • Model run 22.7.2015 Bugs with fuelShares fixed. Now results are similar to the ones in the manuscript. Except that health impacts are 2-3 times higher, only partly due to higher wood burning in the 2000's.
  • Model run 23.7.2015 archived version. Also renovationShares and changeBuildings data corrected.
  • Model run 24.7.2015 archived version. This was used for the manuscript.

+ Show code

Sensitivity analysis

How many iterations? (For more, run on your own computer):

+ Show code

Model version 1

This model version was used to produce the submitted manuscript in spring 2015.
Calculate building stock into the future
  • The dynamics is calculated by adding building floor area at time points greater than construction year, and by subtracting when time point is greater than demolition year. This is done by building category, not individually.
  • Also the renovation dynamics is built using event years: at an event, a certain amount of floor area is moved from one energy efficiency category to another.
  • Full data are stored in the ovariables. Before evaluating, extra columns and rows are removed. The first part of the code is about this.

+ Show code

Rationale

Error creating thumbnail: Unable to save thumbnail to destination
Causal diagram of the building model.

Dependencies

Decisions

  • Efficiency policy (index EfficiencyPolicy): Relates to the shares of efficiency types when new buildings are built (ovariable efficiencyShares).
  • Biofuel policy (index FuelPolicy): Increase the share of biofuels in the Haapaniemi power plant (ovariable fuelShares).
  • Renovation policy (index RenovationPolicy): Existing buildings are renovated (typically after 25 years of age) for better energy efficiency. Different renovations produce different results (ovariables renovationRate, renovationShares).
    • BAU: Default renovation rate is 3 % /a if the age of the building is >= 25 a. For renovation shares, see Building stock in Kuopio#Renovations.
    • Active renovation: The renovation rate of all renovation types is 4.5 % /a.
    • Effective renovation: The renovation rate is 3 % /a as in BAU, but all renovations are the most effective. i.e. sheath reforms.



Direct inputs

Direct inputs(-)
ObsExposure agentResponseCasesDWLDescription
1PM2.5Total mortality877111Actually "Mortality (all cause)". In 2009 for Pohjois-Savo area 1090 / 100 000 from death cause registry.
2PM2.5Work loss days (WLDs)3231350.020.003
3PM2.5Restricted activity days (RADs)318670.070.0032.1 million in whole Finland
4PM2.5Infant mortality3181<1 year old 2009 data for Pohjois-Savo area 244 / 100 000 from death registry. In 2009 in Kuopio 1110 <1 year olds.
5PM2.5COPD3390.09915Actually "Chronic bronchitis (>15 year olds)". Kelasto, includes astma cases too
6PM2.5Cardiovascular hospital admissions (number)21090.2530.01721424 in year 2010 in Kuopio hospital. Hospital serves area with 817166 inhabitats.
7PM2.5Respiratory hospital admissions11500.0430.02In 2007 1429.55 hospital discharges for respiratory disease / 100 000 in whole Finland. http://data.euro.who.int/hfadb/
8PM2.5Asthma medication use (children aged 5-14)620.04315Kelasto
9Mold/dampnessAsthma development (>15 year olds)2520.04315Kelasto-database
10Mold/dampnessAsthma development (5-14 year olds)620.04315Kelasto-database
11NoiseHighly annoyed0.021
12NoiseSleep disturbance0.071
13NoiseMyocardial infarction12890.4390.01966313101 cases in Kuopio university Hospital in year 2010. Hospital serves area with 817166 inhabitats.
14ECCardiovascular mortality3660.0430.02In 2009 for Pohjois-Savo area 455 / 100 000 from death cause registry.
15Cardiopulmonary111Guesswork. The same as total mortality
16Lung cancer111Guesswork. The same as total mortality.

+ Show code

Specific actions - real and potential

Error creating thumbnail: Unable to save thumbnail to destination
The plume of Haapaniemi power plant in January, 2014.
Error creating thumbnail: Unable to save thumbnail to destination
The Iloharju heat plant is only used when the heat demand is high, i.e. at temperatures below ca. -15 °C. January, 2014.
  • Energy production
    • New power plant unit in Haapaniemi: ability to use significantly more biomass in the production of district heat (2014)
    • Enhancement of dispersed energy production with biofuels
    • Wide scale transition to renewable energy sources in heating
  • Building stock
    • Energy efficiency of buildings is increased: new stricter building regulations in Finland (2/2013)
    • Education to building owners and managers: semblance of best practicies in heating and other use of energy. Possible reduction in energy use of building stock is about 10%, and mere beneficial health effects are expected.
  • Land use and transport
    • If possible, PM emissions and noise are calculated based on updated version of Kuopio´s traffic network
    • Alternatively, the effect of increased use of biofuels on GHG and CO2 emissions is evaluated.
    • Possibilities of rail traffic in Kuopio
  • Other...

Indicators

  • Cardiovascular mortality
  • Pulmonar mortality
  • Well-being...

An archived version was planning to use Weighted product model to summarise results, but the idea was dropped.

  • Stakeholders: City of Kuopio, Citizens, Budget office of Kuopio

Assessment-specific data

Received

  • Building stock data
    • Building registry
    • Use of electricity by building type or type of activity
    • Use of district heat by contract
    • Amount of building stock renovated per year
    • Amount of new building stock per year during 2010-2012
    • Energy consumption in some of city´s own buildings before and after renovation
  • Energy production
    • Fuels and emissions of Haapaniemi CHP plant
  • Traffic
    • Regional plan on public transport

To be gathered

  • Updated traffic network model?
  • Estimates of the amount, area, volume and energy class of new buildings during next years (about 2014-2020)

See also

Urgenche research project 2011 - 2014: city-level climate change mitigation
Urgenche pages

Urgenche main page · Category:Urgenche · Urgenche project page (password-protected)

Relevant data
Building stock data in Urgenche‎ · Building regulations in Finland · Concentration-response to PM2.5 · Emission factors for burning processes · ERF of indoor dampness on respiratory health effects · ERF of several environmental pollutions · General criteria for land use · Indoor environment quality (IEQ) factors · Intake fractions of PM · Land use in Urgenche · Land use and boundary in Urgenche · Energy use of buildings

Relevant methods
Building model · Energy balance · Health impact assessment · Opasnet map · Help:Drawing graphs · OpasnetUtils‎ · Recommended R functions‎ · Using summary tables‎

City Kuopio
Climate change policies and health in Kuopio (assessment) · Climate change policies in Kuopio (plausible city-level climate policies) · Health impacts of energy consumption in Kuopio · Building stock in Kuopio · Cost curves for energy (prioritization of options) · Energy balance in Kuopio (energy data) · Energy consumption and GHG emissions in Kuopio by sector · Energy consumption classes (categorisation) · Energy consumption of heating of buildings in Kuopio · Energy transformations (energy production and use processes) · Fuels used by Haapaniemi energy plant · Greenhouse gas emissions in Kuopio · Haapaniemi energy plant in Kuopio · Land use in Kuopio · Building data availability in Kuopio · Password-protected pages: File:Heat use in Kuopio.csv · Kuopio housing

City Basel
Buildings in Basel (password-protected)

Energy balances
Energy balance in Basel · Energy balance in Kuopio · Energy balance in Stuttgart · Energy balance in Suzhou


References


Keywords

Climate Change, Kuopio, Green house gas emissions, Health, Energy

Related files

<mfanonymousfilelist></mfanonymousfilelist>