Skip to content

Commit

Permalink
8.8: Don't apply reverse spinning if the cluster is no force gen [ANT…
Browse files Browse the repository at this point in the history
…-2293] (#2468)
  • Loading branch information
payetvin authored and flomnes committed Nov 28, 2024
1 parent d134ca4 commit a3bb8b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libs/antares/study/parts/thermal/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ double Data::ThermalCluster::computeMarketBidCost(double fuelCost,

void Data::ThermalCluster::reverseCalculationOfSpinning()
{
if (tsGenBehavior == LocalTSGenerationBehavior::forceNoGen)
return;

// Nothing to do if the spinning is equal to zero
// because it will the same multiply all entries of the matrix by 1.
if (Utils::isZero(spinning))
Expand Down

0 comments on commit a3bb8b1

Please sign in to comment.