Describe the bug
The battery uses a different minimum state of charge threshold during an outage versus when the grid is available. Typically the latter is higher. When the grid outage ends, the state of charge automatically resets to the minimum non-outage version without the battery charging being accounted for in the powerflow.
To Reproduce
Steps to reproduce the behavior:
- Create a detailed PV-battery behind the meter case
- Add a grid outage where the battery fully discharges to 10%
- Simulate the case and look at the battery state of charge when the grid outage ends
- See error
Expected behavior
The battery model code should tolerate an SOC lower than the minimum until the dispatch code has a chance to charge.
Screenshots

Desktop (please complete the following information):
- Version 2023.12.17, 2024.12.12
Describe the bug
The battery uses a different minimum state of charge threshold during an outage versus when the grid is available. Typically the latter is higher. When the grid outage ends, the state of charge automatically resets to the minimum non-outage version without the battery charging being accounted for in the powerflow.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The battery model code should tolerate an SOC lower than the minimum until the dispatch code has a chance to charge.
Screenshots

Desktop (please complete the following information):