IDEAS home Printed from https://ideas.repec.org/a/eee/renene/v258y2026ics0960148125026345.html

Optimal sizing of variable renewable energy systems using two-stage stochastic programming: A comparative analysis with the deterministic approach

Author

Listed:
  • Zizzo, Aurelio
  • Schiera, Daniele Salvatore
  • Bottaccioli, Lorenzo
  • Lanzini, Andrea

Abstract

In feasibility studies for the optimal sizing of variable renewable energy source systems, it is essential to accurately assess economic performance and energy indicators to ensure project viability. However, such evaluation presents several challenges due to the inherent variability of renewable energy sources, which are strongly influenced by meteorological conditions, energy demand, which is driven by the behavior of end-users, and electricity prices, which are subject to the uncertainty and volatility of the energy markets. This work proposes a two-stage stochastic optimization framework for the optimal sizing of photovoltaic and battery energy storage systems, adaptable to various system configurations. Uncertainty is addressed using a probabilistic approach based on Monte Carlo simulations, with scenarios derived from historical data to capture realistic variability. The main contribution of this study is the development of a structured framework for the quantitative comparison between deterministic and stochastic optimization approaches. To assess the advantages of incorporating uncertainty, the framework introduces three evaluation metrics, namely consistency, stability, and effectiveness, the latter being based on the Value of the Stochastic Solution (VSS), which quantifies the benefit of stochastic optimization compared to a deterministic formulation. The framework is tested on four case studies, including both aggregate and Renewable Energy Community configurations for the years 2025 and 2030. Results show that deterministic solutions can lead to a decrease of the objective function of up to 28% of when tested under new uncertainty realizations, while stochastic solutions remain stable within 4%. The stochastic formulation also provides a VSS of up to +10%, corresponding to higher total annual savings compared to the deterministic approach. Results also show the installation of storage systems further enhances system robustness, reducing sensitivity to uncertainty and improving economic performance. Overall, the proposed framework demonstrates that explicitly incorporating uncertainty in early-stage energy system planning leads to more reliable, stable, and economically efficient designs.

