Skip to content

Commit

Permalink
[DEV] if syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Nov 17, 2023
1 parent b86cbaf commit 29c206c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/solver/variable/economy/profitByPlant.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,11 @@ class ProfitByPlant : public Variable::IVariable<ProfitByPlant<NextT>, NextT, VC

double pMin = 0;
if (!state.problemeHebdo->PaliersThermiquesDuPays[area->index].PuissanceDisponibleEtCout.empty())
{
pMin = state.problemeHebdo->PaliersThermiquesDuPays[area->index]
.PuissanceDisponibleEtCout[cluster->index]
.PuissanceMinDuPalierThermique[hourInTheYear];
.PuissanceDisponibleEtCout[cluster->index]
.PuissanceMinDuPalierThermique[hourInTheYear];
}

// Thermal cluster profit
pValuesForTheCurrentYear[numSpace][cluster->areaWideIndex].hour[hourInTheYear]
Expand Down

0 comments on commit 29c206c

Please sign in to comment.