IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i3p543-d1576233.html
   My bibliography  Save this article

Machine Learning Prediction of Photovoltaic Hydrogen Production Capacity Using Long Short-Term Memory Model

Author

Listed:
  • Qian He

    (College of Engineering, Shandong Xiehe University, Jinan 250109, China)

  • Mingbin Zhao

    (State Key Laboratory of Fire Science, University of Science and Technology of China, Hefei 230027, China)

  • Shujie Li

    (Center for Hydrogen Energy, Shandong University, Jinan 250061, China)

  • Xuefang Li

    (Center for Hydrogen Energy, Shandong University, Jinan 250061, China)

  • Zuoxun Wang

    (College of Engineering, Shandong Xiehe University, Jinan 250109, China)

Abstract

The yield of photovoltaic hydrogen production systems is influenced by a number of factors, including weather conditions, the cleanliness of photovoltaic modules, and operational efficiency. Temporal variations in weather conditions have been shown to significantly impact the output of photovoltaic systems, thereby influencing hydrogen production. To address the inaccuracies in hydrogen production capacity predictions due to weather-related temporal variations in different regions, this study develops a method for predicting photovoltaic hydrogen production capacity using the long short-term memory (LSTM) neural network model. The proposed method integrates meteorological parameters, including temperature, wind speed, precipitation, and humidity into a neural network model to estimate the daily solar radiation intensity. This approach is then integrated with a photovoltaic hydrogen production prediction model to estimate the region’s hydrogen production capacity. To validate the accuracy and feasibility of this method, meteorological data from Lanzhou, China, from 2013 to 2022 were used to train the model and test its performance. The results show that the predicted hydrogen production agrees well with the actual values, with a low mean absolute percentage error (MAPE) and a high coefficient of determination (R 2 ). The predicted hydrogen production in winter has a MAPE of 0.55% and an R 2 of 0.985, while the predicted hydrogen production in summer has a slightly higher MAPE of 0.61% and a lower R 2 of 0.968, due to higher irradiance levels and weather fluctuations. The present model captures long-term dependencies in the time series data, significantly improving prediction accuracy compared to conventional methods. This approach offers a cost-effective and practical solution for predicting photovoltaic hydrogen production, demonstrating significant potential for the optimization of the operation of photovoltaic hydrogen production systems in diverse environments.

