[Paper Review] Backward Approximate Dynamic Programming with Hidden Semi-Markov Stochastic Models in Energy Storage Optimization
This paper proposes a backward approximate dynamic programming (ADP) framework using a novel hidden semi-Markov model (HSMM) to optimize energy storage in wind-integrated systems, capturing both forecast error distributions and crossing times—critical for robust policy design. The HSMM-based model outperforms standard Markov and mean-reversion models, especially under extreme temperature conditions with frequent price spikes, yielding more robust and profitable control policies.
We consider an energy storage problem involving a wind farm with a forecasted power output, a stochastic load, an energy storage device, and a connection to the larger power grid with stochastic prices. Electricity prices and wind power forecast errors are modeled using a novel hidden semi-Markov model that accurately replicates not just the distribution of the errors, but also crossing times, capturing the amount of time each process stays above or below some benchmark such as the forecast. This is an important property of stochastic processes involved in storage problems. We show that we achieve more robust solutions using this model than when more common stochastic models are considered. The new model introduces some additional complexity to the problem as its information states are partially hidden, forming a partially observable Markov decision process. We derive a near-optimal time-dependent policy using backward approximate dynamic programming, which overcomes the computational hurdles of classical (exact) backward dynamic programming, with higher quality solutions than the more familiar forward approximate dynamic programming methods.
Motivation & Objective
- To develop a more robust energy storage control policy for wind-integrated systems under high uncertainty in electricity prices and wind forecast errors.
- To address the limitation of standard time series models (e.g., AR models) in capturing crossing times—periods when wind output remains above or below forecast—critical for long-term storage planning.
- To extend the HSMM framework to model stochastic electricity prices by incorporating temperature forecasts as explanatory variables, improving realism in price spike frequency and magnitude.
- To evaluate the performance of ADP policies trained on different stochastic price models under varying temperature and wind conditions, emphasizing robustness in worst-case scenarios.
- To demonstrate that HSMM-based modeling leads to higher profitability and better resilience in extreme weather conditions compared to conventional models.
Proposed method
- The paper models wind power forecast errors using a univariate crossing state hidden semi-Markov model (HSMM), which jointly captures the distribution of errors and the duration of time the process spends above or below the forecast.
- Electricity prices are modeled via an HSMM conditioned on temperature forecasts, with discrete temperature bins used to define explanatory variables that influence price spike behavior.
- A compact information state representation is defined as $\tilde{I}_t^P = (C_t^P, D_t^P, \hat{P}_t^b)$, where $C_t^P$ and $D_t^P$ denote the current crossing state and duration, and $\hat{P}_t^b$ is the base price deviation.
- Backward approximate dynamic programming (ADP) is employed to compute near-optimal time-dependent policies, overcoming the computational intractability of exact backward DP while achieving higher solution quality than forward ADP.
- Value functions are approximated using lookup tables over post-decision states, with discretization ensuring consistent state space size across different price models for fair comparison.
- The policy is trained using a combination of typical and worst-case wind and price sample paths, with performance evaluated under three temperature conditions: cool, average, and hot.
Experimental results
Research questions
- RQ1How does modeling wind forecast errors with a crossing state HSMM improve the robustness of energy storage control policies compared to standard AR models?
- RQ2To what extent does conditioning electricity price models on temperature forecasts enhance the realism and predictive accuracy of price spike behavior in energy storage applications?
- RQ3Does the use of backward ADP with an HSMM-based price model yield more profitable and resilient policies than forward ADP or standard stochastic models under extreme weather conditions?
- RQ4How do different stochastic price models—Markov chain, mean-reversion with jump-diffusion, and HSMM—compare in terms of policy performance across varying temperature and wind conditions?
- RQ5Can the HSMM framework accurately replicate the joint distribution of price errors, crossing times, and area under the curve (surplus/deficit) in real-time electricity markets?
Key findings
- The HSMM-based policy achieved the highest average profit across all test cases, with a median profit of -757 USD in average temperature conditions, matching the performance of the Markov model.
- In worst-case scenarios under hot temperatures, the HSMM policy outperformed both the Markov and mean-reversion with jump-diffusion (MRJD) models, yielding a profit of -2,687 USD compared to -2,772 USD and -3,332 USD, respectively.
- The HSMM model demonstrated superior robustness during hot days with frequent and large price spikes, where it reduced losses by over 600 USD compared to the MRJD model.
- The inclusion of temperature forecasts as explanatory variables significantly improved the model's ability to predict price spike timing, frequency, and magnitude, especially in extreme heat.
- The backward ADP framework with HSMMs produced higher-quality solutions than forward ADP and enabled efficient computation despite the partially observed nature of the information states.
- The compact information state representation $\tilde{I}_t^P = (C_t^P, D_t^P, \hat{P}_t^b)$ enabled effective value function approximation with manageable state space size, supporting scalable policy learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.