Skip to content

Freeze charge occurring overnight when agile rates are higher than daytime export #2384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gcoan opened this issue May 21, 2025 · 1 comment
Assignees

Comments

@gcoan
Copy link
Collaborator

gcoan commented May 21, 2025

Describe the bug
Predbat has planned to Freeze charge from 01:30 to 06:00 overnight tonight when agile import rates are between 17 and 15.94p

There is plenty of charge in the battery so I would expect predbat instead to use the battery charge as it has done every other night. I don't know whether this different behaviour is triggered by it being a comparatively low solar day tomorrow, but the solar forecast is still of 40kWh which is more than enough to fill the batteries.

Expected behaviour
Let the batteries drain down and supply house load overnight as has happened on every other night.

Also, latest predbat seems decidedly slower than it used to be, taking sometimes around 5 minutes per plan update whereas it used to be just a few minutes.

Predbat version
8.19.14

Environment details
2x Gen 1 hybrid inverters, 9.5 and 5.2 batteries
HAOS 2025.5.2

Screenshots
Predbat's current plan:
Image

If I overwrite the freeze charge to force demand:
Image

So still plenty of solar to charge the batteries by a reasonable time period. I can see that the plan with the freeze charge overnight is 2 or 3p more beneficial than the plan with force demand, so can see the logic for it, but I'd have thought the metric min improvements would have prevented the freeze charge overnight for such a small amount of money benefit.

Log file
predbat.log

Predbat debug yaml file
predbat_debug.yaml.txt

@gcoan
Copy link
Collaborator Author

gcoan commented May 21, 2025

Update: I cancelled the force demands to let predbat do what it thinks best, for a few pence, hardly makes a difference.

Latest plan at midnight is much the same, still freeze charging but some of the slot logic looks weird, why F.C and grid import at 00:30 and 01:00 when the rates are 17.64 and 17.28p, but go to Demand at 01:30 when the rate is 17.00p?

image

predbat.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants