cs.LGMay 18, 2026

Performance Monitoring of Proton Exchange Membrane Water Electrolyzer by Transformers-Based Machine Learning Model

Authors: Bingqing ChenIvan BatalovQiu ChenWeiqi JiLei Cheng

Abstract

Green hydrogen plays an essential role in decarbonization, with capacity projected to scale to 560 GW by 2030 (vs. 1.39 GW in 2023) in net-zero settings. Proton exchange membrane (PEM) electrolysis is one of the most promising technology routes to green hydrogen production, and real-time system health monitoring of PEM electrolyzers is essential for their scalable deployment. In lab settings, performance degradation can be characterized through electrochemical testing protocols by periodic pauses of normal operation. Such interruption is not practical for full-scale stack deployments, limiting system operators' ability to make real-time assessments of state-of-health (SoH). We present a machine learning (ML) framework that performs virtual electrochemical characterization during normal operation. The method uses an encoder-decoder transformer, conditioned on operational data, to reconstruct characterization outputs, focusing here on polarization curves. Inspired by patch-based sequence tokenization, we segment the inputs into patches and encode them to form meaningful tokens, which substantially improves learning efficiency. Across four longitudinal runs, lasting up to 478 hours on different test cells and loading cycles, the model accurately reconstructed polarization curves and achieved 10x reduction in mean squared error (MSE) compared to a vanilla transformer. This proof-of-concept demonstrates that ML models can enable continuous performance monitoring for PEM electrolyzers and that the encoder captures meaningful latent representations of SoH, opening up opportunities to derive interpretable indicators in future work.

Explore similar work

Jun 12, 2026cs.LG

A Statistical and Machine Learning Framework for Operational Threshold Detection and Deployable Dispatch Controller Development in Hydrogen Multi-Energy Systems

This study presents a statistical and machine learning framework for characterizing a hydrogen-based multi-energy system (H-MES) using one year of high-resolution operational data. Statistical analysis revealed a binary operation driven by renewable surplus, with solar irradiance explaining 45.7% of rank-based variance in hydrogen production, a large effect by conventional standards. Only high-irradiance periods triggered meaningful electrolyzer engagement, while electricity demand exerted a weaker inverse suppression effect (ε2=0.126ε^2 = 0.126). Multiple regression confirmed electrolyzer power as the dominant linear predictor, with a synergistic solar-wind interaction. Notably, Random Forest analysis ranked wind output first in predictive importance despite its weak bivariate correlation (r = 0.167), revealing non-linear dynamics invisible to parametric methods. A sequence model exploited strong 24-hour autocorrelation (r = 0.845) for operational forecasting, while a reinforcement learning agent optimized hydrogen revenue dispatch. The core contribution is demonstrating that statistical and machine learning approaches are complementary for H-MES modeling and control.
Shadi Heenatigala, Hasanika Samarasinghe
Nov 8, 2025cs.LG

Hard-constraint physics-residual networks for hydrogen crossover prediction and high-pressure extrapolation in PEM water electrolysis

Hydrogen crossover is a critical safety and efficiency constraint in high-pressure polymer electrolyte membrane water electrolysis (PEMWE), but accurate prediction remains difficult because data are limited, transport physics are strongly coupled, and industrial operation requires reliable extrapolation beyond observed conditions. This study develops a hard-constraint physics-residual network (PR-Net) for hydrogen crossover prediction in PEMWE and compares it with a purely data-driven neural network (NN) and a soft-constraint physics-informed neural network (PINN). PR-Net embeds Henry's, Fick's, and Faraday's laws as a deterministic backbone and learns only a residual correction for unmodelled nonlinear effects. The benchmark includes 184 observations from eight peer-reviewed sources across six membrane types, covering 1-200 bar, 2585°C25-85°C, and 0.055.0Acm20.05-5.0 A cm^{-2}. PR-Net achieves R2=99.57±0.16R^2 = 99.57 \pm 0.16%, with 9-fold lower prediction variability than NN and PINN. In pressure-axis extrapolation, PR-Net attains R2=94.02±0.92R^2 = 94.02 \pm 0.92% at 200 bar, 2.5 times beyond the training pressure range, compared with 68.06±5.5268.06 \pm 5.52% for PINN and 58.00±8.6058.00 \pm 8.60% for NN (p < 0.001). Residual analysis indicates that the learned correction captures part of the high-pressure gas-phase non-ideality and recovers a transport-regime transition near 0.23Acm20.23 A cm^{-2} between Fickian diffusion-dominated and Faradaic production-dominated transport. With a computation time of 1.08±0.34ms1.08 \pm 0.34 ms on low-power embedded hardware, PR-Net provides a practical framework for real-time crossover monitoring, adaptive process control, and safer high-pressure green-hydrogen operation.
Yong-Woon Kim, Jihyeok Lee, Chulung Kang +1
Aug 13, 2026stat.AP

Physics-informed distribution of relaxation times estimation and latent-space condition monitoring of solid oxide fuel and electrolysis cells from electrochemical impedance spectroscopy

Estimating the distribution of relaxation times (DRT) fromelectrochemical impedance spectroscopy (EIS) is an ill-posed inverse problem that is highly sensitive to regularisation choices. We propose a physics-informed convolutional autoencoder that estimates DRT directly from EIS data without spectrum-specific tuning. A discretised relation between impedance and the DRT is embedded in the training process, constraining the network to produce impedance-consistent distributions. The model resolves overlapping relaxation processes in synthetic two-ZARC spectra and accurately reconstructs measurements from three independent solid oxide fuel and electrolysis cell datasets, with range-normalised errors below 1.1%. Decoder-probe analysis shows that the learned latent representation is organised according to relaxation timescale. Distances in this latent space capture operating changes, hydrogen-shortage events, and long-term degradation. The same lightweight architecture is applied across all datasets without modification, providing consistent DRT estimation and an interpretable basis for condition monitoring.
Žan Gorenc, Žiga Gradišar, Felix Mütter +2