Reinforcement Learning-Based Energy Management in Community Microgrids: A Comparative Study
Open Access
- 28 November 2025
- journal article
- research article
- Published by MDPI AG in Sustainability
- Vol. 17 (23) , 10696
Abstract
Energy communities represent an important step towards clean energy; however, their management is a complex task due to various factors such as fluctuating demand and energy prices, variable renewable generation, and external factors such as power outages. This paper investigates the effectiveness of a Reinforcement Learning agent, based on the Proximal Policy Optimisation (PPO) algorithm, for energy management across three different energy community configurations. The performance of the PPO agent is compared against a Rule-Based Controller (RBC) and a baseline scenario using solar generation but no active management. Simulations were run in the CityLearn framework to simulate real world data. Across the three evaluated community configurations, the PPO agent achieved its greatest improvement over a single run in the scenario where all participants were prosumers (Schema 3), with a reduction of 9.2% in annual costs and carbon emissions. The main contribution of this work is demonstrating the viability of Reinforcement Learning agents in energy optimization problems, providing an alternative to traditional RBCs for energy communities.Keywords
All Related Versions
This publication has 41 references indexed in Scilit:
- Advancing microgrid cyber resilience: Fundamentals, trends and case study on data-driven practicesApplied Energy, 2025
- Smart home integration and distribution network optimization through transactive energy framework – a reviewApplied Energy, 2025
- A novel stable grand coalition for transactive multi-energy management in an integrated energy systemApplied Energy, 2025
- Exploring the economic benefits and stability of renewable energy microgrids with controllable power sources under carbon fee and random outage scenariosEnergy Reports, 2025
- Real-world challenges for multi-agent reinforcement learning in grid-interactive buildingsEnergy and AI, 2022
- Energy Storage as a Service: Optimal sizing for Transmission Congestion ReliefApplied Energy, 2021
- State-of-the-Art Analysis and Perspectives for Peer-to-Peer Energy TradingEngineering, 2020
- Collaborative energy management in a micro-grid by multi-objective mathematical programmingEnergy and Buildings, 2019
- Reinforcement learning for demand response: A review of algorithms and modeling techniquesApplied Energy, 2019
- Heterogeneity in the adoption of photovoltaic systems in FlandersEnergy Economics, 2016