IEEE Transactions on Sustainable Energy, 2026
Accelerating Underground Pumped Hydro Energy Storage Scheduling with Decision-Focused Learning
1Department of Civil and Systems Engineering, Johns Hopkins University
2Power Systems and Markets Research Group, University of Mons
Scheduling an underground pumped hydro plant for the day-ahead market is a mixed-integer nonlinear problem: accurate solvers need about half an hour per day, and fast ones give up significant profit. Decision-focused learning predicts penalty weights that steer a sequence of convex quadratic programs, so a schedule is refined in seconds under the true plant physics, with the whole pipeline trained end-to-end on ex-post profit.
300×
faster as a real-time scheduler
3.87 s end-to-end from a global-linear MIQP warm start, versus about half an hour for piecewise MIQP, within 3.6% of its profit.
+1.1%
profit as a refiner
Ex-post profit gain over piecewise MIQP when DFL refines the piecewise MIQP schedule.
1.2 s
of post-processing
Time DFL adds on top of the piecewise MIQP solve in refiner mode.
92%
of benchmark profit, MIP-free
Retained on held-out price days when warm-started from a historical schedule database, with no mixed-integer solve, at a 989× speedup over piecewise MIQP.
The scheduling problem
Underground pumped hydro storage uses an abandoned mine as the lower reservoir, bringing grid-scale storage to flat terrain. As a price taker in the day-ahead market, the plant schedules the next 24 hours to maximize profit:
with \(p_t\), \(q_t\), \(h_t\), and \(v_t\) the net power, flow, head, and stored volume. Binary operating modes and nonlinear physics make this a mixed-integer nonlinear program (MINLP): the accurate piecewise approximation (MIQP-PW) takes about half an hour per schedule, while the fast global-linear one (MIQP-GL) gives up significant profit.
The difficulty is in the physics. The pump-turbine's unit performance curves form two separate curved operating surfaces, one for pumping and one for generating, with an idle state between them, so the feasible set is nonlinear, non-convex, and disconnected. Choosing a mode for every hour adds binary decisions on top, and the head itself moves with the stored volume as the day unfolds.
The DFL framework
Instead of solving the mixed-integer nonlinear program, DFL starts from any feasible schedule and improves it. A neural network looks at the day's prices and the warm-start schedule and predicts, for every hour, how far the schedule may be allowed to move; a convex quadratic program then moves it within those limits under a local linearization of the physics. The loop repeats a few times with shrinking limits. What makes this decision-focused is the training signal: the refined schedule is simulated under the true nonlinear dynamics, and the resulting ex-post profit is the loss. Because every stage is differentiable, that profit gradient flows back through the simulator and the optimizer into the network's weights.
The four differentiable components:
- Neural penalty predictor. An LSTM reads the 24-hour prices and warm-start power, flow, and head, and outputs hourly penalty weights \(w_{p,t}, w_{q,t}, w_{h,t}\). These act as learned trust-region sizes: how far the linearization can be trusted depends on the local curvature of the physics, which a fixed weight triple cannot capture.
- Local linearization layer. The polynomial unit performance curves and the volume-head function are replaced by first-order Taylor expansions around the current schedule, with the coefficients obtained by automatic differentiation. Hours that are idle in the warm start are pinned to zero flow.
- Differentiable convex optimizer. A CVXPYLayers quadratic program maximizes profit under the linearized physics while paying a quadratic penalty for moving away from the current schedule. The operating mode of each hour is locked to the warm start, so no integer variables remain and the problem is a single concave maximization. Gradients with respect to the penalty weights come from the implicit function theorem rather than from unrolling the solver.
- Differentiable physical simulator. The refined schedule is run forward through the true nonlinear dynamics, hour by hour, to obtain the ex-post profit including any penalties for head or volume violations. This profit is the training loss.
At iteration \(k\) the optimizer solves
subject to the linearized physics and the fixed modes, where \(\hat{x}^{(k)}\) is the current schedule. Steps 2 to 4 repeat for \(K\) iterations with the penalty weights scaled by \(\gamma^{k}\), so early passes may move the schedule far and later passes only polish it. The trained pipeline is the same whether the warm start comes from a piecewise MIQP, a fast global-linear MIQP, or a historical schedule; only the quality of the starting point differs.
Results
All results use 19 representative Belgian day-ahead price profiles from the transmission system operator Elia (2024), selected by k-medoids clustering. The same trained pipeline serves three deployment modes, differing only in where the warm start comes from. Profits are ex-post, evaluated under the true nonlinear dynamics, reported as mean ± standard deviation over the 19 days.
Refiner
Warm-started from the piecewise MIQP schedule. Adds about 1.2 s of post-processing and improves ex-post profit by 1.1% over piecewise MIQP.
Real-time scheduler
Warm-started from the fast global-linear MIQP. 3.87 s end-to-end, a 300-fold speedup over piecewise MIQP, within 3.6% of its profit.
MIP-free
Warm-started from a historical schedule database, so no mixed-integer solve at all. Retains 92% of piecewise MIQP profit on held-out days at a 989-fold speedup.
Refining and accelerating MIQP schedules
DFL improves on its warm start within each approximation family and, started from the fast global-linear MIQP, closes most of the gap to the half-hour piecewise benchmark. IPOPT initialized with the same modes and warm start is both less profitable and 19 to 24 times slower than DFL's refinement step.
| Method | Ex-post profit (€) | Time (s) |
|---|---|---|
| MIQP-GL | 3409 ± 1433 | 2.69 |
| DFL (GL-based) | 3712 ± 1509 | 2.69 + 1.18 |
| MIQP-PW | 3849 ± 1545 | 1205.79 |
| DFL (PW-based) | 3890 ± 1547 | 1205.79 + 1.24 |
| IPOPT (GL-based) | 3478 ± 1180 | 2.69 + 28.34 |
| IPOPT (PW-based) | 3798 ± 1498 | 1205.79 + 23.76 |
What the learned components contribute
Two ablations isolate the two ideas. DFL (PW-no-Rec) runs a single linearize-and-solve pass instead of the recursion. DFL (PW-no-NN) replaces the network with the best fixed weight triple found by a grid search over 4,096 candidates. Removing the recursion costs 1.0% of profit but cuts the refinement to 0.46 s; removing the network costs 2.8%. The learned weights are what let the schedule accept small, calculable volume violations during high-price hours and bias output toward slight overproduction, avoiding the double-price penalty for underproduction.
| Method | Ex-post profit (€) | Time (s) |
|---|---|---|
| DFL (PW-based) | 3890 ± 1547 | 1.24 |
| DFL (PW-no-NN) | 3780 ± 1530 | 1.31 |
| DFL (PW-no-Rec) | 3851 ± 1532 | 0.46 |
| MIQP-PW (benchmark) | 3849 ± 1545 | 1205.79 |
Deployment without a mixed-integer solver
Many operators have no MIQP solver at hand. In MIP-free mode the warm start is the historical schedule of the most price-similar day, found by nearest-neighbour lookup, and DFL refines it with its lightweight convex layer. On 19 held-out days from the rest of 2024, each routed to a model trained on a different representative day, this retains 92% of the piecewise MIQP profit at a 989-fold speedup and beats the global-linear MIQP by 7.9%. Against IPOPT started from the same historical schedule, DFL earns 5.1% more and is 25 times faster, so the gain comes from the learned penalties rather than from the warm start.
| Method | Ex-post profit (€) | Time (s) |
|---|---|---|
| MIQP-GL | 2776 ± 1053 | 1.37 |
| MIQP-PW | 3249 ± 1136 | 1078.6 |
| IPOPT + DB lookup | 2848 ± 1147 | 27.61 |
| DFL + DB lookup | 2995 ± 1168 | 1.09 |
Robustness to imperfect warm starts
Because the refinement starts from a given schedule, the natural worry is that it inherits the schedule's mistakes. Two stress tests say otherwise. First, corrupting the warm-start power, flow, and head with relative noise from 10% to 80% barely moves DFL's profit, while the MIQP benchmarks degrade by 12 to 23%.
Second, the operating mode of each hour is locked to the warm start, so a wrong mode cannot be corrected. Flipping the mode in up to several hours along all six transitions shows a clear hierarchy: spurious commitments are nearly harmless (DFL stays within 2% of baseline by driving the unit to its minimum power), de-commitments cost moderately, and sign reversals between pumping and generating are the most damaging because the unit trades against the price. Wherever the corrupted schedule is still physically feasible, DFL recovers almost all of the loss; the failures are warm starts that violate the water balance from the outset, which any simplified solver avoids.
Citation
@article{zheng2026accelerating,
title={Accelerating Underground Pumped Hydro Energy Storage Scheduling with Decision-Focused Learning},
author={Zheng, Honghui and Favaro, Pietro and Dvorkin, Yury and Drgo{\v{n}}a, J{\'a}n},
journal={IEEE Transactions on Sustainable Energy},
year={2026},
doi={10.1109/TSTE.2026.3722492}
}
Published version: IEEE Xplore · Accepted version (open access): arXiv:2512.20880 · Code: github.com/SOLARIS-JHU/DFL-UPHES


