Energy balance in Kuopio: Difference between revisions
m (→Data) |
(permanent model run produced) |
||
(11 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. | ||
== Question == | |||
What are the amounts of energy produced, consumed, imported, and exported in Kuopio? | |||
== | == 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) | energy.balance <- EvalOutput(energy.balance) | ||
oprint(summary(energy.balance)) | |||
ggplot(energy.balance@output, | ggplot(energy.balance@output, aes_string(x = "energybalanceVars", y = "energy.balanceResult", fill = "Policy")) + | ||
geom_boxplot() + | |||
theme_grey(base_size = 24) + | |||
theme_grey(base_size = 24) | theme(axis.text.x = element_text(angle = 90, hjust = 1)) | ||
</rcode> | </rcode> | ||
==Rationale== | ==Rationale== | ||
Line 52: | Line 53: | ||
===Data=== | ===Data=== | ||
<t2b name="Equations" index="CHPcapacity,Policy,Equation" obs="Dummy" desc="Description" unit="GWh /a"> | |||
|Biofuel|CHP renewable = CHP peat|1|Biofuel policy contains half biofuels, half peat | |||
|BAU|CHP renewable = 89.24|1| | |||
||CHP peat + CHP renewable + CHP oil = CHP heat + CHP electricity + CHP loss |1| | |||
||CHP peat = 90-98*CHP oil|1| | |||
CHP<1000||CHP electricity + CHP loss = 0.689*CHP heat|1| | |||
CHP<1000||CHP heat + CHP loss = 2.852*CHP electricity|1| | |||
CHP>1000||CHP loss = 0.2542*CHP heat|1| | |||
CHP>1000||CHP heat + CHP electricity + CHP loss = 1000|1|Maximum production of 1000 added to the CHP plant to see non-linearities | |||
||H biogas + H oil = H heat + H loss|1| | |||
||H oil = 18.973*H biogas|1| | |||
||H heat = 14.082*H loss|1| | |||
||Ind peat + Ind oil + Ind renewable = Ind electricity + Ind process heat + Ind loss|1| | |||
||Ind oil + Ind renewable = 2.014*Ind peat|1| | |||
||Ind peat + Ind renewable = 10.083*Ind oil|1| | |||
||Ind process heat + Ind loss = 6.376*Ind electricity|1| | |||
||Ind electricity + Ind loss = 0.332*Ind process heat|1| | |||
CHP<1000||H heat = 0.08*CHP heat|1|Small heat plants reflect the total heat need | |||
CHP>1000||CHP electricity = 0.4407*CHP heat|1|But if CHP capacity is overwhelmed, H heat and CHP heat are decoupled and another relation is described | |||
||Loss electricity = 0.0858*CHP electricity + 0.0858*Ind electricity|1| | |||
||Loss heat = 0.0855*CHP heat + 0.0855*Ind process heat|1| | |||
||Bought electricity + CHP electricity + Ind electricity = Loss electricity + Cons Home electricity + Cons Ind electricity + Cons Commerce electricity + Cons Municip electricity|1| | |||
||CHP heat + H heat = Loss heat + Cons Home heat + Cons Ind heat + Cons Commerce heat + Cons Municip heat|1| | |||
||Ind process heat = 400-685.4|1| | |||
||Cons Home electricity = 296-400|1| | |||
||Cons Ind electricity = 204|1| | |||
||Cons Commerce electricity = 334-350|1| | |||
||Cons Municip electricity = 50.3|1| | |||
||Cons Home heat = 250-303|1| | |||
||Cons Ind heat = 57.1|1| | |||
||Cons Commerce heat = 224|1| | |||
||Cons Municip heat = 386|1| | |||
||Heat need = CHP heat + H heat|1| | |||
</t2b> | |||
; Example table to describe the details about nonlinear equations. | |||
<t2b index=" | <t2b name="Nonlinearity parameters" index="critVar,critIndex,rescol,critLocLow,critLocHigh" obs="critValue" unit="GWh /a"> | ||
Heat need|CHPcapacity|Result|CHP<1000|CHP>1000|10000 | |||
</t2b> | </t2b> | ||
{| {{prettytable}} | {| {{prettytable}} | ||
Line 155: | Line 117: | ||
=== Dependencies === | === Dependencies === | ||
* [[Energy balance]] | |||
=== Calculations === | |||
* 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]. | |||
==Endpoints== | ==Endpoints== | ||
Line 223: | Line 129: | ||
==See also== | ==See also== | ||
* [http://www.nollaenergia.fi/kuopiontaloseuranta.php Zero energy building in Kuopio: Online surveillance] | |||
* For calculations based on these data, see [[Energy balance]]. | * For calculations based on these data, see [[Energy balance]]. | ||
* About [http://www.jstatsoft.org/v32/i04/paper large systems of non-linear equations: BB package in R] | * About [http://www.jstatsoft.org/v32/i04/paper large systems of non-linear equations: BB package in R] | ||
{{urgenche}} | {{urgenche}} | ||
==Keywords== | ==Keywords== |
Latest revision as of 05:31, 17 May 2015
Moderator:Jouni (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
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
- Energy balance in Kuopio Model run 17.5.2015 (based on 2013 model)
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
Obs | CHPcapacity | Policy | Equation | Dummy | Description |
---|---|---|---|---|---|
1 | Biofuel | CHP renewable = CHP peat | 1 | Biofuel policy contains half biofuels, half peat | |
2 | BAU | CHP renewable = 89.24 | 1 | ||
3 | CHP peat + CHP renewable + CHP oil = CHP heat + CHP electricity + CHP loss | 1 | |||
4 | CHP peat = 90-98*CHP oil | 1 | |||
5 | CHP<1000 | CHP electricity + CHP loss = 0.689*CHP heat | 1 | ||
6 | CHP<1000 | CHP heat + CHP loss = 2.852*CHP electricity | 1 | ||
7 | CHP>1000 | CHP loss = 0.2542*CHP heat | 1 | ||
8 | CHP>1000 | CHP heat + CHP electricity + CHP loss = 1000 | 1 | Maximum production of 1000 added to the CHP plant to see non-linearities | |
9 | H biogas + H oil = H heat + H loss | 1 | |||
10 | H oil = 18.973*H biogas | 1 | |||
11 | H heat = 14.082*H loss | 1 | |||
12 | Ind peat + Ind oil + Ind renewable = Ind electricity + Ind process heat + Ind loss | 1 | |||
13 | Ind oil + Ind renewable = 2.014*Ind peat | 1 | |||
14 | Ind peat + Ind renewable = 10.083*Ind oil | 1 | |||
15 | Ind process heat + Ind loss = 6.376*Ind electricity | 1 | |||
16 | Ind electricity + Ind loss = 0.332*Ind process heat | 1 | |||
17 | CHP<1000 | H heat = 0.08*CHP heat | 1 | Small heat plants reflect the total heat need | |
18 | CHP>1000 | CHP electricity = 0.4407*CHP heat | 1 | But if CHP capacity is overwhelmed, H heat and CHP heat are decoupled and another relation is described | |
19 | Loss electricity = 0.0858*CHP electricity + 0.0858*Ind electricity | 1 | |||
20 | Loss heat = 0.0855*CHP heat + 0.0855*Ind process heat | 1 | |||
21 | Bought electricity + CHP electricity + Ind electricity = Loss electricity + Cons Home electricity + Cons Ind electricity + Cons Commerce electricity + Cons Municip electricity | 1 | |||
22 | CHP heat + H heat = Loss heat + Cons Home heat + Cons Ind heat + Cons Commerce heat + Cons Municip heat | 1 | |||
23 | Ind process heat = 400-685.4 | 1 | |||
24 | Cons Home electricity = 296-400 | 1 | |||
25 | Cons Ind electricity = 204 | 1 | |||
26 | Cons Commerce electricity = 334-350 | 1 | |||
27 | Cons Municip electricity = 50.3 | 1 | |||
28 | Cons Home heat = 250-303 | 1 | |||
29 | Cons Ind heat = 57.1 | 1 | |||
30 | Cons Commerce heat = 224 | 1 | |||
31 | Cons Municip heat = 386 | 1 | |||
32 | Heat need = CHP heat + H heat | 1 |
- Example table to describe the details about nonlinear equations.
Obs | critVar | critIndex | rescol | critLocLow | critLocHigh | critValue |
---|---|---|---|---|---|---|
1 | Heat need | CHPcapacity | Result | CHP<1000 | CHP>1000 | 10000 |
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
- See Energy balance.
- Model version used for ISEE2013 poster. Model run
- Old code with energy balance table with columns Equation, Col, Result, Description. A sample model run.
Endpoints
See also
- Zero energy building in Kuopio: Online surveillance
- For calculations based on these data, see Energy balance.
- About large systems of non-linear equations: BB package in R
Keywords
References
Related files
<mfanonymousfilelist></mfanonymousfilelist>