Reinforcement Learning-based Home Energy Management with Heterogeneous Batteries and Stochastic EV Behaviour
Journal article, 2026
The widespread adoption of photovoltaic (PV), electric vehicles (EVs), and stationary energy storage systems (ESS) in households increases system complexity while simultaneously offering new opportunities for energy regulation. However, effectively coordinating these resources under uncertainties remains challenging. This paper proposes a novel home energy management framework based on deep reinforcement learning (DRL) that can jointly minimise energy expenditure and battery degradation while guaranteeing occupant comfort and EV charging requirements. Distinct from existing studies, we explicitly account for the heterogeneous degradation characteristics of stationary and EV batteries in the optimisation, alongside stochastic user behaviour regarding arrival time, departure time, and driving distance. The energy scheduling problem is formulated as a constrained Markov decision process (CMDP) and solved using a Lagrangian soft actor-critic (SAC) algorithm. This approach enables the agent to learn optimal control policies that enforce physical constraints, including indoor temperature bounds and target EV state of charge upon departure, despite stochastic uncertainties. Numerical simulations over a one-year horizon demonstrate that the proposed framework reduces the total annual operating cost by 7.9% to 17.0% relative to four learning-based comparison methods and by 33.0% relative to a perfect-foresight model predictive control baseline, while satisfying the EV departure requirement on every day of the test year.
reinforcement learning
Home energy management
electric vehicles
heterogeneous batteries
constrained Markov decision process