Skip to content

Commit

Permalink
fix - check hourly min-max gen always
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos-RTEi committed Sep 23, 2023
1 parent 181be37 commit 08c164d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/solver/hydro/management/management.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,7 @@ bool HydroManagement::checkMinGeneration(uint numSpace)
bool followLoadModulations = area.hydro.followLoadModulations;
bool reservoirManagement = area.hydro.reservoirManagement;

if (!reservoirManagement)
ret = checkHourlyMinMaxGeneration(tsIndex, tsIndexPowerCredits, area) && ret;
ret = checkHourlyMinMaxGeneration(tsIndex, tsIndexPowerCredits, area) && ret;

if (!useHeuristicTarget)
return;
Expand Down

0 comments on commit 08c164d

Please sign in to comment.