springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
130 stars 44 forks source link

Changes to optimise GivEnergy firmware 3018 #1623

Closed mpartington closed 1 week ago

mpartington commented 2 weeks ago

Describe the bug Investigation by GivEnergy has identified that the peak voltage achieved during charge can reduce over time, resulting in reduced capacity and sudden SoC drops

New firmware 3018 for GivEnergy LV batteries is currently in beta. This contains a new feature to allow batteries to continue charging (if necessary) even if SoC is reading 100% to maintain a higher voltage and ensure batteries are full.

On my system, this behaviour is more evident during solar charging than overnight AC charging. I think this is because the current Predbat logic has the potential to disrupt the new firmware function as it turns off enable charge schedule soon as the battery hits 100%.

I have tried Trefors recommendation to set the reserve to 98% (from 100%) in apps.yaml, however this made no difference.

Another beta tester has independently come to the same conclusion

Expected behaviour It the battery is in a charge window and Predbat is not discharging, then enable charge schedule should be left switched on for GivEnergy LV inverters.

Personally on IOG tariff overnight, I would prefer it to be left on at all times with the default charge window (23.30-05:30), as it currently only gets switched on 30 mins before a charge session, so adds risk of a no charge scenario if there is a homeassistant or network failure. Although I guess this may not work for all tariffs

Predbat version

8.6.0

Environment details

Screenshots

image

Log file N/A

wilsondw commented 2 weeks ago

Just to second this request. 3018 continues to charge after a reported SOC of 100% to find the real 100%, but Predbat currently assumes reported 100% is really 100% and switches off charging. Switching off charging interferes with the SOC correction in 3018 and prevents it from running to completion. The image below shows the behaviour with predbat in monitor only mode over a timed AC charge and shows that the continued top up that 3018 performs when it is given the chance.

Gen2 with 9.5Kwh battery

predbat monitor only, timed ac charge
mpartington commented 1 week ago

Tested fix to this last night and confirmed all working - thank you.