Energy balance in Suzhou: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(data reformatted, new code copied from Energy balance in Sturrgart)
Line 15: Line 15:
===Data===
===Data===


<t2b index="Equation,Col,Observation" locations="Result,Description" unit="-">
<t2b name="Equations" index="Equation" desc="Dummy,Description" unit="GWh /a?">
Balance Thermal Power Plants|TP raw coal|-1|In energy balance, inputs and outputs cancle out
TP raw coal + TP natural gas + TP oil products + TP coal products + TP other energy + TP heat = TP electricity + TP loss|1|In energy balance, inputs and outputs cancel out. Balance Thermal Power Plants
Balance Thermal Power Plants|TP natural gas|-1|
TP natural gas + TP oil products + TP coal products + TP other energy + TP heat = 0.12158311*TP raw coal|-1|(670,9+21,4+1145,5+198,0+54,7)/17194,0 Others divided by raw coal. Fraction TP raw coal. Sum of other fuels is used as comparison for raw coal
Balance Thermal Power Plants|TP oil products|-1|
TP raw coal + TP oil products + TP coal products + TP other energy + TP heat = 27.74422418*TP natural gas|-1|(17194,0+21,4+1145,5+198,0+54,7)/670,9 Others divided by natural gas. Fraction TP natural gas. Sum of other fuels is used as comparison for natural gas
Balance Thermal Power Plants|TP coal products|-1|
TP raw coal + TP natural gas + TP coal products + TP other energy + TP heat = 900.1448598*TP oil products|-1|(17194,0+670,9+1145,5+198,0+54,7)/21,4 Others divided by oil productsFraction TP oil products. Sum of other fuels is used as comparison for oil products
Balance Thermal Power Plants|TP other energy|-1|
TP raw coal + TP natural gas + TP oil products + TP other energy + TP heat = 15.83500655*TP coal products|-1|(17194,0+670,9+21,4+198,0+54,7)/1145,5 Others divided by coal products. Fraction TP coal products. Sum of other fuels is used as comparison for coal products
Balance Thermal Power Plants|TP heat|-1|
TP raw coal + TP natural gas + TP oil products + TP coal products + TP heat = 96.39646465*TP other energy|-1|(17194,0+670,9+21,4+1145,5+54,7)/198,0 Others divided by other energy. Fraction TP other energy. Sum of other fuels is used as comparison for other energy
Balance Thermal Power Plants|TP electricity|1|
TP electricity = 0.630948656*TP loss|-1|7460,4/11824,1 electricity per loss. Fraction TP loss. Amount of electricity is used as comparison for loss
Balance Thermal Power Plants|TP loss|1|
H raw coal + H natural gas + H oil products + H coal products + H other energy = H heat + H loss|-1|Balance Heating Supply. In energy balance, inputs and outputs cancle out
Fraction TP raw coal|TP natural gas|-1|Sum of other fuels is used as comparison for raw coal
H natural gas + H oil products + H coal products + H other energy = 0.158111641*H raw coal|-1|(88,0+38,6+360,3+27,2)/3251,5 Others divided by raw coal. Fraction H raw coal. Sum of other fuels is used as comparison for raw coal
Fraction TP raw coal|TP oil products|-1|
H raw coal + H oil products + H coal products + H other energy = 41.79090909*H natural gas|-1|(3251,5+38,6+360,3+27,2)/88,0 Others divided by natural gas. Fraction H natural gas. Sum of other fuels is used as comparison for natural gas
Fraction TP raw coal|TP coal products|-1|
H raw coal + H natural gas + H coal products + H other energy = 96.55440415*H oil products|-1|(3251,5+88,0+360,3+27,2)/38,6 Others divided by oil products. Sum of other fuels is used as comparison for oil products. Fraction H oil products
Fraction TP raw coal|TP other energy|-1|
H raw coal + H natural gas + H oil products + H other energy = 9.451290591*H coal products|-1|(3251,5+88,0+38,6+27,2)/360,3 Others divided by coal products. Fraction H coal products. Sum of other fuels is used as comparison for coal products
Fraction TP raw coal|TP heat|-1|
H heat = 4.451715651*H loss|-1|3074,8/690,7 heat per loss. Fraction H loss. Amount of heat is used as comparison for loss
Fraction TP raw coal|TP raw coal|0.12158311|(670,9+21,4+1145,5+198,0+54,7)/17194,0 Others divided by raw coal
CP raw coal + CP natural gas + CP oil products = CP coal products + CP loss|1|Balance Coal Processing. In energy balance, inputs and outputs cancel out
Fraction TP natural gas|TP raw coal|-1|Sum of other fuels is used as comparison for natural gas
CP natural gas + CP oil products = 0.004725972*CP raw coal|-1|(0,007+0,0172)/5,12064 Others divided by raw coal. Fraction CP raw coal. Sum of other fuels is used as comparison for raw coal
Fraction TP natural gas|TP oil products|-1|
CP oil products = 24.57142857*CP natural gas|1|0,01720/0,0007 oil products divided by natural gas. Fraction CP natural gas. Amount of oil products is used as comparison for natural gas
Fraction TP natural gas|TP coal products|-1|
CP coal products = 6.341763109*CP loss|1|4,4386/0,6999 coal products per loss. Fraction CP loss. Amount of coal products is used as comparison for loss
Fraction TP natural gas|TP other energy|-1|
Loss heat = 0.029823078*H heat|1|91,7/3074,8. Transmission loss heat. Known loss divided by production
Fraction TP natural gas|TP heat|-1|
Loss oil products = 0.953271028*TP oil products|1|20,4/21,4. Transmission loss oil products. Known loss divided by oil products used in TP
Fraction TP natural gas|TP natural gas|27.74422418|(17194,0+21,4+1145,5+198,0+54,7)/670,9 Others divided by natural gas
Loss electricity = 0.085276929*TP electricity|1|636,2/7460,4. Transmission loss electricity. Known loss divided by production
Fraction TP oil products|TP raw coal|-1|Sum of other fuels is used as comparison for oil products
Loss natural gas = 0.3625*H natural gas|1|31,9/88,0. Transmission loss natural gas. Known loss divided by natural gas used in H
Fraction TP oil products|TP natural gas|-1|
Bought electricity + TP electricity = Loss electricity + Cons Agri electricity + Cons Ind electricity + Cons Transportation electricity + Cons Commerce electricity + Cons Households electricity|1|Electricity use balance. In energy balance, inputs and outputs cancel out
Fraction TP oil products|TP coal products|-1|
H heat = Loss heat + Cons Ind heat + Cons Commerce heat|1|Heat use balance. In energy balance, inputs and outputs cancel out
Fraction TP oil products|TP other energy|-1|
Cons Agri electricity = 25.8468532|1|Consumed electricity agriculture
Fraction TP oil products|TP heat|-1|
Cons Ind electricity = 7032.044935|1|Consumed electricity industry
Fraction TP oil products|TP oil products|900.1448598|(17194,0+670,9+1145,5+198,0+54,7)/21,4 Others divided by oil products
Cons Transportation electricity = 49.8664292|1|Consumed electricity transportation
Fraction TP coal products|TP raw coal|-1|Sum of other fuels is used as comparison for coal products
Cons Commerce electricity = 684.7050273|1|Consumed electricity commerce
Fraction TP coal products|TP natural gas|-1|
Cons Households electricity = 625.3804599|1|Consumed electricity households
Fraction TP coal products|TP oil products|-1|
Cons Ind heat = 2981.313692|1|Consumed heat industry
Fraction TP coal products|TP other energy|-1|
Cons Commerce heat = 1.732034769|1|Consumed heat commerce
Fraction TP coal products|TP heat|-1|
Fraction TP coal products|TP coal products|15.83500655|(17194,0+670,9+21,4+198,0+54,7)/1145,5 Others divided by coal products
Fraction TP other energy|TP raw coal|-1|Sum of other fuels is used as comparison for other energy
Fraction TP other energy|TP natural gas|-1|
Fraction TP other energy|TP oil products|-1|
Fraction TP other energy|TP coal products|-1|
Fraction TP other energy|TP heat|-1|
Fraction TP other energy|TP other energy|96.39646465|(17194,0+670,9+21,4+1145,5+54,7)/198,0 Others divided by other energy
Fraction TP loss|TP electricity|-1|Amount of electricity is used as comparison for loss
Fraction TP loss|TP loss|0.630948656|7460,4/11824,1 electricity per loss
Balance Heating Supply|H raw coal|-1|In energy balance, inputs and outputs cancle out
Balance Heating Supply|H natural gas|-1|
Balance Heating Supply|H oil products|-1|
Balance Heating Supply|H coal products|-1|
Balance Heating Supply|H other energy|-1|
Balance Heating Supply|H heat|1|
Balance Heating Supply|H loss|1|
Fraction H raw coal|H natural gas|-1|Sum of other fuels is used as comparison for raw coal
Fraction H raw coal|H oil products|-1|
Fraction H raw coal|H coal products|-1|
Fraction H raw coal|H other energy|-1|
Fraction H raw coal|H raw coal|0.158111641|(88,0+38,6+360,3+27,2)/3251,5 Others divided by raw coal
Fraction H natural gas|H raw coal|-1|Sum of other fuels is used as comparison for natural gas
Fraction H natural gas|H oil products|-1|
Fraction H natural gas|H coal products|-1|
Fraction H natural gas|H other energy|-1|
Fraction H natural gas|H natural gas|41.79090909|(3251,5+38,6+360,3+27,2)/88,0 Others divided by natural gas
Fraction H oil products|H raw coal|-1|Sum of other fuels is used as comparison for oil products
Fraction H oil products|H natural gas|-1|
Fraction H oil products|H coal products|-1|
Fraction H oil products|H other energy|-1|
Fraction H oil products|H oil products|96.55440415|(3251,5+88,0+360,3+27,2)/38,6 Others divided by oil products
Fraction H coal products|H raw coal|-1|Sum of other fuels is used as comparison for coal products
Fraction H coal products|H natural gas|-1|
Fraction H coal products|H oil products|-1|
Fraction H coal products|H other energy|-1|
Fraction H coal products|H coal products|9.451290591|(3251,5+88,0+38,6+27,2)/360,3 Others divided by coal products
Fraction H loss|H heat|-1|Amount of heat is used as comparison for loss
Fraction H loss|H loss|4.451715651|3074,8/690,7 heat per loss
Balance Coal Processing|CP raw coal|-1|In energy balance, inputs and outputs cancle out
Balance Coal Processing|CP natural gas|-1|
Balance Coal Processing|CP oil products|-1|
Balance Coal Processing|CP coal products|1|
Balance Coal Processing|CP loss|1|
Fraction CP raw coal|CP natural gas|-1|Sum of other fuels is used as comparison for raw coal
Fraction CP raw coal|CP oil products|-1|
Fraction CP raw coal|CP raw coal|0.004725972|(0,007+0,0172)/5,12064 Others divided by raw coal
Fraction CP natural gas|CP oil products|-1|Amount of oil products is used as comparison for natural gas
Fraction CP natural gas|CP natural gas|24.57142857|0,01720/0,0007 oil products divided by natural gas
Fraction CP loss|CP coal products|-1|Amount of coal products is used as comparison for loss
Fraction CP loss|CP loss|6.341763109|4,4386/0,6999 coal products per loss
Transmission loss heat|Loss heat|1|Known loss divided by production
Transmission loss heat|H heat|0.029823078|91,7/3074,8
Transmission loss oil products|Loss oil products|1|Known loss divided by oil products used in TP
Transmission loss oil products|TP oil products|0.953271028|20,4/21,4
Transmission loss electricity|Loss electricity|1|Known loss divided by production
Transmission loss electricity|TP electricity|0.085276929|636,2/7460,4
Transmission loss natural gas|Loss natural gas|1|Known loss divided by natural gas used in H
Transmission loss natural gas|H natural gas|0.3625|31,9/88,0
Electricity use balance|Bought electricity|-1|In energy balance, inputs and outputs cancle out
Electricity use balance|TP electricity|-1|
Electricity use balance|Loss electricity|1|
Electricity use balance|Cons Agri electricity|1|
Electricity use balance|Cons Ind electricity|1|
Electricity use balance|Cons Transportation electricity|1|
Electricity use balance|Cons Commerce electricity|1|
Electricity use balance|Cons Households electricity|1|
Heat use balance|H heat|-1|In energy balance, inputs and outputs cancle out
Heat use balance|Loss heat|1|
Heat use balance|Cons Ind heat|1|
Heat use balance|Cons Commerce heat|1|
Consumed electricity agriculture|Cons Agri electricity|1|This must be given
Consumed electricity industry|Cons Ind electricity|1|This must be given
Consumed electricity transportation|Cons Transportation electricity|1|This must be given
Consumed electricity commerce|Cons Commerce electricity|1|This must be given
Consumed electricity households|Cons Households electricity|1|This must be given
Consumed heat industry|Cons Ind heat|1|This must be given
Consumed heat commerce|Cons Commerce heat|1|This must be given
</t2b>
</t2b>


