Commit 071a228f authored by Niina Helistö's avatar Niina Helistö
Browse files

Updating how emission costs are calculated. The previous version did not seem...

Updating how emission costs are calculated. The previous version did not seem to work but I'm not sure if the new version works in all situations either. Should be checked.
parent 2c5e6ed6
......@@ -261,7 +261,7 @@ p_uShutdown(unit, 'cost')
p_unitEmissionCost(unit, node, emission)${nu(node, unit) and p_nEmission(node, emission)}
= p_nEmission(node, emission)
/ 1e3 // NOTE!!! Conversion to t/MWh from kg/MWh in data
* sum(gnu_output(grid, node, unit_commodity),
* sum(gnu_input(grid, node, unit),
+ p_gnPolicy(grid, node, 'emissionTax', emission)
)
;
......
......@@ -397,7 +397,7 @@ $offtext
+ sum(node$p_uStartupfuel(unit, node, 'fixedFuelFraction'),
+ p_uStartup(unit, starttype, 'consumption')
* p_uStartupfuel(unit, node, 'fixedFuelFraction')
* p_nEmission(node, emission) / 1e3
* * p_nEmission(node, emission) / 1e3 // double multiplication? should be checked
); // END sum(unit, node)
// Calculating startup cost time series
......
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