Author
Listed:
- Madrigal, Sebastián
- Gallinad, Ramon
- Vicario, Jose L.
- Morell, Antoni
- Vilanova, Ramon
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.
Suggested Citation
Madrigal, Sebastián & Gallinad, Ramon & Vicario, Jose L. & Morell, Antoni & Vilanova, Ramon, 2026.
"Improving energy distribution in collective self-consumption via XGBoost-based allocation coefficients prediction,"
Applied Energy, Elsevier, vol. 409(C).
Handle:
RePEc:eee:appene:v:409:y:2026:i:c:s0306261926001212
DOI: 10.1016/j.apenergy.2026.127469
Download full text from publisher
As the access to this document is restricted, you may want to
for a different version of it.
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:appene:v:409:y:2026:i:c:s0306261926001212. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.