Skip to content

Commit

Permalink
More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliette-Gerbaux committed Nov 12, 2024
1 parent c2885a3 commit bbbcad4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/solver/variable/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ void State::yearEndBuildFromThermalClusterIndex(const uint clusterAreaWideIndex)
{
ON_max[h] = ON_min[h];
}

Antares::logs.notice() << "ON_min for hour " << h << " : " << ON_min[h];
Antares::logs.notice() << "ON_max for hour " << h << " : " << ON_max[h];
}

if (maxDurationON > 0)
Expand Down Expand Up @@ -400,6 +403,8 @@ void State::yearEndBuildThermalClusterCalculateStartupCosts(
optimalCount = currentCluster->unitCount;
}

Antares::logs.notice() << "Optimal count tronc for hour " << hour << " : " << optimalCount;

thermalClusterFixedCostForYear = currentCluster->fixedCost * optimalCount;

if (hour >= startHourForCurrentYear + 1) // starting hour +1 (fron start hour)
Expand Down

0 comments on commit bbbcad4

Please sign in to comment.