Skip to main content
QUICK REVIEW

[Paper Review] Arbitrage of Energy Storage in Electricity Markets with Deep Reinforcement Learning

Hanchen Xu, Xiao Li|arXiv (Cornell University)|Apr 28, 2019
Smart Grid Energy ManagementEngineering7 references26 citations
TL;DR

This paper proposes a deep reinforcement learning (DRL) approach using proximal policy optimization (PPO) with a recurrent neural network (RNN) and exponential moving average (EMA) filtering to learn a stochastic control policy for energy storage systems (ESS) in real-time electricity markets. The method extracts temporal price patterns to enable profitable arbitrage, achieving 40% higher cumulative profits than Q-learning on PJM real-time price data.

ABSTRACT

In this letter, we address the problem of controlling energy storage systems (ESSs) for arbitrage in real-time electricity markets under price uncertainty. We first formulate this problem as a Markov decision process, and then develop a deep reinforcement learning based algorithm to learn a stochastic control policy that maps a set of available information processed by a recurrent neural network to ESSs' charging/discharging actions. Finally, we verify the effectiveness of our algorithm using real-time electricity prices from PJM.

Motivation & Objective

  • To develop a data-driven control policy for energy storage systems (ESS) that maximizes arbitrage profits in real-time electricity markets under price uncertainty.
  • To address the challenge of dynamic price forecasting and state representation by incorporating temporal price patterns into the ESS control policy.
  • To design a stochastic control policy that maps observable market and system states to optimal charging/discharging actions.
  • To improve upon existing Q-learning and optimization-based approaches by leveraging deep reinforcement learning with long-term temporal dependencies.
  • To validate the method using real-world PJM real-time electricity price data over multiple years.

Proposed method

  • The problem is formulated as a Markov decision process (MDP) with state space defined by ESS energy level, average energy cost, current price, and a hidden state from an RNN.
  • An exponential moving average (EMA) filter and a one-layer RNN are used to extract temporal price trends and embed them into the state representation.
  • A categorical policy network parameterized by θ maps the state to action probabilities over three actions: full discharge, full charge, or no action.
  • The proximal policy optimization (PPO) algorithm is used to train the policy, optimizing for expected cumulative discounted reward with advantage estimation via generalized advantage estimation (GAE).
  • The value function and policy are updated using Adam optimization with separate learning rates, and experience is collected over 10 trajectories of 168-hour (weekly) episodes.
  • The reward function accounts for arbitrage gains (price difference times efficiency) and wear-and-tear costs, with the cumulative profit used as the key performance metric.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent learn an effective stochastic control policy for ESS arbitrage in real-time electricity markets using only price and energy level observations?
  • RQ2How does incorporating temporal price patterns via RNN and EMA filtering improve ESS arbitrage performance compared to state-of-the-art Q-learning with discretized states?
  • RQ3To what extent does the proposed DRL method outperform traditional optimization and RL baselines in terms of cumulative profit on real-world electricity price data?
  • RQ4Does the use of a continuous, function-approximated policy with PPO yield better results than discrete-action Q-learning in this arbitrage setting?
  • RQ5How robust is the proposed method across different market conditions, as evidenced by performance on data from multiple years (2016–2018)?

Key findings

  • The PPO-RNN algorithm achieved a cumulative profit of $13,892 in the last three months of 2018 on PJM real-time prices, outperforming Q-learning by 40% ($9,377).
  • On 2016 data, the PPO-RNN achieved $8,750 in cumulative profit, 40% higher than Q-learning’s $6,119.
  • On 2017 data, the PPO-RNN earned $8,704, a 40% improvement over Q-learning’s $6,371.
  • The PPO-RNN method consistently outperformed both Q-learning and the PPO baseline without RNN (PPO) across all test periods, demonstrating the value of temporal feature extraction.
  • The training process showed stable convergence, with mean weekly profits increasing steadily over 200 training updates, indicating effective policy learning.
  • The inclusion of RNN-based hidden state representation significantly enhanced performance, proving that modeling price trends improves arbitrage decisions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.