Climate change policies in Helsinki: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(→‎Calculations: new model run with rows dropping in emissions from district heating)
(→‎Calculations: dataset compatibility fixed)
Line 100: Line 100:


<rcode graphics=1>
<rcode graphics=1>
### THIS CODE IS FROM PAGE [[Climate change policies in Helsinki]] (Op_en7063, code_name = "")
### THIS CODE IS FROM PAGE [[Climate change policies in Helsinki]] (Op_en7063, code_name = "")


Line 153: Line 152:


# [[Building stock in Helsinki]]. Somehow only works if done in parts.
# [[Building stock in Helsinki]]. Somehow only works if done in parts.
datb <- opbase.data("Op_en7115.stock_details", include = list(Julkisivumateriaali = "")) # 18747 rows
#datb <- opbase.data("Op_en7115.stock_details", include = list(Julkisivumateriaali = "")) # 18747 rows
datc <- opbase.data("Op_en7115.stock_details", exclude = list(Julkisivumateriaali = "")) # 30038 rows
#datc <- opbase.data("Op_en7115.stock_details", exclude = list(Julkisivumateriaali = "")) # 30038 rows
dat <- rbind(datb, datc)[ , c(
dat <- opbase.data("Op_en7115.stock_details")[ , c(
# "Rakennus ID",
# "Rakennus ID",
"Sijainti",
"Sijainti",
Line 172: Line 171:
"Result"
"Result"
)]
)]
#dat <- rbind(datb, datc)[ , c(
# "Rakennus ID",
# "Sijainti",
# "Valmistumisaika",
# "Julkisivumateriaali",
# "Käyttötarkoitus",
# "Lämmitystapa",
# "Polttoaine",
# "Rakennusaine",
# "Varusteena koneellinen ilmanvaihto",
# "Perusparannus",
# "Kunta rakennuttajana",
# "Energiatehokkuusluokka",
# "Varusteena aurinkopaneeli",
# "Tilavuus",
# "Result"
#)]


colnames(dat) <- c("City_area", "Time", "Building types in Facta", "Heating types in Facta", "stockBuildingsResult")
colnames(dat) <- c("City_area", "Time", "Building types in Facta", "Heating types in Facta", "stockBuildingsResult")
Line 183: Line 199:
heat <- tidy(opbase.data("Op_en7115.heating_types"))
heat <- tidy(opbase.data("Op_en7115.heating_types"))
colnames(heat)[colnames(heat) == "Result"] <- "Heating"
colnames(heat)[colnames(heat) == "Result"] <- "Heating"
######################
# Korjaus
########################
temp <- as.character(heat$Heating)
temp[temp == "District heating"]  <- "District"
temp[temp == "Light oil"]  <- "Oil"
temp[temp == "Fuel oil"]  <- "Oil"
heat$Heating <- temp
########################################


dat <- merge(merge(dat, build), heat)[c("City_area", "Time", "Building", "Heating", "stockBuildingsResult")]
dat <- merge(merge(dat, build), heat)[c("City_area", "Time", "Building", "Heating", "stockBuildingsResult")]
Line 237: Line 264:


buildings@output$RenovationPolicy <- factor(
buildings@output$RenovationPolicy <- factor(
buildings@output$RenovationPolicy,
buildings@output$RenovationPolicy,
levels = c("BAU", "Active renovation", "Total renovation"),
levels = c("BAU", "Active renovation", "Total renovation"),
ordered = TRUE
ordered = TRUE
)
)


buildings@output$EfficiencyPolicy <- factor(
buildings@output$EfficiencyPolicy <- factor(
buildings@output$EfficiencyPolicy,
buildings@output$EfficiencyPolicy,
levels = c("BAU", "Active efficiency"),
levels = c("BAU", "Active efficiency"),
ordered = TRUE
ordered = TRUE
)
)


Line 253: Line 280:


ggplot(subset(bui, EfficiencyPolicy == "BAU" & RenovationPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Heating)) + geom_bar(binwidth = 5) +  
ggplot(subset(bui, EfficiencyPolicy == "BAU" & RenovationPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Heating)) + geom_bar(binwidth = 5) +  
theme_gray(base_size = BS) +
theme_gray(base_size = BS) +
labs(
labs(
title = "Building stock in Helsinki by heating",
title = "Building stock in Helsinki by heating",
x = "Time",
x = "Time",
y = "Floor area (M m2)"
y = "Floor area (M m2)"
)
)


