Skip to content

Commit

Permalink
Fix: assume small increase for shaded inverter
Browse files Browse the repository at this point in the history
To prevent solar powered inverters from getting stuck at their limit because all MPPTs assume shaded we assume that we can increase the limit by 3% of the max power.
  • Loading branch information
AndreasBoehm committed Jan 8, 2025
1 parent f435c3c commit a15d03e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/PowerLimiterSolarInverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ uint16_t PowerLimiterSolarInverter::getMaxIncreaseWatts() const
}

if (dcNonShadedMppts == 0) {
// all mppts are shaded, we can't increase the power
return 0;
// all mppts are shaded according to our calculation.
// but because we can not be sure we assume that we can
// increase the power by 3% of the max power.
return getConfiguredMaxPowerWatts() * 0.03;
}

if (dcNonShadedMppts == dcTotalMppts) {
Expand Down

0 comments on commit a15d03e

Please sign in to comment.