IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v17y2025i2p600-d1566779.html
   My bibliography  Save this article

Renewable Energy Community Sizing Based on Stochastic Optimization and Unsupervised Clustering

Author

Listed:
  • Luka Budin

    (University of Zagreb Faculty of Electrical Engineering and Computing, Unska 3, 10000 Zagreb, Croatia)

  • Marko Delimar

    (University of Zagreb Faculty of Electrical Engineering and Computing, Unska 3, 10000 Zagreb, Croatia)

Abstract

Renewable Energy Communities (RECs) are emerging as significant in the global paradigm shift towards a smart and sustainable energy environment. By empowering energy consumers to actively participate in local energy generation, and sharing, using renewable energy sources, energy storage, and flexible loads, REC participants can reduce costs, and also contribute to low-carbon objectives, providing the flexibility needed to address modern smart grid challenges. This article presents a mixed integer linear programming model for optimal sizing of the solar PVs and battery energy storage systems (BESS) of REC participants who engage in P2P energy exchange. The model is formulated using a two-stage stochastic optimization to address load and PV uncertainty, and unsupervised clustering to structure the data for the stochastic optimization process. The model enables sizing solar PVs for different rooftop geometries and the objective function includes comprehensively defined electricity, operational, and scaled investment costs for solar PV and BESS, where economic fairness constraints are analyzed and implemented. The model is validated on real solar and atmospheric measured data from Zagreb, Croatia, and publicly available household consumption data from Northern Germany. The article also analyzes how tariff models, and electricity prices affect PV and BESS sizes, cost reductions, and P2P energy exchange for different REC participants with varying consumption and production profiles.

