ITADN

io.openems.edge.victron.ess battery power control misbehaviour

#3573OpenFlorian3003 创建于 2026-02-19
F
Florian3003commented
### Description Hello , The Limit Total Discharge Controller is supposed to charge the battery up to the configured minimum SOC. Currently, the following misbehavior occurs: If ACout load > 0 while a charge request is active, the battery is not charged and may even continue to discharge. ### Screenshots _No response_ ### Operating System _No response_ ### How to reproduce the Error? Reproducible Scenario Parameters: MaxChargePower = 3 kW ACoutPower = 5 kW RequestedChargePower = 3 kW Current behavior: ACin setpoint = 3 kW Resulting battery discharge power = 2 kW ➡ The battery discharges at 2 kW despite a charge request of 3 kW. ------------------------------------------------------------------------------------------- Expected Behavior With the same parameters, the expected result should be: MaxChargePower = 3 kW ACoutPower = 5 kW RequestedChargePower = 3 kW Expected ACin setpoint = 8 kW Resulting battery charge power = +3 kW ➡ The battery should charge at 3 kW, independent of the ACout load. ------------------------------------------------------------------------------------------- Root Cause Class: io.openems.edge.victron.ess.VictronEssImpl Code line: 527-532 It appears that the clamping of the maximum charge/discharge power is currently applied after the calculation requiredPower - ACoutPower. As a result, the ACout power is not properly considered in the ACin setpoint calculation, leading to unintended battery discharge. Proposed Solution The max charge/discharge clamping should be applied before the calculation requiredPower - ACoutPower. This would ensure that the ACin setpoint properly includes the ACout load and guarantees the intended charging behavior.
0 条评论