RT journal article T1 Sustainable and economical intelligent management of urban energy communities with prosumers A1 Horrillo Quintero, Pablo A1 García Triviño, Pablo A1 Javadi, Mohammad Sadegh A1 Fernández Ramírez, Luis Miguel A1 João Paulo da Silva, Catalão A2 Ingeniería Eléctrica K1 Demand-side management K1 Energy communities K1 Prosumers K1 Renewable energy utilisation AB The transition to sustainable urban energy systems relies on the effective operation of renewable-based Energy Communities (ECs). However, a critical challenge persists: managing their dynamic operation to simultaneously minimise costs, maximise self-sufficiency, and reduce energy losses. Fixed, compromised control methodologies often fail to balance these conflicting objectives, leading to economic inefficiency and curtailing clean energy. This paper proposes a novel intelligent management framework designed to overcome this challenge. The framework is built on a bi-layer control architecture that synergistically combines a high-level fuzzy logic (FL) supervisor with an adaptive model predictive control (AMPC). The FL supervisor acts as a strategic layer, leveraging dynamic grid prices and available reserve power to perform demand-side management and compute adaptive weights for the AMPC. The AMPC layer translates this high-level strategy into optimal, predictive control actions. The framework's performance was validated through a high-fidelity dynamic simulation of four ECs (prosumers and controllable loads) integrated into a realistic urban grid test system. When benchmarked against a standard fixed-weight particle swarm optimisation (PSO) controller, the proposed adaptive framework demonstrates significant, quantifiable contributions to both economic and environmental sustainability. Results show a 19.52% reduction in operational costs, an 8.38% decrease in power losses, and a 41.78% reduction in equivalent CO2 emissions (improving community efficiency and environmental impact). Crucially, the framework also secured a 7.52% increase in renewable energy utilisation, directly reducing energy waste. This work proves that transitioning to intelligent, adaptive management is not merely a technical improvement but a necessity for enabling economically viable, resilient, and cleaner future energy systems. PB Elsevier Ltd SN 1879-1786 YR 2026 FD 2026 LK http://hdl.handle.net/10498/40757 UL http://hdl.handle.net/10498/40757 LA eng DS Repositorio Institucional de la Universidad de Cádiz RD 25-nov-2026