-
-
Notifications
You must be signed in to change notification settings - Fork 94
Description
Describe the bug
When alert is enabled and there is a matching alert, it sets the threshold for what is cheap energy incorrectly causing predbat to think the whole day is cheap energy and will charge during expensive periods.
Expected behaviour
When there's an alert coming up, I would expect predbat in the periods directly before the alert to charge to the hold percentage set (if need be) . Then during the alert I would expect it to be in demand mode until the hold level is reached, at which case it would hold the battery and run off grid, just in case of a power outage, until the end of the period when things return to normal.
I wouldn't expect it to alter the threshold import level, and not affect the plan outside of the alert period and the immediate few previous slots if need be. In the provided data this time it looks like it's performing as expected because of the time of day, but the other day you can see it was making odd decisions, not charging at the start of the cheap period for example (unfortunately I didn't take more screenshots of that plan at the time)
Predbat version
8.31.9
Environment details
Sigenergy with 12kw inverter, and two 9kwh batteries
Docker
Log file
Predbat debug yaml file

