Difference between revisions of "Energy balance in Stuttgart 2025"

From Testiwiki
Jump to: navigation, search
(Data)
(redirected)
 
Line 1: Line 1:
[[Category:Energy]]
+
#REDIRECT [[Energy balance in Stuttgart]]
[[Category:Energy balance]]
 
[[Category:Stuttgart]]
 
[[Category:Contains R code]]
 
{{variable|moderator=nobody|stub=Yes}}
 
 
 
== Question ==
 
 
 
What are the amounts of energy produced, consumed, imported, and exported in Stuttgart in 2025?
 
 
 
== Answer ==
 
 
 
{{attack|# |Rcode for using the ovariable is needed.|--[[User:Jouni|Jouni]] 23:03, 26 February 2013 (EET)}}
 
 
 
==Rationale==
 
 
 
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 Stuttgart 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===
 
 
 
<t2b name="Equations" index="Equation" obs="Dummy" desc="Description" unit="GWh /a?">
 
STP renewable energy + STP electricity = STP local heating|1|Balance Solar Thermal Pump. In energy balance, inputs and outputs cancel out
 
STP electricity = 0.352941176*STP renewable energy|1|Fraction STP renewable energy. Amount of electricity is used as comparison for renewable energy. 12/34 Electricity divided by renewable energy
 
CHP gas + CHP renewable energy + CHP mineral oil = CHP local heating + CHP electricity + CHP loss|1|Balance CHP Plants. In energy balance, inputs and outputs cancel out
 
CHP renewable energy + CHP mineral oil = 3.848484848*CHP gas|1|Fraction CHP gas. Sum of other fuels is used as comparison for gas. (116+11)/33 Others divided by gas
 
CHP gas + CHP mineral oil = 0.379310344*CHP renewable energy|1|Sum of other fuels is used as comparison for renewable energy. Fraction CHP renewable energy. (33+11)/116 Others divided by renewable energy
 
CHP electricity + CHP loss = 3.324324324*CHP local heating|1|Fraction CHP local heating. Sum of other outputs is used as comparison for local heating. (27+96)/37 Others divided by local heating.
 
CHP local heating + CHP loss = 4.925925925*CHP electricity|1|Fraction CHP electricity. Sum of other outputs is used as comparison for electricity. (37+96)/27 Others divided by electricity
 
WWP renewable energy = WWP electricity|1|Balance Water, Wind, Photovlotaics. In energy balance, inputs and outputs cancel out
 
TPP electricity input + TPP mineral oil + TPP gas = TPP local heating + TPP electricity output + TPP loss|1|Balance Thermal Power Plant Pfaffenwald. In energy balance, inputs and outputs cancel out
 
TPP mineral oil + TPP gas = 26*TPP electricity input|1|Fraction TPP electricity input. Sum of other fuels is used as comparison for electricity input. (17+217)/9 Others divided by electricity input
 
TPP electricity input + TPP gas = 13.294117647*TPP mineral oil|1|Fraction TPP mineral oil. Sum of other fuels is used as comparison for mineral oil. (9+217)/17 Others divided by mineral oil
 
TPP electricity output + TPP loss = 0.380681818*TPP local heating|1|Fraction TPP local heating. Sum of other outputs is used as comparison for local heating. (61+6)/176 Others divided by local heating
 
TPP local heating +TPP loss = 2.983606557*TPP electricity output|1|Fraction TPP electricity output. Sum of other outputs is used as comparison for electricity. (176+6)/61 Others divided by electricity
 
TPE waste + TPE gas + TPE coal + TPE mineral oil = TPE electricity + TPE district heating + TPE loss|1|Balance Thermal Power Plant EVU. In energy balance, inputs and outputs cancel out
 
TPE gas + TPE coal + TPE mineral oil = 0.929245283*TPE waste|1|Fraction TPE waste. Sum of other fuels is used as comparison for waste. (162+1019+1)/1272 Others divided by waste
 
TPE waste + TPE coal + TPE mineral oil = 14.148148148*TPE gas|1|Fraction TPE gas. Sum of other fuels is used as comparison for gas. (1272+1019+1)/162 Others divided by gas
 
TPE waste + TPE gas + TPE mineral oil = 1.408243376*TPE coal|1|Fraction TPE coal. Sum of other fuels is used as comparison for coal. (1272+162+1)/1019  Others divided by coal
 
TPE district heating + TPE loss = 5.104477612*TPE electricity|1|Fraction TPE electricity. Sum of other outputs is used as comparison for electricity. (1171+881)/402 Others divided by electricity
 
TPE electricity + TPE loss = 1.095644748*TPE district heating|1|Fraction TPE district heating. Sum of other outputs is used as comparison for district heating. (402+881)/1171 Others divided by district heating
 
Ind gas = Ind electricity + Ind loss|1|Balance Industrial Plants. In energy balance, inputs and outputs cancel out
 
Ind electricity = 0.533333333*Ind loss|1|Fraction Ind loss. Amount of district heating is used as comparison for loss. 8/15 district heating per loss
 
STP local heating = 1.243243243*CHP local heating|1|Fraction local heating producers. CHP local heating production is used as reference. 46/37 STP local heating divided by CHP local heating
 
Ind electricity = 0.006831768*CHP electricity|1|Fraction electricity producers 1. 8/1171 Ind electricity divided by TPE district heating VÄÄRIN 2008 sivulla??
 
WWP electricity = 1.925925925*CHP electricity|1|Fraction electricity producers 2. CHP electricity production is used as reference. 52/27 WWP electricity divided by CHP electricity
 
TPP electricity output = 2.259259259*CHP electricity|1|Fraction electricity producers 3. CHP electricity production is used as reference. 61/27 TPP electricity divided by CHP electricity
 
TPE electricity = 14.888888888*CHP electricity|1|Fraction electricity producers 4. CHP electricity production is used as reference. 402/27 TPE electricity divided by CHP electricity
 
Loss local heating = 0.057915058*STP local heating + 0.057915058*CHP local heating + 0.057915058*TPP local heating|1|Transmission loss local heating. Known loss divided by production. 15/(46+37+176)
 
Loss electricity = 0.22*CHP electricity + 0.22*WWP electricity + 0.22*TPP electricity output + 0.22*TPE electricity + 0.22*Ind electricity|1|Transmission loss electricity. Known loss divided by production. 121/(27+52+61+402+8)
 
Loss district heating = 0.102476516*TPE district heating|1|Transmission loss district heating. Known loss divided by production. 120/1171
 
CES local heating = 0.217391304*STP local heating|1|Consumption in the Energy Sector local heating. STP local heating is used as reference. 10/46
 
CES electricity = 4.259259259*CHP electricity|1|Consumption in the Energy Sector electricity. CHP electricity is used as reference. 115/27
 
V renewable energy = 0.235294118*STP renewable energy|1|Vorketten renewable energy. STP renewable energy is used as reference. 8/34
 
V coal = 0.161923454*TPE coal|1|Vorketten coal. TPE coal is used as reference. 165/1019
 
V electricity = 14.425373134*TPE electricity|1|Vorketten electricity. TPE electricity is used as reference. 5799/402
 
V gas = 14.181818181*CHP gas|1|Vorketten gas. CHP gas is used as reference. 468/33
 
V mineral oil = 31.352941176*TPP mineral oil|1|Vorketten mineral oil. TPP mineral oil is used as reference. 533/17
 
Bought electricity + CHP electricity + WWP electricity + TPP electricity output + TPE electricity + Ind electricity = STP electricity + TPP electricity input + Loss electricity + CES electricity + V electricity + Cons Ind electricity + Cons Traffic electricity + Cons Home electricity + Cons Commerce electricity|1|Electricity use balance. In energy balance, inputs and outputs cancel out
 
STP local heating + CHP local heating + TPP local heating = Loss local heating + CES local heating + Cons Ind local heating + Cons Home local heating + Cons Commerce local heating|1|Local heating balance. In energy balance, inputs and outputs cancel out
 
Bought district heating + TPE district heating = Loss district heating + Cons Ind district heating + Cons Home district heating + Cons Commerce district heating|1|District heating balance. In energy balance, inputs and outputs cancel out
 
Cons Ind electricity = 2499|1|Consumed electricity industry
 
Cons Traffic electricity = 268|1|Consumed electricity traffic
 
Cons Home electricity = 1137|1|Consumed electricity households
 
Cons Commerce electricity = 485|1|Consumed electricity commerce
 
Cons Ind local heating = 6|1|Consumed local heating industry
 
Cons Home local heating = 38|1|Consumed local heating households
 
Cons Commerce local heating = 162|1|Consumed local heating commerce
 
Cons Ind district heating = 400|1|Consumed districit heating industry
 
Cons Home district heating = 74|1|Consumed districit heating households
 
Cons Commerce district heating = 941|1|Consumed districit heating commerce
 
</t2b>
 
 
 
There are no nonlinearities.
 
 
 
=== Calculations ===
 
 
 
<rcode name="answer" graphics="1">
 
library(OpasnetUtils)
 
library(ggplot2)
 
 
 
N <- 10
 
 
 
objects.latest("Op_en5141", code_name = "initiate")
 
 
 
balance <- Ovariable("balance", ddata = "Op_en5815.equations")
 
 
 
nonlinearity <- Ovariable("nonlinearity", ddata = "Op_en5141", subset = "No nonlinearities")
 
 
 
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")) +
 
geom_boxplot() +
 
theme_grey(base_size = 24) +
 
theme(axis.text.x = element_text(angle = 90, hjust = 1, vjust= 0.2))
 
 
 
# objects.store(energy.balance)
 
 
 
</rcode>
 
 
 
* See [[Energy balance]].
 
* [http://en.opasnet.org/en-opwiki/index.php?title=Energy_balance_in_Stuttgart&oldid=30532 Model version] for ISEE 2013 results. [http://en.opasnet.org/en-opwiki/index.php/Special:R-tools?id=gX8Z6tC6PyTmUiir Model run]
 
* [http://en.opasnet.org/en-opwiki/index.php?title=Energy_balance_in_Stuttgart&oldid=30516 Old code available here]. Unfortunately it does not run any more, because input data has been reformatted.
 
 
 
==See also==
 
 
 
* Previous way of presenting energy balances in Stuttgart: [http://en.opasnet.org/en-opwiki/index.php?title=Energy_consumption_in_Stuttgart&oldid=25974 consumption], [http://en.opasnet.org/en-opwiki/index.php?title=Energy_transformations_in_Stuttgart&oldid=25971 transformations], [http://en.opasnet.org/en-opwiki/index.php?title=Energy_supply_in_Stuttgart&oldid=25973 supply]
 
* About [http://www.jstatsoft.org/v32/i04/paper large systems of non-linear equations: BB package in R]
 
 
 
{{urgenche}}
 
 
 
==Keywords==
 
 
 
==References==
 
 
 
<references/>
 
 
 
==Related files==
 
 
 
{{mfiles}}
 

Latest revision as of 08:03, 8 June 2014