Commit 1d91af82 authored by Juha Kiviluoma's avatar Juha Kiviluoma
Browse files

Limiting r_fuelUse to commodities.

parent 59e42b46
......@@ -117,7 +117,7 @@ loop(sft_realized(s, f, t),
= v_gen.l(grid, node, unit, s, f, t)
;
// Fuel use of units
r_fuelUse(node, uft(unit_commodity, f, t))$[ord(t) > mSettings(mSolve, 't_start') + mSettings(mSolve, 't_initializationPeriod')]
r_fuelUse(node, uft(unit_commodity, f, t))$[un_commodity(unit_commodity, node) and ord(t) > mSettings(mSolve, 't_start') + mSettings(mSolve, 't_initializationPeriod')]
= sum(grid$gnu(grid, node, unit_commodity), v_gen.l(grid, node, unit_commodity, s, f, t))
;
// Transfer of energy between nodes
......
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