Commit 2779413f authored by Topi Rasku's avatar Topi Rasku
Browse files

Handle 'ts_fuelPrice' only when necessary.

parent bd82a75d
......@@ -330,6 +330,7 @@ $offtext
+ dt_circular(t)$(not gn_scenarios(grid, node, 'ts_node'))));
// Fuel price time series
ts_fuelPrice_(fuel, t)
${ p_fuelPrice(fuel, 'useTimeSeries') }
= ts_fuelPrice(fuel, t+dt_circular(t));
); // END loop(ft)
......@@ -390,6 +391,7 @@ $offtext
$sameas(param_gnBoundaryTypes, 'upwardLimit');
// Fuel price time series
ts_fuelPrice_(fuel, t)
${ p_fuelPrice(fuel, 'useTimeSeries') }
= sum(tt(t_), ts_fuelPrice(fuel, t_+dt_circular(t_)))
/ mInterval(mSolve, 'stepsPerInterval', counter);
); // END loop(ft)
......
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