Enhancing Battery Storage Energy Arbitrage with Deep Reinforcement Learning and Time-Series Forecasting

Manuel Sage, Joshua Campbell, Yaoyao Fiona Zhao
10/25/2024
cs.LGcs.AIcs.OS

No official code found. Best implementation: masa2203/battery_arbitrage_with_drl (23 stars, last commit 2025-07-13).

Abstract

Energy arbitrage is one of the most profitable sources of income for battery operators, generating revenues by buying and selling electricity at different prices. Forecasting these revenues is challenging due to the inherent uncertainty of electricity prices. Deep reinforcement learning (DRL) emerged in recent years as a promising tool, able to cope with uncertainty by training on large quantities of historical data. However, without access to future electricity prices, DRL agents can only react to the currently observed price and not learn to plan battery dispatch. Therefore, in this study, we combine DRL with time-series forecasting methods from deep learning to enhance the performance on energy arbitrage. We conduct a case study using price data from Alberta, Canada that is characterized by irregular price spikes and highly non-stationary. This data is challenging to forecast even when state-of-the-art deep learning models consisting of convolutional layers, recurrent layers, and attention modules are deployed. Our results show that energy arbitrage with DRL-enabled battery control still significantly benefits from these imperfect predictions, but only if predictors for several horizons are combined. Grouping multiple predictions for the next 24-hour window, accumulated rewards increased by 60% for deep Q-networks (DQN) compared to the experiments without forecasts. We hypothesize that multiple predictors, despite their imperfections, convey useful information regarding the future development of electricity prices through a "majority vote" principle, enabling the DRL agent to learn more profitable control policies.

View on arXivView PDF

Code Implementations(1)

Repository with data and code for the paper "Enhancing Battery Storage Energy Arbitrage with Deep Reinforcement Learning and Time-Series Forecasting" by Manuel Sage, Joshua Campbell, Yaoyao Fiona Zhao submitted to ASME ES2024 (currently under review).

2310PythonMar 18, 20241 years ago

Similar Papers

Cite this paper

@article{sage2024enhancing,
  title  = {Enhancing Battery Storage Energy Arbitrage with Deep Reinforcement Learning and Time-Series Forecasting},
  author = {Manuel Sage and Joshua Campbell and Yaoyao Fiona Zhao},
  year   = {2024},
  eprint = {2410.20005},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.20005v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.20005.svg)](https://codeofpaper.com/paper/2410.20005)

Discussion