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

Adding start-up fuel consumption to q_balance

Issue #162
parent a3be83ab
......@@ -90,6 +90,18 @@ q_balance(gn(grid, node), msft(m, s, f, t)) // Energy/power balance dynamics sol
+ vq_gen('increase', grid, node, s, f, t) // Note! When stateSlack is permitted, have to take caution with the penalties so that it will be used first
- vq_gen('decrease', grid, node, s, f, t) // Note! When stateSlack is permitted, have to take caution with the penalties so that it will be used first
) // END * p_stepLength
// Unit start-up consumption
- sum(uft(unit, f, t)$nu_startup(node, unit),
+ sum(unitStarttype(unit, starttype),
+ p_unStartup(unit, node, starttype) // MWh/start-up
* [ // Startup type
+ v_startup_LP(unit, starttype, s, f, t)${ uft_onlineLP(unit, f, t) }
+ v_startup_MIP(unit, starttype, s, f, t)${ uft_onlineMIP(unit, f, t) }
]
) // END sum(unitStarttype)
) // END sum(uft)
;
* --- Reserve Demand ----------------------------------------------------------
......
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