Energy storage systems play a critical role in grid stability and renewable integration, but optimizing their real-time dispatch presents a significant computational challenge. Traditional approaches use mixed-integer programming to prevent simultaneous charging and discharging—a physical constraint that inherently increases problem complexity and solving time. This computational burden becomes problematic when operators need quick dispatch decisions for rapidly changing grid conditions.
Researchers have now identified a mathematical condition that allows operators to relax this complementarity constraint without sacrificing solution quality. The key insight is that relaxation—solving a simpler version of the optimization problem—does not always produce infeasible charging-discharging schedules. The team explicitly characterized when this relaxation remains exact, meaning the simplified solution is mathematically equivalent to the more complex original formulation.
The research reveals an important distinction: the relaxation gap does not necessarily force impractical simultaneous charge-discharge behavior. In many real-world cases, feasible solutions without this problematic behavior can be recovered directly from the relaxed solution. This finding eliminates the need to solve computationally intensive mixed-integer problems in these scenarios.
Based on this theoretical advancement, the authors propose a two-stage algorithm that first solves the relaxed problem, then applies a recovery procedure if needed. This approach substantially reduces computation time while guaranteeing that energy storage dispatch remains optimal. The method is particularly valuable for grid operators managing large-scale battery systems, compressed air storage, or pumped hydro facilities.
The implications extend beyond efficiency gains. Faster optimization enables more responsive grid management, supporting higher penetrations of variable renewable energy. As energy storage capacity expands globally, computational efficiency in dispatch optimization becomes increasingly important for grid reliability and economic operation. This work provides a practical tool that balances mathematical rigor with operational feasibility.



