IEEE Transactions on Sustainable Energy, 2026

Accelerating Underground Pumped Hydro Energy Storage Scheduling with Decision-Focused Learning

Honghui Zheng1 Pietro Favaro2 Yury Dvorkin1 Ján Drgoňa1

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.

Paper arXiv Code BibTeX

Schematic of the UPHES system: an upper reservoir, a lower reservoir in an abandoned mine, and a reversible Francis pump-turbine with head h_t bounded by h_min and h_max
Johns Hopkins Whiting School of Engineering SOLARIS lab, Johns Hopkins University Johns Hopkins Ralph O'Connor Sustainable Energy Institute University of Mons Power Systems and Markets Research Group, University of Mons

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:

$$ \begin{aligned} \max_{p_t,\, q_t,\, h_t,\, z_t^m} \quad & \sum_{t=1}^{24} \Delta t \left( \lambda_t^{\mathrm{DA}}\, p_t - C_{\mathrm{op}}\, p_t^{2} \right) && \text{maximize day-ahead market profit} \\ \text{s.t.} \quad & \sum_{m \in \{I,T,P\}} z_t^m = 1, \quad z_t^m \in \{0,1\} && \text{one mode per hour: idle, turbine, or pump} \\ & q_t = f_m^{\mathrm{UPC}}(p_t, h_t) && \text{nonlinear unit performance curves} \\ & v_t = v_{t-1} + \Delta t\, q_t, \quad h_t = f^{\mathrm{vol}\,-1}(v_t) && \text{reservoir dynamics and volume-head coupling} \\ & h_{\min} \leq h_t \leq h_{\max}, \quad v_{24} \leq v^{\mathrm{target}} && \text{head and terminal-volume limits} \end{aligned} $$

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.

Contour plots of the unit performance curves: discharge as a function of power and head for pump mode on the left and turbine mode on the right, with an idle gap between them
Unit performance curves of the reversible Francis pump-turbine: pump mode (left) and turbine mode (right).

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.

Computational graph of decision-focused learning for UPHES scheduling: prices and a warm-start schedule feed a neural penalty predictor, a linearization layer, a convex optimizer, and a physical simulator; forward pass in green, backward pass in red
Decision-focused learning for UPHES day-ahead scheduling. Green arrows show the forward pass, red arrows the backward pass.

The four differentiable components:

  1. 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.
  2. 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.
  3. 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.
  4. 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

$$ \max_{p,\,q,\,h} \; \Delta t \sum_{t=1}^{24} \left( \lambda_t^{\mathrm{DA}}\, p_t - C_{\mathrm{op}}\, p_t^{2} \right) \;-\; \sum_{t=1}^{24} \Big[ w_{p,t}\,(p_t - \hat p_t^{(k)})^2 + w_{q,t}\,(q_t - \hat q_t^{(k)})^2 + w_{h,t}\,(h_t - \hat h_t^{(k)})^2 \Big] $$

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.

MethodEx-post profit (€)Time (s)
MIQP-GL3409 ± 14332.69
DFL (GL-based)3712 ± 15092.69 + 1.18
MIQP-PW3849 ± 15451205.79
DFL (PW-based)3890 ± 15471205.79 + 1.24
IPOPT (GL-based)3478 ± 11802.69 + 28.34
IPOPT (PW-based)3798 ± 14981205.79 + 23.76
Performance of DFL, MIQP benchmarks, and IPOPT baselines on the 19 representative days.
Density distributions of ex-post profit for DFL methods and MIQP benchmarks across 19 price scenarios; panel a shows global-linear-based methods, panel b piecewise-based methods, with dashed vertical lines at the means
Distribution of ex-post profit across the 19 scenarios for (a) global-linear-based and (b) piecewise-based methods. Dashed vertical lines mark the means.

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.

MethodEx-post profit (€)Time (s)
DFL (PW-based)3890 ± 15471.24
DFL (PW-no-NN)3780 ± 15301.31
DFL (PW-no-Rec)3851 ± 15320.46
MIQP-PW (benchmark)3849 ± 15451205.79
Ablation of the DFL components (piecewise warm start; time is the refinement step only).
Two scatter plots of ex-post profit against volume penalty and against system imbalance penalty for the DFL variants; the complete DFL and the no-recursion variant sit at high profit with moderate volume penalty and negative imbalance penalty, while the fixed-weight variant has higher penalties and lower profit
Penalty-profit trade-offs of the ablation variants: (a) ex-post profit versus volume penalty, (b) ex-post profit versus system-imbalance penalty.

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.

MethodEx-post profit (€)Time (s)
MIQP-GL2776 ± 10531.37
MIQP-PW3249 ± 11361078.6
IPOPT + DB lookup2848 ± 114727.61
DFL + DB lookup2995 ± 11681.09
MIP-free deployment on 19 held-out price profiles.

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%.

Ex-post profit versus warm-start perturbation level from 10 to 80 percent; DFL curves stay nearly flat while MIQP benchmark curves degrade
Robustness to warm-start noise. DFL (solid) holds near-constant profit as the initialization is corrupted from 10% to 80%, while the MIQP benchmarks (dashed) degrade.

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.

Six panels of ex-post profit against the number of corrupted hours for each directed mode error; colored lines are DFL-refined schedules, gray dashed lines the raw corrupted warm start, dotted lines the correct warm start, and shaded areas the fraction of infeasible days
Ex-post profit under six directed warm-start mode errors versus the number of corrupted hours. Colored: DFL-refined; gray dashed: raw corrupted warm start; dotted: correct warm start; shaded (right axis): fraction of the 19 days that become infeasible.

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}
}