if(figstofile) ggsave("Figure6.eps", width = 8, height = 7)
if(figstofile) ggsave("Figure6.eps", width = 8, height = 7)
 
ggplot(subset(bui, EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Renovation)) + geom_bar(binwidth = 5) +  
ggplot(subset(bui, EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Renovation)) + geom_bar(binwidth = 5) +  
facet_grid(. ~ RenovationPolicy) + theme_gray(base_size = BS) +
facet_grid(. ~ RenovationPolicy) + theme_gray(base_size = BS) +
labs(
labs(
title = "Building stock in Helsinki by renovation policy",
title = "Building stock in Helsinki by renovation policy",
x = "Time",
x = "Time",
y = "Floor area (M m2)"
y = "Floor area (M m2)"
)
)


ggplot(subset(bui, RenovationPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Efficiency)) + geom_bar(binwidth = 5) +  
ggplot(subset(bui, RenovationPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Efficiency)) + geom_bar(binwidth = 5) +  
facet_grid(. ~ EfficiencyPolicy) + theme_gray(base_size = BS) +
facet_grid(. ~ EfficiencyPolicy) + theme_gray(base_size = BS) +
labs(
labs(
title = "Building stock in Helsinki by efficiency policy",
title = "Building stock in Helsinki by efficiency policy",
x = "Time",
x = "Time",
y = "Floor area (M m2)"
y = "Floor area (M m2)"
)
)


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) +  
theme_gray(base_size = BS) +
theme_gray(base_size = BS) +
labs(
labs(
title = "Building stock in Helsinki",
title = "Building stock in Helsinki",
x = "Time",
x = "Time",
y = "Floor area (M m2)"
y = "Floor area (M m2)"
)
)


ggplot(subset(bui, RenovationPolicy == "BAU" & EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Building)) + geom_bar(binwidth = 5) +  
ggplot(subset(bui, RenovationPolicy == "BAU" & EfficiencyPolicy == "BAU"), aes(x = Time, weight = buildingsResult, fill = Building)) + geom_bar(binwidth = 5) +  
theme_gray(base_size = BS) +
theme_gray(base_size = BS) +
labs(
labs(
title = "Building stock in Helsinki",
title = "Building stock in Helsinki",
x = "Time",
x = "Time",
y = "Floor area (M m2)"
y = "Floor area (M m2)"
)
)


###################### Energy and emissions
###################### Energy and emissions
#############################
# Toinen korjaus
#############################
energyUse <- EvalOutput(energyUse)
levels(energyUse@output$Building)[levels(energyUse@output$Building) == "Detached houses"] <- "Residential"
temp <- energyUse@output[energyUse@output$Heating == "Oil",]
temp$Heating <- "Other"
energyUse@output <- rbind(energyUse@output, temp)
#############################


####!------------------------------------------------
####!------------------------------------------------
Line 319: Line 356:
hea <- oapply(heatingEnergy * 1E-6, cols = c("City_area", "buildingsSource"), FUN = sum)
hea <- oapply(heatingEnergy * 1E-6, cols = c("City_area", "buildingsSource"), FUN = sum)
hea <- truncateIndex(hea, cols = "Heating", bins = 4)@output
hea <- truncateIndex(hea, cols = "Heating", bins = 4)@output
levels(hea$Heating)[levels(hea$Heating) == "Long-distance heating"] <- "District heating"
#levels(hea$Heating)[levels(hea$Heating) == "Long-distance heating"] <- "District heating"


