Google Scholar: citations
Improving energy distribution in collective self-consumption via XGBoost-based allocation coefficients prediction
Madrigal, Sebastián (Universitat Autónoma de Barcelona. Departament de Telecomunicació i Enginyeria de Sistemes)
Gallinad Corti, Ramon (Universitat Autónoma de Barcelona. Departament de Telecomunicació i Enginyeria de Sistemes)
Lopez Vicario, Jose (Universitat Autónoma de Barcelona. Departament de Telecomunicació i Enginyeria de Sistemes)
Morell, Antoni (Universitat Autónoma de Barcelona. Departament de Telecomunicació i Enginyeria de Sistemes)
Vilanova, Ramon (Universitat Autónoma de Barcelona. Departament de Telecomunicació i Enginyeria de Sistemes)

Date: 2026
Abstract: Energy communities operate under collective self-consumption schemes, where locally generated renewable energy is shared among participating members. In practice, this sharing is commonly governed by static allocation coefficients fixed in advance, which do not capture the time-varying and heterogeneous demand of participants. This mismatch can reduce community self-consumption, increase surplus injections, and raise reliance on the grid. This paper proposes a data-driven framework to dynamically compute allocation coefficients based on predicted individual demand and demonstrates its application in a municipal energy community in Catalonia, Spain. The approach uses an extreme gradient boosting model to forecast hourly consumption profiles and then derive adaptive allocation coefficients that better align shared photovoltaic generation with expected demand. The proposed strategy is evaluated against a static baseline and alternative dynamic schemes using multiple performance indicators, including community self-consumption, surplus energy, and grid dependency. In the case study, the extreme gradient boosting-based allocation increases community self-consumption by 8. 4%, reduces surplus energy by 34%, and lowers grid dependency by up to 30% for key members, resulting in a more balanced and efficient distribution of locally generated energy. These results highlight the potential of machine learning-enabled allocation to improve collective self-consumption performance in the existing regulatory framework.
Grants: Generalitat de Catalunya 2021/SGR-00197
Ministerio de Ciencia e Innovación PID2024-156522OB-C33
Agencia Estatal de Investigación PCI2023-145975-2
Agencia Estatal de Investigación PCI2023-145977-2
Note: Altres ajuts: acords transformatius de la UAB
Rights: Aquest document està subjecte a una llicència d'ús Creative Commons. Es permet la reproducció total o parcial, la distribució, la comunicació pública de l'obra i la creació d'obres derivades, fins i tot amb finalitats comercials, sempre i quan es reconegui l'autoria de l'obra original. Creative Commons
Language: Anglès
Document: Article ; recerca ; Versió publicada
Subject: Energy communities ; Collective self-consumption ; Energy management ; Machine learning for energy systems ; XGBoost ; Dynamic allocation
Published in: Applied energy, Vol. 409 (April 2026) , art. 127469, ISSN 0306-2619

DOI: 10.1016/j.apenergy.2026.127469


18 p, 3.9 MB

The record appears in these collections:
Articles > Research articles
Articles > Published articles

 Record created 2026-03-12, last modified 2026-03-29



   Favorit i Compartir