IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v384y2025ics0306261925000194.html
   My bibliography  Save this article

Collaborative optimization framework for capacity planning of a prosumer-based peer-to-peer electricity trading community

Author

Listed:
  • Mahuze, Richard A.
  • Amadeh, Ali
  • Yuan, Bo
  • Zhang, K. Max

Abstract

Peer-to-peer (P2P) electricity trading offers significant potential benefits for community microgrids, including reduced costs, enhanced demand flexibility, and increased self-sufficiency. However, optimizing the capacities (i.e., on-site renewable generation and battery storage) in a P2P trading environment is complex. This complexity is due to the dual need to achieve broad system objectives while catering to individual households' unique energy needs and preferences. To tackle this, our study proposes an innovative bi-level optimization framework that harmonizes these diverse needs through a collaborative approach that accounts for demand flexibility and network topology. At the heart of our method is a “collaborative optimization” process. This entails a synergistic planning strategy where system-wide objectives and individual household preferences are jointly considered to determine the optimal infrastructure setup. The upper level of the framework employs Borg Multiobjective Evolutionary Algorithm (MOEA) to reconcile various system-wide objectives, such as maximizing renewable energy use, minimizing costs, and ensuring grid stability. The lower-level optimization uses Mixed Integer Nonlinear Programming (MINLP) with a dynamic pricing mechanism based on Supply-Demand Ratio (SDR). Our results show that collaborative optimization significantly outperforms individual household optimization strategies (where households plan capacity independently before adopting P2P trading). In our case study, we observed a 24.6 % reduction in bi-monthly peak load averages with collaborative optimization, compared to a modest 10.2 % reduction under individual planning scenarios. This not only signifies enhanced efficiency but also translates into significant economic benefits. For instance, the investment payback period for solar photovoltaic (PV) panels and battery storage is drastically reduced—from an average of 5.1 years to just 1.8 years. Our findings highlight the significant economic and grid-stabilizing advantages gained through collaborative planning of P2P trading.