A data table on an Opasnet page is used to enter the matrix data. This is rather user friendly. As a side effect, the table does not look like a matrix so it might be confusing in the beginning. The matrix is created by using the "Equation" as information about the row of the matrix and "Col" as information about the column of the matrix. "Result" is the actual value, and Description is anything useful for a reader (it is not used in calculations).
 
<t2b name="Nonlinearity parameters" index="critVar,critIndex,rescol,critLocLow,critLocHigh" obs="critValue" unit="GWh /a">
|||||
</t2b>


=== Dependencies ===
=== Dependencies ===


=== Formula ===
* [[Energy balance]]
 
=== Calculations ===
 
<rcode name="answer" graphics="1">
library(OpasnetUtils)
library(ggplot2)
 
N <- 10


Default run key:  
objects.latest("Op_en5141", code_name = "initiate")
 
balance <- Ovariable("balance", ddata = "Op_en5815.equations")
 
balance@data$Equation <- as.character(levels(balance@data$Equation)[balance@data$Equation]) # Change factor into character.
 
nonlinearity <- Ovariable("nonlinearity", ddata = "Op_en5815", 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")) +
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]].
 
; Old code:


{{attack|# |There are 32 columns (unknown variables) but only 31 rows (equations).|--[[User:Jouni|Jouni]] 18:18, 25 September 2012 (EEST)}}
{{attack|# |There are 32 columns (unknown variables) but only 31 rows (equations).|--[[User:Jouni|Jouni]] 18:18, 25 September 2012 (EEST)}}
Line 174: Line 133:
Write down the key of the model run page for further use.\n")
Write down the key of the model run page for further use.\n")
</rcode>
</rcode>
* [http://en.opasnet.org/en-opwiki/index.php?title=Energy_balance_in_Suzhou&oldid=29360 Previous model version]
** [http://en.opasnet.org/en-opwiki/index.php/Special:R-tools?id=wpVQ2EDDBFJLrCFz Model run from a previous version] (there is a problem with data).


==See also==
==See also==

Revision as of 09:14, 18 August 2013



Question

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

Answer

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 Suzhou 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

You have error(s) in your data:

Number of indices and result cells does not match

Equations(GWh /a?)
ObsEquationResultDummyDescription
1TP raw coal + TP natural gas + TP oil products + TP coal products + TP other energy + TP heat = TP electricity + TP loss1In energy balance, inputs and outputs cancel out. Balance Thermal Power Plants
2TP natural gas + TP oil products + TP coal products + TP other energy + TP heat = 0.12158311*TP raw coal-1(670,9+21,4+1145,5+198,0+54,7)/17194,0 Others divided by raw coal. Fraction TP raw coal. Sum of other fuels is used as comparison for raw coal
3TP raw coal + TP oil products + TP coal products + TP other energy + TP heat = 27.74422418*TP natural gas-1(17194,0+21,4+1145,5+198,0+54,7)/670,9 Others divided by natural gas. Fraction TP natural gas. Sum of other fuels is used as comparison for natural gas
4TP raw coal + TP natural gas + TP coal products + TP other energy + TP heat = 900.1448598*TP oil products-1(17194,0+670,9+1145,5+198,0+54,7)/21,4 Others divided by oil productsFraction TP oil products. Sum of other fuels is used as comparison for oil products
5TP raw coal + TP natural gas + TP oil products + TP other energy + TP heat = 15.83500655*TP coal products-1(17194,0+670,9+21,4+198,0+54,7)/1145,5 Others divided by coal products. Fraction TP coal products. Sum of other fuels is used as comparison for coal products
6TP raw coal + TP natural gas + TP oil products + TP coal products + TP heat = 96.39646465*TP other energy-1(17194,0+670,9+21,4+1145,5+54,7)/198,0 Others divided by other energy. Fraction TP other energy. Sum of other fuels is used as comparison for other energy
7TP electricity = 0.630948656*TP loss-17460,4/11824,1 electricity per loss. Fraction TP loss. Amount of electricity is used as comparison for loss
8H raw coal + H natural gas + H oil products + H coal products + H other energy = H heat + H loss-1Balance Heating Supply. In energy balance, inputs and outputs cancle out
9H natural gas + H oil products + H coal products + H other energy = 0.158111641*H raw coal-1(88,0+38,6+360,3+27,2)/3251,5 Others divided by raw coal. Fraction H raw coal. Sum of other fuels is used as comparison for raw coal
10H raw coal + H oil products + H coal products + H other energy = 41.79090909*H natural gas-1(3251,5+38,6+360,3+27,2)/88,0 Others divided by natural gas. Fraction H natural gas. Sum of other fuels is used as comparison for natural gas
11H raw coal + H natural gas + H coal products + H other energy = 96.55440415*H oil products-1(3251,5+88,0+360,3+27,2)/38,6 Others divided by oil products. Sum of other fuels is used as comparison for oil products. Fraction H oil products
12H raw coal + H natural gas + H oil products + H other energy = 9.451290591*H coal products-1(3251,5+88,0+38,6+27,2)/360,3 Others divided by coal products. Fraction H coal products. Sum of other fuels is used as comparison for coal products
13H heat = 4.451715651*H loss-13074,8/690,7 heat per loss. Fraction H loss. Amount of heat is used as comparison for loss
14CP raw coal + CP natural gas + CP oil products = CP coal products + CP loss1Balance Coal Processing. In energy balance, inputs and outputs cancel out
15CP natural gas + CP oil products = 0.004725972*CP raw coal-1(0,007+0,0172)/5,12064 Others divided by raw coal. Fraction CP raw coal. Sum of other fuels is used as comparison for raw coal
16CP oil products = 24.57142857*CP natural gas10,01720/0,0007 oil products divided by natural gas. Fraction CP natural gas. Amount of oil products is used as comparison for natural gas
17CP coal products = 6.341763109*CP loss14,4386/0,6999 coal products per loss. Fraction CP loss. Amount of coal products is used as comparison for loss
18Loss heat = 0.029823078*H heat191,7/3074,8. Transmission loss heat. Known loss divided by production
19Loss oil products = 0.953271028*TP oil products120,4/21,4. Transmission loss oil products. Known loss divided by oil products used in TP
20Loss electricity = 0.085276929*TP electricity1636,2/7460,4. Transmission loss electricity. Known loss divided by production
21Loss natural gas = 0.3625*H natural gas131,9/88,0. Transmission loss natural gas. Known loss divided by natural gas used in H
22Bought electricity + TP electricity = Loss electricity + Cons Agri electricity + Cons Ind electricity + Cons Transportation electricity + Cons Commerce electricity + Cons Households electricity1Electricity use balance. In energy balance, inputs and outputs cancel out
23H heat = Loss heat + Cons Ind heat + Cons Commerce heat1Heat use balance. In energy balance, inputs and outputs cancel out
24Cons Agri electricity = 25.84685321Consumed electricity agriculture
25Cons Ind electricity = 7032.0449351Consumed electricity industry
26Cons Transportation electricity = 49.86642921Consumed electricity transportation
27Cons Commerce electricity = 684.70502731Consumed electricity commerce
28Cons Households electricity = 625.38045991Consumed electricity households
29Cons Ind heat = 2981.3136921Consumed heat industry
30Cons Commerce heat = 1.7320347691Consumed heat commerce


Nonlinearity parameters(GWh /a)
ObscritVarcritIndexrescolcritLocLowcritLocHighcritValue
1

Dependencies

Calculations

+ Show code

Old code

⇤--#: . There are 32 columns (unknown variables) but only 31 rows (equations). --Jouni 18:18, 25 September 2012 (EEST) (type: truth; paradigms: science: attack)

Consumption of electricity by agriculture:

Consumption of electricity by industry:

Consumption of electricity by transportation:

Consumption of electricity by commerce:

Consumption of electricity by households:

Consumption of district heat by industry:

Consumption of district heat by commerce:

+ Show code

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