Deep-Learning-Based Time-Series Forecasting of Hydrogen Production in a Membraneless Alkaline Water Electrolyzer: A Comparative Analysis of LSTM and GRU Models
Source abstract
Abstract
Hydrogen production is gaining increasing importance as a key component of the transition toward carbon-neutral energy systems. In this study, the prediction of hydrogen generation in membraneless alkaline water electrolyzers (MAWEs) is investigated using deep-learning-based time-series modeling. A single-input modeling framework is adopted, where only the system current is used as the input variable. Experimental current signals obtained from long-duration tests conducted at electrolyte concentrations between 5 and 35 g KOH (7200 s per experiment) are employed as the model inputs, while mass-based hydrogen production (in grams) is used as the output variable. Two recurrent neural network architectures, namely Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU), are implemented, and their predictive performance is comparatively evaluated using RMSE, MAE, and R2 metrics. In addition to deep learning models, classical approaches including Linear Regression, ARIMA, and Naïve Forecast are also considered for comparison. The results show that both models are capable of accurately reproducing the hydrogen-production dynamics across the entire concentration range. In particular, the prediction accuracy improves notably at medium and high electrolyte concentrations, where the coefficient of determination (R2) approaches 0.98. The residual distributions remain narrow and symmetric around zero, indicating the absence of systematic estimation bias. The results also show that classical models can achieve comparable performance under stable operating conditions, while deep learning models provide advantages in capturing nonlinear and dynamic behavior. While LSTM and GRU exhibit comparable accuracy, each architecture provides complementary advantages under different operating conditions. These findings indicate that deep-learning-based time-series modeling constitutes a lightweight and reliable framework for prediction and control applications in MAWE systems. Overall, this study demonstrates the applicability of data-driven models for the dynamic characterization of membraneless water electrolysis.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Hybrid Renewable Energy Systems · Electrocatalysts for Energy Conversion · Integrated Energy Systems Optimization
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Electrical and Electronics Engineering, Batman University, 72100 Batman, Türkiye
Department of Computer Engineering, Bitlis Eren University, 13100 Bitlis, Türkiye
Department of Computer Science and Media Technology, Malmö University, 205 06 Malmö, Sweden
Sustainable Digitalisation Research Centre, Malmö University, 205 06 Malmö, Sweden
References (68)
Show source-provided references
1. Angelico, R., Giametta, F., Bianchi, B., and Catalano, P. (2025). Green Hydrogen for Energy Transition: A Critical Perspective. Energies, 18.10.3390/en18020404 ↗
2. Hydrogen energy systems: A critical review of technologies, applications, trends and challenges10.1016/j.rser.2021.111180 ↗
3. A comprehensive review on PEM water electrolysis10.1016/j.ijhydene.2013.01.151 ↗
4. An overview of water electrolysis technologies for green hydrogen production10.1016/j.egyr.2022.10.127 ↗
5. Hydrogen production by water electrolysis technologies: A review10.1016/j.rineng.2023.101426 ↗
6. A comprehensive review of recent advances in alkaline water electrolysis for hydrogen production10.1016/j.ijhydene.2024.07.428 ↗
7. Machine learning in proton exchange membrane water electrolysis—A knowledge-integrated framework10.1016/j.apenergy.2024.123550 ↗
8. Hydrogen Production from Water Electrolysis: Current Status and Future Trends10.1109/JPROC.2011.2156750 ↗
9. Membraneless water electrolysis enabled by flow and porous electrode design for bubble separation10.1016/j.cej.2025.163444 ↗
10. Machine learning in PEM water electrolysis: A study of hydrogen production and operating parameters10.1016/j.compchemeng.2024.108954 ↗
11. Babay, M.-A., Adar, M., Chebak, A., and Mabrouki, M. (2023). Dynamics of Gas Generation in Porous Electrode Alkaline Electrolysis Cells: An Investigation and Optimization Using Machine Learning. Energies, 16.10.3390/en16145365 ↗
12. Integrative CFD and AI/ML-based modeling for enhanced alkaline water electrolysis cell performance for hydrogen production10.1016/j.ijhydene.2024.08.184 ↗
13. Vedrtnam, A., Kalauni, K., and Pahwa, R. (2025). Water Electrolysis Technologies and Their Modeling Approaches: A Comprehensive Review. Eng, 6.10.3390/eng6040081 ↗
14. Dynamic modelling of an alkaline water electrolysis system and optimization of its operating parameters for hydrogen production10.1016/j.ijhydene.2022.12.130 ↗
15. Dynamic modeling and simulation of a proton exchange membrane electrolyzer for hydrogen production10.1016/j.ijhydene.2011.03.045 ↗
16. Dynamic modelling of a proton exchange membrane (PEM) electrolyzer10.1016/j.ijhydene.2005.04.001 ↗
17. Dynamic Modeling of a Pressurized Alkaline Water Electrolyzer: A Multiphysics Approach10.1109/TIA.2023.3247405 ↗
18. Automized parametrization of PEM and alkaline water electrolyzer polarisation curves10.1016/j.ijhydene.2022.07.085 ↗
19. Jiang, Y.-C., Dong, S.-M., Liang, Z., Wang, X.-L., Shi, L., Yan, B., and Zhao, T. (2024). Holistic Dynamic Modeling and Simulation of Alkaline Water Electrolysis Systems Based on Heat Current Method. Energies, 17.10.3390/en17236202 ↗
20. Bubble evolution dynamics in alkaline water electrolysis10.1016/j.esci.2024.100353 ↗
21. Davis, J.T. (2019). Membraneless Electrolyzers for Solar Fuels Production. [Ph.D. Thesis, Columbia University].
22. Merabet, N.H., and Kerboua, K. (2023). Dynamic Response of a Sono-Electrolyzer under PV Supply for Hydrogen Production: A Modelling Approach for the Kinetic and Energetic Assessment under Northern Algerian Meteorological Conditions. Eng. Proc., 56.10.3390/ASEC2023-15326 ↗
23. Hydrogen Production with a Simple and Scalable Membraneless Electrolyzer10.1149/2.0021611jes ↗
24. WhY shape matters: Hydrodynamics of a Y-shaped membraneless electrolyzer10.1016/j.cej.2025.160040 ↗
25. A membrane-free flow electrolyzer operating at high current density using earth-abundant catalysts for water splitting10.1038/s41467-021-24284-5 ↗
26. A review on machine learning applications in hydrogen energy systems10.1016/j.ijft.2025.101119 ↗
27. Deep learning models in Python for predicting hydrogen production: A comparative study10.1016/j.energy.2023.128088 ↗
28. Accurate prediction of green hydrogen production based on solid oxide electrolysis cell via soft computing algorithms10.1038/s41598-025-19316-9 ↗
29. Statistical and machine learning methods for modeling the next-generation PEM water electrolysis systems: Response surface methodology and artificial neural networks
30. Application of long short-term memory (LSTM) neural network based on deep learning for electricity energy consumption forecasting10.3906/elk-2011-14 ↗
31. Bouktif, S., Fiaz, A., Ouni, A., and Serhani, M. (2018). Optimal Deep Learning LSTM Model for Electric Load Forecasting using Feature Selection and Genetic Algorithm: Comparison with Machine Learning Approaches. Energies, 11.10.3390/en11071636 ↗
32. Gong, S., Chen, W., Jing, X., Wang, C., Pan, K., and Cai, H. (2024). Optimization of Hybrid Energy Systems Based on MPC-LSTM-KAN: A Case Study of a High-Altitude Wind Energy Work Umbrella Control System. Electronics, 13.10.3390/electronics13214241 ↗
33. Jeon, B.-K., and Kim, E.-J. (2021). LSTM-Based Model Predictive Control for Optimal Temperature Set-Point Planning. Sustainability, 13.10.3390/su13020894 ↗
34. The potential of combined robust model predictive control and deep learning in enhancing control performance and adaptability in energy systems10.1038/s41598-025-95636-0 ↗
35. Deep learning modeling in electricity load forecasting: Improved accuracy by combining DWT and LSTM10.1016/j.egyr.2024.08.070 ↗
36. Nikulins, A., Sudars, K., Edelmers, E., Namatevs, I., Ozols, K., Komasilovs, V., Zacepins, A., Kviesis, A., and Reinhardt, A. (2024). Deep Learning for Wind and Solar Energy Forecasting in Hydrogen Production. Energies, 17.10.3390/en17051053 ↗
37. Model predictive control of wave energy converters10.1016/j.oceaneng.2024.117430 ↗
38. Single-input machine learning for gas evolution in membraneless alkaline water electrolysis: A comparative study of five regressors10.1016/j.ijhydene.2025.152830 ↗
39. Fang, H., Li, T., and Xian, H. (2025). Comparative Analysis of Machine/Deep Learning Models for Single-Step and Multi-Step Forecasting in River Water Quality Time Series. Water, 17.10.3390/w17131866 ↗
40. Ay, A., Önal, K., Top, A., Haydaroğlu, C., Kılıç, H., and Yıldırım, Ö (2026). Comparative Deep Learning Models for Short-Term Wind Power Forecasting: A Real-World Case Study from Tokat Wind Farm, Türkiye. Symmetry, 18.10.3390/sym18010011 ↗
41. Hall, T., and Rasheed, K. (2025). A Survey of Machine Learning Methods for Time Series Prediction. Appl. Sci., 15.10.3390/app15115957 ↗
42. Explainable deep learning on multi-target time series forecasting: An air pollution use case10.1016/j.rineng.2024.103290 ↗
43. A comprehensive survey of deep learning for time series forecasting: Architectural diversity and open challenges10.1007/s10462-025-11223-9 ↗
44. Time-series forecasting with deep learning: A survey10.1098/rsta.2020.0209 ↗
45. Eloisa, R., Shurong, H., Nicole, L., Rezza, M., and Brownlee, J. (2018). Deep Learning for Time Series Forecasting Predict the Future with MLPs, CNNs and LSTMs in Python, Scientific Research Publishing. Available online: https://www.scirp.org/reference/referencespapers?referenceid=3784410&utm_source=chatgpt.com.
46. Hyndman, R.J., and Athanasopoulos, G. (2025, December 28). Forecasting: Principles and Practice. Available online: https://research.monash.edu/en/publications/forecasting-principles-and-practice-2/.
47. Survey:Time-series data preprocessing: A survey and an empirical analysis10.1016/j.jer.2024.02.018 ↗
48. John, D., Binnewies, S., and Stantic, B. (2025). Dynamic Optimisation of Window Sizes for Enhanced Time-Series Forecasting. Preprints, 202501.1424.10.20944/preprints202501.1424.v1 ↗
49. Prajapati, J.I., and Das, R. (2025). Sliding Window-Based Randomized K-Fold Dynamic ANN for Next-Day Stock Trend Forecasting. Computation, 13.10.3390/computation13060141 ↗
50. Gulbrandsen, E. (Res. Sq., 2025). Quantification of hydrogen evolution in corrosion testing by buoyancy measurements, Res. Sq., in review.10.21203/rs.3.rs-5726344/v1 ↗
51. Hydrogen generation through metal waste corrosion: A systematic investigation on old/post-consumer scrap Al6063-series alloy10.1007/s40243-024-00287-2 ↗
52. Feasibility of Using an Electrolysis Cell for Quantification of the Electrolytic Products of Water from Gravimetric Measurement10.1155/2018/2681796 ↗
53. Electricity load forecasting models based on LSTM and GRU with their bidirectional recurrent neural networks10.28948/ngumuh.1605395 ↗
54. Application of LSTM-GRU combined model to calculate the reliability of software systems10.1016/j.procs.2024.12.014 ↗
55. Wang, Y., Wu, H., Liu, J., Liang, Y., Long, M., Wang, J., and Yu, P.S. (2025). Deep Time Series Models: A Comprehensive Survey and Benchmark. arXiv.
56. Performance analysis of neural network architectures for time series forecasting: A comparative study of RNN, LSTM, GRU, and hybrid models10.1016/j.mex.2025.103462 ↗
57. Kim, T.-Y., Yun, H.-S., Yoon, H.-M., and Lee, S.-J. (2025). Comparative Analysis and Validation of LSTM and GRU Models for Predicting Annual Mean Sea Level in the East Sea: A Case Study of Ulleungdo Island. Appl. Sci., 15.10.3390/app152011067 ↗
58. Application of LSTM and GRU Neural Networks in Forecasting the Power Output of Wind Power Plant10.37391/ijeer.130208 ↗
59. Kingma, D.P., and Ba, J. (2017). Adam: A Method for Stochastic Optimization. arXiv.
60. Moschitti, A., Pang, B., and Daelemans, W. (2014). Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Association for Computational Linguistics.10.3115/v1/D14-1 ↗
61. Chung, J., Gulcehre, C., Cho, K., and Bengio, Y. (2014). Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling. arXiv.
62. To Explain or to Predict?10.1214/10-STS330 ↗
63. Statistics versus machine learning10.1038/nmeth.4642 ↗
64. Time series forecasting using a hybrid ARIMA and neural network model10.1016/S0925-2312(01)00702-0 ↗
65. A novel hybridization of artificial neural networks and ARIMA models for time series forecasting10.1016/j.asoc.2010.10.015 ↗
66. The M4 Competition: Results, findings, conclusion and way forward10.1016/j.ijforecast.2018.06.001 ↗
67. Recurrent neural networks for time series forecasting: Current status and future directions10.1016/j.ijforecast.2020.06.008 ↗
68. Sezgin, F.H., Algorabi, Ö., Sart, G., and Güler, M. (2025). Hyperparameter-Optimized RNN, LSTM, and GRU Models for Airline Stock Price Prediction: A Comparative Study on THYAO and PGSUS. Symmetry, 17.10.3390/sym17111905 ↗