app icon indicating copy to clipboard operation
app copied to clipboard

Solar Battery Simulator doesn't stop charging at the end of off-peak

Open davefiddes opened this issue 10 months ago • 1 comments

There appears to be a problem when the charge rate and battery capacity are too low to charge the battery to desired SOC by the end of the off-peak period. The charging continues until the desired SOC is reached even though this may be many hours after the end of the off-peak period. I don't think this is desired behaviour or how battery charge controllers operate (I have no practical experience of any system yet).

You can see the behviour with the default app config with a capacity of 8.5kWh but the max charge rate reduced to 1kW:

Image

davefiddes avatar Mar 08 '25 12:03 davefiddes

With the proposed fix and a 1kW charge rate the simulated behaviour looks like:

Image

With a 5kW charge rate it becomes:

Image

davefiddes avatar Mar 08 '25 14:03 davefiddes