Suggested Citation

  • Zizzo, Aurelio & Schiera, Daniele Salvatore & Bottaccioli, Lorenzo & Lanzini, Andrea, 2026. "Optimal sizing of variable renewable energy systems using two-stage stochastic programming: A comparative analysis with the deterministic approach," Renewable Energy, Elsevier, vol. 258(C).
  • Handle: RePEc:eee:renene:v:258:y:2026:i:c:s0960148125026345
    DOI: 10.1016/j.renene.2025.124970
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.renene.2025.124970?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

    for a different version of it.

    References listed on IDEAS

    as
    1. De Bettin, F. & Minuto, F.D. & Schiera, D.S. & Lanzini, A., 2025. "Evaluating uncertainty of shared energy in solar energy communities using a stochastic simulation framework," Renewable Energy, Elsevier, vol. 243(C).
    2. Thomas T. D. Tran & Amanda D. Smith, 2019. "Stochastic Optimization for Integration of Renewable Energy Technologies in District Energy Systems for Cost-Effective Use," Energies, MDPI, vol. 12(3), pages 1-26, February.
    3. Zhang, Zhihui & Jing, Rui & Lin, Jian & Wang, Xiaonan & van Dam, Koen H. & Wang, Meng & Meng, Chao & Xie, Shan & Zhao, Yingru, 2020. "Combining agent-based residential demand modeling with design optimization for integrated energy systems planning and operation," Applied Energy, Elsevier, vol. 263(C).
    4. Amir, Vahid & Azimian, Mahdi, 2020. "Dynamic Multi-Carrier Microgrid Deployment Under Uncertainty," Applied Energy, Elsevier, vol. 260(C).
    5. 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).
    6. Kocaman, Ayse Selin & Ozyoruk, Emin & Taneja, Shantanu & Modi, Vijay, 2020. "A stochastic framework to evaluate the impact of agricultural load flexibility on the sizing of renewable energy systems," Renewable Energy, Elsevier, vol. 152(C), pages 1067-1078.
    7. Zakaria, A. & Ismail, Firas B. & Lipu, M.S. Hossain & Hannan, M.A., 2020. "Uncertainty models for stochastic optimization in renewable energy applications," Renewable Energy, Elsevier, vol. 145(C), pages 1543-1571.
    8. Keyvandarian, Ali & Saif, Ahmed, 2023. "Optimal sizing of a reliability-constrained, stand-alone hybrid renewable energy system using robust satisficing," Renewable Energy, Elsevier, vol. 204(C), pages 569-579.
    9. Sharafi, Masoud & ElMekkawy, Tarek Y., 2015. "Stochastic optimization of hybrid renewable energy systems using sampling average method," Renewable and Sustainable Energy Reviews, Elsevier, vol. 52(C), pages 1668-1679.
    10. Eggimann, Sven & Usher, Will & Eyre, Nick & Hall, Jim W., 2020. "How weather affects energy demand variability in the transition towards sustainable heating," Energy, Elsevier, vol. 195(C).
    11. Liu, Yang & Han, Liyan & Xu, Yang, 2021. "The impact of geopolitical uncertainty on energy volatility," International Review of Financial Analysis, Elsevier, vol. 75(C).
    12. Mavromatidis, Georgios & Orehounig, Kristina & Carmeliet, Jan, 2018. "A review of uncertainty characterisation approaches for the optimal design of distributed energy systems," Renewable and Sustainable Energy Reviews, Elsevier, vol. 88(C), pages 258-277.
    13. Niu, Jide & Li, Xiaoyuan & Tian, Zhe & Yang, Hongxing, 2023. "A framework for quantifying the value of information to mitigate risk in the optimal design of distributed energy systems under uncertainty," Applied Energy, Elsevier, vol. 350(C).
    14. Balasubramanian, S. & Balachandra, P., 2021. "Effectiveness of demand response in achieving supply-demand matching in a renewables dominated electricity system: A modelling approach," Renewable and Sustainable Energy Reviews, Elsevier, vol. 147(C).
    15. Zhou, Zhe & Zhang, Jianyun & Liu, Pei & Li, Zheng & Georgiadis, Michael C. & Pistikopoulos, Efstratios N., 2013. "A two-stage stochastic programming model for the optimal design of distributed energy systems," Applied Energy, Elsevier, vol. 103(C), pages 135-144.
    16. Sinsel, Simon R. & Riemke, Rhea L. & Hoffmann, Volker H., 2020. "Challenges and solution technologies for the integration of variable renewable energy sources—a review," Renewable Energy, Elsevier, vol. 145(C), pages 2271-2285.
    17. Mavromatidis, Georgios & Orehounig, Kristina & Carmeliet, Jan, 2018. "Design of distributed energy systems under uncertainty: A two-stage stochastic programming approach," Applied Energy, Elsevier, vol. 222(C), pages 932-950.
    18. Mansouri, Seyed Amir & Ahmarinejad, Amir & Javadi, Mohammad Sadegh & Catalão, João P.S., 2020. "Two-stage stochastic framework for energy hubs planning considering demand response programs," Energy, Elsevier, vol. 206(C).
    19. Lund, Peter D. & Lindgren, Juuso & Mikkola, Jani & Salpakari, Jyri, 2015. "Review of energy system flexibility measures to enable high levels of variable renewable electricity," Renewable and Sustainable Energy Reviews, Elsevier, vol. 45(C), pages 785-807.
    20. Yu, Jiah & Ryu, Jun-Hyung & Lee, In-beum, 2019. "A stochastic optimization approach to the design and operation planning of a hybrid renewable energy system," Applied Energy, Elsevier, vol. 247(C), pages 212-220.
    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. Li, Xiaoyuan & Tian, Zhe & Feng, Wei & Zhen, Cheng & Lu, Yakai & Niu, Jide, 2025. "Stochastic peak shaving scenario generation for grid-friendly building energy system design," Energy, Elsevier, vol. 324(C).
    2. Niu, Jide & Li, Xiaoyuan & Tian, Zhe & Yang, Hongxing, 2023. "A framework for quantifying the value of information to mitigate risk in the optimal design of distributed energy systems under uncertainty," Applied Energy, Elsevier, vol. 350(C).
    3. Ghaemi, Zahra & Tran, Thomas T.D. & Smith, Amanda D., 2022. "Comparing classical and metaheuristic methods to optimize multi-objective operation planning of district energy systems considering uncertainties," Applied Energy, Elsevier, vol. 321(C).
    4. Bohlayer, Markus & Bürger, Adrian & Fleschutz, Markus & Braun, Marco & Zöttl, Gregor, 2021. "Multi-period investment pathways - Modeling approaches to design distributed energy systems under uncertainty," Applied Energy, Elsevier, vol. 285(C).
    5. De Bettin, F. & Minuto, F.D. & Schiera, D.S. & Lanzini, A., 2025. "Evaluating uncertainty of shared energy in solar energy communities using a stochastic simulation framework," Renewable Energy, Elsevier, vol. 243(C).
    6. Zhang, Jiyuan & Tang, Hailong & Chen, Min, 2019. "Linear substitute model-based uncertainty analysis of complicated non-linear energy system performance (case study of an adaptive cycle engine)," Applied Energy, Elsevier, vol. 249(C), pages 87-108.
    7. Àlex Alonso-Travesset & Diederik Coppitters & Helena Martín & Jordi de la Hoz, 2023. "Economic and Regulatory Uncertainty in Renewable Energy System Design: A Review," Energies, MDPI, vol. 16(2), pages 1-30, January.
    8. Perera, A.T.D. & Khayatian, F. & Eggimann, S. & Orehounig, K. & Halgamuge, Saman, 2022. "Quantifying the climate and human-system-driven uncertainties in energy planning by using GANs," Applied Energy, Elsevier, vol. 328(C).
    9. Li, Ke & Yang, Fan & Wang, Lupan & Yan, Yi & Wang, Haiyang & Zhang, Chenghui, 2022. "A scenario-based two-stage stochastic optimization approach for multi-energy microgrids," Applied Energy, Elsevier, vol. 322(C).
    10. Niu, Jide & Tian, Zhe & Lu, Yakai & Zhao, Hongfang & Lan, Bo, 2019. "A robust optimization model for designing the building cooling source under cooling load uncertainty," Applied Energy, Elsevier, vol. 241(C), pages 390-403.
    11. Jie Zhu & Buxiang Zhou & Yiwei Qiu & Tianlei Zang & Yi Zhou & Shi Chen & Ningyi Dai & Huan Luo, 2023. "Survey on Modeling of Temporally and Spatially Interdependent Uncertainties in Renewable Power Systems," Energies, MDPI, vol. 16(16), pages 1-19, August.
    12. Wang, Meng & Yu, Hang & Lin, Xiaoyu & Jing, Rui & He, Fangjun & Li, Chaoen, 2020. "Comparing stochastic programming with posteriori approach for multi-objective optimization of distributed energy systems under uncertainty," Energy, Elsevier, vol. 210(C).
    13. Volpato, Gabriele & Carraro, Gianluca & De Giovanni, Luigi & Dal Cin, Enrico & Danieli, Piero & Bregolin, Edoardo & Lazzaretto, Andrea, 2024. "A stochastic optimization procedure to design the fair aggregation of energy users in a Renewable Energy Community," Renewable Energy, Elsevier, vol. 237(PA).
    14. Mavromatidis, Georgios & Orehounig, Kristina & Carmeliet, Jan, 2018. "Design of distributed energy systems under uncertainty: A two-stage stochastic programming approach," Applied Energy, Elsevier, vol. 222(C), pages 932-950.
    15. Petkov, Ivalin & Gabrielli, Paolo, 2020. "Power-to-hydrogen as seasonal energy storage: an uncertainty analysis for optimal design of low-carbon multi-energy systems," Applied Energy, Elsevier, vol. 274(C).
    16. Gabrielli, Paolo & Fürer, Florian & Mavromatidis, Georgios & Mazzotti, Marco, 2019. "Robust and optimal design of multi-energy systems with seasonal storage through uncertainty analysis," Applied Energy, Elsevier, vol. 238(C), pages 1192-1210.
    17. Li, Xiaoyuan & Tian, Zhe & Wu, Xia & Feng, Wei & Niu, Jide, 2024. "Optimal planning for hybrid renewable energy systems under limited information based on uncertainty quantification," Renewable Energy, Elsevier, vol. 237(PD).
    18. Kim, Sunwoo & Choi, Yechan & Park, Joungho & Adams, Derrick & Heo, Seongmin & Lee, Jay H., 2024. "Multi-period, multi-timescale stochastic optimization model for simultaneous capacity investment and energy management decisions for hybrid Micro-Grids with green hydrogen production under uncertainty," Renewable and Sustainable Energy Reviews, Elsevier, vol. 190(PA).
    19. Guo, Yurun & Wang, Shugang & Wang, Jihong & Zhang, Tengfei & Ma, Zhenjun & Jiang, Shuang, 2024. "Key district heating technologies for building energy flexibility: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 189(PB).
    20. Bruno Cárdenas & Lawrie Swinfen-Styles & James Rouse & Seamus D. Garvey, 2021. "Short-, Medium-, and Long-Duration Energy Storage in a 100% Renewable Electricity Grid: A UK Case Study," Energies, MDPI, vol. 14(24), pages 1-28, December.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:renene:v:258:y:2026:i:c:s0960148125026345. 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.journals.elsevier.com/renewable-energy .

    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.