Skip to content

Commit

Permalink
move minGenerationScaling
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Jun 6, 2024
1 parent e732415 commit a959348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/solver/hydro/management/HydroInputsChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void HydroInputsChecker::Execute()
// PrepareDataFromClustersInMustrunMode(scratchmap, year);

prepareInflows_.Run(year);
// minGenerationScaling_.Run(year);
minGenerationScaling_.Run(year);
// if
// (!checksOnGenerationPowerBounds(year))
// {
Expand Down
2 changes: 1 addition & 1 deletion src/solver/hydro/management/management.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ void HydroManagement::makeVentilation(double* randomReservoirLevel,
Antares::Data::Area::ScratchMap& scratchmap)
{
// prepareInflowsScaling(y);
minGenerationScaling(y);
// minGenerationScaling(y);
if (!checksOnGenerationPowerBounds(y))
{
throw FatalError("hydro management: invalid minimum generation");
Expand Down

0 comments on commit a959348

Please sign in to comment.