Suggested Citation

  • Luka Budin & Marko Delimar, 2025. "Renewable Energy Community Sizing Based on Stochastic Optimization and Unsupervised Clustering," Sustainability, MDPI, vol. 17(2), pages 1-25, January.
  • Handle: RePEc:gam:jsusta:v:17:y:2025:i:2:p:600-:d:1566779
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/17/2/600/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/17/2/600/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. van der Stelt, Sander & AlSkaif, Tarek & van Sark, Wilfried, 2018. "Techno-economic analysis of household and community energy storage for residential prosumers with smart appliances," Applied Energy, Elsevier, vol. 209(C), pages 266-276.
    2. Norbu, Sonam & Couraud, Benoit & Robu, Valentin & Andoni, Merlinda & Flynn, David, 2021. "Modelling the redistribution of benefits from joint investments in community energy projects," Applied Energy, Elsevier, vol. 287(C).
    3. Gjorgievski, Vladimir Z. & Velkovski, Bodan & Francesco Demetrio, Minuto & Cundeva, Snezana & Markovska, Natasa, 2023. "Energy sharing in European renewable energy communities: Impact of regulated charges," Energy, Elsevier, vol. 281(C).
    4. Cosic, Armin & Stadler, Michael & Mansoor, Muhammad & Zellinger, Michael, 2021. "Mixed-integer linear programming based optimization strategies for renewable energy communities," Energy, Elsevier, vol. 237(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Mariuzzo, Ivan & Fina, Bernadette & Stroemer, Stefan & Corinaldesi, Carlo & Raugi, Marco, 2025. "Grid-friendly optimization of energy communities through enhanced multiple participation," Renewable and Sustainable Energy Reviews, Elsevier, vol. 208(C).
    2. Shoaib Ahmed & Amjad Ali & Antonio D’Angola, 2024. "A Review of Renewable Energy Communities: Concepts, Scope, Progress, Challenges, and Recommendations," Sustainability, MDPI, vol. 16(5), pages 1-34, February.
    3. Shoaib Ahmed & Amjad Ali & Alessandro Ciocia & Antonio D’Angola, 2024. "Technological Elements behind the Renewable Energy Community: Current Status, Existing Gap, Necessity, and Future Perspective—Overview," Energies, MDPI, vol. 17(13), pages 1-40, June.
    4. Emanuele Guerrazzi & Dimitri Thomopulos & Davide Fioriti & Ivan Mariuzzo & Eva Schito & Davide Poli & Marco Raugi, 2023. "Design of Energy Communities and Data-Sharing: Format and Open Data," Energies, MDPI, vol. 16(17), pages 1-26, August.
    5. Terlouw, Tom & AlSkaif, Tarek & Bauer, Christian & van Sark, Wilfried, 2019. "Optimal energy management in all-electric residential energy systems with heat and electricity storage," Applied Energy, Elsevier, vol. 254(C).
    6. Félix González & Paul Arévalo & Luis Ramirez, 2025. "Game Theory and Robust Predictive Control for Peer-to-Peer Energy Management: A Pathway to a Low-Carbon Economy," Sustainability, MDPI, vol. 17(5), pages 1-23, February.
    7. Yuanyuan He & Luxin Wan & Manli Zhang & Huijuan Zhao, 2022. "Regional Renewable Energy Installation Optimization Strategies with Renewable Portfolio Standards in China," Sustainability, MDPI, vol. 14(17), pages 1-18, August.
    8. Luca Brunelli & Emiliano Borri & Anna Laura Pisello & Andrea Nicolini & Carles Mateu & Luisa F. Cabeza, 2024. "Thermal Energy Storage in Energy Communities: A Perspective Overview through a Bibliometric Analysis," Sustainability, MDPI, vol. 16(14), pages 1-27, July.
    9. Velkovski, Bodan & Gjorgievski, Vladimir Z. & Markovski, Blagoja & Cundeva, Snezana & Markovska, Natasa, 2024. "A framework for shared EV charging in residential renewable energy communities," Renewable Energy, Elsevier, vol. 231(C).
    10. Hafiz, Faeza & Rodrigo de Queiroz, Anderson & Fajri, Poria & Husain, Iqbal, 2019. "Energy management and optimal storage sizing for a shared community: A multi-stage stochastic programming approach," Applied Energy, Elsevier, vol. 236(C), pages 42-54.
    11. Tian, Ai-Qing & Wang, Xiao-Yang & Xu, Heying & Pan, Jeng-Shyang & Snášel, Václav & Lv, Hong-Xia, 2024. "Multi-objective optimization model for railway heavy-haul traffic: Addressing carbon emissions reduction and transport efficiency improvement," Energy, Elsevier, vol. 294(C).
    12. Shi, Mengshu & Huang, Yuansheng & Lin, Hongyu, 2023. "Research on power to hydrogen optimization and profit distribution of microgrid cluster considering shared hydrogen storage," Energy, Elsevier, vol. 264(C).
    13. Hua, Lyu-Guang & Hafeez, Ghulam & Alghamdi, Baheej & Alghamdi, Hisham & Khan, Farrukh Aslam & Ullah, Safeer, 2025. "Demand response with pricing schemes and consumers mode constraints for energy balancing in smart grids," Applied Energy, Elsevier, vol. 377(PB).
    14. Ruben Barreto & Calvin Gonçalves & Luis Gomes & Pedro Faria & Zita Vale, 2022. "Evaluation Metrics to Assess the Most Suitable Energy Community End-Users to Participate in Demand Response," Energies, MDPI, vol. 15(7), pages 1-18, March.
    15. Luthander, Rasmus & Nilsson, Annica M. & Widén, Joakim & Åberg, Magnus, 2019. "Graphical analysis of photovoltaic generation and load matching in buildings: A novel way of studying self-consumption and self-sufficiency," Applied Energy, Elsevier, vol. 250(C), pages 748-759.
    16. Goran Dobric & Mileta Zarkovic, 2024. "Towards Sustainable Energy Communities: Integrating Time-of-Use Pricing and Techno-Economic Analysis for Optimal Design—A Case Study of Valongo, Portugal," Energies, MDPI, vol. 17(14), pages 1-16, July.
    17. Gautier, Axel & Jacqmin, Julien & Poudou, Jean-Christophe, 2025. "The energy community and the grid," Resource and Energy Economics, Elsevier, vol. 82(C).
    18. Jiyoung Eum & Yongki Kim, 2020. "Analysis on Operation Modes of Residential BESS with Balcony-PV for Apartment Houses in Korea," Sustainability, MDPI, vol. 13(1), pages 1-9, December.
    19. Steffen Limmer, 2023. "Empirical Study of Stability and Fairness of Schemes for Benefit Distribution in Local Energy Communities," Energies, MDPI, vol. 16(4), pages 1-16, February.
    20. Àlex Alonso & Jordi de la Hoz & Helena Martín & Sergio Coronas & José Matas, 2021. "Individual vs. Community: Economic Assessment of Energy Management Systems under Different Regulatory Frameworks," Energies, MDPI, vol. 14(3), pages 1-27, January.

    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:gam:jsusta:v:17:y:2025:i:2:p:600-:d:1566779. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.