Hydrogen fuel cells for green shipping: A machine learning-based power prediction framework

Thuy Hien Tran1,  Thanh Hieu Chau2,  Duc Chuan Nguyen2

1 Aulac Corporation, Ho Chi Minh city, Viet Nam

2 Institute of Maritime, University of Transport Ho Chi Minh City, Ho Chi Minh City, Viet Nam

DOI:

https://doi.org/10.61435/jese.2027.e78

Keywords:

Hydrogen fuel cells, Green shipping, Maritime electrification, XGBoost, Machine learning, SHAP, Power prediction

Abstract

Hydrogen fuel cells offer a promising route toward low-emission maritime electrification, but reliable prediction of electrical power is essential for their integration into shipboard energy-management systems. This study develops a compact, explainable machine-learning framework using 119 observations from a publicly available stationary hydrogen fuel-cell installation. Ambient, fuel-cell gas, and coolant outlet temperatures; power-generation and consumption setpoints; auxiliary consumption; and operating status were used to predict power supplied to the grid. Linear regression (LR) and Extreme Gradient Boosting (XGBoost) were evaluated using a chronological 80:20 training–testing split, with parity plots, residual diagnostics, and SHapley Additive exPlanations (SHAP) supporting model assessment. LR fitted the training observations closely (R² = 0.9960) but failed to generalize to testing data (R² = -33.8364; RMSE = 65.651). In contrast, XGBoost achieved consistent training and testing performance (R² = 0.9740 and 0.9770, respectively), with a testing RMSE of 1.687 and MAE of 1.273. SHAP identified auxiliary consumption (mean absolute SHAP = 9.82) and the power-consumption setpoint (2.45) as dominant predictive features. The analysis addresses grid-delivered power rather than propulsion demand or directly measured hydrogen utilization. The findings demonstrate the value of interpretable nonlinear regression for fuel-cell power prediction and offer a methodological foundation for future maritime applications.

References

Alasadi, S. A., & Bhaya, W. S. (2017). Review of data preprocessing techniques in data mining. Journal of Engineering and Applied Sciences, 12(16). https://doi.org/10.3923/jeasci.2017.4102.4107

Amat Ventayol, A., Lam, J. S. L., Bai, X., & Chen, Z. S. (2025). Comparative life cycle assessment of hydrogen internal combustion engine and fuel cells in shipping. International Journal of Hydrogen Energy, 109. https://doi.org/10.1016/j.ijhydene.2025.02.150

Bora, B. J., & Sharma, P. (2026). Towards sustainable and explainable dual-fuel diesel engine modeling:a SHAP-Based evaluation of Ammonia, Biogas, and hydrogen combustion dynamics. Energy Conversion and Management, 351, 121014. https://doi.org/10.1016/j.enconman.2025.121014

Cavanini, L., Majecki, P., Grimble, M. J., & Van Der Molen, G. M. (2023). Energy Management Control of Hydrogen Fuel Cell Powered Ships. Proceedings of the American Control Conference, 2023-May. https://doi.org/10.23919/ACC55779.2023.10156221

Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 13-17-August-2016, 785–794. https://doi.org/10.1145/2939672.2939785

Coraddu, A., Tamburello, S., Löffler, C., Ceyhun, H. E., van Biert, L., & Oneto, L. (2025). State-of-Art Energy Management Strategies for Hybrid Fuel Cell Applications for Ships. In Fuel Cell and Hydrogen Technologies in Maritime Transportation. https://doi.org/10.1007/978-3-031-86110-9_6

Darmawan, H., Yuliana, M., & Hadi, M. Z. S. (2023). GRU and XGBoost Performance with Hyperparameter Tuning Using GridSearchCV and Bayesian Optimization on an IoT-Based Weather Prediction System. International Journal on Advanced Science, Engineering and Information Technology, 13(3). https://doi.org/10.18517/ijaseit.13.3.18377

Dzida, M., & Nguyen, L. H. (2026). A critical review of pathways, fuels, and challenges to achieving decarbonization strategies in the maritime sector. Journal of Transportation and Sustainable Technologies, 1(1). https://doi.org/10.55228/jtst.2026.110249

