Skip to content

Commit

Permalink
other milp var
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jan 9, 2025
1 parent c171275 commit 80e137f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solver/variable/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ void State::yearEndBuildFromThermalClusterIndex(const uint clusterAreaWideIndex)
}
}

ON_max[h] = static_cast<uint>(std::ceil(thermalClusterAvailableProduction
/ currentCluster->nominalCapacityWithSpinning));
ON_max[h] = static_cast<uint>(Utils::ceilDiv(thermalClusterAvailableProduction,
currentCluster->nominalCapacityWithSpinning));

if (currentCluster->minStablePower > 0.)
{
Expand Down

0 comments on commit 80e137f

Please sign in to comment.