Skip to content

Commit

Permalink
Revert "Fix bug hydro heuristic with mingen (ANT-1825) (#2258)" (#2394)
Browse files Browse the repository at this point in the history
This reverts commit 8cc64f9.
  • Loading branch information
payetvin authored Sep 12, 2024
1 parent cb75161 commit 7947b36
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/solver/simulation/sim_calcul_economique.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,12 @@ 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 7947b36

Please sign in to comment.