ggplot(hea, aes(x = Time, weight = heatingEnergyResult * 1E-6, fill = Heating)) + geom_bar(binwidth = 5) +
ggplot(hea, aes(x = Time, weight = heatingEnergyResult * 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(
title = "Energy used in heating in Helsinki",
title = "Energy used in heating in Helsinki",
x = "Time",
x = "Time",
y = "Heating energy (GWh /a)"
y = "Heating energy (GWh /a)"
)
)


emis <- truncateIndex(emissions, cols = "Emission_site", bins = 5)@output
emis <- truncateIndex(emissions, cols = "Emission_site", bins = 5)@output


ggplot(subset(emis, EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = emissionsResult, fill = Emission_site)) + geom_bar(binwidth = 5) +
ggplot(subset(emis, EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = emissionsResult, fill = Emission_site)) + geom_bar(binwidth = 5) +
facet_grid(Pollutant ~ RenovationPolicy, scale = "free_y") + theme_gray(base_size = BS) +
facet_grid(Pollutant ~ RenovationPolicy, scale = "free_y") + theme_gray(base_size = BS) +
labs(
labs(
title = "Emissions from heating in Helsinki",
title = "Emissions from heating in Helsinki",
x = "Time",
x = "Time",
y = "Emissions (ton /a)"
y = "Emissions (ton /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 ~ FuelPolicy, scale = "free_y") + theme_gray(base_size = BS) +
labs(
labs(
title = "Emissions from heating in Helsinki",
title = "Emissions from heating in Helsinki",
x = "Time",
x = "Time",
y = "Emissions (ton /a)"
y = "Emissions (ton /a)"
)
)


ggplot(subset(emis, EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = emissionsResult, fill = Fuel)) + geom_bar(binwidth = 5) +
ggplot(subset(emis, EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = emissionsResult, fill = Fuel)) + geom_bar(binwidth = 5) +
facet_grid(Pollutant ~ RenovationPolicy, scale = "free_y") + theme_gray(base_size = BS) +
facet_grid(Pollutant ~ RenovationPolicy, scale = "free_y") + theme_gray(base_size = BS) +
labs(
labs(
title = "Emissions from heating in Helsinki",
title = "Emissions from heating in Helsinki",
x = "Time",
x = "Time",
y = "Emissions (ton /a)"
y = "Emissions (ton /a)"
)
)


###################### Health assessment
###################### Health assessment
Line 381: Line 418:


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) +
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) +
labs(
labs(
title = "Exposure to PM2.5 from heating in Helsinki",
title = "Exposure to PM2.5 from heating in Helsinki",
x = "Time",
x = "Time",
y = "Average PM2.5 (µg/m3)"
y = "Average PM2.5 (µg/m3)"
)
)


exposure@output <- exposure@output[exposure@output$Area == "Urban" , ] # Helsinki is an urban area,
exposure@output <- exposure@output[exposure@output$Area == "Urban" , ] # Helsinki is an urban area,
# rather than rural or urban.
# 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) +
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 Helsinki",
title = "Exposure to PM2.5 from heating in Helsinki",
x = "Time",
x = "Time",
y = "Average PM2.5 (µg/m3)"
y = "Average PM2.5 (µg/m3)"
)
)


totcases <- EvalOutput(totcases)
totcases <- EvalOutput(totcases)
Line 405: Line 442:


ggplot(subset(totcases@output, EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = totcasesResult, fill = Heating))+geom_bar(binwidth = 5) +  
ggplot(subset(totcases@output, EfficiencyPolicy == "BAU" & FuelPolicy == "BAU"), aes(x = Time, weight = totcasesResult, fill = Heating))+geom_bar(binwidth = 5) +  
facet_grid(Trait ~ RenovationPolicy) +
facet_grid(Trait ~ RenovationPolicy) +
theme_gray(base_size = BS) +
theme_gray(base_size = BS) +
labs(
labs(
title = "Health effects of PM2.5 from heating in Helsinki",
title = "Health effects of PM2.5 from heating in Helsinki",
x = "Time",
x = "Time",
y = "Health effects (deaths /a)"
y = "Health effects (deaths /a)"
)
)


if(figstofile) ggsave("Figure8.eps", width = 11, height = 7)
if(figstofile) ggsave("Figure8.eps", width = 11, height = 7)
Line 424: Line 461:
temp <- DALYs
temp <- DALYs
temp@output <- subset(
temp@output <- subset(
temp@output,
temp@output,
as.character(Time) %in% c("2010", "2030") & Trait == "Total mortality"
as.character(Time) %in% c("2010", "2030") & Trait == "Total mortality"
)
)


Line 431: Line 468:


