Fix: DPL: use correct channel type to get inverter efficiency
This commit is contained in:
parent
a9c3e05f05
commit
f634f58788
@ -352,7 +352,7 @@ int32_t PowerLimiterClass::inverterPowerDcToAc(std::shared_ptr<InverterAbstract>
|
|||||||
CONFIG_T& config = Configuration.get();
|
CONFIG_T& config = Configuration.get();
|
||||||
|
|
||||||
float inverterEfficiencyPercent = inverter->Statistics()->getChannelFieldValue(
|
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
|
// fall back to hoymiles peak efficiency as per datasheet if inverter
|
||||||
// is currently not producing (efficiency is zero in that case)
|
// is currently not producing (efficiency is zero in that case)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user