Commit a3be83ab authored by Niina Helistö's avatar Niina Helistö
Browse files

Adding result parameters for unit start-up energy consumption and unit start-up emissions

The parameters are in timeseries format.

Issue #160
parent bf490176
......@@ -119,6 +119,9 @@ r_gnTotalConsumption
r_gnTotalConsumptionShare
r_gTotalConsumption
// Start-up consumption results
r_nuStartupConsumption
* --- Unit Online State Result Symbols ----------------------------------------
// Online results required for model structure !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
......@@ -136,10 +139,13 @@ r_uTotalShutdown
* --- Emissions Results -----------------------------------------------
// Unit level emissions
// Unit level emissions from normal operation
r_emissions
// Emission sums
// Unit level emissions from start-ups
r_emissionsStartup
// Emission sums from normal operation
r_nuTotalEmissions
r_nTotalEmissions
r_uTotalEmissions
......
......@@ -126,13 +126,19 @@ Parameters
r_gnTotalConsumptionShare(grid, node) "Total consumption gn/g share"
r_gTotalConsumption(grid) "Total consumption of energy in g over the simulation (MWh)"
// Start-up consumption results
r_nuStartupConsumption(node, unit, f, t) "Energy consumption during start-up (MWh)"
* --- Emissions Results -------------------------------------------------------
// Unit level emissions
// Unit level emissions from normal operation
r_emissions (node, emission, unit, f, t) "Emissions from units (tCO2)"
// Emission sums
// Unit level emissions from start-ups
r_emissionsStartup(node, emission, unit, f, t) "Emissions from units in start-ups (tCO2)"
// Emission sums from normal operation
r_nuTotalEmissions (node, unit, emission) "node unit total emissions (tCO2)"
r_nTotalEmissions(node, emission) "node total emissions (tCO2)"
r_uTotalEmissions(unit, emission) "unit total emissions (tCO2)"
......
......@@ -451,7 +451,7 @@ $offtext
/ mInterval(mSolve, 'stepsPerInterval', counter)
// Emission costs
+ sum(emission$p_nEmission(node, emission),
+ p_nEmission(node, emission) // t/MWh
+ p_nEmission(node, emission) // kg/MWh
/ 1e3 // NOTE!!! Conversion to t/MWh from kg/MWh in data
* sum(gnGroup(grid, node, group),
+ p_groupPolicyEmission(group, 'emissionTax', emission) // CUR/t
......
......@@ -63,7 +63,7 @@ loop(m,
+ ts_price(node, t)$p_price(node, 'useTimeseries') // CUR/MWh
// Emission costs
+ sum(emission$p_nEmission(node, emission),
+ p_nEmission(node, emission) // t/MWh
+ p_nEmission(node, emission) // kg/MWh
/ 1e3 // NOTE!!! Conversion to t/MWh from kg/MWh in data
* sum(gnGroup(grid, node, group),
+ p_groupPolicyEmission(group, 'emissionTax', emission) // CUR/t
......@@ -314,6 +314,14 @@ loop(m,
* sum(msft_realizedNoReset(m, s, f, t), p_msProbability(m, s) * p_msWeight(m, s))
); // END sum(ft_realizedNoReset)
// Unit start-up consumption
r_nuStartupConsumption(nu_startup(node, unit), ft_realizedNoReset(f,startp(t)))
${sum(starttype, unitStarttype(unit, starttype))}
= sum(unitStarttype(unit, starttype),
+ r_startup(unit, starttype, f, t)
* p_unStartup(unit, node, starttype) // MWh/start-up
); // END sum(unitStarttype)
* --- Emission Results --------------------------------------------------------
// Emissions of units (only for commodities, not including startup fuels)
......@@ -324,8 +332,20 @@ loop(m,
/ 1e3 // NOTE!!! Conversion to t/MWh from kg/MWh in data
;
// Emissions from unit start-ups
r_emissionsStartup(node, emission, unit, ft_realizedNoReset(f,startp(t)))
${sum(starttype, unitStarttype(unit, starttype))
and sum(starttype, p_unStartup(unit, node, starttype))
and p_nEmission(node, emission)}
= sum(unitStarttype(unit, starttype),
+ r_startup(unit, starttype, f, t)
* p_unStartup(unit, node, starttype) // MWh/start-up
* p_nEmission(node, emission) // kg/MWh
/ 1e3 // NOTE!!! Conversion to t/MWh from kg/MWh in data
); // END sum(starttype)
// Emission sums
// Emission sums (only for commodities, not including startup fuels)
r_nuTotalEmissions (commodity, unit, emission)
= sum(ft_realizedNoReset(f, startp(t)),
+ r_emissions(commodity, emission, unit, f, t)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment