batpred icon indicating copy to clipboard operation
batpred copied to clipboard

Dynamic low power mode finish time

Open RobinCu opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. This is very much a utopia/fine-tuning feature.

Currently, I have the switch.predbat_set_charge_low_power enabled, and it’s proving effective in maintaining the inverter temperature overnight, which can only be good. I’m on IOG and low power mode works consistently to achieve 100% just before the IOG ready time set via the integration (usually set to 08:30).

As the days get longer and the PV generation increases, I’m finding that on a day like today, the final 15% of the battery is charged by PV rather than the grid. If the low power mode had been working to fill the battery by 06:30 today, it would have exported the 1.4kWh to the grid. However, it might be 08:30 on a cloudy day before PV can cover the house load.

Describe the solution you'd like The ideal solution would be for the low power mode to reach 100% at the end of the 30-minute slot where the Solcast forecast matches the predicted house load. This way, in the next 30-minute slot, all PV above the house load should be exported.

Describe alternatives you've considered Another approach I considered is setting an IOG ready time of 06:30 all the time and accepting that the house would run from battery on cloudy days. However, this would then require the PV to fill the battery back to 100% before exporting, which could be less efficient.

I’ve looked at an automation that toggles low power mode off 2 hours before whichever Solcast 30-minute slot is forecast to cover the predicted house load, but that’s quite complicated (for me, anyway).

The final alternative would be to disable low power mode and know that the battery will always be 100% from about 2 a.m.

Additional context Another (possibly simpler) solution would be to add a Predbat input in apps.yml via a helper to set the battery's charge finish time so I can automate, for example, at 4 a.m., if the Solcast forecast for today is above X kWh, then assume a sunny morning and set the charge finish time to 06:00.

This morning's charge curve and predicted Solcast power: image

RobinCu avatar Apr 25 '24 12:04 RobinCu