Two-Stage Dual Dynamic Programming With Application to Nonlinear Hydro Scheduling

Benjamin Flamm, Annika Eichler, Joseph Warrington, John Lygeros · DOI

Introduction

Managing energy storage, particularly hydroelectric reservoirs, requires long-term planning to account for seasonal patterns like snowmelt or winter heating demands. However, this task is mathematically challenging due to the "curse of dimensionality" in systems with many reservoirs and the nonlinear "head effects"—the complex relationship between water storage levels and power generation flow rates.

Engineers typically face a trade-off: simplify the model to a linear approximation (losing accuracy) or use a nonlinear model over a very short horizon (losing long-term foresight). This paper introduces a "split-horizon" approach that preserves accuracy where it matters most—the immediate decision window—while maintaining computational feasibility over long horizons.

The Split-Horizon Framework

The authors propose a Two-Stage Split-Horizon framework that divides the optimization problem into two distinct temporal segments:

  • Stage 1 (The Present): A short initial period ($T_1$) modeled with full, exact nonlinear programming (NLP) accuracy.
  • Stage 2 (The Future): The remainder of the horizon is modeled as a Linear Program (LP), utilizing McCormick envelopes to relax bilinear terms such as the product of flow and water level.
The Two-Stage Split-Horizon framework dividing the timeline into an exact NLP stage and an approximate LP stage.

To solve this efficiently, the authors adapt Dual Dynamic Programming (DDP). The algorithm iterates between the two stages; the linear "future" stage generates "Benders cuts"—linear hyperplanes that act as a lower bound for future costs—which are then passed back to the nonlinear "present" stage. A key theoretical contribution is the proof that this algorithm converges even when the first-stage nonlinear problem is solved only to local optimality.

System Configuration

The method was evaluated using a simulated hydro system featuring interconnected reservoirs and reversible pump-turbines. The model incorporates real-world electricity price data from the Swiss day-ahead EPEX spot market.

Key Results and Insights

The split-horizon method demonstrates significant improvements in both accuracy and scalability compared to traditional baselines:

  • Accuracy: Using a 12-hour nonlinear window for a 20-day problem resulted in an objective value within 3.9% of the global optimum. This represents a 23.7% improvement over a purely linear model.
  • Scalability: Computation time scales linearly or sublinearly with the horizon length. In contrast, global nonlinear solvers scale exponentially, making them unusable for long-term scheduling.
  • The "Knee" of the Curve: Research found that increasing the length of the nonlinear stage ($T_1$) yields diminishing returns. For a 20-day horizon, modeling just the first 12 hours nonlinearly captured the vast majority of the potential benefit.
  • Receding Horizon Advantage: In a Model Predictive Control (MPC) context, the split-horizon approach is particularly effective because errors in the linear distant future are corrected in subsequent re-solves before those time steps are actually reached.

Conclusion

While the current study assumes deterministic foresight of prices and inflows, the DDP framework is naturally suited for extension into Stochastic Dual Dynamic Programming (SDDP). Future work will focus on integrating stochastic variables and tightening the analytical suboptimality bounds to provide even greater confidence in the approximation's performance for real-world grid operations.

Summary updated

BibTeX
@article{flamm2021two,
  author = {Benjamin Flamm and Annika Eichler and Joseph Warrington and John Lygeros},
  title = {{Two-Stage Dual Dynamic Programming With Application to Nonlinear Hydro Scheduling}},
  journal = {IEEE Trans. Control. Syst. Technol.},
  year = {2021},
  doi = {10.1109/tcst.2019.2961645},
}
Figure