Energy balance in Kuopio: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(permanent model run produced)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Energy]]
[[Category:Energy]]
[[Category:Energy balance]]
[[Category:Energy balance]]
[[Category:Contains R code]]
{{variable|moderator=Jouni|stub=Yes}}
{{variable|moderator=Jouni|stub=Yes}}
The page gives information on the energy balance in Kuopio, taking into account energy input from a all sources and how these energy are used by society (domestic, industrial et.c) There is an adequate breakdown of information on energy production, distribution and consumption, however some of the information e.g the data page are not very easy to interpret.  
The page gives information on the energy balance in Kuopio, taking into account energy input from a all sources and how these energy are used by society (domestic, industrial et.c) There is an adequate breakdown of information on energy production, distribution and consumption, however some of the information e.g the data page are not very easy to interpret.  
Line 10: Line 11:
== Answer ==
== Answer ==


* {{#l:Energy balance in Kuopio.pdf}} [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=O0aDNZwirVaYw8BF Model run 17.5.2015] (based on 2013 model)
<rcode name="answer" graphics=1>
### This code was run from page [[Energy balance in Kuopio#Answer]]
library(OpasnetUtils)
library(ggplot2)
N <- 10
objects.latest("Op_en5141", code_name = "initiate")
balance <- Ovariable("balance", ddata = "Op_en5469.equations")
balance@data$Policy[balance@data$Policy == ""] <- NA # Prepare indices for fillna. This should be part of fillna.
balance@data$CHPcapacity[balance@data$CHPcapacity == ""] <- NA
balance@data <- fillna(balance@data, marginals = 1:2) # Fill empty slots in indices.
nonlinearity <- Ovariable("nonlinearity", ddata = "Op_en5469", subset = "Nonlinearity parameters")
directinput <- Ovariable("directinput", ddata = "Op_en5141", subset = "No modelled upstream variables")
energy.balance <- EvalOutput(energy.balance)
oprint(summary(energy.balance))
ggplot(energy.balance@output, aes_string(x = "energybalanceVars", y = "energy.balanceResult", fill = "Policy")) +
geom_boxplot() +
theme_grey(base_size = 24) +
theme(axis.text.x = element_text(angle = 90, hjust = 1))
</rcode>


==Rationale==
==Rationale==
Line 57: Line 91:


<t2b name="Nonlinearity parameters" index="critVar,critIndex,rescol,critLocLow,critLocHigh" obs="critValue" unit="GWh /a">
<t2b name="Nonlinearity parameters" index="critVar,critIndex,rescol,critLocLow,critLocHigh" obs="critValue" unit="GWh /a">
Heat need|CHPcapacity|Result|CHP<1000|CHP>1000|1000
Heat need|CHPcapacity|Result|CHP<1000|CHP>1000|10000
</t2b>
</t2b>


Line 86: Line 120:


=== Calculations ===
=== Calculations ===
<rcode name="answer" graphics="1">
library(OpasnetUtils)
library(ggplot2)
N <- 10
objects.latest("Op_en5141", code_name = "initiate")
balance <- Ovariable("balance", ddata = "Op_en5469.equations")
balance@data$Equation <- as.character(levels(balance@data$Equation)[balance@data$Equation]) # Change factor into character.
balance@data$Policy[balance@data$Policy == ""] <- NA # Prepare indices for fillna. This should be part of fillna.
balance@data$CHPcapacity[balance@data$CHPcapacity == ""] <- NA
balance@data <- fillna(balance@data, marginals = 1:2) # Fill empty slots in indices.
nonlinearity <- Ovariable("nonlinearity", ddata = "Op_en5469", subset = "Nonlinearity parameters")
energy.balance <- EvalOutput(energy.balance)
energy.balance@marginal[colnames(energy.balance@output) == "energy.balanceVar"] <- TRUE # This has to be done manually because CheckMarginals does not notice this as a marginal.
energy.balance@marginal[colnames(energy.balance@output) %in% nonlinearity@output$critIndex] <- FALSE # Nonlinear indices are demarginalised because only one of the two equations apply.
oprint(summary(energy.balance))
ggplot(energy.balance@output, aes_string(x = "energy.balanceVar", y = "energy.balanceResult", fill = "Policy")) +
geom_boxplot() +
theme_grey(base_size = 24) +
theme(axis.text.x = element_text(angle = 90, hjust = 1))
# objects.store(energy.balance)
</rcode>


* See [[Energy balance]].
* See [[Energy balance]].
* [http://en.opasnet.org/en-opwiki/index.php?title=Energy_balance_in_Kuopio&oldid=30540 Model version] used for ISEE2013 poster. [http://en.opasnet.org/en-opwiki/index.php/Special:R-tools?id=ANmVxOvUqkFVur1I Model run]
* [http://en.opasnet.org/en-opwiki/index.php?title=Energy_balance_in_Kuopio&oldid=30316 Old code] with energy balance table with columns Equation, Col, Result, Description. [http://en.opasnet.org/en-opwiki/index.php/Special:R-tools?id=JpH6dFcnCXbynTRz A sample model run].
* [http://en.opasnet.org/en-opwiki/index.php?title=Energy_balance_in_Kuopio&oldid=30316 Old code] with energy balance table with columns Equation, Col, Result, Description. [http://en.opasnet.org/en-opwiki/index.php/Special:R-tools?id=JpH6dFcnCXbynTRz A sample model run].



Latest revision as of 05:31, 17 May 2015



The page gives information on the energy balance in Kuopio, taking into account energy input from a all sources and how these energy are used by society (domestic, industrial et.c) There is an adequate breakdown of information on energy production, distribution and consumption, however some of the information e.g the data page are not very easy to interpret.

Question

What are the amounts of energy produced, consumed, imported, and exported in Kuopio?

Answer

+ Show code

Rationale

Numbers are based on op_fi:Energiatase/Kuopio.

There are several energy transformations that each describe a specific process of energy production or use. Per unit activity, there is a constant amount of different inputs and outputs into and from this process, respectively. These unit processes are used for Kuopio in such a way that one critical input or output from each relevant energy transformation is listed here; all other inputs and outputs logically follow from the nature of the transformation process.

Data

Equations(GWh /a)
ObsCHPcapacityPolicyEquationDummyDescription
1BiofuelCHP renewable = CHP peat1Biofuel policy contains half biofuels, half peat
2BAUCHP renewable = 89.241
3CHP peat + CHP renewable + CHP oil = CHP heat + CHP electricity + CHP loss 1
4CHP peat = 90-98*CHP oil1
5CHP<1000CHP electricity + CHP loss = 0.689*CHP heat1
6CHP<1000CHP heat + CHP loss = 2.852*CHP electricity1
7CHP>1000CHP loss = 0.2542*CHP heat1
8CHP>1000CHP heat + CHP electricity + CHP loss = 10001Maximum production of 1000 added to the CHP plant to see non-linearities
9H biogas + H oil = H heat + H loss1
10H oil = 18.973*H biogas1
11H heat = 14.082*H loss1
12Ind peat + Ind oil + Ind renewable = Ind electricity + Ind process heat + Ind loss1
13Ind oil + Ind renewable = 2.014*Ind peat1
14Ind peat + Ind renewable = 10.083*Ind oil1
15Ind process heat + Ind loss = 6.376*Ind electricity1
16Ind electricity + Ind loss = 0.332*Ind process heat1
17CHP<1000H heat = 0.08*CHP heat1Small heat plants reflect the total heat need
18CHP>1000CHP electricity = 0.4407*CHP heat1But if CHP capacity is overwhelmed, H heat and CHP heat are decoupled and another relation is described
19Loss electricity = 0.0858*CHP electricity + 0.0858*Ind electricity1
20Loss heat = 0.0855*CHP heat + 0.0855*Ind process heat1
21Bought electricity + CHP electricity + Ind electricity = Loss electricity + Cons Home electricity + Cons Ind electricity + Cons Commerce electricity + Cons Municip electricity1
22CHP heat + H heat = Loss heat + Cons Home heat + Cons Ind heat + Cons Commerce heat + Cons Municip heat1
23Ind process heat = 400-685.41
24Cons Home electricity = 296-4001
25Cons Ind electricity = 2041
26Cons Commerce electricity = 334-3501
27Cons Municip electricity = 50.31
28Cons Home heat = 250-3031
29Cons Ind heat = 57.11
30Cons Commerce heat = 2241
31Cons Municip heat = 3861
32Heat need = CHP heat + H heat1
Example table to describe the details about nonlinear equations.
Nonlinearity parameters(GWh /a)
ObscritVarcritIndexrescolcritLocLowcritLocHighcritValue
1Heat needCHPcapacityResultCHP<1000CHP>100010000


Comparison of electricity use (total and household consumption)
Suzhou Kuopio Stuttgart
GW (country) 414 9.68 62.7 Source: Wolframalpha
persons in country 1000000000 5000000 80000000
W/person 414 1936 783.75
GWh/year (city) 625 296 1077 Source: Energy balance page of the city
MW 71.35 33.79 122.95
persons 2380000 100000 600000
W/person 29.98 337.9 204.91

Dependencies

Calculations

Endpoints

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


Keywords

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>