Skip to content

Commit

Permalink
Fix bug hydro heuristic with mingen (ANT-1825) (AntaresSimulatorTeam#…
Browse files Browse the repository at this point in the history
…2258)

Removing lines that create infeasibility and that are not necessary.

---------

Co-authored-by: Juliette-Gerbaux <[email protected]>
Co-authored-by: Florian OMNES <[email protected]>
  • Loading branch information
3 people authored Jul 11, 2024
1 parent 6cd09f5 commit 8cc64f9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/solver/simulation/sim_calcul_economique.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,12 +837,6 @@ void SIM_RenseignementProblemeHebdo(const Study& study,
}

marginGen = weekGenerationTarget;

if (problem.CaracteristiquesHydrauliques[k].NiveauInitialReservoir
< weekTarget_tmp)
{
marginGen = problem.CaracteristiquesHydrauliques[k].NiveauInitialReservoir;
}
}

if (not problem.CaracteristiquesHydrauliques[k].TurbinageEntreBornes)
Expand Down

0 comments on commit 8cc64f9

Please sign in to comment.