Skip to content

Commit

Permalink
Fix: DPL: use correct channel type to get inverter efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Apr 11, 2024
1 parent a9c3e05 commit f634f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PowerLimiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ int32_t PowerLimiterClass::inverterPowerDcToAc(std::shared_ptr<InverterAbstract>
CONFIG_T& config = Configuration.get();

float inverterEfficiencyPercent = inverter->Statistics()->getChannelFieldValue(
TYPE_AC, CH0, FLD_EFF);
TYPE_INV, CH0, FLD_EFF);

// fall back to hoymiles peak efficiency as per datasheet if inverter
// is currently not producing (efficiency is zero in that case)
Expand Down

0 comments on commit f634f58

Please sign in to comment.