Abstract
Hydrogen electrolyzers can serve as grid-forming load, help integrating variable renewable energy sources into the power grids by providing essential support during grid fluctuations. Existing literature has focused on isolated proton exchange membrane (PEM) electrolyzer models and, to some extent, grid-connected setups using electromagnetic transient (EMT) model. Phasor models are computationally efficient, ideal for largescale power system studies, significantly reduce simulation times compared to EMT models. This paper proposes a comprehensive model of a grid-connected PEM hydrogen electrolyzer including the DC side electrochemical and electrical behavior of the electrolyzer and AC side phasor model and droop control of inverter simultaneously. Electrochemical dynamics of the DC side is modeled in detail including the operational constraints and DC link voltage control. An aggregated converter model consists of 220 droop-controlled modules each having 500 kVA rating is used for grid connection of the electrolyzer in Kundur's Two-Area Four-Machine Test System. This paper also studies the impact of grid-forming services and grid disturbances on the electrolyzer's physical features such as hydrogen stack voltage, temperature, and efficiency