Skip to content

Commit

Permalink
fix populating scenarioResults while creating variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos-RTEi committed Nov 27, 2023
1 parent 7b0fbc7 commit 8964fa6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ void OptimizedThermalGenerator::buildUnitPowerOutputVariables(const OptProblemSe
if (!(cluster.doWeGenerateTS(globalThermalTSgeneration_) && cluster.optimizeMaintenance))
{
unitRef.createStartEndVariables = false;
scenarioResults.back().createStartEndVariables = false;
if (optSett.isFirstStep)
scenarioResults.back().createStartEndVariables = false;
return;
}

Expand Down

0 comments on commit 8964fa6

Please sign in to comment.