ggplot(subset(DALYs@output, FuelPolicy == "BAU" & Trait == "Total mortality"), aes(x = Time, weight = Result, 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) +
labs(
labs(
title = "Health effects in DALYs of PM2.5 from heating in Helsinki",
title = "Health effects in DALYs of PM2.5 from heating in Helsinki",
x = "Time",
x = "Time",
y = "Health effects (DALY /a)"
y = "Health effects (DALY /a)"
)
)


ggplot(subset(DALYs@output, Time == 2030 & Trait == "Total mortality"), aes(x = FuelPolicy, weight = Result, fill = Heating))+geom_bar() +  
ggplot(subset(DALYs@output, Time == 2030 & Trait == "Total mortality"), aes(x = FuelPolicy, weight = Result, fill = Heating))+geom_bar() +  
facet_grid(EfficiencyPolicy ~ RenovationPolicy) +
facet_grid(EfficiencyPolicy ~ RenovationPolicy) +
theme_gray(base_size = BS) +
theme_gray(base_size = BS) +
labs(
labs(
title = "Health effects in DALYs of PM2.5 from heating in Helsinki 2030",
title = "Health effects in DALYs of PM2.5 from heating in Helsinki 2030",
x = "Biofuel policy in district heating",
x = "Biofuel policy in district heating",
y = "Health effects (DALY /a)"
y = "Health effects (DALY /a)"
)
)


koord <- tidy(opbase.data("Op_en7044", subset = "Locations of postal codes"))
koord <- tidy(opbase.data("Op_en7044", subset = "Locations of postal codes"))
Line 459: Line 496:


MyRmap(
MyRmap(
ova2spat(
ova2spat(
emis,  
emis,  
coord = c("X", "Y"),  
coord = c("X", "Y"),  
proj4string = "+init=epsg:21781"
proj4string = "+init=epsg:21781"
), # Swiss Land Survey uses  CH1903  
), # Swiss Land Survey uses  CH1903  
# http://spatialreference.org/ref/epsg/21782/
# http://spatialreference.org/ref/epsg/21782/
# http://en.wikipedia.org/wiki/Swiss_coordinate_system
# http://en.wikipedia.org/wiki/Swiss_coordinate_system
plotvar = "Result",  
plotvar = "Result",  
legend_title = "PM2.5 emissions (ton/a)",  
legend_title = "PM2.5 emissions (ton/a)",  
numbins = 4,  
numbins = 4,  
pch = 19,  
pch = 19,  
cex = sqrt(result(emis)) * 3
cex = sqrt(result(emis)) * 3
)
)
# Map saved manually to .eps with width = 1280, height = 960 px.
# Map saved manually to .eps with width = 1280, height = 960 px.
</rcode>
</rcode>



Revision as of 07:52, 3 June 2015



Scope

----#: . All: Suggest good scoping for the assessment. You may also consult people in Helsinki. You may also borrow ideas you have used in Homework4. This will be decided soon after Easter. --Jouni (talk) 21:04, 25 March 2015 (UTC) (type: truth; paradigms: science: comment)

Question

Intended use and users

A problem in the climate policy practices in the City of Helsinki is that there is not enough information about different costs and impacts of different climate change mitigation measures, especially in the long term. This is slowing down the decision-making process. The results of this course will be used at the City of Helsinki Environment Centre to assess the outcomes of different ways to reduce GHG emissions. The results will help in identifying the most favourable ways to cut GHG emissions.

Participants

Boundaries

Decisions and scenarios

Timing

Answer

Results

Conclusions

Rationale

File:Causal diagram of climate change policies in Helsinki.PNG
Causal diagram of climate change policies in Helsinki.

Stakeholders

Dependencies

Tasks given 15.4.2015 about Building stock in Helsinki. Please put the name of file, reference, or other source of your information to the column Description in each table, or under the table if the description is long.

The main data source are these two files. I recommend that all groups go through the whole material although not everything is relevant for all groups.

TASKS FOR THE DARM COURSE PARTICIPANTS:

Discussions

These are some resolutions of discussions within the assessment.

  • City level climate change mitigation is not useless although international treaties are important for success.D↷
  • Climate change adaptation is not more important than mitigation on city level.R↻
  • Citizens may have a key role in implementing city climate policies.D↷
  • Food issues are underrepresented in climate discussions although food is a major emission source.R↻
  • The role of district heating by nuclear energy in Helsinki is unclear.D↷
  • There may be large uncertainty in CO2 emission factors of biofuels.D↷

Analyses

Indices

The data will be classified according to these indices:

  • Building: Residential, Public, Industrial, Other. For separating different use purposes of buildings.
  • Constructed: Years of construction of the buildings in the format 1990-1999, 2000-2009, 2010-2013.
  • Heating: District, Electricity, Geothermal, Oil, Wood,

The results of each ovariable will be measuring these things:

  • buildings: total floor area in m2.

Calculations

Moden run 2,6,2015 with rows dropping in emkssions from district heating

+ Show code

See also

Other variables and pages to look at

Possibly useful variables

Almost empty pages that should be removed

Keywords

References


Related files