Identification of Equivalent Circuit Parameters for Proton Exchange Membrane (PEM) Electrolyzer Engineering Models
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.1109/access.2024.3358456
- 저널
- IEEE Access
- 발행년도
- 2024
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 11
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/access.2024.3358456
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W4391216323
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (6) PEM(고분자전해질막)
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- Proton Exchange Membrane (PEM) Electrolyzer, equivalent circuit model, parameter identification, heat losses, Nafion
- 판단 근거
- 이 논문은 수전해 장치(PEM Electrolyzer)의 성능 예측을 위한 등가 회로 모델링 및 파라미터 식별 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 사업과 직접적인 제품군은 다르나, 핵심 소재인 Nafion(PEM)의 거동 분석 및 시스템 모델링 원리가 상호 연관됩니다.
- R&D 활용 포인트
- PEM 수전해 및 연료전지 시스템의 열 손실 및 전기적 특성 모델링 기법을 활용하여, 연료전지용 막(Membrane) 및 MEA의 운전 상태 예측 및 제어 알고리즘 고도화에 적용 가능합니다.
- 평가 입력
- 본문 98,589자 중 30,032자 발췌
초록
본문 98,589자
본문 펼치기
섹션 본문 125문단 · 51,887자
(제목 없음)
1This paper addresses the problem of underestimated temperature measurements in practical proton exchange membrane (PEM) electrolyzer engineering due to heat losses by enhancing the existing second-order RC equivalent circuit model of PEM electrolyzers.We present a novel engineering circuit model for PEM electrolyzers, incorporating the effects of heat losses from gases and pipelines.The objective is to enhance the model's ability to predict electrolyzer performance and align control strategies with the realities of engineering practice.However, the PEM electrolyzer model is complex, being time-varying and nonlinear due to multi-physics field coupling.The parameters of the equivalent circuit are changed by the electrical energy input and its own state.To tackle the problem of parameter variation, firstly, a recursive identification algorithm is employed to estimate the internal equivalent circuit parameters of the engineering model.Then, the additional resistance is fitted according to the relationship between heat loss and current to complete the engineering circuit model identification.Finally, using MATLAB to construct an engineering model and validate the effectiveness of the proposed identification algorithm.INDEX TERMS Proton exchange membrane (PEM), engineering circuit mode, parameter identification, recursive identification algorithm, curve fitting, system simulation.Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.
I. INTRODUCTION
2Due to the increasing demand for global energy supply and the growing significance of environmental and climate issues, green, low-carbon, and sustainable development has gained worldwide prominence.Hydrogen, owing to its environmental friendliness, high energy density, and wide range of sources, is regarded as a promising energy source [1].Hydrogen production methods include fossil fuel-based production, industrial byproduct utilization, and water electrolysis.Among these methods, water electrolysis stands out as the cleanest.As the installed capacity of renewable energy continues to rise, the integration of renewable energy and electrolysis technology is set to emerge as the predominant
3The associate editor coordinating the review of this manuscript and approving it for publication was Behnam Mohammadi-Ivatloo.approach for producing green hydrogen in the future [2].Water electrolysis technology encompasses various techniques: alkaline electrolysis (AEL), proton exchange membrane electrolysis (PEM), solid oxide electrolysis (SOEC), and anion exchange membrane electrolysis (AEM).Among these, PEM electrolysis technology features high power density, exceptional electrolysis efficiency, superior hydrogen purity, rapid system response, and great flexibility.It is well-suited to accommodate the intermittent, stochastic, and fluctuating nature of renewable energy generation.As a result, PEM electrolysis has garnered extensive attention in both the research and industrial sectors [3], [4].Nafion excels as a Proton Exchange Membrane (PEM), enhancing PEM electrolysis cell performance with superior proton conductivity, chemical stability, mechanical flexibility, water management capabilities, and widespread commercial availability [5].
4Developing an accurate model for a PEM electrolyzer is crucial for researchers to investigate and analyze significant issues such as design, control, evaluation, and more under different operating conditions.Atlam utilized experimental data to construct a PEM electrolyzer circuit model, deducing the relationship between input electrical energy and hydrogen production rate [6].Damien Guilbert extending from steadystate circuitry, considered abrupt changes in current and employed least-square regression algorithms to fit capacitance and resistance parameters, resulting in a dynamic circuit model [7].Jian Dang constructed a transient model for the PEM electrolyzer using differential equations and equivalent activation overpotential [8].Ángel Hernández-Gómez further optimized the differential equations for cathode and anode activation overpotentials, forming a static-dynamic adaptive model [9].Although the models developed by literatures [6], [7], [8], and [9], effectively capture the I-V relationship of the PEM electrolyzer, they do not adequately reflect the physical and chemical principles of the internal components.In recent years, emerging electrochemical models have built upon the basis of equivalent circuit models, introducing enhancements like dynamic sub-models and thermodynamic sub-models.Such models further elucidate operational mechanisms, offering reasonable explanations for electrode polarization and mass transfer processes within the PEM electrolyzer.The model established by García-Valverde et al. considers the influence of temperature on the PEM electrolyzer, but it is relatively straightforward and does not incorporate the effect of pressure [11].Abdin et al. considered concentration overpotentials but encountered difficulties in estimating parameters like electro-osmotic drag [12].Tevfik and Faruk modeled the entire PEM electrolyzer system, encompassing water circulation and cooling systems [13].Afshari et al. delved deeper into mass transfer processes involving gases and water, including gas crossover phenomena and water transport [14].While electrochemical models for PEM electrolyzers effectively simulate polarization and mass transfer processes, these models are built upon experimental PEM electrolyzer foundations and do not account for heat losses in practical engineering contexts [11], [12], [13], [14].
5Since the parameters of the PEM electrolyzer are changed by the input electrical energy and its own state, it is necessary to employ identification methods to estimate these real-time changing parameters.Identification methods primarily fall into two categories: numerical identification algorithms and heuristic optimization algorithms.Rahul Khajuria employed the honey badger algorithm for parameter identification of seven parameters in the PEM electrolyzer cell.A comparison with heuristic algorithms such as PSO and GWO demonstrated the superiority of the honey badger algorithm [15].Toghyani et al. utilized the Taguchi algorithm to optimize parameters and obtain the optimal working conditions [16].Khajuria et al. applied metaheuristic algorithms to identify six unknown parameters of the PEM electrolyzer [17].While heuristic algorithms often demonstrate superior adaptability to avoid local optima, their reliance on empirical knowledge and intuition introduces variability in results across different runs, lacking a guarantee of solution accuracy.In contrast, numerical algorithms, with their rigorous mathematical foundations, prove invaluable in scientific computations and precision-demanding engineering applications.In this paper, we employ a multi-innovation least squares identification algorithm to identify the equivalent circuit parameters of a PEM electrolyzer.This algorithm improves the convergence speed problem of numerical algorithms while avoiding the local optimization problem of heuristic algorithms.
6To facilitate more convenient measurement of PEM electrolyzer data in the experimental environment, independent drain and outlet ports were set up, each equipped with temperature measurement holes.However, in practical engineering scenarios, to ensure internal pressure within the PEM electrolyzer, it is designed as a sealed container, with the air outlet and water outlet combined into a single outlet.The oxygen produced is discharged along with the circulating water through the anode outlet, while the hydrogen generated is released through the cathode outlet along with a small amount of circulating water.The gas discharged with the circulating water carries a non-negligible amount of heat, and the circulating water also generates a non-negligible amount of energy loss in the pipeline; however, the experimental model does not consider the aforementioned heat loss.Therefore, based on the electrochemical model, this paper introduces a model tailored for engineering applications.The model equates the heat losses in gas and circulating water to an external additional resistor within the framework of a second-order RC circuit.It employs a recursive identification algorithm to estimate internal equivalent circuit parameters and utilizes a curve-fitting method to model the external additional resistor.Finally, the reliability of the engineering model and the accuracy of the identification method are validated through simulation experiments.This enhances the predictive capability of the PEM electrolyzer's behavior in practical engineering scenarios, offering valuable insights for control system design.
II. EQUIVALENT CIRCUIT MODEL OF PEM ELECTROLYZE
7Constructing an equivalent circuit model for a PEM electrolyzer is a prerequisite for characterizing its electrochemical properties and studying control strategies.However, due to structural differences between PEM electrolyzers used in experimental settings and practical engineering scenarios, their corresponding equivalent circuit models are also different.Case (a) in Fig. 1 illustrates the schematic diagram of a circulating water system for a PEM electrolyzer in an experimental environment.In this setup, the generated hydrogen, oxygen, and circulating water are discharged separately through the cathode outlet, anode outlet, and water outlet, respectively.Additionally, temperature measurement ports are present in both the cathode and anode.While the circulating water supply system of the PEM electrolyzer in actual engineering, as shown in case (b) of Fig. 1, cathode circulating water and hydrogen exit jointly from the cathode outlet, while anode circulating water and oxygen exit together.
8The circulating water supply system equipment for the PEM electrolyzer in the practical engineering context includes one PEM electrolyzer, one water tank, two gas-water separators, one water pump, one tee, and some silicone tubes, as shown on the right side of Fig 1 .When the system is running, the deionized water passes through the water inlet, the pole plate flow field, and the porous transport layer to the anode side of the membrane electrode, and is decomposed into oxygen, electrons, and protons under the action of electric energy and catalyst.Some of the oxygen and deionized water travel through the anode outlet and pipeline to the gaswater separator.The separated deionized water is directed to the water tank via the three-way valve.On the cathode side, electrons flow through the membrane electrode and electrode plate, returning to the external circuit to provide the driving force for the electrolytic reaction.Protons and a small amount of deionized water traverse the proton exchange membrane to reach the cathode side.In the presence of catalysts, protons combine with electrons from the external circuit to generate hydrogen gas.The generated hydrogen gas, accompanied by a small amount of deionized water, passes through the porous transport layer and the bipolar plate flow field to reach the cathode outlet.This mixture then travels through the pipeline to the gas-water separator, where the separated hydrogen gas is collected in a hydrogen storage unit.The deionized water passes through the three-way valve and enters the water tank.
A. STRUCTURE AND EQUIVALENT CIRCUIT OF PEM ELECTROLYZER BASED ON EXPERIMENTAL ENVIRONMENT
9The commonly used equivalent circuit model of the PEM electrolyzer is the second-order RC circuit model, which can simulate the voltage distribution and dynamic characteristics of the PEM electrolyzer in the experimental environment.The overall operating voltage of the equivalent circuit of the PEM electrolyzer in the experimental environment consists of reversible voltage U rev , cathode activation overvoltage U act , ohmic overvoltage U ohm , and the expression is as follows [9], [10], [12], and [13]:
10The equivalent circuit model corresponding to (1) is illustrated in Fig. 2. The reversible voltage U rev signifies the fundamental voltage required for the electrolysis of water, while the Ohmic resistance R ohm characterizes the resistance generated by protons passing through the proton exchange membrane and the hindrance of current by the electrode plates.C 1 and C 2 represent the equivalent capacitance of the cathode and anode, respectively, induced by the double-layer effects at the cathode and anode.R 1 is the cathode resistance, representing the resistance causing Gibbs energy and heat loss at the anode, while R 2 is the anode resistance, representing the resistance causing heat loss at the cathode.The time constants τ 1 and τ 2 are used to denote the time required for the dynamic behavior of the cathode and anode in the PEM electrolyzer.
11The reversible overpotential U rev is the minimum voltage required for the electrolysis of water, representing the smallest voltage necessary to convert electrical energy into chemical energy.It is derived from the Nernst equation [12].
12where R is the ideal gas constant, T cell is the operating temperature of the electrolyzer, F is the Faraday constant, P H 2 and P O 2 represent the partial pressures of the gas products hydrogen and oxygen respectively, and P H 2 O represents the partial pressure of water at the cathode and anode.T 0 signifies the external environmental pressure.Activation overvoltage is generated by electrochemical polarization.It signifies a voltage shift due to the sluggishness of electrochemical reactions, which is required to maintain the motion of protons and electrons.It can be mathematically expressed using the Butler-Volmer equation [13]: where i is the current density, α cat and α an are the cathode and anode charge transfer coefficients, and i 0,cat and i 0,an are the cathode and anode exchange current densities.The cathode and anode equivalent time constants τ 1 and τ 2 are estimated as follows [9]:
13Then, by relating the time constants to the resistances, the equivalent capacitance of the cathode and anode can be obtained:
14In Fig. 3, the Ohmic overpotential encompasses the overpotential arising from the hindrance of protons by the proton exchange membrane and the overpotential stemming from the impedance caused by the bipolar plates and gas diffusion layers to the flow of electrons.The expressions are as follows:
15In Equation ( 6), R pl , R el , and R me respectively denote the resistances imposed on electron transport by the electrode plates, the porous transport layer, and the proton exchange membrane.These can be expressed as [14]:
16In Equation (7), where ρ an pl and ρ cat pl represent the resistivity of the two electrode plates, respectively.W s denotes the width of the flow field channel supporting the electrode plates, W c represents the width of the flow field channel, H p1 and H p2 respectively denote the thickness of the cathode and anode electrode plates as well as the height of the flow field channel.ρ eff represents the effective resistance of the gas diffusion layer.L is the length of the electrolysis cell, W is the width of the electrolysis cell, H e is the width of the porous transport layer, and ρ el and ε respectively denote the resistance and porosity of the gas diffusion layer for the cathode and anode.The resistance of the proton exchange membrane is given by [16]:
17where δ m is the thickness of the proton exchange membrane and σ m is the proton exchange membrane conductivity.
18An empirical formula is provided as follows [13]:
19where λ represents the wetness of the proton exchange membrane, and it can be empirically expressed as:
20The above model represents a PEM electrolyzer cell in an experimental environment.Due to the presence of temperature measurement holes in the experimental setup and the separate discharge of circulating water and gas, the temperature measured at these holes is considered the electrolyzer cell temperature, and any temperature deviation can be considered negligible.However, in engineering applications, PEM electrolyzers experience significant heat losses that cannot be ignored.Therefore, the model developed in the experimental environment is not suitable for practical engineering applications, and there is a need to establish an equivalent circuit model that is appropriate for engineering scenarios.
B. MODEL STRUCTURE AND EQUIVALENT CIRCUIT OF PEM ELECTROLYZER BASED ON ENGINEERING PRACTICE
21There are two main differences between the PEM electrolyzer in actual engineering and the one in the experimental environment.Firstly, in the engineering setup, the PEM electrolyzer is a sealed container and does not have temperature measurement holes, necessitating temperature measurements at the gas-water separator outlet, which results in some heat loss through the pipelines.Secondly, in the experimental model, the water temperature is approximated as the temperature of the PEM electrolyzer, without accounting for the heat within the gases.The above two points indicate that the model in the experimental setting deviates significantly from the actual project.
22Temperature is a crucial factor influencing the performance of PEM electrolyzers.Parameters such as thermal equilibrium voltage, proton exchange membrane conductivity, and exchange current density are significantly affected by temperature variations [8].The PEM electrolyzer model developed under laboratory conditions does not account for the heat in the gases and the heat dissipation through pipelines, which leads to a discrepancy between the measured temperature and the actual temperature in real engineering applications.If temperature data with certain deviations are used for simulating, predicting, and controlling engineering processes, it can lead to reduced hydrogen production efficiency, at best.At worst, it can result in damage to components such as the membrane electrode.In order to make the model compatible with actual temperature for engineering measurements, we introduce an engineering-specific model.
1) MODEL STRUCTURE AND EQUIVALENT CIRCUIT OF PEM ELECTROLYZER BASED ON ENGINEERING PRACTICE
23Modeling assumptions:
241) The heat generated by the Joule heating effect at the cathode and anode is approximately equal.
252) The electrolyzer has excellent thermal insulation, and there is no heat exchange between the equipment itself and the external environment.3) Throughout the entire experimental duration, the heat flow per unit time is equal to the total heat generated divided by the total time.If the resistances at the cathode and anode of the PEM electrolyzer are approximately equal, then the heat generated at each electrode due to Joule heating is roughly equal.Consequently, each electrode contributes half of the heat generated by the Joule heating effect.The heat generated at the anode and cathode per unit time can be determined using Ohm's law: (11) where R total represents the total equivalent resistance within the electrolyzer.The heat discharged from the anode into the circulating water per unit time is given by:
26The heat discharged from the anode into the oxygen gas per unit time is given by:
27The heat discharged from the anode per unit time is equal to the sum of the heat discharged into the circulating water and the heat discharged into the oxygen:
28where, C H 2 O and C O 2 represent the molar heat capacities of water and oxygen gas.Additionally, Ṅ an H 2 O,out , ṄH 2 O,in , ṄH 2 O,con , and ṄH 2 O,mem denote the molar mass of water discharged from the anode per unit time, the molar mass of water entering the system per unit time, the molar mass of water consumed during the electrolysis process per unit time, and the molar mass of water transferred from the anode side to the cathode side through the proton exchange membrane (via processes like electrodialysis and diffusion).T 0 and T an cell represent room temperature and the anode temperature of the electrolyzer, respectively.The anode heat is calculated by subtracting the heat generated by the anode electrical energy from the heat of the anode outlet drainage and exhaust, and then the anode temperature is reverse-calculated using the heat calculation formula:
29Subtracting t 1 from t 2 represents the time during which the gas-water mixture flows through the anode chamber.The heat released from the cathode into the circulating water per unit of time is:
30The heat released into the hydrogen gas per unit of time is:
31where ṄH 2 represents the molar quantity of hydrogen discharged per unit time.The heat released from the cathode per unit of time is equal to the sum of the heat in the cathode circulating water and the heat in the hydrogen gas:
32where C H 2 represents the molar heat capacity of hydrogen gas, and T cat cell represents the cathode temperature of the electrolyzer.The expression for the average cathode temperature is:
33The subtraction of t 3 from t 4 represents the time during which the gas-water mixture flows through the cathode chamber.
2) CALCULATION OF ENERGY LOSS IN PIPING
34The boundary conditions for the experimental model and heat transfer in the pipeline are such that T cat wg and T an wg represent the temperatures of the cathode and anode steam-water mixtures, respectively, and the average temperature of the cathode and anode in the PEM electrolysis cell is approximated to represent the temperature of the steam-water mixture in the outlet pipelines of both electrodes:
35Energy transfer occurs through three forms: conduction, convection, and radiation.Due to water's significantly higher thermal conductivity compared to that of gas, the heat lost in the pipes mainly considers three aspects: convective heat transfer between the circulating water and the pipe inner wall, convective heat transfer between the pipe outer wall and the surrounding environment, and their thermal resistances are respectively represented by R tr1 , R tr2 , and R tr3 .The total heat transfer coefficient K p of the pipeline for the pipeline liquid and the external temperature difference of 1 • C, the unit time through the unit heat transfer area of the heat, used to describe the degree of heat dissipation in the pipeline, approximated by heat balance equation:
36where α 1 represents the convective heat transfer coefficient between the circulating water and the pipe wall, α 2 represents the convective heat transfer coefficient between the pipe wall and the air, λ 1 is the thermal conductivity of the pipe wall, and the inner and outer diameters of the pipe are denoted by r 1 and r 2 respectively.However, the calculations for α 1 , α 2 , and λ 1 can be quite complex.The actual calculation of the heat transfer coefficient of the pipe wall can be reversed according to the Schukhov's equation [20]:
37where L p is the measured length of the pipe, T p,ini and T p,end are the water temperatures at the starting and ending points, and T 0 is the external temperature of the pipe.The heat lost from the pipe per unit time is given by:
38The sum of the heat lost from the pipe and the heat lost from the gas represents the heat loss of the anode and cathode.According to Joule's law, this heat loss can be equivalently represented as a resistance:
39where R cat hl and R an hl represent the equivalent resistance of heat losses at the cathode and anode, respectively, and their corresponding voltages are U cat hl and U an hl , the total voltage in the engineering model is:
40The PEM engineering model is depicted in Fig. 4. Since heat loss is considered external to the PEM electrolyzer, the model is divided into two parts: the internal equivalent circuit and an additional resistance for external heat loss, referred to as the ''additional resistance'' in the following text.
III. IDENTIFICATION OF EQUIVALENT CIRCUIT PARAMETERS INSIDE THE PEM ELECTROLYZER ENGINEERING MODEL
41With changes in operating conditions, the physical and electrochemical characteristics of the PEM electrolyzer change, and the parameters in the equivalent circuit model change accordingly.In practical engineering, the parameters of the equivalent circuit of the PEM electrolyzer are not directly measurable.To accurately predict and control the behavior of a PEM electrolyzer, identifying the parameters in the equivalent circuit model is a prerequisite.
42Since heat losses are external energy losses in the PEM electrolyzer, the parameter identification in this paper is divided into two parts for the engineering model: first, the identification of the internal second-order RC circuit, followed by curve fitting to obtain the functional relationship between current and external additional resistance.
A. ESTABLISHING THE SECOND-ORDER RC CIRCUIT STATE EQUATION
43The state equation accurately describes the relationship between system inputs and states and serves as the raw form required for recursive algorithms.Therefore, in this section, we establish a state equation to represent the relationship between the state and properties of the PEM electrolyzer.Fig. 5 shows the polarization curve obtained through MAT-LAB simulation of the PEM electrolyzer.The total voltage of the electrolyzer is composed of reversible voltage, ohmic overvoltage, and activation overvoltage.From the graph, it can be observed that ohmic overvoltage is directly proportional to current density, while the reversible voltage gradually decreases with an increase in the electrolyzer's temperature, although the decrease is not very pronounced.The dynamic characteristics of the equivalent circuit of the PEM electrolyzer are mainly caused by the double-layer effect at the cathode and anode, where the electrodes are separated from the electrolyte surface charge to form a double-layer of equal amount and opposite sign.In Fig. 5, it takes a certain amount of time for the cathode and anode activation overpotential curves to reach saturation.This time delay is represented by the time constant τ , which can be approximated as the product of resistance and capacitance, i.e., τ = R × C [13].
44In the equivalent circuit, the use of cathode and anode capacitances, C 1 and C 2 , simulates the double-layer effects at the cathode and anode of the electrolyzer.R 1 represents the cathode heat loss, while R 2 models the Gibbs free energy and heat loss at the anode.These components collectively account for the dynamic behavior of the PEM electrolyzer [8].The state equation for the activation overvoltage at the cathode and anode can be derived from Kirchhoff's current law:
45The output equation is given by:
46Let U cell.1 = U cell − U rev , and express the state equation and output equation in matrix form:
47Denote the matrices A, b, c, and d as:
B. EQUATION OF STATE DISCRETIZATION AND DIFFERENTIAL DIFFERENTIATION
48Since computers can only process discrete digital signals, it is necessary to discretize the state equations established in (28) and convert them into a different equation form suitable for recursive algorithms.When sampling a system, it is necessary to convert a continuous-time system into a discrete-time system by transforming the continuous-time variable ''t'' into a discrete-time variable ''k.''This transformation represents the variable at discrete time instances '' t = kT ,'' where ''T'' is the sampling period.Using a zero-order hold discretization method, denoted as U act (t) = U act (kT ), kT ≤ t < (k + 1)T , and designated as U act (kT ) = U act (k).
49In our approach, a crucial assumption is introduced, where within the short time intervals employed for analytical time integration, the resistances R 1 and R 2 (representing anode and cathode resistances) and capacitances C 1 and C 2 (representing anode and cathode capacitances) of the second-order RC circuit are presumed to remain constant.Specifically, at each time step T representing the sampling interval, it is assumed that these parameters do not change.
50The rationale behind this assumption is grounded in our observation of the system's dynamics, indicating that variations in circuit parameters are considered negligible within these brief time intervals.Consequently, we treat both the resistance and capacitance as constants throughout the analytical time integration process.This choice is made with the intention of balancing computational efficiency and accurately capturing the dynamic behavior of the system.
51The discrete-time counterpart of the continuous-time state equation is given by [24]:
52The expression for the transition matrix (t) is as follows:
53This leads to the parameter matrices G and f :
54Substituting G and f into (29), we obtain the discrete-time state-space equations and output equation as follows:
55Transforming the state equation into a difference equation form, and utilizing the properties of the shift operator, equation (33) can be expressed at time k:
56Substituting ( 35) into (34) yields:
57C 1 (ze
58Let e T τ 1 = a 1 and e T τ 2 = a 2 , and substitute them into (36) to obtain (37), as shown at the bottom of the next page.
59Let K1-K5 be the following values (38), as shown at the bottom of the next page.
60Substituting (38) into (37) gives the difference form of voltage:
61In equation (39), U cell.1 (k), U cell.1 (k −1), and U cell.1 (k −2) represent the difference between the electrolyzer voltage and reversible voltage at time k, k−1, and k−2, respectively.i el (k), i el (k − 1), and i el (k − 2) represent the electrolyzer current at time k, k−1, and k−2, respectively.
C. MULTI-INNOVATION LEAST SQUARES (MILS) PARAMETER IDENTIFICATION
62Parameter estimation algorithms can be categorized into one-shot completion algorithms, recursive algorithms, and iterative algorithms.In the online identification process, the one-shot completion algorithm utilizes all available data for parameter estimation.However, as new data emerges, the computational load gradually increases, making it less suitable for real-time applications.Recursive algorithms, on the other hand, continuously adjust estimates based on existing data and are well-suited for online identification.In contrast, iterative algorithms involve multiple rounds of parameter updates and optimization, leading to higher computational complexity and potentially requiring multiple iterations to converge.Recursive algorithms are better suited for online identification, while iterative algorithms are more adept at handling convergence issues in offline identification, unaffected by real-time system stability concerns.Therefore, this study employs the MILS algorithm for the identification of internal circuit parameters.
63The PEM electrolytic cell involves electrochemistry, thermodynamics, fluid dynamics, and other disciplines.The internal equivalent circuit parameters of the cell change with variations in input electrical energy, temperature, pressure, and other state variables.To determine the values of parameters within the ''black box'', it is necessary to collect observational data from the system, which includes input and output data.The current moment's parameter values can be obtained through a recursive method.The additional input autoregressive model (ARX) is expressed as follows [24]:
64where y(k) is the system output sequence, u(k) is the system input sequence, v(k) is zero-mean Gaussian random white noise, and A(z) and B(z) are delay operator polynomials, respectively.The ARX form of the PEM electrolyzer can be obtained by (39):
65where ϕ(k) is an information vector consisting of input current and output voltage data, θ is a parameter to be recognized, and v(k) is a scalar new interest, which can be expressed as:
66Extend innovation scalar to innovation vectors:
67. . .
68where p is the innovation length.In order to be compatible with the dimensionality of matrix multiplication, the information vector ϕ(k) should also be extended to the corresponding
69Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.
70matrix:
71Then the system multi-innovation least squares identification algorithm is of the form:
72The recursive procedure for updating the parameters of the MILS algorithm can be obtained after derivation [25]: 46)
73In equations ( 46), (47), and (48) represent the parameter update equation, gain update equation, and covariance matrix update equation, where θ(k) and θ(k − 1) are the current and previous parameter estimates, L(k) is the gain vector, and P(k) is the covariance matrix.The detailed MILS algorithm flow can be found in APPENDIX A.
IV. PEM ELECTROLYZER ENGINEERING MODEL EXTERNAL ADDITIONAL RESISTANCE PARAMETER FITTING
74Section B in part II analyze the heat lost from the cathode and anode gases in the PEM electrolyzer and the heat lost from the pipeline heat transfer, respectively.It provides a method to equivalently represent the heat losses at the anode and cathode as resistances, where the heat in the gas at the anode and cathode is determined by ( 12) and ( 16), and the heat lost through circulating water in the pipes is determined by (23).The total heat loss in the PEM electrolyzer is obtained by adding the heat from the gas and the heat losses from the pipes.Subsequently, the additional impedance is reversecalculated using (24).Because the additional impedance tends to stabilize with the current, as shown in Fig. 6, the anode and cathode additional resistances gradually stabilize under a step current of 160A.Therefore, in this study, the additional resistances at steady currents ranging from 20A to 200A were obtained through simulation experiments.These resistances were then fitted to functions of current using curve fitting methods.
75The power supply for the PEM electrolyzer is typically obtained from renewable energy through AC/DC or DC/DC converters for rectification and voltage reduction.The resulting current waveform is generally a constant direct current (DC), and when the power from renewable sources changes, the DC current undergoes corresponding step changes.To determine the values of additional resistance under different step currents, we employed a curve-fitting method to fit the curves and derive the additional resistance values for different step currents.
76At a certain moment when the input current undergoes a step change, the temperatures of the cathode and anode of the PEM electrolyzer can be determined based on the heat calculation equations ( 11)- (19).Using the boundary condition in (20), the temperature of the entire electrolyzer is assumed to be the temperature of the steam-water mixture.Subsequently, heat loss is calculated through (23), and the current at this moment is substituted into Equation ( 24) to obtain the additional impedance.The specific steps for fitting the additional resistance are as follows [23]:
771) Due to the PEM electrolyzer's maximum current capacity of 200A, we conducted simulations to gather additional impedance corresponding to currents ranging from 20A to 200A.Using current as the x-axis and additional impedance as the y-axis, we obtained a two-dimensional dataset 2) Determine the fitting function: Based on the pattern of the dataset, establish an appropriate fitting function.Since the dataset closely follows a power-law function, a power-law function is selected as the fitting function in this chapter.
783) Determine the criteria: Establish the criteria for fitting error, utilizing the least squares approach to minimize the distance between all data points and the fitted curve.
794) Optimize Fitting Parameters: Since the criterion function is nonlinear, a numerical algorithm is needed to iteratively search for the optimal parameters a and b to minimize the criterion function.
805) Evaluate Fitting Quality: After obtaining the parameters through fitting, the quality of the fit can be assessed using evaluation metrics such as the coefficient of determination (R-squared), root mean square error (RMSE), and other relevant indicators.The specific optimization process can be found in APPENDIX B.
V. SIMULATION VERIFICATION
81This chapter extensively surveyed the parameters of existing PEM electrolyzers on the market and referenced a significant amount of literatures [1], [12], [13], and [21].Based on this, we constructed a PEM electrolyzer engineering model as described in Chapter II, employing the MATLAB/Simulink simulation tool as a reference for the identification results.The main parameters, physical constants, and other parameters of the electrolysis cell are listed in Table 1, Table 2, and Table 3, respectively.This chapter begins with the identification of the experimental model.Observational data from the model is collected and used in the recursive algorithm to estimate the circuit parameters of the constructed PEM electrolyzer.The overall error in the identified parameters is analyzed.Then, the additional resistance in the engineering model is curve fitted.Using Joule's law, we calculate the equivalent resistance for thermal losses within the specified current range, resulting in the derivation of the parameters for the engineering model's equivalent circuit.Finally, the simulation results of the experimental and engineering models are analyzed for errors with the identification results.
A. IDENTIFICATION OF EQUIVALENT CIRCUIT PARAMETERS INSIDE PEM ELECTROLYZER ENGINEERING MODELS
82A continuous excitation signal refers to an input signal that excites the essential characteristics of a system.To elicit the dynamic characteristics of the PEM electrolyzer, a step current excitation is applied to the system, as shown in Fig. 7(a) The simulation time is 10 seconds, with a sampling time of 0.002 seconds.The current undergoes a sudden change from 0.01A to 160A at 3 seconds.The system voltage is depicted in Fig. 7(b).Considering the presence of sensor errors, electronic component noise, measurement inaccuracies, environmental disturbances, etc., in practical systems, it is necessary to filter the collected data before parameter identification.The signal after filtering has a smaller noise compared to the original signal.Therefore, in this study, white noise is added to the ideal data to approximate the filtered data, simulating the random errors in the system.As the PEM electrolyzer cell operates with high current and low voltage, white noise sequences with mean 0 and variances of σ 2 = 1 and σ 2 = 0.00002 are added to the input data (i el ) and output data (u el ), respectively.The signal-to-noise ratios are 45.57dB and 49.14dB for current and voltage, respectively.The system currents and voltages after adding noise are shown in Fig. 7(c) and Fig. 7(d), respectively.All current and voltage data collected during the simulation period are used for parameter estimation of the PEM electrolyzer, following the identification method outlined in part III.
83Based on Section B in III, it can be concluded that the difference equation of the system to be identified are represented by (39).In order to assess the effect of the innovation length on the identification process in the MILS algorithm, the innovation length (p) is set to be 3, 4, 5, 6, and 7, respectively.Additionally, the least squares method is employed as a control experiment.These methods are applied to identify the parameters of the equivalent circuit model for the PEM electrolyzer.A total of 5000 data points are collected within a 10-second period.At each time step, the input and output data of the system are used as inputs to the identification algorithm for recursive estimation, resulting in the direct identification results K 1 , K 2 , K 3 , K 4 , and K 5 .These direct identification results, K 1 to K 5 , are then used in (38) to obtain the final identification values, which are the parameters C 1 , C 2 , R 1 , R 2 , and R ohm of the second-order RC equivalent circuit model.The final identification results are shown in Table 4. Through a comparison between the identification results of the equivalent circuit and the experimental simulation results, an assessment of the accuracy of parameter identification can be made.Based on Fig. 8 and Table 4, the following conclusions can be drawn:
841) Over a 10-second period, a total of 5000 data points were collected.As the number of recursive iterations increased, the error in the identification results steadily decreased and eventually stabilized.
852) With the increase in the innovation length, the identification error gradually reduced.When the innovation length reached a certain optimal value, the error minimized.If the innovation length continued to increase beyond this optimal point, the identification values started to deviate from the true values.When the innovation length in MILS is set to 5, the identification results show the least deviation from the true values.
863) When the innovation length in MILS is set to 1, it essentially becomes the Recursive Least Squares (RLS).RLS algorithm, which is similar to LSM, has a lower data utilization rate.In contrast, MILS not only utilizes the current data but also repetitively uses the past p − 1 data points, thereby increasing data utilization efficiency.This improvement enhances the convergence speed and identification accuracy of the algorithm.Figure 9 shows the curve of parameter estimation error (δ) as a function of time (t).From this graph, it can observed that with the innovation value of 5 in MILS (p = 5), the error tends to stabilize and reaches its minimum as time increases.
87The above results indicate that representing the PEM electrolyzer experimental model as a state-space equation, transforming it into the ARX model through discretization and differencing, and then identifying it using the MILS algorithm results in an identification error of less than 2% when compared to the experimental results.This demonstrates a high level of accuracy in the identification process.
B. CURVE FITTING OF EXTERNAL ADDITIONAL RESISTANCE FOR PEM ELECTROLYZER ENGINEERING MODELS
88The model established in Section B in part II allows simulating the steady-state values of cathode and anode additional resistances for different step current values, and then fitted into an R-I function.The fitted curves for anode additional impedance versus current are shown in Fig. 10[a], while the fitted curves for cathode additional impedance versus current are displayed in Fig. 10[b].It can be observed that as the current increases, the thermal loss equivalent resistance gradually decreases.This is because even though the heat loss from the pipeline and gas loss increases with the current, the square of the current growth rate in (24) is much higher than the growth rate of thermal loss in the PEM electrolyzer, hence the decreasing trend of the additional resistance changes from sharp to slow.
89This article uses nonlinear least squares to fit a power function curve, denoted as f (x) = ax b .The curve depicting the change in anode and cathode additional resistances with current can be obtained as follows:
90In part IV, with an input current excitation of 160A, the fitted curve equations were applied to obtain the equivalent resistances for the anode and cathode thermal losses, resulting in values of 6.57454 × 10 −7 for R an hl (anode) and 1.53148 × 10 −4 for R cat hl (cathode).
C. ERROR ESTIMATION OF SIMULATION RESULTS
91The error is a measure of the difference between predicted values and actual values.In order to determine the effect of fit between simulation results and identification results, this study employs the Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) to calculate the errors between simulated voltage and estimated voltage.Their definitions are as follows:
92where
93rel represent the estimated and actual values for the ith data point, respectively.As shown in Fig. 11, under a step current input of 160A, the voltage simulation results for the experimental model are represented by curve (1), while the voltage simulation results for the engineering model are shown by curve (2).Curve (3) corresponds to the identification results for the experimental model, and curve (4) represents the identification results for the engineering model.It can be observed that curve (1) closely matches curve (2), indicating that the identification results for the internal circuit parameters of the engineering model are relatively accurate.Similarly, curves (3) and (4) show consistent results, reflecting the good fitting performance of the engineering model's additional impedance.The difference between curve (1) and curve (3) represents the partial pressure of heat loss resistance, indicating the voltage deviation caused by the measurement temperature deviation.The RMSE and MAE between the identification results of the experimental model and the simulation results, calculated using (52) and (53), are 2.33% and 1.72%, respectively.For the engineering model, the RMSE and MAE between the identification results and simulation results are 0.40% and 1.41%, respectively.
VI. CONCLUSION
94For better understanding, this section provides a summary of all equations and calculations.Equations ( 1)-( 10) constitute the mathematical model of a PEM electrolyzer under experimental conditions, outlining the components of the working voltage.Equations ( 11)-( 19) involve heat-related calculations, including temperatures of water, gas products, and cathode and anode of the electrolyzer, serving as a foundation for computing heat loss in the pipeline and additional impedance.Equations ( 21)-( 23) calculate heat loss in the pipeline, Equation ( 24) uses Joule's law to equate lost heat to additional impedance, and Equation ( 25) represents the operating voltage of the practical engineering electrolyzer, completing the establishment of the engineering model.Equations ( 26)-( 28) transform the mathematical model into a matrix-form state-space expression.Equations ( 29)-(39) discretize and difference the state-space expression, converting it into a form suitable for recursive algorithms.Equations ( 40 The paper introduces an engineering model designed for PEM electrolyzers.This model is based on the experimental model by equating the heat in the discharged gas with the heat dissipated in the pipe as additional resistances.This compensation accounts for inaccuracies in voltage due to temperature measurement deviations in the experimental model.As the parameters of the PEM electrolyzer equivalent circuit model vary with physical and electrochemical characteristics, a system identification method is employed to estimate the model parameters.Since the heat loss is an external loss of the PEM electrolyzer, the heat loss resistance is relatively independent of the parameters in the second-order RC circuit.Therefore, the engineering model is divided into two parts for identification.Firstly, the internal parameters of the second-order RC circuit are identified using a recursive algorithm.Then, the parameters of the current vs. additional resistance power function curves were fitted by nonlinear least squares fitting of the power function curves.Finally, the accuracy of the identification results is verified by calculating the error between the identification results and the simulation results using RMSE and MAE.
95The simulation results show that with an MILS innovation length of 5, the internal parameter identification error is minimized at 1.3%.The RMSE and MAE for the identification of the internal equivalent circuit of the engineering model, which is equivalent to the experimental model, are 2.33% and 1.72%, respectively.After adding the additional resistances to the experimental model, the RMSE and MAE for the identification results compared to simulation results are 0.40% and 1.41%, respectively.The sources of errors in the identification of internal equivalent circuit parameters are related to factors such as the initial values, the innovation length, convergence speed of the MILS identification algorithm, and the accuracy of the state equation discretization.The errors in the identification results after adding external additional resistances are related to data quality and the choice of the fitting model.
96Through the above-mentioned method, the identification of internal equivalent circuit parameters and the fitting of external additional resistances have shown promising results.The identification results exhibit minimal discrepancies when compared to the experimental results, indicating an overall successful identification process.This approach can be helpful for predicting and controlling PEM electrolyzers in engineering applications.If the parameters of the MILS identification algorithm are adjusted appropriately, and an appropriate fitting model is selected, I believe this method can accurately identify the majority of PEM electrolyzer equivalent circuit parameters.
97In conclusion, the paper presents an engineering model for PEM electrolyzers, utilizing a compensation method for temperature-related voltage inaccuracies.Internal parameters are identified using a recursive algorithm, and fitting external resistances is achieved through nonlinear least squares fitting.The identified parameters exhibit minimal discrepancies with experimental results, suggesting the potential of this method for accurate prediction and control of PEM electrolyzers in engineering applications.
APPENDIX A MILS ALGORITHM FLOW
98The identification process, as shown in Fig. 12, follows these steps [25]:
991) Initialize the parameters by setting the initial values of the parameter vector θ(0) and the covariance matrix p(k) at the moment k = 1.
1002) Collect the current and voltage observations i cell (k) and U cell.1 (k), and construct the information matrix (p, k) and the innovation vector V (p, k).
1013) Update the parameter θ(k) using (46) and calculate the gain matrix L(k) and covariance matrix P(k) using ( 47) and (48).4) Make K = K + 1, determine whether the termination condition is satisfied, if k = L then stop the recursion, otherwise continue the recursion.
APPENDIX B NONLINEAR LEAST SQUARES OPTIMIZATION
102The Levenberg-Marquardt (LM) algorithm combines aspects of the steepest descent and Gauss-Newton algorithms, making it a standard approach for solving nonlinear least squares problems.In this section, the LM algorithm is used for optimization in the aforementioned nonlinear problem.Let ax b i −y i = f i (x) in (50) and the least squares criterion be [23]:
103A partial derivation of the independent variables of (54) yields the least square error sum:
104where J f (x) is referred to as the Jacobian matrix of f (x), defined as: If F(x) is continuous and conductible, the point at which its derivative is 0 is the extremum, i.e., the solution sought:
105Assuming there is a small increment h within the current neighborhood of x, we can use Taylor's theorem to obtain:
106The LM algorithm introduces a penalty term to (58):
107where µ represents the damping factor.The neighborhood size needs to be controlled when linearly approximating f (x).When the approximation is good, the search neighborhood is larger, the penalty term takes a smaller proportion of L lm (h), µ is smaller, and the increment h is relatively large.When the approximation is poor, the search neighborhood is reduced to a smaller range, resulting in a larger µ and a smaller h.Differentiation of L lm (h) and setting its derivative to zero yields the increment h lm :
108As µ approaches 0, h lm tends toward the Gauss-Newton method.When µ approaches ∞, h lm tends toward the small step-size steepest descent method.The approximation level of f (x) is defined as follows:
FIGURE 1 .
109FIGURE 1. Circulating water supply system for PEM electrolyzer in experimental setting (a) and engineering (b).
FIGURE 2 .
110FIGURE 2. Equivalent circuit of PEM electrolyzer.
FIGURE 3 .
111FIGURE 3. PEM electrolyzer ohmic resistance distribution.
FIGURE 4 .
112FIGURE 4. PEM electrolyzer engineering model.
FIGURE 5 .
113FIGURE 5. Polarization curves of PEM electrolyzer and overpotentials of each section.
FIGURE 6 .
114FIGURE 6. Trend of additional resistance at 160A step current.
FIGURE 7 .
115FIGURE 7. Voltage variation curve under step current input.
FIGURE 8 .
116FIGURE 8. Identification results of C1, C2, R1, R2 and Rohm parameters.
FIGURE 9 .
117FIGURE 9.The curve of the parameter estimation error δ changing with time t.
TABLE 4 .
118Comparison of identification results and errors for various parameters at the end of the simulation.
FIGURE 10 .
119FIGURE 10.Anode and cathode R-I fitting graphs.
FIGURE 11 .
120FIGURE 11.Comparison between simulation results and identification results.
121)-(48) involve calculations related to MILS, where input current (Iel) and output voltage (Uel) data are input into the recursive algorithm to obtain values for K1-K5.These values, K1-K5, can be derived from the identification values of circuit parameters through Equation (38), representing the parameters of the experimental model.Equations (49) and (50) represent the fitting function and criteria, and Equation (51) presents the fitting results.Combining the obtained additional impedance with the experimental model yields the engineering model of the PEM electrolyzer.Equations (54)-(61) in Appendix B detail the derivation process of curve fitting.
FIGURE 12 .
122FIGURE 12. MILS algorithm process.
TABLE 1 .
123PEM electrolytic cell system main parameter Settings.
TABLE 2 .
124Physical constant.
TABLE 3 .
125Other parameters.
참고문헌 21건
- Modelling and simulation of a proton exchange membrane (PEM) electrolyser cell International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2015.07.129
- Simple PEM water electrolyser model and experimental validation International Journal of Hydrogen Energy · Elsevier BV · 2011 10.1016/j.ijhydene.2011.09.027
- Electrochemical performance modeling of a proton exchange membrane electrolyzer cell for hydrogen energy International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2015.03.164
- Equivalent electrical model for a proton exchange membrane (PEM) electrolyser Energy Conversion and Management · Elsevier BV · 2011 10.1016/j.enconman.2011.04.007
- Mathematical modeling and dynamic Simulink simulation of high-pressure PEM electrolyzer system International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.06.022
- PEM water electrolyzer model for a power-hardware-in-loop simulator International Journal of Hydrogen Energy · Elsevier BV · 2017 10.1016/j.ijhydene.2017.03.046
- Experimental Validation of an Equivalent Dynamic Electrical Model for a Proton Exchange Membrane Electrolyzer 2022 IEEE International Conference on Environment and Electrical Engineering and 2022 IEEE Industrial and Commercial Power Systems Europe (EEEIC / I&CPS Europe) · 2018 10.1109/eeeic.2018.8494523
- A parametric study of polymer membrane electrolyser performance, energy and exergy analyses International Journal of Hydrogen Energy · Elsevier BV · 2018 10.1016/j.ijhydene.2018.11.081
- Optimization of operating parameters of a polymer exchange membrane electrolyzer International Journal of Hydrogen Energy · Elsevier BV · 2019 10.1016/j.ijhydene.2019.01.186
- Dynamic Emulation of a PEM Electrolyzer by Time Constant Based Exponential Model Energies · Multidisciplinary Digital Publishing Institute · 2019 10.3390/en12040750
- Development of an adaptive static-dynamic electrical model based on input electrical energy for PEM water electrolysis International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.04.182
- Performance assessment of gas crossover phenomenon and water transport mechanism in high pressure PEM electrolyzer International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.10.180
- Hydrogen Production by Water Electrolysis: Progress and Suggestions Strategic Study of CAE · Chinese Academy of Engineering · 2021 10.15302/j-sscae-2021.02.020
- Pressurized PEM water electrolysis: Dynamic modelling focusing on the cathode side International Journal of Hydrogen Energy · Elsevier BV · 2021 10.1016/j.ijhydene.2021.11.097
- Multi-surface phase-shifting algorithm using the window function fitted by the nonlinear least squares method Journal of Modern Optics · Taylor & Francis · 2021 10.1080/09500340.2021.2011971
- Transient behaviors and mathematical model of proton exchange membrane electrolyzer Journal of Power Sources · Elsevier BV · 2022 10.1016/j.jpowsour.2022.231757
- Dynamic Electrical Equivalent Circuit Modeling of the Grid-Scale Proton Exchange Membrane Electrolyzer for Ancillary Services 2022 IEEE Industry Applications Society Annual Meeting (IAS) · 2022 10.1109/ias54023.2022.9939788
- Optimal Parameter Identification of PEM Electrolyzer using Bald Eagle Search Optimization Algorithm 2022 10.1109/piicon56320.2022.10045282
- Nafion-based label-free immunosensor as a reliable warning system: The case of AFB1 detection in cattle feed Microchemical Journal · Elsevier BV · 2023 10.1016/j.microc.2023.108868
- Model Parameter Extraction for PEM Electrolyzer Using Honey Badger Algorithm 2023 10.1109/sefet57834.2023.10245702
- A Review of Point Sets Parameterization Methods for Curve Fitting 2020 24th International Conference Information Visualisation (IV) · 2023 10.1109/iv60283.2023.00070