Golbabaei, M. H., Saeidi Varnoosfaderani, M., Zare, A., Salari, H., Hemmati, F., Abdoli, H., & Hamawandi, B. (2022). Performance Analysis of Anode-Supported Solid Oxide Fuel Cells: A Machine Learning Approach. Materials, 15(21). https://doi.org/10.3390/ma15217760

Hauke, J., & Kossowski, T. (2011). Comparison of Values of Pearson’s and Spearman’s Correlation Coefficients on the Same Sets of Data. QUAGEO, 30(2), 87–93. https://doi.org/10.2478/v10117-011-0021-1

Hoa, T. T. N., & Lien, M. H. (2025). Regional Balancing Strategy and Vietnam–Japan Maritime Security Cooperation in Shaping the Emerging Security Order in The South China Sea. Journal of Cultural Analysis and Social Change, 10(2). https://doi.org/10.64753/jcasc.v10i2.1712

IMO. (2023). 2023 IMO Strategy on Reduction Of GHG Emissions From Ships. Resolution MEPC.377(80). International Maritime Organisation. In IMO.

Inal, O. B. (2024). Decarbonization of shipping: Hydrogen and fuel cells legislation in the maritime industry. Brodogradnja, 75(2). https://doi.org/10.21278/brod75205

Klass, L., Kabza, A., Sehnke, F., Strecker, K., & Hölzle, M. (2023). Lifelong performance monitoring of PEM fuel cells using machine learning models. Journal of Power Sources, 580. https://doi.org/10.1016/j.jpowsour.2023.233308

Kumar, G., Punetha, D., & Pandey, S. K. (2025). Performance analysis of polymer electrolyte membrane fuel cells: Insights from sensor-based monitoring and machine learning. Journal of Power Sources, 659. https://doi.org/10.1016/j.jpowsour.2025.238337

Le, A. T., Pandey, A., Sirohi, R., Sharma, P., Chen, W.-H., Pham, N. D. K., Tran, V. D., Nguyen, X. P., & Hoang, A. T. (2023). Precise Prediction of Biochar Yield and Proximate Analysis by Modern Machine Learning and SHapley Additive exPlanations. Energy & Fuels, 37(22), 17310–17327. https://doi.org/10.1021/acs.energyfuels.3c02868

Lee, H., Jung, I., Roh, G., Na, Y., & Kang, H. (2020). Comparative analysis of on-board methane and methanol reforming systems combined with HT-PEM fuel cell and CO2 capture/liquefaction system for hydrogen fueled ship application. Energies, 13(1). https://doi.org/10.3390/en13010224

Malvoni, M., De Giorgi, M. G., & Congedo, P. M. (2017). Forecasting of PV Power Generation using weather input data-preprocessing techniques. Energy Procedia, 126. https://doi.org/10.1016/j.egypro.2017.08.293

Mokhtari, K. El, Higdon, B. P., & Basar, A. (2020). Interpreting financial time series with SHAP values. CASCON 2019 Proceedings - Conference of the Centre for Advanced Studies on Collaborative Research - Proceedings of the 29th Annual International Conference on Computer Science and Software Engineering.

Nguyen, M. D., Nguyen, P. Q. P., Luong Ha, C. Q., Dinh, X. M., Cao, V. S., & Dat Do, H. (2025). Development of Intelligent Marine Logistics Models Using Machine Learning. JOIV : International Journal on Informatics Visualization, 9(1), 72. https://doi.org/10.62527/joiv.9.1.3666

Pak, S. Il, & Oh, T. H. (2010). Correlation and simple linear regression. Journal of Veterinary Clinics, 27(4). https://doi.org/10.1007/978-3-319-89993-0_6

Pandit, P., Dey, P., & Krishnamurthy, K. N. (2021). Comparative Assessment of Multiple Linear Regression and Fuzzy Linear Regression Models. SN Computer Science, 2(2). https://doi.org/10.1007/s42979-021-00473-3

Panja, T., & Meharia, P. (2024). Enhancing Microbial Fuel Cell Performance Prediction and IoT Integration Using Machine Learning and Renewable Energy. Journal of Strategic Innovation and Sustainability, 19(1). https://doi.org/10.33423/jsis.v19i1.6787

