Skip to main navigation Skip to search Skip to main content

Long short-term memory and metaheuristic algorithm- based deep learning model approach for forecasting green hydrogen production

  • Hanane Ait Lahoussine Ouali*
  • , Otman Abida*
  • , Mohamed Essalhi
  • , Ibrahim Moukhtar
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

7 Scopus citations

Abstract

This study proposes a hybrid forecasting framework that integrates Long Short-Term Memory (LSTM) networks, Kernel Principal Component Analysis (KPCA), and Particle Swarm Optimization (PSO) to predict green hydrogen production from High Concentration Photovoltaic (HCPV) systems coupled with PEM electrolyzers. The model is applied to hourly time-series data from several cities in southern Morocco. Extensive data preprocessing, feature extraction and selection, dimensionality reduction, and PSO-based hyperparameter tuning (hidden units, dropout rate, learning rate, and batch size) were performed to enhance hourly predictive performance. Findings show strong annual electricity and hydrogen outputs across the six sites, with Boujdour achieving the highest values (35.49 GWh and 736.7 t), followed by Smara and Laayoune. The LSTM-KPCA-PSO model outperforms the baseline LSTM, achieving lower RMSE and higher R2, particularly in Boujdour, where training RMSE decreased from 2.068 to 1.275 and testing RMSE from 7.173 to 6.278. Likewise, R2 increased from 0.9998 to 0.9999 during training and from 0.9972 to 0.9978 during testing.

Original languageEnglish
Article number152970
JournalInternational Journal of Hydrogen Energy
Volume202
DOIs
StatePublished - 21 Jan 2026
Externally publishedYes

Bibliographical note

Publisher Copyright:
© 2025 Hydrogen Energy Publications LLC

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 7 - Affordable and Clean Energy
    SDG 7 Affordable and Clean Energy

Keywords

  • Deep learning
  • Green hydrogen
  • High concentration photovoltaics
  • Kernel principal component analysis
  • Long short-term memory
  • Particle swarm optimization

ASJC Scopus subject areas

  • Renewable Energy, Sustainability and the Environment
  • Fuel Technology
  • Condensed Matter Physics
  • Energy Engineering and Power Technology

Fingerprint

Dive into the research topics of 'Long short-term memory and metaheuristic algorithm- based deep learning model approach for forecasting green hydrogen production'. Together they form a unique fingerprint.

Cite this