Suggested Citation

  • Qian He & Mingbin Zhao & Shujie Li & Xuefang Li & Zuoxun Wang, 2025. "Machine Learning Prediction of Photovoltaic Hydrogen Production Capacity Using Long Short-Term Memory Model," Energies, MDPI, vol. 18(3), pages 1-17, January.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:3:p:543-:d:1576233
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/3/543/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/3/543/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Akhter, Muhammad Naveed & Mekhilef, Saad & Mokhlis, Hazlie & Ali, Raza & Usama, Muhammad & Muhammad, Munir Azam & Khairuddin, Anis Salwa Mohd, 2022. "A hybrid deep learning method for an hour ahead power output forecasting of three different photovoltaic systems," Applied Energy, Elsevier, vol. 307(C).
    2. Cheng, Guishi & Luo, Ercheng & Zhao, Ying & Yang, Yihao & Chen, Binbin & Cai, Youcheng & Wang, Xiaoqiang & Dong, Changqing, 2023. "Analysis and prediction of green hydrogen production potential by photovoltaic-powered water electrolysis using machine learning in China," Energy, Elsevier, vol. 284(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. Xilong Lin & Yisen Niu & Zixuan Yan & Lianglin Zou & Ping Tang & Jifeng Song, 2024. "Hybrid Photovoltaic Output Forecasting Model with Temporal Convolutional Network Using Maximal Information Coefficient and White Shark Optimizer," Sustainability, MDPI, vol. 16(14), pages 1-20, July.
    2. Zheng, Xidong & Bai, Feifei & Zeng, Ziyang & Jin, Tao, 2024. "A new methodology to improve wind power prediction accuracy considering power quality disturbance dimension reduction and elimination," Energy, Elsevier, vol. 287(C).
    3. Jiahui Wang & Mingsheng Jia & Shishi Li & Kang Chen & Cheng Zhang & Xiuyu Song & Qianxi Zhang, 2024. "Short-Term Power-Generation Prediction of High Humidity Island Photovoltaic Power Station Based on a Deep Hybrid Model," Sustainability, MDPI, vol. 16(7), pages 1-24, March.
    4. Wang, Min & Rao, Congjun & Xiao, Xinping & Hu, Zhuo & Goh, Mark, 2024. "Efficient shrinkage temporal convolutional network model for photovoltaic power prediction," Energy, Elsevier, vol. 297(C).
    5. Ayiguzhali Tuluhong & Qingpu Chang & Lirong Xie & Zhisen Xu & Tengfei Song, 2024. "Current Status of Green Hydrogen Production Technology: A Review," Sustainability, MDPI, vol. 16(20), pages 1-47, October.
    6. Yang, Mao & Jiang, Yue & Zhang, Wei & Li, Yi & Su, Xin, 2024. "Short-term interval prediction strategy of photovoltaic power based on meteorological reconstruction with spatiotemporal correlation and multi-factor interval constraints," Renewable Energy, Elsevier, vol. 237(PC).
    7. Zhu, Jianhua & He, Yaoyao, 2025. "A novel hybrid model based on evolving multi-quantile long and short-term memory neural network for ultra-short-term probabilistic forecasting of photovoltaic power," Applied Energy, Elsevier, vol. 377(PC).
    8. Liu, Bingchun & Lai, Mingzhao & Wang, Yajie & Wang, Yibo & Chen, Jiali & Song, Chengyuan, 2024. "Assessment of green hydrogen production by volatile renewable energy under different SSPs scenarios in China," Renewable Energy, Elsevier, vol. 235(C).
    9. Xu, Guanxin & Wu, Yan & Tang, Shuo & Wang, Yufei & Yu, Xinhai & Ma, Mingyan, 2024. "Optimal design of hydrogen production processing coupling alkaline and proton exchange membrane electrolyzers," Energy, Elsevier, vol. 302(C).
    10. Yu, Hanxin & Chen, Shanlin & Chu, Yinghao & Li, Mengying & Ding, Yueming & Cui, Rongxi & Zhao, Xin, 2024. "Self-attention mechanism to enhance the generalizability of data-driven time-series prediction: A case study of intra-hour power forecasting of urban distributed photovoltaic systems," Applied Energy, Elsevier, vol. 374(C).
    11. Adam Krechowicz & Maria Krechowicz & Katarzyna Poczeta, 2022. "Machine Learning Approaches to Predict Electricity Production from Renewable Energy Sources," Energies, MDPI, vol. 15(23), pages 1-41, December.
    12. Putri Nor Liyana Mohamad Radzi & Muhammad Naveed Akhter & Saad Mekhilef & Noraisyah Mohamed Shah, 2023. "Review on the Application of Photovoltaic Forecasting Using Machine Learning for Very Short- to Long-Term Forecasting," Sustainability, MDPI, vol. 15(4), pages 1-21, February.
    13. Dae-Sung Lee & Sung-Yong Son, 2024. "Weighted Average Ensemble-Based PV Forecasting in a Limited Environment with Missing Data of PV Power," Sustainability, MDPI, vol. 16(10), pages 1-17, May.
    14. Jinfeng Wang & Wenshan Hu & Lingfeng Xuan & Feiwu He & Chaojie Zhong & Guowei Guo, 2024. "TransPVP: A Transformer-Based Method for Ultra-Short-Term Photovoltaic Power Forecasting," Energies, MDPI, vol. 17(17), pages 1-19, September.
    15. Xu, Jing & Liu, Zhiliang & Huang, Meng & Zhu, Weirui & Yang, Hua & Pan, Quanwen & Wang, Ruzhu & Ge, Tianshu, 2024. "Experimental analysis of a PEMFC-based CCP system integrated with adsorption chiller," Renewable Energy, Elsevier, vol. 237(PB).
    16. Michael, Neethu Elizabeth & Bansal, Ramesh C. & Ismail, Ali Ahmed Adam & Elnady, A. & Hasan, Shazia, 2024. "A cohesive structure of Bi-directional long-short-term memory (BiLSTM) -GRU for predicting hourly solar radiation," Renewable Energy, Elsevier, vol. 222(C).
    17. Miguel López Santos & Xela García-Santiago & Fernando Echevarría Camarero & Gonzalo Blázquez Gil & Pablo Carrasco Ortega, 2022. "Application of Temporal Fusion Transformer for Day-Ahead PV Power Forecasting," Energies, MDPI, vol. 15(14), pages 1-22, July.
    18. Xu, Boshi & Yang, Yang & Li, Jun & Ye, Dingding & Wang, Yang & Zhang, Liang & Zhu, Xun & Liao, Qiang, 2024. "A comprehensive study of parameters distribution in a short PEM water electrolyzer stack utilizing a full-scale multi-physics model," Energy, Elsevier, vol. 300(C).
    19. Yin, Linfei & Cao, Xinghui & Liu, Dongduan, 2023. "Weighted fully-connected regression networks for one-day-ahead hourly photovoltaic power forecasting," Applied Energy, Elsevier, vol. 332(C).
    20. Seyed Mohammad Shojaei & Reihaneh Aghamolaei & Mohammad Reza Ghaani, 2024. "Recent Advancements in Applying Machine Learning in Power-to-X Processes: A Literature Review," Sustainability, MDPI, vol. 16(21), pages 1-41, November.

    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:jeners:v:18:y:2025:i:3:p:543-:d:1576233. 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.