diff --git a/src/solver/variable/economy/profitByPlant.h b/src/solver/variable/economy/profitByPlant.h index 681f5db099..d0b1883a93 100644 --- a/src/solver/variable/economy/profitByPlant.h +++ b/src/solver/variable/economy/profitByPlant.h @@ -277,15 +277,16 @@ class ProfitByPlant : public Variable::IVariable, NextT, VC auto* cluster = state.area->thermal.clusters[clusterIndex]; double hourlyClusterProduction = thermal[area->index].thermalClustersProductions[clusterIndex]; + double pMin = thermal[area->index].PMinOfClusters[clusterIndex]; uint tsIndex = cluster->series.timeseriesNumbers[0][state.year]; - double pMin = 0; - if (!state.problemeHebdo->PaliersThermiquesDuPays[area->index].PuissanceDisponibleEtCout.empty()) - { - pMin = state.problemeHebdo->PaliersThermiquesDuPays[area->index] - .PuissanceDisponibleEtCout[cluster->index] - .PuissanceMinDuPalierThermique[hourInTheYear]; - } + /* double pMin = 0; */ + /* if (!state.problemeHebdo->PaliersThermiquesDuPays[area->index].PuissanceDisponibleEtCout.empty()) */ + /* { */ + /* pMin = state.problemeHebdo->PaliersThermiquesDuPays[area->index] */ + /* .PuissanceDisponibleEtCout[cluster->index] */ + /* .PuissanceMinDuPalierThermique[hourInTheYear]; */ + /* } */ // Thermal cluster profit pValuesForTheCurrentYear[numSpace][cluster->areaWideIndex].hour[hourInTheYear]