Reinforcement Learning-Based Energy Storage Management for Microgrid Power Exchanges
Intelligent energy management systems are increasingly necessary for integrating renewable energy sources within microgrids. This paper investigates the application of a reinforcement learning (RL) neural network to optimize the operation of an electrochemical storage system in an environment composed of residential loads, commercial loads, and a photovoltaic plant, all connected to the grid. A dataset combining market purchase prices, photovoltaic generation, and residential and commercial load profiles was generated and used to train a Twin Delayed Deep Deterministic Policy Gradient (TD3) agent with the primary goal of deriving a reliable and adaptive post-training policy capable of maximizing photovoltaic self-consumption, minimizing operational costs through intelligent price arbitrage, and ensuring strict compliance with battery physical constraints. The system state includes battery state of charge, load demand, PV generation, and normalized market purchase prices, whereas the action represents the battery’s charge/discharge power, which is restricted from exporting energy to the grid. Results show that the agent learns to effectively store surplus PV energy and minimize grid dependency through dynamic charge management. The proposed approach outperforms strategies based solely on storing surplus self-generated energy and maintains the battery within safe operational limits. Tests with previously unseen data demonstrate robust, adaptive, and economically efficient energy management, highlighting the potential of reinforcement learning in intelligent energy systems.
Authors
- Fabio Crescimbini (ORCID: https://orcid.org/0000-0001-8598-1749)
- Lorenzo Sabino (ORCID: https://orcid.org/0009-0003-7086-3709)
- Michele Quercio (ORCID: https://orcid.org/0000-0001-8086-6979)
- Federico Perquoti
- Davide Milillo
- Francesco Riganti Fulginei
- George Cristian Lazaroiu
Institutions
- Roma Tre University (IT)
- Universitatea Națională de Știință și Tehnologie Politehnica București (RO)
Publication Details
- Journal
- Eng—Advances in Engineering
- Published
- 2026-03-09
- DOI
- https://doi.org/10.3390/eng7030126
- Primary Topic
- Microgrid Control and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00