%0 Journal Article %A Horrillo Quintero, Pablo %A García Triviño, Pablo %A Javadi, Mohammad Sadegh %A Fernández Ramírez, Luis Miguel %A João Paulo da Silva, Catalão %T Sustainable and economical intelligent management of urban energy communities with prosumers %D 2026 %@ 1879-1786 %U http://hdl.handle.net/10498/40757 %X 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. %K Demand-side management %K Energy communities %K Prosumers %K Renewable energy utilisation %~ Universidad de Cádiz