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.

This publication has 35 references indexed in Scilit: