Commit 41c4006b authored by Erkka Rinne's avatar Erkka Rinne
Browse files

Only run scenario reduction if number of scenarios greater than one

parent da31674a
......@@ -452,7 +452,7 @@ loop(effLevelGroupUnit(effLevel, effGroup, unit)${ mSettingsEff(mSolve, effLeve
$ifthen defined scenario
* --- Scenario reduction ------------------------------------------------------
if(active(mSolve, 'scenred'),
if(active(mSolve, 'scenred') and mSettings('schedule', 'scenarios') > 1,
$$include 'inc/scenred.gms'
);
$endif
......
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