DOI: 10.3390/a19080690 ISSN: 1999-4893

A Digital Twin Inspired Simulation Framework for Optimizing Renewable Energy Communities

João Oliveira, Tiago Santos, Fernanda Brito Correia, José Torres Farinha, Jânio Monteiro, Mateus Mendes

The energy transition requires efficient management of decentralized resources, in which Renewable Energy Communities (RECs) play an increasingly important role. However, the variability of solar generation and the unpredictability of consumption create complex balancing challenges. To address the limitations of existing planning tools—which often rely on synthetic profiles or small-scale validations—this study presents a data-driven Digital Twin-inspired simulation framework The unique contribution of this work lies in the combination of three elements: the use of high-resolution sub-hourly smart-meter data, the application of a novel demographic filtering methodology to accurately isolate permanent community load profiles, and the integration of an AI-driven N-HiTS (Neural Hierarchical Interpolation for Time Series) forecasting model. The framework was implemented using the PyECOM simulation engine and applied to the Culatra Island Energy Community, Portugal, processing empirical data from 338 dwellings. Multiple scenarios were evaluated, including demand flexibility, photovoltaic (PV) expansion, and battery energy storage (BESS) deployment. The baseline scenario revealed a substantial dependence on the external grid, with a Self-Sufficiency (SS) rate of 12.51%. Expanding PV capacity by 200 kWp increased SS to 32.1% but generated significant energy surpluses. The optimal configuration, integrating a 600 kWh BESS, increased SS to 37.3% while restoring the Self-Consumption (SC) rate to 99.8%. Furthermore, the integrated N-HiTS predictive model achieved a coefficient of determination of 0.64 under highly variable weather conditions. Ultimately, the results demonstrate the critical value of combining empirical simulation, optimized storage sizing, and advanced forecasting techniques to support robust REC planning.

More from our Archive