Suggested Citation

  • Mahuze, Richard A. & Amadeh, Ali & Yuan, Bo & Zhang, K. Max, 2025. "Collaborative optimization framework for capacity planning of a prosumer-based peer-to-peer electricity trading community," Applied Energy, Elsevier, vol. 384(C).
  • Handle: RePEc:eee:appene:v:384:y:2025:i:c:s0306261925000194
    DOI: 10.1016/j.apenergy.2025.125289
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261925000194
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2025.125289?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Rodrigues, Daniel L. & Ye, Xianming & Xia, Xiaohua & Zhu, Bing, 2020. "Battery energy storage sizing optimisation for different ownership structures in a peer-to-peer energy sharing community," Applied Energy, Elsevier, vol. 262(C).
    2. Tushar, Wayes & Yuen, Chau & Saha, Tapan K. & Morstyn, Thomas & Chapman, Archie C. & Alam, M. Jan E. & Hanif, Sarmad & Poor, H. Vincent, 2021. "Peer-to-peer energy systems for connected communities: A review of recent advances and emerging challenges," Applied Energy, Elsevier, vol. 282(PA).
    3. Spiliopoulos, Nikolas & Sarantakos, Ilias & Nikkhah, Saman & Gkizas, George & Giaouris, Damian & Taylor, Phil & Rajarathnam, Uma & Wade, Neal, 2022. "Peer-to-peer energy trading for improving economic and resilient operation of microgrids," Renewable Energy, Elsevier, vol. 199(C), pages 517-535.
    4. Wang, Zhuo & Hou, Hui & Zhao, Bo & Zhang, Leiqi & Shi, Ying & Xie, Changjun, 2024. "Risk-averse stochastic capacity planning and P2P trading collaborative optimization for multi-energy microgrids considering carbon emission limitations: An asymmetric Nash bargaining approach," Applied Energy, Elsevier, vol. 357(C).
    5. Razmara, M. & Bharati, G.R. & Hanover, Drew & Shahbakhti, M. & Paudyal, S. & Robinett, R.D., 2017. "Building-to-grid predictive power flow control for demand response and demand flexibility programs," Applied Energy, Elsevier, vol. 203(C), pages 128-141.
    6. Yu, Vincent F. & Le, Thi Huynh Anh & Gupta, Jatinder N.D., 2023. "Sustainable microgrid design with peer-to-peer energy trading involving government subsidies and uncertainties," Renewable Energy, Elsevier, vol. 206(C), pages 658-675.
    7. Li, Shiyao & Zhou, Yue & Wu, Jianzhong & Pan, Yiqun & Huang, Zhizhong & Zhou, Nan, 2025. "A digital twin of multiple energy hub systems with peer-to-peer energy sharing," Applied Energy, Elsevier, vol. 380(C).
    8. Abid, Md. Shadman & Apon, Hasan Jamil & Hossain, Salman & Ahmed, Ashik & Ahshan, Razzaqul & Lipu, M.S. Hossain, 2024. "A novel multi-objective optimization based multi-agent deep reinforcement learning approach for microgrid resources planning," Applied Energy, Elsevier, vol. 353(PA).
    9. Zheng, Boshen & Wei, Wei & Chen, Yue & Wu, Qiuwei & Mei, Shengwei, 2022. "A peer-to-peer energy trading market embedded with residential shared energy storage units," Applied Energy, Elsevier, vol. 308(C).
    10. Kanakadhurga, Dharmaraj & Prabaharan, Natarajan, 2022. "Peer-to-Peer trading with Demand Response using proposed smart bidding strategy," Applied Energy, Elsevier, vol. 327(C).
    11. Ren, Haoshan & Gao, Dian-ce & Ma, Zhenjun & Zhang, Sheng & Sun, Yongjun, 2024. "Data-driven surrogate optimization for deploying heterogeneous multi-energy storage to improve demand response performance at building cluster level," Applied Energy, Elsevier, vol. 356(C).
    12. Alejandro Pena-Bello & David Parra & Mario Herberz & Verena Tiefenbeck & Martin K. Patel & Ulf J. J. Hahnel, 2022. "Integration of prosumer peer-to-peer trading decisions into energy community modelling," Nature Energy, Nature, vol. 7(1), pages 74-82, January.
    13. Liu, Jia & Yang, Hongxing & Zhou, Yuekuan, 2021. "Peer-to-peer trading optimizations on net-zero energy communities with energy storage of hydrogen and battery vehicles," Applied Energy, Elsevier, vol. 302(C).
    14. Zhang, Chenghua & Wu, Jianzhong & Zhou, Yue & Cheng, Meng & Long, Chao, 2018. "Peer-to-Peer energy trading in a Microgrid," Applied Energy, Elsevier, vol. 220(C), pages 1-12.
    15. Raya-Armenta, Jose Maurilio & Bazmohammadi, Najmeh & Avina-Cervantes, Juan Gabriel & Sáez, Doris & Vasquez, Juan C. & Guerrero, Josep M., 2021. "Energy management system optimization in islanded microgrids: An overview and future trends," Renewable and Sustainable Energy Reviews, Elsevier, vol. 149(C).
    16. Lopez, Hector K. & Zilouchian, Ali, 2023. "Peer-to-peer energy trading for photo-voltaic prosumers," Energy, Elsevier, vol. 263(PA).
    17. Guerrero, Jaysson & Gebbran, Daniel & Mhanna, Sleiman & Chapman, Archie C. & Verbič, Gregor, 2020. "Towards a transactive energy system for integration of distributed energy resources: Home energy management, distributed optimal power flow, and peer-to-peer energy trading," Renewable and Sustainable Energy Reviews, Elsevier, vol. 132(C).
    18. Perera, A.T.D. & Zhao, Bingyu & Wang, Zhe & Soga, Kenichi & Hong, Tianzhen, 2023. "Optimal design of microgrids to improve wildfire resilience for vulnerable communities at the wildland-urban interface," Applied Energy, Elsevier, vol. 335(C).
    19. Zhou, Yue & Wu, Jianzhong & Long, Chao, 2018. "Evaluation of peer-to-peer energy sharing mechanisms based on a multiagent simulation framework," Applied Energy, Elsevier, vol. 222(C), pages 993-1022.
    20. Trutnevyte, Evelina, 2016. "Does cost optimization approximate the real-world energy transition?," Energy, Elsevier, vol. 106(C), pages 182-193.
    21. Secchi, Mattia & Barchi, Grazia & Macii, David & Moser, David & Petri, Dario, 2021. "Multi-objective battery sizing optimisation for renewable energy communities with distribution-level constraints: A prosumer-driven perspective," Applied Energy, Elsevier, vol. 297(C).
    22. Yu, Vincent F. & Le, Thi Huynh Anh & Gupta, Jatinder N.D., 2022. "Sustainable microgrid design with multiple demand areas and peer-to-peer energy trading involving seasonal factors and uncertainties," Renewable and Sustainable Energy Reviews, Elsevier, vol. 161(C).
    23. Lin, Jason & Pipattanasomporn, Manisa & Rahman, Saifur, 2019. "Comparative analysis of auction mechanisms and bidding strategies for P2P solar transactive energy markets," Applied Energy, Elsevier, vol. 255(C).
    24. Lee, Zachary E. & Zhang, K. Max, 2023. "Regulated peer-to-peer energy markets for harnessing decentralized demand flexibility," Applied Energy, Elsevier, vol. 336(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. Zhou, Yuekuan & Lund, Peter D., 2023. "Peer-to-peer energy sharing and trading of renewable energy in smart communities ─ trading pricing models, decision-making and agent-based collaboration," Renewable Energy, Elsevier, vol. 207(C), pages 177-193.
    2. Tariq, Abdul Haseeb & Amin, Uzma, 2025. "Peer-to-peer multi-energy trading in a decentralized network: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 208(C).
    3. Capper, Timothy & Gorbatcheva, Anna & Mustafa, Mustafa A. & Bahloul, Mohamed & Schwidtal, Jan Marc & Chitchyan, Ruzanna & Andoni, Merlinda & Robu, Valentin & Montakhabi, Mehdi & Scott, Ian J. & Franci, 2022. "Peer-to-peer, community self-consumption, and transactive energy: A systematic literature review of local energy market models," Renewable and Sustainable Energy Reviews, Elsevier, vol. 162(C).
    4. Nizami, Sohrab & Tushar, Wayes & Hossain, M.J. & Yuen, Chau & Saha, Tapan & Poor, H. Vincent, 2022. "Transactive energy for low voltage residential networks: A review," Applied Energy, Elsevier, vol. 323(C).
    5. Schwidtal, J.M. & Piccini, P. & Troncia, M. & Chitchyan, R. & Montakhabi, M. & Francis, C. & Gorbatcheva, A. & Capper, T. & Mustafa, M.A. & Andoni, M. & Robu, V. & Bahloul, M. & Scott, I.J. & Mbavarir, 2023. "Emerging business models in local energy markets: A systematic review of peer-to-peer, community self-consumption, and transactive energy models," Renewable and Sustainable Energy Reviews, Elsevier, vol. 179(C).
    6. Zheng, Boshen & Wei, Wei & Chen, Yue & Wu, Qiuwei & Mei, Shengwei, 2022. "A peer-to-peer energy trading market embedded with residential shared energy storage units," Applied Energy, Elsevier, vol. 308(C).
    7. Arnob Das & Susmita Datta Peu & Md. Abdul Mannan Akanda & Abu Reza Md. Towfiqul Islam, 2023. "RETRACTED: Peer-to-Peer Energy Trading Pricing Mechanisms: Towards a Comprehensive Analysis of Energy and Network Service Pricing (NSP) Mechanisms to Get Sustainable Enviro-Economical Energy Sector," Energies, MDPI, vol. 16(5), pages 1-27, February.
    8. Shama Naz Islam, 2024. "A Review of Peer-to-Peer Energy Trading Markets: Enabling Models and Technologies," Energies, MDPI, vol. 17(7), pages 1-18, April.
    9. Azim, M. Imran & Tushar, Wayes & Saha, Tapan K. & Yuen, Chau & Smith, David, 2022. "Peer-to-peer kilowatt and negawatt trading: A review of challenges and recent advances in distribution networks," Renewable and Sustainable Energy Reviews, Elsevier, vol. 169(C).
    10. Xia, Yuanxing & Xu, Qingshan & Chen, Lu & Du, Pengwei, 2022. "The flexible roles of distributed energy storages in peer-to-peer transactive energy market: A state-of-the-art review," Applied Energy, Elsevier, vol. 327(C).
    11. Bidan Zhang & Yang Du & Xiaoyang Chen & Eng Gee Lim & Lin Jiang & Ke Yan, 2022. "Potential Benefits for Residential Building with Photovoltaic Battery System Participation in Peer-to-Peer Energy Trading," Energies, MDPI, vol. 15(11), pages 1-21, May.
    12. Vinyals, Meritxell, 2021. "Scalable multi-agent local energy trading — Meeting regulatory compliance and validation in the Cardiff grid," Applied Energy, Elsevier, vol. 298(C).
    13. Fu, Yang & Shan, Jie & Li, Zhenkun & Pan, Jeng-Shyang, 2025. "P2P energy trading of multi-energy prosumers: An electricity-heat coupling double auction market," Applied Energy, Elsevier, vol. 390(C).
    14. Filipe Bandeiras & Álvaro Gomes & Mário Gomes & Paulo Coelho, 2023. "Exploring Energy Trading Markets in Smart Grid and Microgrid Systems and Their Implications for Sustainability in Smart Cities," Energies, MDPI, vol. 16(2), pages 1-41, January.
    15. Xia, Yuanxing & Xu, Qingshan & Li, Fangxing, 2023. "Grid-friendly pricing mechanism for peer-to-peer energy sharing market diffusion in communities," Applied Energy, Elsevier, vol. 334(C).
    16. Qiu, Dawei & Ye, Yujian & Papadaskalopoulos, Dimitrios & Strbac, Goran, 2021. "Scalable coordinated management of peer-to-peer energy trading: A multi-cluster deep reinforcement learning approach," Applied Energy, Elsevier, vol. 292(C).
    17. Niall Buckley & Claudia Bo & Faezeh Delkhah & Niall Byrne & Avril Ní Shearcaigh & Stephanie Brennan & Dayanne Peretti Correa, 2024. "Evaluation of a Peer-to-Peer Smart Grid Using Digital Twins: A Case Study of a Remote European Island," Energies, MDPI, vol. 17(22), pages 1-16, November.
    18. Wang, Ni & Liu, Ziyi & Heijnen, Petra & Warnier, Martijn, 2022. "A peer-to-peer market mechanism incorporating multi-energy coupling and cooperative behaviors," Applied Energy, Elsevier, vol. 311(C).
    19. Kanakadhurga, Dharmaraj & Prabaharan, Natarajan, 2022. "Peer-to-Peer trading with Demand Response using proposed smart bidding strategy," Applied Energy, Elsevier, vol. 327(C).
    20. Gjorgievski, Vladimir Z. & Cundeva, Snezana & Markovska, Natasa & Georghiou, George E., 2022. "Virtual net-billing: A fair energy sharing method for collective self-consumption," Energy, Elsevier, vol. 254(PB).

    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:384:y:2025:i:c:s0306261925000194. 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: 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.

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