Robust Peak Shaving in Residential PV–Battery Systems Using Forecast-Free Reinforcement Learning
Open Access
- 3 June 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 14, 88957-88976
Abstract
Residential photovoltaic (PV) systems with behind-the-meter battery energy storage systems can reduce electricity costs under time-of-use and demand-charge tariffs. However, effective control remains challenging because monthly demand charges are often determined by short-duration on-peak grid-import events rather than by average energy consumption. This challenge is further amplified by residential load variability, uncertain PV generation, and nonstationary peak timing, under which forecast-dependent controllers may degrade after deployment. Existing rule-based and forecast-driven strategies also remain sensitive to manually tuned rules, forecasting errors, and deployment shifts. This paper proposes a forecast-free reinforcement learning controller for residential PV–battery energy management, explicitly designed for robust peak shaving under demand-charge tariffs. The controller operates in closed loop using only instantaneous measurements and time features, without load or PV forecasts. It employs demand-aware reward shaping to penalize incremental on-peak grid-import increases while preserving battery flexibility for late critical peaks. This design reduces reliance on forecast quality and manually tuned dispatch rules. The proposed method is evaluated against optimization-based baselines, including model predictive control with perfect information and model predictive control with simple persistence forecasts, within a train-once, evaluate-many framework that separates nominal performance from robustness under deployment shifts. The evaluation covers nominal operation, daily stress-day scenarios, structured perturbations in demand and peak-window definitions, and monthly billing-period replay. Under nominal conditions, the proposed controller reduces the mean daily total cost by 20.3% relative to the practical forecast-based MPC baseline. Under stress-day and deployment-shift conditions, it consistently remains the practical controller closest to the perfect-information benchmark, with particularly strong performance when critical peaks occur late in the on-peak window. At the monthly billing horizon, it reduces the mean monthly billing peak by 28.43% relative to the practical forecast-based MPC baseline. Distributional analysis further confirms a systematic downward shift in monthly bill outcomes rather than improvements limited to a few favorable cases. These results demonstrate that the proposed forecast-free reinforcement learning controller provides a practical and deployment-oriented solution for robust residential peak shaving under demand-charge tariffs.Keywords
This publication has 35 references indexed in Scilit:
- Federated reinforcement learning for sustainable and cost-efficient energy managementEnergy and AI, 2025
- A deep reinforcement learning approach based energy management strategy for home energy system considering the time-of-use price and real-time control of energy storage systemEnergy Reports, 2024
- Optimization of a photovoltaic-battery system using deep reinforcement learning and load forecastingEnergy and AI, 2024
- A reinforcement learning approach to home energy management for modulating heat pumps and photovoltaic systemsApplied Energy, 2022
- An alternative optimal strategy for stochastic model predictive control of a residential battery energy management system with solar photovoltaicApplied Energy, 2021
- Cluster analysis and prediction of residential peak demand profiles using occupant activity dataApplied Energy, 2020
- Reinforcement learning for demand response: A review of algorithms and modeling techniquesApplied Energy, 2019
- Photovoltaic systems coupled with batteries that are optimally sized for household self-consumption: Assessment of peak shaving potentialApplied Energy, 2018
- Assessment of forecasting methods on performance of photovoltaic-battery systemsApplied Energy, 2018
- A novel peak load shaving algorithm via real-time battery scheduling for residential distributed energy storage systemsInternational Journal of Energy Research, 2018