Penga, J., Vidović, T., Radica, G., & Penga, Ž. (2024). Analysis of Hybrid Ship Machinery System with Proton Exchange Membrane Fuel Cells and Battery Pack. Applied Sciences (Switzerland), 14(7). https://doi.org/10.3390/app14072878

Phan, Q. T., Wu, Y. K., & Phan, Q. D. (2021). A hybrid wind power forecasting model with xgboost, data preprocessing considering different nwps. Applied Sciences (Switzerland), 11(3). https://doi.org/10.3390/app11031100

Serbin, S., Burunsuz, K., Chen, D., & Kowalski, J. (2022). Investigation of the Characteristics of a Low-Emission Gas Turbine Combustion Chamber Operating on a Mixture of Natural Gas and Hydrogen. Polish Maritime Research, 29(2). https://doi.org/10.2478/pomr-2022-0018

Shrote, A. B., Kiran Kumar, K., Kaur, C., Al Ansari, M. S., Singh, P., Hazela, B., & Madhu, G. C. (2024). Monitoring of operational conditions of fuel cells by using machine learning. EAI Endorsed Transactions on Internet of Things, 10. https://doi.org/10.4108/eetiot.5377

SINTEF (Norway). (2024). HAEOLUS Project Fuel Cell Data. In Hydrogen-Aeolic Energy with Optimised eLectrolysers Upstream of Substation (HAEOLUS) project. Zenodo .

Su, D., Zheng, J., Ma, J., Dong, Z., Chen, Z., & Qin, Y. (2023). Application of Machine Learning in Fuel Cell Research. In Energies (Vol. 16, Number 11). https://doi.org/10.3390/en16114390

Suherman, A. F., Lisnaeni, P. P., Izqiatullailiyah, S. A., Herlinawati, T., & Ahman. (2025). A Comparative Analysis of Spearman and Pearson Correlation Using SPSS. OPTIMA: Journal of Guidance and Counseling, 5(1).

Szemer, M., Buchaniec, S., Prokop, T., & Brus, G. (2025). Topology-informed machine learning for efficient prediction of solid oxide fuel cell electrode polarization. Energy and AI, 20, 100495. https://doi.org/10.1016/j.egyai.2025.100495

Wang, Y., Seo, B., Wang, B., Zamel, N., Jiao, K., & Adroher, X. C. (2020). Fundamentals, materials, and machine learning of polymer electrolyte membrane fuel cell technology. In Energy and AI (Vol. 1). https://doi.org/10.1016/j.egyai.2020.100014

Xie, P., Asgharian, H., Guerrero, J. M., Vasquez, J. C., Araya, S. S., & Liso, V. (2024). A two-layer energy management system for a hybrid electrical passenger ship with multi-PEM fuel cell stack. International Journal of Hydrogen Energy, 50. https://doi.org/10.1016/j.ijhydene.2023.09.297

Yang, K., Liu, J., Wang, Y., Shi, X., Wang, J., Lu, Q., Ciucci, F., & Yang, Z. (2022). Machine-learning-assisted prediction of long-term performance degradation on solid oxide fuel cell cathodes induced by chromium poisoning. Journal of Materials Chemistry A, 10(44), 23683–23690. https://doi.org/10.1039/D2TA03944C

Ye, M., Sharp, P., Brandon, N., & Kucernak, A. (2022). System-level comparison of ammonia, compressed and liquid hydrogen as fuels for polymer electrolyte fuel cell powered shipping. International Journal of Hydrogen Energy, 47(13). https://doi.org/10.1016/j.ijhydene.2021.12.164

Downloads

Submitted

2026-10-29

Published

2026-10-29

How to Cite

Tran, T. H., Chau, T. H., & Nguyen, D. C. (2026). Hydrogen fuel cells for green shipping: A machine learning-based power prediction framework. Journal of Emerging Science and Engineering, 5(1), e78. https://doi.org/10.61435/jese.2027.e78

Issue

Section

Articles

How to Cite

Tran, T. H., Chau, T. H., & Nguyen, D. C. (2026). Hydrogen fuel cells for green shipping: A machine learning-based power prediction framework. Journal of Emerging Science and Engineering, 5(1), e78. https://doi.org/10.61435/jese.2027.e78

Similar Articles

1-10 of 20

You may also start an advanced similarity search for this article.