Battery storage
PowerOptLab provides a power–energy (PE) storage model and a current–voltage–charge (IVQ) model. PE is suitable for energy scheduling when fixed efficiencies and power ratings are adequate. IVQ represents cell voltage and current explicitly and requires the corresponding cell data.
| Model | Stored state | Electrical representation | Entry point |
|---|---|---|---|
Power-energy (PE), StorageDevice | Energy in Wh | AC port with fixed one-way efficiencies and supplied power/current ratings | solve_multiperiod_opf |
Current-voltage-charge (IVQ), IVQBattery | Charge-based, dimensionless SoC | Cell voltage/current model coupled to an AdvancedInverter | solve_ivq_battery, solve_multiperiod_ivq |
PE storage is a promotion candidate; IVQ is a prototype. PE's soc result is a compatibility alias for energy in Wh. It is not the dimensionless SoC used by IVQ.
Models and examples
| Your task | Guide |
|---|---|
| Select a model and the data needed for comparison | PE versus IVQ |
| Schedule storage with energy balance and AC port limits | Power-energy model |
| Study cell-limited power and charge-linked dispatch | Current-voltage-charge model |
| Look up constructors, chemistry helpers and solve results | Battery storage API |
The PE–IVQ comparison explains the assumptions, data requirements and losses in each model. The individual guides give the equations and examples. Multi-period OPF describes the PE scheduling problem.
EV charging and converter models
Electric vehicles reuse the PE energy account but add vehicle, equipment and departure requirements. The operating-mode guide also applies to bidirectional PE storage: positive efficiencies alone do not exclude simultaneous charging and discharging. The compatibility guide records shared PE port changes.
IVQ uses the converter physics documented in Inverter-based resources. Its current implementation couples battery and converter through DC power. The IVQ guide explains the resulting limitations when converter ratings depend on the battery terminal voltage.