Skip to main content
QUICK REVIEW

[Paper Review] Explainable AI: Deep Reinforcement Learning Agents for Residential Demand Side Cost Savings in Smart Grids

Hareesh Kumar, Priyanka Mary Mammen|arXiv (Cornell University)|Oct 19, 2019
Smart Grid Energy ManagementEngineering17 references5 citations
TL;DR

This paper proposes a deep reinforcement learning (DRL) agent that autonomously manages residential energy storage to minimize electricity costs under dynamic pricing. The agent learns optimal charge/discharge strategies through trial-and-error in a simulated smart grid environment, achieving up to 14% cost savings—especially effective when combined with demand response programs—while providing explainable insights into its decision-making process based on battery capacity and tariff structures.

ABSTRACT

Motivated by recent advancements in Deep Reinforcement Learning (RL), we have developed an RL agent to manage the operation of storage devices in a household and is designed to maximize demand-side cost savings. The proposed technique is data-driven, and the RL agent learns from scratch how to efficiently use the energy storage device given variable tariff structures. In most of the studies, the RL agent is considered as a black box, and how the agent has learned is often ignored. We explain the learning progression of the RL agent, and the strategies it follows based on the capacity of the storage device.

Motivation & Objective

  • To develop a data-driven, explainable reinforcement learning agent for optimizing residential energy storage operations under variable electricity tariffs.
  • To address the black-box nature of RL agents by analyzing and explaining their learning progression and decision strategies.
  • To evaluate how battery capacity influences cost savings and optimal operational policies under time-of-use (ToD) and demand response (DR) pricing.
  • To demonstrate the scalability and adaptability of the RL agent across different storage capacities and pricing regimes.
  • To provide a foundation for determining optimal battery sizing and payback analysis in residential energy systems.

Proposed method

  • A deep Q-network (DQN) agent is trained using a custom environment that simulates residential electricity consumption and dynamic pricing structures.
  • The agent observes state features including time of day, electricity prices, and battery state of charge, and takes actions to charge or discharge the battery.
  • The reward function is defined as cost savings relative to a baseline: $\text{cost}_\text{saving} = \left(1 - \frac{\text{Cost}(\text{RLAgent})}{\text{Cost}(\text{BaseLine})}\right) \times 100$.
  • The agent uses experience replay and target networks to stabilize training, with hyperparameters tuned for exploration and convergence.
  • Training is performed on one month of residential load and tariff data, with testing on subsequent month data, and models are fine-tuned for demand response scenarios.
  • The system incorporates constraints such as limiting charge to 90% and discharge to 10% of capacity to preserve battery life.

Experimental results

Research questions

  • RQ1How does the performance of a DRL agent in reducing residential electricity costs vary with different battery capacities?
  • RQ2What decision-making strategies does the RL agent adopt based on battery capacity and tariff structure?
  • RQ3How does the inclusion of demand response (DR) programs affect cost savings and agent behavior?
  • RQ4Can the RL agent's learning process and strategies be meaningfully explained and visualized?
  • RQ5What is the optimal battery capacity for maximizing cost savings under ToD and DR pricing?

Key findings

  • The RL agent achieved 6–8% cost savings under standard time-of-use (ToU) pricing, increasing to 12–14% when combined with demand response (DR) programs.
  • Cost savings plateaued beyond a 15,000Wh battery capacity, indicating diminishing returns for larger systems.
  • Low-capacity batteries (e.g., 5kWh) failed to generalize to high-capacity scenarios, but high-capacity agents could successfully manage low-capacity states.
  • The agent learned to charge during low-cost periods (22:00–06:00) and discharge during high-cost periods, with full-charge strategies emerging in high-capacity systems.
  • The agent’s behavior was explainable: it consistently charged when prices were low and discharged when prices were high, with strategies scaling with storage capacity.
  • Fine-tuning the pre-trained agent on DR scenarios enabled effective adaptation to new constraints, such as daily demand limits and penalty tariffs.

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.