원시데이터 수집 시스템
선정목록으로

Holistic Design Workflow for Fuel Cell Concentration Observers

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Du, Zhang Peng — TU Wien
DOI
10.34726/hss.2023.111365
저널
reposiTUm (TU Wien)
발행년도
2023
발행기관
TU Wien
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.34726/hss.2023.111365
토픽
Fuel Cells and Related Materials
OpenAlex ID
W6927424380

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Die vorliegende Abschlussarbeit präsentiert einen ganzheitlichen Design-Workflow für Konzentrationsbeobachter von Polymerelektrolytmembran-Brennstoffzellen (PEMFC). Letztere sind ein aussichtsreicher Kandidat um Verbrennungsmotoren in mobilen Anwendungen zu ersetzen. Dennoch gibt es einige Herausforderungen, die für eine Marktetablierung gelöst werden müssen, z. B. Kostenreduzierung, Lebensdauerverlängerung und Ausschöpfung der ungenutzten Effizienzpotenziale. Modellbasierte Beobachter helfen bei der Lösung dieser Probleme, indem sie die Anzahl der physischen Sensoren zur Kostensenkung reduzieren, die Lebensdauer durch Online-Diagnose erhöhen und die Voraussetzungen für eine modellbasierte Regelung zur Effizienzsteigerung schaffen. Die Beobachterleistung hängt in hohem Maße vom Design-Workflow ab. Daher wird in dieser Arbeit ein ganzheitlicher Workflow für die Beobachterauslegung vorgestellt, welcher Modellierung, Versuchsplanung (DOE) und Parametrisierung umfasst. Die Modellierung basiert auf physikalischen Prinzipien, um ein aussagekräftiges Modellverhalten und -zustände zu erhalten. Der Fokus der Modellierung liegt hier auf Wassereffekte, da diese einen großen Einfluss auf Effizienz und Degradation haben. Auf der Grundlage des Modells wird eine DOE-Methodik präsentiert, wodurch die erforderliche Anzahl und Länge von Experimenten im Vergleich zu nicht speziell entworfenen Pendants reduziert werden kann, um eine zufriedenstellende Parametrisierung und Validierung zu erhalten. Zu diesem Zweck wird das Parameterempfindlichkeitsmaß Fisher-Information für stationäre Betriebspunkte und einzelne Parameter individuell optimiert. Anschließend wird das Modell mit den Messungen der entworfenen Experimente parametriert. Dieser Schritt ist notwendig, um eine zufriedenstellende Replikation des Systemverhaltens durch das Modell zu erhalten. Die Parametrisierung wird durch die Aufteilung des Modells und die Durchführung von Parameterempfindlichkeitsanalysen vereinfacht, um den beträchtlichen Lösungsraum erheblich zu reduzieren. Schließlich wird ein Beobachter entworfen und experimentell validiert. Der Entwurfsablauf wird mit einem erweiterten Kalman-Filter an einem 30 kW PEMFC-Systemprüfstand demonstriert, und die validierte Konzentrationsschätzungsleistung ist hervorragend. Einzigartig in der Literatur für PEMFCs sind die physikalisch motivierte Wassermodellierung, die modellbasierte DOE im stationären Zustand, der effiziente Parametrisierungsansatz, die experimentelle Konzentrationsvalidierung inklusive im dynamischen Betrieb und der Design-Workflow selbst.

본문 326,292자

본문 펼치기
##### Meiner Familie <u>i</u> ### Danksagung # Leider lässt sich eine wahrhafte Dankbarkeit mit Worten nicht ausdrücken. Johann Wolfgang von Goethe (1749-1832) <u>iii</u> Diese Arbeit wurde von der Österreichischen Forschungsförderungsgesellschaft (“FC ThermoSense” Projektnummer 871503 und “FC-IMPACT” Projektnummer 878123), der TU Wien Bibliothek (Open Access Funding Programme und Lektoratsservice) und dem Vienna Scientific Cluster unterstützt. Ich nehme zur Kenntnis, dass ich zur Drucklegung meiner Arbeit unter der Bezeichnung Dissertation nur mit Bewilligung der Prüfungskommission berechtigt bin. ### Eidesstattliche Erklärung Ich erkläre an Eides statt, dass die vorliegende Arbeit nach den anerkannten Grundsätzen für wissenschaftliche Abhandlungen von mir selbstständig erstellt wurde. Alle verwendeten Hilfsmittel, insbesondere die zugrunde gelegte Literatur, sind in dieser Arbeit genannt und aufgelistet. Die aus den Quellen wörtlich entnommenen Stellen, sind als solche kenntlich gemacht. Das Thema dieser Arbeit wurde von mir bisher weder im In- noch Ausland einer Beurteilerin/einem Beurteiler zur Begutachtung in irgendeiner Form als Prüfungsarbeit vorgelegt. Diese Arbeit stimmt mit der von den Begutachterinnen/Begutachtern beurteilten Arbeit überein. Ich nehme zur Kenntnis, dass die vorgelegte Arbeit mit geeigneten und dem derzeitigen Stand der Technik entsprechenden Mitteln (Plagiat-Erkennungssoftware) elektronischtechnisch überprüft wird. Dies stellt einerseits sicher, dass bei der Erstellung der vorgelegten Arbeit die hohen Qualitätsvorgaben im Rahmen der geltenden Regeln zur Sicherung guter wissenschaftlicher Praxis „Code of Conduct“ an der TU Wien eingehalten wurden. Zum anderen werden durch einen Abgleich mit anderen studentischen Abschlussarbeiten Verletzungen meines persönlichen Urheberrechts vermieden. Wien, 24. März 2023 Zhang Peng DU <u>iv</u> # Kurzfassung Die vorliegende Abschlussarbeit präsentiert einen ganzheitlichen Design-Workflow für Konzentrationsbeobachter von Polymerelektrolytmembran-Brennstoffzellen (PEMFC). Letztere sind ein aussichtsreicher Kandidat um Verbrennungsmotoren in mobilen Anwendungen zu ersetzen. Dennoch gibt es einige Herausforderungen, die für eine Marktetablierung gelöst werden müssen, z. B. Kostenreduzierung, Lebensdauerverlängerung und Ausschöpfung der ungenutzten Effizienzpotenziale. Modellbasierte Beobachter helfen bei der Lösung dieser Probleme, indem sie die Anzahl der physischen Sensoren zur Kostensenkung reduzieren, die Lebensdauer durch Online-Diagnose erhöhen und die Voraussetzungen für eine modellbasierte Regelung zur Effizienzsteigerung schaffen. Die Beobachterleistung hängt in hohem Maße vom Design-Workflow ab. Daher wird in dieser Arbeit ein ganzheitlicher Workflow für die Beobachterauslegung vorgestellt, welcher Modellierung, Versuchsplanung (DOE) und Parametrisierung umfasst. Die Modellierung basiert auf physikalischen Prinzipien, um ein aussagekräftiges Modellverhalten und -zustände zu erhalten. Der Fokus der Modellierung liegt hier auf Wassereffekte, da diese einen großen Einfluss auf Effizienz und Degradation haben. Auf der Grundlage des Modells wird eine DOE-Methodik präsentiert, wodurch die erforderliche Anzahl und Länge von Experimenten im Vergleich zu nicht speziell entworfenen Pendants reduziert werden kann, um eine zufriedenstellende Parametrisierung und Validierung zu erhalten. Zu diesem Zweck wird das Parameterempfindlichkeitsmaß Fisher-Information für stationäre Betriebspunkte und einzelne Parameter individuell optimiert. Anschließend wird das Modell mit den Messungen der entworfenen Experimente parametriert. Dieser Schritt ist notwendig, um eine zufriedenstellende Replikation des Systemverhaltens durch das Modell zu erhalten. Die Parametrisierung wird durch die Aufteilung des Modells und die Durchführung von Parameterempfindlichkeitsanalysen vereinfacht, um den beträchtlichen Lösungsraum erheblich zu reduzieren. Schließlich wird ein Beobachter entworfen und experimentell validiert. Der Entwurfsablauf wird mit einem erweiterten Kalman-Filter an einem 30 kW PEMFCSystemprüfstand demonstriert, und die validierte Konzentrationsschätzungsleistung ist hervorragend. Einzigartig in der Literatur für PEMFCs sind die physikalisch motivierte Wassermodellierung, die modellbasierte DOE im stationären Zustand, der effiziente Parametrisierungsansatz, die experimentelle Konzentrationsvalidierung inklusive im dynamischen Betrieb und der Design-Workflow selbst. <u>v</u> # Abstract The present thesis provides a holistic concentration observer design workflow for polymer electrolyte membrane fuel cells (PEMFCs). The latter is a candidate with good prospects to replace internal combustion engines in mobile applications due to its many advantages. Nevertheless, some challenges must be resolved for widespread use, such as cost reduction, lifetime extension, and exploiting unused efficiency potentials. Model-based observers support resolving these issues by reducing the number of physical sensors to minimize cost, increase lifetime through online diagnosis, and provide the prerequisites for model-based control to increase efficiency. The performance of observes highly depends on the design workflow. Thus, this work introduces a holistic observer design workflow, including modeling, design of experiments (DOE), and parametrization. The modeling is based on physical principles to obtain a meaningful model behavior and states essential for diagnosis. The modeling focuses on water effects because they highly influence efficiency and degradation. Based on the model, a DOE methodology is introduced. DOE can reduce the required number and length of experiments to obtain a proper parametrization and validation result compared to non-specifically designed ones, saving limited budget and resources. In order to do so, the parameter sensitivity measure Fisher information is optimized for steady-state operation points and single parameters individually. Subsequently, the model is fitted to the measurements of the designed experiments. This step is necessary to get a satisfying replication of the system behavior by the model, which is required for a decent model-based observer and controller performance. The parameterization is simplified by subdividing the model and conducting parameter sensitivity analyses to significantly reduce the considerable solution space. Finally, an observer is designed and experimentally validated. The design workflow is demonstrated with an extended Kalman filter on a 30 kW PEMFC system test stand, and the validated concentration estimation performance is outstanding. Unique in the literature for PEMFCs are the physically motivated water modeling, the model-based DOE in steady-state, the efficient parametrization approach, the experimental concentration validation including dynamic operation, and the design workflow itself. Of course, the workflow is not limited to the presented model and observer. The workflow is easily adjustable for different application cases, and the methods can be applied stand-alone. <u>vi</u> # Contents 1 Overview 1 1.1 Motivation and Problem Statement . . . . . . . . . . . . . . . . . . . . . 1 1.1.1 State-of-the-Art Review . . . . . . . . . . . . . . . . . . . . . . . 2 1.1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3 Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3.1 Physically Motivated Water Modeling . . . . . . . . . . . . . . . . 5 1.3.2 Model-Based Design of Experiments . . . . . . . . . . . . . . . . 11 1.3.3 Efficient Two-Step Parametrization . . . . . . . . . . . . . . . . . 13 1.3.4 Holistic Observer Design Workflow . . . . . . . . . . . . . . . . . 18 1.4 Summary of Scientific Publications . . . . . . . . . . . . . . . . . . . . . 22 1.5 Scientific Contribution of This Thesis . . . . . . . . . . . . . . . . . . . . 23 Bibliography 25 2 Publications 30 2.1 Publication A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2.2 Publication B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 2.3 Publication C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Curriculum Vitae 90 List of Scientific Publications 92 <u>vii</u> # List of Figures 1.1 Functionality of a model-based observer. . . . . . . . . . . . . . . . . . . 2 1.2 Overview of the holistic observer design workflow. . . . . . . . . . . . . . 3 1.3 Physically motivated modeling of water effects inside a PEMFC. . . . . . 6 1.4 Structure of the PEMFC stack model. . . . . . . . . . . . . . . . . . . . 7 1.5 Model validation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.6 Procedure of model-based DOE. . . . . . . . . . . . . . . . . . . . . . . . 11 1.7 Empirical parameter variances. . . . . . . . . . . . . . . . . . . . . . . . 13 1.8 Procedure of the efficient two-step parametrization approach. . . . . . . . 14 1.9 Parametrization validation . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.10 Observer validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 # List of Abbreviations The following abbreviations are used in this manuscript: DOE Design of experiments EKF Extended Kalman filter EMT Effective medium theory FC Fuel cell FIM Fisher information matrix GDL Gas diffusion layer ODE Ordinary differential equation PEMFC Polymer electrolyte membrane fuel cell # List of Symbols The following symbols are used in this manuscript: Subscripts 0 Initial Θ Tunable parameter _e_ Prediction error _u_ Input _x_ State _y_ Output _x_ ˆ State estimate act Activation ad Adhesion an Anode atm Atmosphere <u>ix</u> ca Cathode cell Fuel Cell ch Channel cm Center manifold cond Condensation c Contact dr Droplet el Electrochemical em Exit manifold evap Evaporation GDL Gas diffusion layer H2 Hydrogen im Immobile inj Injection in Inflow leak Leakage liq Liquid water lm Limit max Maximum min Minimum ms Most significant m Membrane nrm Normalized N2 Nitrogen opt Optimized out Outflow O2 Oxygen pd Pressure drop perm Permeability phase Phase change push Pushing reci Recirculation red Reduced sat Saturation sh Shear sl Sliding sm Supply manifold <u>x</u> th Thermodynamic vap Water vapor w Wetting _i_ Gaseous species running index _j_ Membrane running index _k_ Sampling instant _l_ Input running index _m_ Parameter running index _n_ Electrochemical running index _p_ Singular value running index Symbols _α_ Valve position (1) _β_ Adhesion parameter (1) _I_ Fisher information matrix (R <sup>_n_</sup> <sup>Θ</sup> <sup>_×n_</sup> <sup>Θ</sup> ) Ψ Output parameter sensitivity matrix (R <sup>_n_</sup> <sup>_y_</sup> <sup>_×n_</sup> <sup>Θ</sup> ) Σ Covariance matrix (R <sup>_n_</sup> <sup>_x_</sup> <sup>_×n_</sup> <sup>_x_</sup>, or R <sup>_n_</sup> <sup>_y_</sup> <sup>_×n_</sup> <sup>_y_</sup> ) Θ Tunable parameter (R <sup>_n_</sup> <sup>Θ</sup> ) Ξ State parameter sensitivity matrix (R <sup>_n_</sup> <sup>_x_</sup> <sup>_×n_</sup> <sup>Θ</sup> ) _A_ System matrix (R <sup>_n_</sup> <sup>_x_</sup> <sup>_×n_</sup> <sup>_x_</sup> ) _C_ Output matrix (R <sup>_n_</sup> <sup>_y_</sup> <sup>_×n_</sup> <sup>_x_</sup> ) _F_ Time-discrete system function (R <sup>_n_</sup> <sup>_x_</sup> ) _f_ System function (R <sup>_n_</sup> <sup>_x_</sup> ) _g_ Output function (R <sup>_n_</sup> <sup>_y_</sup> ) _I_ Identity matrix (R <sup>_n_</sup> <sup>_x_</sup> <sup>_×n_</sup> <sup>_x_</sup> ) _L_ Optimal Kalman gain matrix (R <sup>_n_</sup> <sup>_x_</sup> <sup>_×n_</sup> <sup>_y_</sup> ) _Q_ Weighting matrix (R <sup>_n_</sup> <sup>_y_</sup> <sup>_×n_</sup> <sup>_y_</sup>, or R <sup>_n_</sup> <sup>Θ</sup> <sup>_×n_</sup> <sup>Θ</sup> ) _S_ Singular value matrix (R <sup>_n_</sup> <sup>Θ</sup> <sup>_×n_</sup> <sup>Θ</sup> ) _U_ Left singular vector matrix (R <sup>_n_</sup> <sup>Θ</sup> <sup>_×n_</sup> <sup>Θ</sup> ) _u_ Input vector (R <sup>_n_</sup> <sup>_u_</sup> ) _V_ Right singular vector matrix (R <sup>_n_</sup> <sup>Θ</sup> <sup>_×n_</sup> <sup>Θ</sup> ) _v_ Right singular vector (R <sup>_n_</sup> <sup>Θ</sup> ) _w_ Noise vector (R <sup>_n_</sup> <sup>_x_</sup>, or R <sup>_n_</sup> <sup>_y_</sup> ) _x_ State vector (R <sup>_n_</sup> <sup>_x_</sup> ) _x_ <sup>_∗_</sup> Noisy (and measured) state vector (R <sup>_n_</sup> <sup>_x_</sup> ) _y_ Output vector (R <sup>_n_</sup> <sup>_y_</sup> ) _y_ <sup>_∗_</sup> Noisy (and measured) output vector (R <sup>_n_</sup> <sup>_y_</sup> ) _ϵ_ 2 Membrane conductivity parameter (K) <u>xi</u> _γ_ Surface tension (N/m) Σ ˆ Updated covariance estimate matrix (R <sup>_n_</sup> <sup>_x_</sup> <sup>_×n_</sup> <sup>_x_</sup> ) Σ ˆ _−_ Predicted covariance estimate matrix (R <sup>_n_</sup> <sup>_x_</sup> <sup>_×n_</sup> <sup>_x_</sup> ) _x_ ˆ Updated state estimate vector (R <sup>_n_</sup> <sup>_x_</sup> ) _x_ ˆ <sup>_−_</sup> Predicted state estimate vector (R <sup>_n_</sup> <sup>_x_</sup> ) _y_ ˆ Updated output estimate vector (R <sup>_n_</sup> <sup>_y_</sup> ) _y_ ˆ <sup>_−_</sup> Predicted output estimate vector (R <sup>_n_</sup> <sup>_y_</sup> ) _y_ ˆ Estimated (or simulated) signal (R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> ) _κ_ Pressure drop parameter (1) _λ_ Membrane water content (1) _F_ Faraday constant (C/mol) _I_ Fisher information (R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> ) _R_ Universal gas constant (J/(mol _·_ K)) _µ_ Dynamic gas viscosity (Pa _·_ s) _~~x~~_ Expected value of state vector (R <sup>_n_</sup> <sup>_x_</sup> ) Φ Switching function (1) _ρ_ Density (kg/m <sup>3</sup> ) _σ_ Singular value (R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> ) _τ_ Time constant (s) _θ_ Angle (rad) _φ_ Relative humidity (1) _ζ_ Threshold (1) _A_ Area (m <sup>2</sup> ) _a_ Water activity (1) _C_ Unitless concentrations of the gaseous species (1) _D_ Combined diffusivity parameter (mol/s) _d_ Diameter (m) _E_ Energy (J) _F_ Force (N) _g_ Output function (R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> ) _H_ Height (m) _h_ Height (m) _I_ Current (A) _J_ Objective function (R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> ) _K_ Intrinsic exchange current parameter (A/m <sup>2</sup> ) _k_ Coefficient (m <sup>2</sup>, 1/s, m _·_ s, or (m _·_ s)/kg) <u>xii</u> _M_ Molar mass (kg/mol) _m_ Mass (kg) _n_ Number (1, or 1/m <sup>2</sup> ) _P_ Power (W) _p_ Pressure (Pa) _R_ Ohmic resistance (Ω) _r_ Radius (m) _S_ Scatter index, or normalized root-mean-square error (1) _s_ Liquid water saturation (1) _T_ Temperature (K) _t_ Time (s) _U_ Voltage (V) _V_ Volume (m <sup>3</sup> ) _v_ Gas velocity (m/s) _W_ Width (m) _y_ Model output (R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> ) _y_ <sup>_∗_</sup> Measured signal (R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> ) _Z_ Number of electrons transferred in the electrochemical reaction (1) # Chapter 1 Overview In the energy transition context, polymer electrolyte membrane fuel cells (PEMFCs) are a promising candidate for replacing internal combustion engines in mobile applications due to their favorable properties. They transform oxygen from air and hydrogen into water, electrical power, and heat. However, challenges such as high cost, limited lifetime, and unexploited efficiency potentials must be mastered to increase the market penetration of fuel cells (FCs) [1]. Here, observers come into play by assisting in resolving these challenges. This work presents a holistic design workflow for PEMFC concentration observers, including modeling, design of experiments (DOE), and parametrization. In Chapter 1, the motivation, problem statement, and goals of this work are introduced. Furthermore, the developed methodologies are briefly described, followed by a summary of the scientific publications and the contribution of this work. The principal component of this thesis, the selected journal publications, can be found in Chapter 2, including an indication of the author’s contribution to each publication. ##### 1.1 Motivation and Problem Statement In mobile applications, PEMFCs are a promising candidate to replace internal combustion engines due to their relatively efficient fuel economy, low working temperatures, and comparatively straightforward constructions. The big breakthrough of FCs has not yet been achieved due to the following challenges: they are relatively expensive due to the low production volumes, have a limited lifetime because of improper control, and have unexploited efficiency potentials owing to the challenging control of the complex internal processes [1]. Model-based observers assist in resolving the named challenges. They estimate unmeasured and even unmeasurable quantities based on a model, an estimation algorithm, and measured quantities (see Figure 1.1). Thus, they replace physical sensors and reduce cost, enabling online system diagnosis to extend the lifetime and deliver the prerequisites for efficient and sustainable model-based control. A holistic <u>2</u> <u>1.1</u> <u>Motivation</u> <u>and</u> <u>Problem</u> <u>Statement</u> design workflow is necessary to obtain a well-designed observer, and this thesis presents such a workflow for PEMFC concentration observers (see Figure 1.2). The workflow includes control-oriented modeling (Publication A), model-based DOE (Publication B), systematic parametrization (Publication C), and the observer design itself (Publication B), including experimental validation. Observer Functionality Reality Input Output Model-Based Observer Corrected state prediction Model Predicted output Predicted state Corrective action <u>-</u> Residual Observer algorithm Figure 1.1: Functionality of a model-based observer. 1.1.1 State-of-the-Art Review The beneficial properties of observers are often utilized in many FC applications, e.g., to estimate gas compositions [2], model parameters [3], state of health [4], and system faults [5]. In order to do so, various kinds of model-based observers are applied, e.g., Kalman filter [6], Luenberger [7], sliding mode [8, 9], adaptive [10], and other observers [11, 12, 13]. Common for all applications is that the underlying design workflow of the observers highly influences their performances. Regarding the design workflow, most observer publications cover the derivation of an estimation algorithm and a simulationbased validation [6]. Experimental validations tend to be the exception than the rule, especially for concentration observers [14]. The underlying control-oriented modeling basis is often taken from literature [13], and application-specific (re)modeling within the scope of observer design is rare [9]. Water effects significantly influence the FC’s degradation phenomena and fuel efficiency [15], so considering these effects in the model is crucial, which are often partially neglected and partially simply approximated [16]. <u>3</u> Holistic Design Workflow for Fuel Cell Observers 2. Design of Experiments (Publication B) 1. Model (Publication A) Cost Reduction Degradation Mitigation Efficiency Increase Fuel Cell System 3. Parametrization (Publication C) 4. Observer (Publication B) Figure 1.2: Overview of the holistic observer design workflow. The model parametrization is also commonly based on literature [12], and experimental parametrization is not standard practice. The latter, in principle, consists of output error minimization [2], which is a difficult task due to the usually high-order solution space. The utilized experiments for validation (and identification if applicable) are well-established, e.g., polarization curve [10] or simple current steps [11]. Specifically designed experiments are uncommon for model identification and validation in the scope of concentration observer design. The state-of-the-art review concludes the following knowledge gap: A holistic design workflow for observers, including modeling, DOE, and parametrization, is missing, serving as a real-world implementation guideline from start to finish. Detailed modeling of water effects is crucial for degradation avoidance and fuel efficiency, but it is usually partially neglected and partially simplistically approximated in control-oriented models. E.g., the membrane water content and the flooding effects significantly impact the resulting FC voltage, so accurate modeling is desired. A purposeful DOE is necessary to increase the parameter identifiability and provide a sound basis for validation. On the one hand, it reduces the required number and length of experiments compared to non-specifically designed ones to obtain a good parametrization result, and on the other hand, by exploiting the entire actuator space, the basis for validation is improved. A model parametrization is essential to replicate the system behavior properly, but it is challenging due to the enormous parameter solution space. Thus, a sophisticated <u>4</u> <u>1.1</u> <u>Motivation</u> <u>and</u> <u>Problem</u> <u>Statement</u> method is required to simplify the parametrization. Experimental validation is essential to approve the observer for real-world applications, which is rarely done. This thesis presents a holistic design workflow for PEMFC concentration observers, including physically motivated modeling, model-based DOE, and systematic parametrization. The introduced workflow is demonstrated with an extended Kalman filter (EKF) on a 30 kW PEMFC system test stand. The control-oriented modeling focuses on water phase change, droplet removal, membrane water content, and flooding. Based on the model, the DOE aims to optimize the parameter information measure called Fisher information in steady-state. The parametrization delivers the model parameters using the measurements from the designed experiments. A parameter sensitivity analysis and exploiting the model structure yield sub-solution spaces for the two-step parametrization setup, simplifying it significantly. Finally, the concentration observer is designed and validated with mass spectrometer measurements. Unique in the literature for PEMFCs is the physically motivated water modeling in a control-oriented model, the model-based steady-state DOE, the efficient two-step parametrization, the experimental concentration validation including dynamic operation, and the holistic design workflow itself. The resulting observer yields outstanding concentration estimation performance. 1.1.2 Problem Statement Summarizing the findings in the state-of-the-art review, the overall main research question of this thesis can be formulated as follows: O. How to holistically design a PEMFC concentration observer in a target oriented way for a real-world setup? Based on the main question, the subordinate ones are derived: Q.1 How to physically model the relevant water effects inside the FC, enabling online diagnosis of these effects to reduce degradation and considering them in model-based control to increase efficiency? Q.2 How to conduct purposeful DOE for a complex FC system, providing a sound basis for validation, increasing the parameter identifiability, and reducing the number and length of required experiments to obtain good results? Q.3 How to simplify the parametrization of high-order FC models, yielding improved parametrization results? In the course of this work, these questions will be elaborated on and answered. <u>5</u> ##### 1.2 Goals The main goal of this thesis is to reduce the cost of PEMFCs by fewer physical sensors, mitigate degradation through online diagnosis, and establish the prerequisites for modelbased control to increase efficiency with a well-designed concentration observer. In order to obtain the latter, a real-world observer implementation guideline is needed. Pursuing the main goal leads to the following subordinate goals: - A detailed simulation, investigation, and understanding of water behavior in PEMFCs for diagnosis and efficiency increase by modeling the relevant effects in a physically motivated way. - Increase parameter identifiability, obtain better validation, and the requirement of less and shorter experiments for good results to save budget and resources with a purposeful DOE. - Obtain better parametrization results with a simplified optimization problem based on an elaborate approach. ##### 1.3 Methodology The main research result of this thesis is the holistic design workflow for PEMFC concentration observers, which includes the individual research results regarding modeling, DOE, and parametrization. Each methodology is briefly described in this section, and for further details, the reader is referred to the corresponding publications. 1.3.1 Physically Motivated Water Modeling The replication of water effects inside the FC in a physically motivated way enables a detailed analysis of these, which is the basis for water-related degradation avoidance and efficiency increase. The modeling of the most relevant effects is elaborated on here. Main Idea To obtain realistic and meaningful insights into the water effects within a PEMFC, an existing control-oriented model derived from a 30 kW test stand is extended with the relevant effects based on physical principles. The physically motivated water modeling focuses on four effects: phase change, droplet removal, membrane water uptake, and flooding (see Figure 1.3). The phase change and droplet removal highly influence the <u>6</u> <u>1.3</u> <u>Methodology</u> water balance in the FC, which significantly impacts stack efficiency and degradation progress. The phase change is derived from an adapted Hetz-Knudsen equation, and a force balance over an average droplet governs the liquid water removal. The membrane water uptake directly influences the ohmic cell resistance and power losses, and it is calculated based on a relationship determined at the nominal FC operating temperature. Too humid operating conditions can flood the cell, hindering the electrochemical reaction and lowering the effective stack power, and this behavior is modeled based on the effective medium theory (EMT). Channel GDL PEMFC <u>Air</u> <u>H2</u> <u>H2O</u> Phase change GDL Droplet removal Flooding Reactants Membrane Membrane water uptake Figure 1.3: Physically motivated modeling of water effects inside a PEMFC. Modeling Approaches The modeling basis of the control-oriented PEMFC model is taken from [16] and is adapted to retain the property of analytical differentiability. This property is advantageous for the model-based DOE and observer design to obtain exact Jacobians instead of numerical approximations. The following assumptions are considered for the model: 1. Respective FC manifolds lumped into one volume without any spatial expansion. 2. Ideal gases. 3. Homogeneous properties of gas inside manifold. 4. Same composition of gas in center and exit manifold. <u>7</u> 5. Only dry air components: nitrogen and oxygen. 6. One uniform and externally controlled FC temperature. 7. Supply and exit manifolds and gas diffusion layers (GDLs) always in steady-state. The model comprises four interconnected submodels: the cathode (ca), anode (an), membrane (m), and electrochemical submodel (see Figure 1.4). The submodels are governed by thermodynamics, fluid mechanics, and electrochemistry. Nozzle equations connect the center manifolds with the supply and exit manifolds, and the exit one is linked to the environment. The anode has an additional recirculation flow path, and the anode and cathode are connected via the membrane. Anode, cathode, and membrane together deliver the prerequisites for the electrochemical submodel. This model is the basis for the extension with the relevant water effects based on physical principles. Legend Cathode Anode Membrane Electrochemistry Input Output State Internal variable 2H2 + O2 _↓_ 2H2O _m_ ˙ ca _,_ in _ϕ_ ca _,_ in _T_ _p_ atm _m_ ˙ an _,_ in _ϕ_ an _,_ in _m_ ca _,_ O2 _m_ ca _,_ N2 _p_ ca _,_ sm _p_ ca _,_ em _m_ ca _,_ vap _m_ an _,_ H2 _m_ an _,_ N2 _p_ an _,_ sm _p_ an _,_ em _m_ an _,_ vap _m_ an _,_ liq _P_ an _,_ reci _m_ ˙ an _,_ reci _m_ ca _,_ O2 _m_ ca _,_ N2 _m_ ca _,_ vap _m_ ca _,_ liq _a_ m _m_ ˙ m _,_ N2 _m_ ˙ m _,_ vap _I_ _U_ _α_ ca _α_ an Figure 1.4: Structure of the PEMFC stack model. Within the extended model, the phase change rate _m_ ˙ ca _,_ phase is described by an adapted Hertz-Knudsen equation with a Langmuir-like type of correction [17, 18], which addresses the hysteresis between condensation and evaporation: (1.1) _m_ ˙ ca _,_ phase = _k_ phase _<u>M</u>_ <u>vap</u> 2 _πRT_ <sup>(</sup> <sup>_p_</sup> <sup>ca</sup> <sup>_,_</sup> <sup>GDL</sup> <sup>_,_</sup> <sup>vap</sup> <sup>_−_</sup> <sup>_p_</sup> <sup>sat)</sup> <sup>_|_</sup> <sup>Φca</sup> <sup>_,_</sup> <sup>phase</sup> <sup>_−_</sup> <sup>_s_</sup> <sup>ca</sup> <sup>_|,_</sup> 1 _,_ _p_ ca _,_ GDL _,_ vap _≥_ _p_ sat 0 _,_ _p_ ca _,_ GDL _,_ vap _< p_ sat Φca _,_ phase =    <u>8</u> <u>1.3</u> <u>Methodology</u> Here, _k_ phase is the phase change coefficient, _M_ vap is the molar mass of vapor, _R_ is the universal gas constant, _T_ is the FC temperature, _p_ ca _,_ GDL _,_ vap is the vapor partial pressure at the GDL, _p_ sat is the saturation pressure, Φca _,_ phase is the phase change switching function, and _s_ ca is the liquid water saturation. The phase change rate is scaled by the absolute value expression, which contains a differentiable switching function [19]. If the vapor partial pressure exceeds the saturation pressure, condensation occurs, and the absolute expression is (1 _−_ _s_ ca), which can be physically interpreted as the available surface for condensation. In the evaporation case, the absolute expression reduces to _s_ ca, interpretable as the available liquid water for condensation. Liquid water removal is usually modeled continuously with a removal rate proportional to the channel gas flow. This behavior does not reflect reality because droplet removal is a discrete event [20]. In this work, a force balance on an average droplet determines if a droplet detaches, and only in this case is liquid water removed, similar to [21]. The reduced water saturation _s_ ca _,_ red = <sup>_<u>s</u>_</sup> <sup><u>ca</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>s</u>_</sup> <sup><u>im</u></sup> _,_ _s_ ca _,_ red _∈_ [0 _,_ 1] _,_ (1.2) 1 _−_ _s_ im describes the amount of water susceptible to droplet removal, where _s_ im is the immobile water saturation, and a saturation function guarantees the satisfaction of the limits. The reason for using _s_ ca _,_ red is that water first has to accumulate in the GDL before it reaches the channel, and only the water in the channel is exposed to the removal mechanisms. The lumped cathode volume _V_ ca multiplied with the reduced water saturation _s_ ca _,_ red divided by the number of injection points _n_ inj, the number of cells _n_ cell, and the cell area _A_ cell yield the average droplet volume: _<u>s</u>_ <u>ca</u> _<u>,</u>_ <u>red</u> _<u>V</u>_ <u>ca</u> _V_ ca _,_ dr = _n_ inj _n_ cell _A_ cell _._ (1.3) The number of injection points, or droplets formed per area, is calculated with [22] 10 <sup>6</sup> _,_ (1.4) _n_ inj = - - - _<u>I</u>_ 16 _._ 67 erf 3 _._ 328 _A_ cell _−_ 1 _._ 097 �� + 19 _._ 8 where erf is the error function (a sigmoid function), and _I_ is the drawn stack current. Using _V_ ca _,_ dr, the average droplet radius is calculated with - _<u>V</u>_ <u>ca</u> _<u>,</u>_ <u>dr</u> �3 ~~~~ _π_ <u>2</u> 3 <sup>+</sup> <sup><u>cos3</u></sup> 3 <sup><u>(</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>w)</u></sup> _r_ ca = �3 ~~~~ <u>23</u> <sup>+</sup> <sup><u>cos3</u></sup> 3 <sup><u>(</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>w)</u></sup> _−_ cos( _θ_ w) ~~�~~ _,_ (1.5) where _θ_ w is the wetting angle. Based on _r_ ca, an average droplet’s height _h_ ca and wetted diameter _d_ ca are obtained with _h_ ca = _r_ ca(1 + cos( _π −_ _θ_ w)) _,_ (1.6a) _d_ ca = 2 _r_ ca cos _θ_ w _−_ <sup>_<u>π</u>_</sup> 2 _._ (1.6b) <u>9</u> Finally, the adhesion _F_ ca _,_ ad, pressure drop _F_ ca _,_ pd, and shear force _F_ ca _,_ sh [23, 24] can be calculated with _F_ ca _,_ ad = _γd_ ca _β_ (cos( _θ_ w _−_ _θ_ sl) _−_ cos( _θ_ w + _θ_ sl)) _,_ (1.7a) �� _−_ 1 _,_ (1.7b) <u>ca</u> <sup>2</sup> <sup>_<u>κ</u>_</sup> <sup><u>ca</u></sup> <sup>_<u>µ</u>_</sup> <sup><u>ca</u></sup> <sup>_<u>V</u>_</sup> <sup>˙ca</sup> <sup>_<u>,</u>_</sup> <sup><u>ch</u></sup> _,_ _κ_ ca = 12 _F_ ca _,_ pd = <sup><u>4</u></sup> <sup>_<u>r</u>_</sup> <sup>2</sup> _W_ ca _H_ ca <sup>2</sup> 1 _−_ <sup><u>192</u></sup> <sup>_<u>H</u>_</sup> <sup><u>ca</u></sup> _π_ <sup>5</sup> _W_ ca tanh - _<u>πW</u>_ <u>ca</u> 2 _H_ ca <u>ca</u> <sup>_<u>µ</u>_</sup> <sup><u>ca</u></sup> <sup>_<u>H</u>_</sup> <sup><u>ca</u></sup> <sup>_<u>v</u>_</sup> <sup><u>ca</u></sup> <sup>_<u>,</u>_</sup> <sup><u>ch</u></sup> _F_ ca _,_ sh = <sup><u>24</u></sup> <sup>_<u>r</u>_</sup> <sup>2</sup> _._ (1.7c) ( _H_ ca _−_ _h_ ca) <sup>2</sup> Here, _γ_ is the surface tension, _β_ and _κ_ ca are parameters, _θ_ sl is the sliding angle, and _µ_ ca is the dynamic gas viscosity. In addition, _V_ <sup>˙</sup> ca _,_ ch is the volume flow per channel, _W_ ca and _H_ ca are the channel width and height, respectively, and _v_ ca _,_ ch is the bulk gas velocity in a channel. The direction of the forces is given in Figure 1.3, where the gravitational force is not sketched because it is usually negligible [25]. According to the figure, the pushing forces can be summarized into _⃗F_ ca _,_ push = _⃗F_ ca _,_ sh + _⃗F_ ca _,_ pd. Now, the liquid water removal rate is determined by _m_ ˙ ca _,_ liq _,_ out = _k_ liq _ρ_ liq _V_ ca _,_ dr Φca _,_ liq _,_ 1 _,_ _F_ ca _,_ push _> F_ ca _,_ ad 0 _,_ _F_ ca _,_ push _≤_ _F_ ca _,_ ad (1.8) Φca _,_ liq =    Here, it is assumed that the droplet removal is proportional to the average droplet weight, _k_ liq is the droplet removal coefficient, _ρ_ liq is the liquid density, and Φca _,_ liq is the droplet removal switching function. Droplets only get removed when the pushing force exceeds the adhesion one, and this behavior is accomplished with the mentioned switching function. The equations are analogously applicable to the anode. In order to describe the membrane water content, the relation from [26] is commonly used. The relation is determined at 30 <sup>_◦_</sup> C, but the nominal PEMFC working temperature is 80 <sup>_◦_</sup> C. Thus, the utilization of the relation from [27] is proposed, determined at the nominal operating temperature: 0 _._ 3 + 10 _._ 8 _aj_ _−_ 16 _a_ <sup>2</sup> _j_ <sup>+ 14</sup> <sup>_._</sup> <sup>1</sup> <sup>_a_</sup> <sup>3</sup> _j_ <sup>_,_</sup> 0 _≤_ _aj_ _≤_ 1 (1.9) 9 _._ 2 + 3 _._ 8( _aj_ _−_ 1) _,_ 1 _< aj_ _≤_ 3 <sup>for</sup> <sup>_j_</sup> <sup>_∈{_</sup> <sup>(ca</sup> <sup>_,_</sup> <sup>GDL)</sup> <sup>_,_</sup> <sup>an</sup> <sup>_,_</sup> <sup>m</sup> <sup>_}._</sup> _λj_ =    The switching behavior is obtained using the abovementioned switching function, and _aj_ denotes water activity. The higher the membrane water content, the lower the ohmic resistance and the values vary considerably depending on the used relation. The limit current significantly characterizes the PEMFC behavior and is interpretable as the upper bound of feasible drawn current because, at this bound, the FC voltage drops sharply to zero. The limit current is described with _In,_ lm = _Zn F_ _Cn,i Dn_ (1 _−_ _sn_ ) <sup>1</sup> <sup>_._</sup> <sup>5</sup> for   _i_  _i_ = O2 _, n_ = ca (1.10) _i_ = H2 _, n_ = an <u>10</u> <u>1.3</u> <u>Methodology</u> where _Zn_ denotes the number of electrons transferred in the electrochemical reaction, _F_ is the Faraday constant, _Cn,i_ is the unitless species concentration, and _Dn_ is the combined diffusivity parameter. The additional Bruggeman relationship (1 _−_ _sn_ ) <sup>1</sup> <sup>_._</sup> <sup>5</sup> is based on the EMT [28, 29, 30]. It considers the flooding effects and reduces the effective limit current if there is too much liquid water in the cell, a not negligible effect in humid and high-load operating conditions. Thus, a flooded cell produces less power output due to faster voltage drops with increasing current. The resulting model is given as a nonlinear state-space model: _x_ ˙ = _f_ ( _x_ _,_ _u_ _,_ Θ ) _,_ (1.11a) _y_ = _g_ ( _x_ _,_ _u_ _,_ Θ ) _._ (1.11b) Here, _f_ _∈_ R <sup>_n_</sup> <sup>_x_</sup> denotes the system function, _g_ _∈_ R <sup>_n_</sup> <sup>_y_</sup> the output function [31], _x_ _∈_ R <sup>_n_</sup> <sup>_x_</sup> the state vector, _u_ _∈_ R <sup>_n_</sup> <sup>_u_</sup> the input vector, _y_ _∈_ R <sup>_n_</sup> <sup>_y_</sup> the output vector, and Θ _∈_ R <sup>_n_</sup> <sup>Θ</sup> the vector containing the tunable parameters. The number of states is denoted by _n_ _x_, the number of outputs by _n_ _y_, the number of inputs by _n_ _u_, and the number of tunable parameters by _n_ Θ . Additionally, the states _x_ = _x_ ( _t_ ), the inputs _u_ = _u_ ( _t_ ), and the outputs _y_ = _y_ ( _t_ ) are time-dependent, whereas the parameters are constant. Selected Results In the PEMFC model with the incorporated water effects, the output voltage _U_ significantly depends on the water behavior as in reality. The voltage is highly affected by the influence of the membrane humidity on the ohmic resistance and the flooding effects, both dependent on the water balance influenced by the phase change and droplet removal. In Figure 1.5, the resulting model voltage shows an excellent agreement with measurement data, validating the approaches used. <u>Model</u> <u>Validation</u> _<u>R</u>_ <sup>~~2~~</sup> <u>= 98</u> _<u>.</u>_ <u>3 %</u> Time (s) Measured Output Simulated Output Measured Input Figure 1.5: Model output stack voltage _U_ (blue and red) versus input stack current _I_ (yellow). <u>11</u> 1.3.2 Model-Based Design of Experiments Experiment execution requires budget and resources, both limited in real-world scenarios. Target-oriented DOE enables the reduction of the number and length of experiments in comparison to non-specifically designed ones without compromising any quality regarding parametrization and validation. In an ideal case, the DOE even increases the quality with fewer and shorter experiments. Here, a model-based approach is presented to obtain target-oriented designed experiments. Main Idea In order to improve the parameter identifiability, the parameter sensitivity measure Fisher information is analytically derived based on the presented model as the initial step (see Figure 1.6). An experiment is optimized regarding the Fisher information for only one parameter at a time, and steady-state conditions are assumed to simplify the optimization. The resulting steady-state operating points, which represent optimized static points to identify the respective parameters, are merged into one long experiment. Each point is held for some time, resulting in the final target-oriented experiment for improved parameter identifiability and profound validation. Model-Based Design of Experiments Parameter Target-Oriented Model Optimization Sensitivity Experiments Figure 1.6: Procedure of model-based DOE. Experiment Design Optimization Experiment Execution The Fisher information matrix (FIM) _I_ [32] is commonly used as an information measure because the advantageous Cramér–Rao inequality holds [32, 33]: Cov( Θ ) _⪰_ _I_ <sup>_−_</sup> <sup>1</sup> _._ (1.12) The inequality says that the inverse of _I_ is the lower covariance bound of the parameters Θ . This property is beneficial because it is an a priori parameter covariance estimate, and the uncertainties can be assessed before the actual parametrization. In other words, <u>12</u> <u>1.3</u> <u>Methodology</u> optimizing the FIM will reduce the parameter uncertainties, and for the FIM evaluation, only a model, a plausible initial parameter guess, and an excitation signal are necessary. Here, the focus is to find an excitation signal that minimizes parameter uncertainties. The first step to obtaining the FIM is calculating the state parameter sensitivity matrix Ξ = d _x_ _/_ d Θ, a total derivative of the model (1.11):  <u>d</u> _<u>x</u>_ d _t_ ˙Ξ = <sup><u>d</u></sup> d _t_  <u>d</u> _<u>x</u>_ d Θ <u>d</u> = d Θ <u>d</u> = d Θ <sup>_f_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>Θ</sup> <sup>)</sup> = <sup>_<u>∂</u>_</sup> <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂_ _x_ dd Θ _<u>x</u>_ <sup>+</sup> <sup>_<u>∂</u>_</sup> <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> _∂_ <sup>_<u>,</u>_</sup> Θ <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> = <sup>_<u>∂</u>_</sup> <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> Ξ + <sup>_<u>∂</u>_</sup> <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> _∂_ _x_ _∂_ Θ <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> _._ _∂_ Θ The output parameter sensitivity matrix Ψ = d _y_ _/_ d Θ is derived with (1.13) (1.14) Ψ = <sup>_<u>∂</u>_</sup> <sup>_<u>g</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> _∂_ _x_ dd Θ _<u>x</u>_ <sup>+</sup> <sup>_<u>∂</u>_</sup> <sup>_<u>g</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> _∂_ <sup>_<u>,</u>_</sup> Θ <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> = <sup>_<u>∂</u>_</sup> <sup>_<u>g</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> Ξ + <sup>_<u>∂</u>_</sup> <sup>_<u>g</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> _∂_ _x_ _∂_ Θ <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> _._ _∂_ Θ Sampling the time continuous Ψ at the sampling instants _k_ yields Ψ _k_, and the FIM _I_ _∈_ R <sup>_n_</sup> <sup>Θ</sup> <sup>_×n_</sup> <sup>Θ</sup> is calculated with <sup>_−_</sup> _e_ <sup>1</sup> <sup>Ψ</sup> <sup>_k._</sup> (1.15) _I_ = - _nk_ _k_ =0 Ψ <sup>T</sup> _k_ <sup>T</sup> _k_ <sup>Σ</sup> <sup>_−_</sup> _e_ <sup>1</sup> The total number of sampling instants is _nk_, and Σ _e_ denotes the prediction error covariance matrix. The latter is equivalent to the measurement noise covariance assuming a perfect model. The FIM calculation is highly nonlinear, and an analytical solution for an optimal _I_ is tough to find. Instead, the sensitivity for only one parameter at a time is optimized, where the FIM reduces to a scalar _I_ . Steady-state conditions are additionally assumed to simplify the optimization, defined as _u_ opt _,m_ = arg min _u_ <u>1</u> _Im_ ( _u_ ) <sup>for</sup> <sup>_m ∈{_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, . . ., n_</sup> <sup>Θ</sup> <sup>_}_</sup> with respect to _x_ ˙ = _f_ ( _x_ _,_ _u_ _,_ _θ_ ) = 0 _,_ _ul,_ min _≤_ _ul_ _≤_ _ul,_ max for _l_ _∈{_ 1 _,_ 2 _, . . ., n_ _u_ _}_ _._ (1.16) The scalar objective function in the optimization is defined analogously to the Cramér–Rao inequality (1.12), and the input components _ul_ must be constrained to avoid instability, with _ul,_ min being the minimum and _ul,_ max being the maximum input value. The optimization is carried out for every parameter individually, and the resulting steady-state operating points are merged into one target-oriented designed experiment, where each point is held for some time. <u>13</u> Selected Results The optimized steady-state points experiment for 16 parameters and, for comparison, a well-known polarization curve experiment were executed on a 30 kW PEMFC test stand. The corresponding measurements are taken to estimate the model parameters with a heuristic optimizer [34] 134 times independently for each experiment. The resulting normalized empirical parameter variances are shown in Figure 1.7. The DOE experiment always yields lower variances compared to the polarization curve one. There are a few exceptions, which are caused by more high-power sections in the polarization curve experiment. This drawback could be adjusted in the DOE correspondingly with more high-power sections. Thus, the DOE is superior because it yields better identification results with the same length of measurements, or the experiments could be shortened to achieve the same result as the polarization curve one to save budget and resources. Empirical Parameter Variances <u><mark>Optimized</mark></u> <u><mark>steady-state</mark></u> <u><mark>points</mark></u> <u><mark>Polarization</mark></u> <u><mark>curve</mark></u> Parameter Figure 1.7: Obtained empirical variances of the parameters using the respective experiments, normalized with the squared parameter magnitudes, and lower variance means less parameter uncertainty. 1.3.3 Efficient Two-Step Parametrization The parameterization of high-order dynamic PEMFC models is usually cumbersome and not straightforward. A significant reason for this is the considerable solution space, where the parametrization process is comparable to looking for a needle in a haystack. The efficient two-step parametrization method helps to resolve the named challenge. Main Idea To simplify the parametrization with measurement data (e.g., from the execution of the designed experiments), control-oriented PEMFC models can be split into a ther <u>14</u> <u>1.3</u> <u>Methodology</u> modynamic and an electrochemical submodel (see Figure 1.8). The former consists of an ordinary differential equation (ODE) and depends on a subset of the parameters. The latter is an input-output mapping function and depends on the complete parameter set. The consecutive two-step parametrization approach exploits this structure. First, the thermodynamic model with its parameter subset is parametrized. Second, for the parametrization of the electrochemical submodel, the optimized thermodynamic parameters are excluded from the optimization, and the model states do not change anymore because they are independent of the electrochemical parameters. Splitting the model into submodels results in significantly smaller subsolution spaces than the full one, considerably simplifying the parametrization. A parameter sensitivity analysis accompanies both parametrization steps and excludes poorly identifiable parameters to simplify the parametrization further. Real Fuel Cell Test Bench Measured inputs and outputs Fuel Cell Model Submodels Two-step method 1 <sup>st</sup> step thermodynamic Entire Model Model Parameters 2 <sup>nd</sup> step electrochemical Parameter Sensitivity Analysis Figure 1.8: Procedure of the efficient two-step parametrization approach. <u>15</u> Parametrization Approach The PEMFC model (1.11) can be interpreted as a nested model given as follows: _x_ = _x_ th _,_ _f_ ( _x_ _,_ _u_ _,_ Θ ) = _f_ th( _x_ _,_ _u_ _,_ Θ th) _,_ (1.17a) _g_ ( _x_ _,_ _u_ _,_ Θ ) =  _,_    =   _p_ ca _,_ sm _p_ ca _,_ em _p_ an _,_ em _U_   _._ (1.17b)   <sup>_g_</sup> <sup>th(</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>Θ</sup> <sup>th)</sup> _g_ el( _x_ _,_ _u_ _,_ Θ ) _y_ =   <sup>_y_</sup> <sup>th</sup> _y_ el In addition, the parameters are nested as well: [ _V_ ca _,_ sm _, V_ ca _,_ cm _, V_ ca _,_ em _, . . ._ _. . . V_ an _,_ sm _, V_ an _,_ cm _, V_ an _,_ em _, . . ._ _. . . k_ perm _, k_ cond _, k_ evap _, . . ._ _. . . k_ ca _,_ cm _,_ sm _, k_ ca _,_ em _,_ cm _, k_ ca _,_ atm _,_ em _, . . ._ _. . . k_ an _,_ cm _,_ sm _, k_ an _,_ em _,_ cm _, k_ an _,_ atm _,_ em _, . . ._ _. . . k_ an _,_ leak _, τ_ m] <sup>T</sup> [ _ϵ_ 2 _, R_ c _, E_ ca _,_ act _, E_ an _,_ act _, . . ._ _. . . K_ ca _, K_ an _, D_ ca _, D_ an] <sup>T</sup>     _._ (1.18) Θ =   <sup>Θ</sup> <sup>th</sup> Θ el   = On the one hand, the thermodynamic submodel is defined as _x_ ˙ = _f_ ( _x_ _,_ _u_ _,_ Θ th) _,_ (1.19a) _y_ th = _g_ th( _x_ _,_ _u_ _,_ Θ th) _,_ (1.19b) and on the other hand, the electrochemical one as _y_ el = _g_ el( _x_ _,_ _u_ _,_ Θ ) _._ (1.20) The thermodynamic submodel (1.19) comprises an ODE and only depends on the parameter subset Θ th. The electrochemical one (1.20) is only an input-output mapping function but depends on the entire parameter set Θ . These circumstances mean that the model states _x_ depend only on the thermodynamic parameters, and the electrochemical ones do not influence them. Thus, _x_ does not change anymore since Θ th is fixed. This structure is exploited in the consecutive two-step approach to simplify the parametrization. The first step is parametrizing the thermodynamic submodel with its parameter subset Θ th. In the second step, the now already optimized thermodynamic parameters are excluded from the electrochemical submodel parametrization. Here, the ODE of the thermodynamic submodel is solved only once, and the calculated states are stored for reuse because they do not change anymore. This setup enables a very computationally efficient estimation of the electrochemical parameters, and each subsolution space is considerably smaller than the full one, simplifying the parametrization. <u>16</u> <u>1.3</u> <u>Methodology</u> A parameter sensitivity analysis accompanies both steps of the introduced parametrization approach. The goal is to exclude poorly identifiable parameters to simplify the parametrization additionally. The analysis is based on the FIM (1.15), which is not physically unitless. Normalization is necessary in the multi-parameter case because otherwise, the parameter magnitudes would bias the sensitivity analysis interpretation, e.g., the ohmic contact resistance _R_ c has a magnitude of 10 <sup>0</sup> and a nozzle coefficient _k_ 10 <sup>_−_</sup> <sup>6</sup> . The normalized and physically unitless FIM is obtained with [35, 36] _I_ nrm = diag( Θ ) _I_ diag( Θ ) _._ (1.21) Here, diag( Θ ) denotes a diagonal matrix with the components of Θ in its main diagonal. Subsequently, a singular value decomposition [36, 37] _I_ nrm = _USV_ <sup>T</sup> (1.22) is necessary to evaluate the parameter sensitivities. The left singular vector matrix is given with _U_, the diagonal singular value matrix with _S_ = diag ( _σ_ 1 _, σ_ 2 _, . . ., σn_ Θ ), and the right singular vector matrix with _V_ = [ _v_ 1 _,_ _v_ 2 _, . . .,_ _v_ _n_ Θ ]. A singular value can be interpreted as the amount of information, and the corresponding singular vector shows the direction of the information in the parameter space. High information pointing into one parameter direction indicates great identifiability of the respective parameter. The right singular vectors _v_ _p_ _∈_ R <sup>_n_</sup> <sup>Θ</sup> for _p_ _∈{_ 1 _,_ 2 _, . . ., n_ Θ _}_ are used to evaluate the sensitivities, and the Euclidean norm of each is 1. Thus, the square of each vector component _vp,m_ <sup>2</sup> is the relative direction share of component _vp,m_ pointing in the direction of parameter Θ _m_ [38]. Multiplying the relative direction share _vp,m_ <sup>2</sup> <sup>with</sup> <sup>the</sup> <sup>corresponding</sup> <sup>singular</sup> value _σp_ yields the information amount pointing to the specific parameter’s direction. Summarizing all the information shares of all singular values pointing into the direction of one parameter yields the parameter’s total information: _σ_ Θ _m_ = - _n_ Θ _p_ =1 _σpvp,m_ <sup>2</sup> <sup>_._</sup> (1.23) The _σ_ Θ _m_ for each parameter can be sorted in descending order, and the most significant parameters Θms can be selected by choosing the first _n_ Θms parameters until the inequality - _n_ Θ ms _<u>m</u>_ <u>=1</u> <sup>_<u>σ</u>_</sup> <sup><u>Θ</u></sup> <u>ms</u> _<u>,m</u>_ ~~�~~ _<u>n</u>_ Θ _m_ =1 <sup>_σ_</sup> <sup>Θ</sup> _m_ _≥_ _ζ_ (1.24) is fulfilled. The threshold _ζ_ _∈_ [0 _,_ 1] is chosen as needed, and _n_ Θ ms _≤_ _n_ Θ holds. The least significant parameters are excluded for parametrization and held constant at their initial values, which barely affects the model output due to their minimal sensitivities. With the chosen most significant parameters, the parametrization objective function is defined as [39] <sup>_∗_</sup> _k_ <sup>)+(</sup> <sup>Θ</sup> <sup>0</sup> <sup>_−_</sup> <sup>Θ</sup> <sup>)T</sup> <sup>_Q_</sup> Θ <sup>(</sup> <sup>Θ</sup> <sup>0</sup> <sup>_−_</sup> <sup>Θ</sup> <sup>)</sup> <sup>_._</sup> (1.25) _J_ ( Θ )= - _nk_ _k_ =0 ( _y_ ( _tk,_ Θ ) _−_ _y_ <sup>_∗_</sup> _k_ <sup>_∗_</sup> _k_ <sup>)T</sup> <sup>_Q_</sup> _y_ <sup>(</sup> <sup>_y_</sup> <sup>(</sup> <sup>_tk,_</sup> <sup>Θ</sup> <sup>)</sup> <sup>_−_</sup> <sup>_y_</sup> <sup>_∗_</sup> _k_ <u>17</u> Here, _tk_ is the time at sample instant _k_, _y_ <sup>_∗_</sup> _k_ <sup>is the measured output at instant</sup> <sup>_k_</sup> <sup>,</sup> <sup>_Q_</sup> _y_ <sup>is the</sup> output weighting matrix with consideration of the different output magnitudes, Θ 0 is the initial parameter vector, and _Q_ Θ is the regularization matrix penalizing deviations of the parameter to its initial value. Under consideration of the different parameter magnitudes, the regularization allows incorporating the different parameter uncertainty levels. Finally, the parametrization optimization problem is defined as Θ opt = arg min _J_ ( Θ ) Θ with respect to Θ _m,_ min _≤_ Θ _m_ _≤_ Θ _m,_ max for _m ∈{_ 1 _,_ 2 _, . . ., n_ Θ _}_ _._ (1.26) Constraints are necessary to restrict the solution space and avoid unphysical results. The constraint values can be derived from expert knowledge and physical considerations. In summary, the consecutive two-step parametrization procedure is structured as follows: 1. Thermodynamic submodel a) Parameter sensitivity analysis with respect to Θ th. b) Parametrization with respect to Θ th _,_ ms. 2. Electrochemical submodel a) Solve thermodynamic submodel with the obtained optimized parameter sub set Θ th _,_ opt and store the states _x_ for further usage. b) Parameter sensitivity analysis with respect to Θ el. c) Parametrization with respect to Θ el _,_ ms. Combining the two optimized solutions yields the final one, Θ opt = [ Θ th _,_ opt _,_ Θ el _,_ opt] <sup>T</sup>, and the least significant and unoptimized parameters are kept at their initial values. Selected Results Simulation data is generated with the PEMFC model (1.11) based on a chosen parameter set to validate the proposed approach. This data is used for the parametrization, and in the ideal case, the estimated parameter set is equal to the chosen one. The proposed parametrization approach is executed 100 times independently with a heuristic optimizer [34], and additionally, the whole model is parametrized 100 times independently by simply minimizing the squared output error without any further considerations for comparison (“one-step approach”). In Figure 1.9, the resulting empirical distributions of the normed parameters are given in red for the one-step approach and in blue for the proposed two-step one (relatively small). There are no two-step approach estimations <u>18</u> <u>1.3</u> <u>Methodology</u> for some parameters because these were excluded in the optimization due to poor identifiability and kept at their initial value. The parameter variance in the two-step case is always significantly lower than in the one-step case, proving the former’s superiority. Parametrization Validation Parameter One-Step Two-Step Figure 1.9: Relative distribution (100 independent estimations) of optimized pa rameters with an “one-step” (red) and the proposed two-step (blue) approach. Θ0 _,m_ denotes true parameter value, and + symbol indicates outliers in the box plots. 1.3.4 Holistic Observer Design Workflow Observer design methods usually only cover the elaboration of an estimation algorithm and a simulation-based validation. However, many more steps are necessary for realworld observer implementations, which are usually not addressed in the scope of the observer design. A holistic PEMFC concentration observer design workflow is introduced here, which covers all necessary steps and serves as a sophisticated guideline for implementing an observer in a real-world case. Main Idea In order to obtain a real-world implementation guideline, the design workflow starts with modeling a given system and finishes with a validated, ready-to-use concentration observer, as in a real-world scenario. In this thesis, parts of the necessary methods are already presented, which are now meaningfully combined with additional ones into a holistic observer design workflow (see Figure 1.2). The workflow is demonstrated with an EKF on a 30 kW PEMFC test stand. <u>19</u> Design Workflow The design workflow consists of four main steps, as shown in Figure 1.2: 1. System modeling 2. DOE 3. Experiment execution and parametrization 4. Observer design, including experimental validation The first step of implementing a model-based observer is to obtain a suitable model (see Section 1.3.1). It should have a decent level of accuracy and manageable complexity. The former is needed for realistic model outputs, and the latter is required for real-time control applications. Moreover, physically motivated models yield meaningful states and behavior, indispensable for diagnosis. Second, based on the model, appropriate experiments must be designed (see Section 1.3.2) for improved parameter identifiability and validation. The improvement reduces the necessary number and length of experiments to obtain good results compared with nonspecifically designed ones. In an ideal case, the designed experiments yield even better results with reduced length, which is beneficial because experiment execution requires budget and resources, both limited in real-world scenarios. Available resources, system constraints, and input and output configurations have to be considered for the DOE. Third, the designed experiments must be executed accordingly, and the measurement data quality must be checked. A measurement-based model parametrization (see Section 1.3.3) follows, which is concluded by a measurement-based validation. The goal is to get a validated model well-fitted to the real system behavior, essential for accurate diagnosis and model-based control. The fourth and final step comprises the observer design based on the parametrized model, including experimental validation. Model-based observers offer advantages when combined with model-based controllers [40] because the required Jacobians only need to be computed once and can be utilized multiple times, saving computational resources. In this thesis, an observer based on the EKF estimation algorithm [6] is designed to demonstrate the proposed workflow. For this purpose, the time-continuous model (1.11) needs to be discretized: _x_ _k_ = _F_ ( _x_ _k−_ 1 _,_ _u_ _k−_ 1 _,_ Θ ) _,_ _y_ _k_ = _g_ ( _x_ _k,_ _u_ _k,_ Θ ) _,_ (1.27a) _x_ <sup>_∗_</sup> _k_ <sup>=</sup> <sup>_x_</sup> <sup>_k_</sup> <sup>+</sup> <sup>_wx_</sup> <sup>_,k−_</sup> <sup>1</sup> <sup>_,_</sup> _y_ <sup>_∗_</sup> _k_ <sup>=</sup> <sup>_y_</sup> _k_ <sup>+</sup> <sup>_wy_</sup> <sup>_,k._</sup> (1.27b) <sup>_∗_</sup> _k_ <sup>=</sup> <sup>_x_</sup> <sup>_k_</sup> <sup>+</sup> <sup>_wx_</sup> <sup>_,k−_</sup> <sup>1</sup> <sup>_,_</sup> _y_ <sup>_∗_</sup> _k_ <sup>_∗_</sup> _k_ <sup>=</sup> <sup>_y_</sup> _k_ <sup>+</sup> <sup>_wy_</sup> <sup>_,k._</sup> (1.27b) The time-discrete system function _F_ ( _x_ _k−_ 1 _,_ _u_ _k−_ 1 _,_ Θ ) predicts the state _x_ _k_ based on quantities from the previous sample and solving the model over a sampling period. The output function _g_ remains unchanged and is not affected by discretization because it <u>20</u> <u>1.3</u> <u>Methodology</u> is a mapping function, not an ODE, and the starred variables are the noisy (and measured) analogs, where _wx_ is the process noise and _wy_ measurement noise. The noises are assumed to be white, uncorrelated, and with known covariances, as described by the normal distributions: _wx_ _∼N_ ( 0 _,_ Σ _x_ ) _,_ _wy_ _∼N_ ( 0 _,_ Σ _y_ ) _,_ _x_ 0 _∼N_ ( _~~x~~_ 0 _,_ Σ _x_ 0) _._ (1.28) The initial state _x_ 0 needs to be estimated, its mean is _~~x~~_ 0, and Σ _≻_ 0 holds. The observer estimation algorithm is split into a prediction and an update step. First, the state _x_ ˆ <sup>_−_</sup> _k_ and covariance estimate Σ <sup>ˆ</sup> _−_ _x_ ˆ _,k_ <sup>are</sup> <sup>predicted</sup> <sup>using</sup> <sup>quantities</sup> <sup>from</sup> <sup>the</sup> <sup>past</sup> <sup>sample:</sup> _−_ _x_ ˆ _,k_ <sup>are</sup> <sup>predicted</sup> <sup>using</sup> <sup>quantities</sup> <sup>from</sup> <sup>the</sup> <sup>past</sup> <sup>sample:</sup> _x_ ˆ <sup>_−_</sup> _k_ <sup>=</sup> <sup>_F_</sup> <sup>(ˆ</sup> <sup>_x_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>Θ</sup> <sup>)</sup> <sup>_,_</sup> (1.29a) _−_ <sup>T</sup> _k−_ 1 <sup>+</sup> <sup>Σ</sup> <sup>_x_</sup> <sup>_._</sup> (1.29b) Σ ˆ _−_ _x_ ˆ _,k_ <sup>=</sup> <sup>_A_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>Σ</sup> <sup>ˆ</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>_,k−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>T</sup> _k_ The superscripted minus denotes prediction, and the initial values are given by _x_ ˆ 0 = _x_ 0 and Σ <sup>ˆ</sup> _x_ ˆ _,_ 0 = Σ _x_ 0. The partial derivative of the model, _A_ _k−_ 1, is the discretized system matrix described later. The model output estimate is given with _y_ ˆ <sup>_−_</sup> _k_ <sup>=</sup> <sup>_g_</sup> <sup>(ˆ</sup> <sup>_x_</sup> <sup>_−_</sup> _k_ <sup>_,_</sup> <sup>_u_</sup> <sup>_k,_</sup> <sup>Θ</sup> <sup>).</sup> <sup>_−_</sup> _k_ <sup>=</sup> <sup>_g_</sup> <sup>(ˆ</sup> <sup>_x_</sup> <sup>_−_</sup> _k_ matrix described later. The model output estimate is given with _y_ ˆ <sup>_−_</sup> _k_ <sup>=</sup> <sup>_g_</sup> <sup>(ˆ</sup> <sup>_x_</sup> <sup>_−_</sup> _k_ <sup>_,_</sup> <sup>_u_</sup> <sup>_k,_</sup> <sup>Θ</sup> <sup>).</sup> Three equations govern the update step, where current quantities are used, and the measured output _y_ <sup>_∗_</sup> _k_ <sup>is</sup> <sup>exploited.</sup> <sup>The</sup> <sup>first</sup> <sup>equation</sup> <sup>calculates</sup> <sup>the</sup> <sup>Kalman</sup> <sup>gain</sup> <sup>_L_</sup> <sup>_k_</sup> <sup>,</sup> measured output _y_ <sup>_∗_</sup> _k_ <sup>is</sup> <sup>exploited.</sup> <sup>The</sup> <sup>first</sup> <sup>equation</sup> <sup>calculates</sup> <sup>the</sup> <sup>Kalman</sup> <sup>gain</sup> <sup>_L_</sup> <sup>_k_</sup> <sup>,</sup> used to get the updated state _x_ ˆ _k_ and covariance estimate Σ <sup>ˆ</sup> _x_ ˆ _,k_ : _−_ <sup>T</sup> _k_ <sup>(</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>Σ</sup> <sup>ˆ</sup> <sup>T</sup> _k_ <sup>+</sup> <sup>Σ</sup> <sup>_y_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_,_</sup> (1.30a) _L_ _k_ = Σ <sup>ˆ</sup> _−_ _x_ ˆ _,k_ <sup>_C_</sup> <sup>T</sup> _k_ _−_ _−_ _x_ ˆ _,k_ <sup>_C_</sup> <sup>T</sup> _k_ _x_ ˆ _k_ = _x_ ˆ <sup>_−_</sup> _k_ <sup>_∗_</sup> _k_ <sup>_−_</sup> <sup>_y_</sup> <sup>ˆ</sup> <sup>_−_</sup> _k_ <sup>_−_</sup> _k_ <sup>+</sup> <sup>_L_</sup> <sup>_k_</sup> <sup>(</sup> <sup>_y_</sup> <sup>_∗_</sup> _k_ <sup>_−_</sup> _k_ <sup>)</sup> <sup>_,_</sup> (1.30b) _−_ _x_ ˆ _,k_ <sup>(</sup> <sup>_I_</sup> <sup>_−_</sup> <sup>_L_</sup> <sup>_k_</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>)T +</sup> <sup>_L_</sup> <sup>_k_</sup> <sup>Σ</sup> <sup>_yL_</sup> <sup>T</sup> _k_ _−_ (1.30c) <sup>T</sup> _k_ <sup>_._</sup> Σ ˆ _x_ ˆ _,k_ = ( _I_ _−_ _L_ _k_ _C_ _k_ ) ˆ Σ The identity matrix is given with _I_, and _C_ _k_ is another partial model derivative. Analytically deriving the model (1.11) yields the required Jacobians: _,_ _C_ ( _tk_ ) = <sup>_<u>∂</u>_</sup> <sup>_<u>g</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> _∂_ _x_ ����� _x_ ˆ _k−_ 1 _,_ _u_ _k−_ 1 _,_ Θ ����� _x_ ˆ _−k_ <sup>_,_</sup> <sup>_u_</sup> <sup>_k,_</sup> <sup>Θ</sup> _A_ ( _tk−_ 1) = <sup>_<u>∂</u>_</sup> <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> _∂_ _x_ _A_ ( _tk−_ 1) = <sup>_<u>∂</u>_</sup> <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>u</u>_</sup> <sup>_<u>,</u>_</sup> <sup><u>Θ</u></sup> <sup><u>)</u></sup> (1.31) Toolboxes [41] enable the analytical derivation, and the time-continuous _A_ ( _tk−_ 1) has to be discretized to obtain the time-discrete _A_ _k−_ 1. Last but not least, the updated output estimate is given with _y_ ˆ _k_ = _g_ (ˆ _x_ _k,_ _u_ _k,_ Θ ). The estimation algorithm is conducted every instant to continuously observe the quantities of interest. The validation is crucial to approve the observer for real-world applications. In this regard, measurements from suitably designed experiments (see Section 1.3.2) are required, especially state measurements, i.e., PEMFC concentrations. Only the measured system inputs and outputs are fed into the observer for validation, and the measured states are only used for comparison. The scatter index _S_ _∈_ [0 _, ∞_ ) [42], also known as normalized root-mean-square error, is utilized to assess the estimation quality: _._ (1.32) _S_ = <u>1</u> _<u>nk</u>_ <u>+1</u> <u>1</u> _nk_ +1 ~~�~~ _nk_ _k_ =0 <sup>(</sup> <sup>_y_</sup> _k_ <sup>_∗_</sup> _k_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_y_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>)2</sup> ~~�~~ _<u>nk</u>_ _k_ =0 <sup>_y_</sup> _k_ <sup>_∗_</sup> _k_ <u>21</u> A value of 0 means perfect replication of the measurement data by the observer, and increasing values indicate progressively worse replication performance. The presented workflow may require iterations throughout the design process, and finally, the validated observer is ready-to-use for real-world implementations. Selected Results Figure 1.10 shows the observer estimations with a validation data set. Note that the observer only uses the model (1.11), the estimation algorithm (1.29)-(1.30), and the measured inputs and outputs (not shown here) to estimate the PEMFC anode concentrations and partial pressures, respectively. The measured partial pressures are entirely unknown to the observer and are only given for reference here. The pressure magnitude and dynamics are very well matched notably hydrogen. Nitrogen and vapor have some deviations due to modeling and measurement-related reasons. The observer’s performance is outstanding, considering the simple model and the observer is ready-to-use for real-world applications. Observer Validation _S_ = 0 _._ 046, _S_ = 0 _._ 61, _S_ = 0 _._ 26 <u>Dashed/light:</u> <u>Measured</u> Solid/dark: Estimated Time (s) <mark>H</mark> 2 <mark>N</mark> 2 <mark>vap</mark> Figure 1.10: Validation of the observer estimations of the internal anode exit manifold partial pressures of hydrogen (H2), nitrogen (N2), and vapor (vap) with the corresponding scatter indices _S_ . Dashed lines represent measured references, and solid ones the observer signals. <u>22</u> <u>1.4</u> <u>Summary</u> <u>of</u> <u>Scientific</u> <u>Publications</u> ##### 1.4 Summary of Scientific Publications In Publication A (Section 2.1), a control-oriented PEMFC stack model is proposed focusing on physically motivated water modeling, covering phase change, liquid water removal, membrane water uptake, and water flooding effects on the electrochemical reaction. The phase change is derived from an adapted Hertz-Knudsen equation, the droplet removal is governed by a force balance over an average droplet, the membrane water uptake is determined by a relationship derived at the nominal operating temperature, and the flooding effects are based on the EMT. The fitted model is obtained by parametrizing the derived model with measurement data, and it enables precious insight into the water mechanisms, which were profoundly analyzed. To summarize, the presented model enables the development of advanced PEMFC control strategies for efficient water management and mitigating the related degradation phenomena. Furthermore, the model provides the necessary accuracy for control applications while maintaining computational efficiency. In Publication B (Section 2.2), an FC concentration observer design workflow is presented, covering the model-based DOE, their execution, systematic nonlinear identification, and measurement-based validation. Unique for PEMFC observers is the modelbased DOE and the validation with a mass spectrometer, including dynamic operation. The workflow is demonstrated with a constrained EKF observer on a 30 kW PEMFC test stand. A control-oriented and physically motivated model is the workflow basis, and the parameter sensitivity measure Fisher information is optimized in the DOE for single parameters individually while assuming steady-state. The measurements are obtained from the test stand, the parametrization includes a sensitivity analysis, and the experimentally validated observer has an outstanding concentration estimation performance. Thus, the observer is ready for real-world applications. In Publication C (Section 2.3), a new efficient two-step method is introduced. It aims at parametrizing control-oriented zero-dimensional PEMFC models with measured stack data. An existing model is reduced to decrease its stiffness for accelerated numerical simulations, and subdividing the parametrization into two consecutive subproblems (thermodynamic and electrochemical ones) reduces the solution space considerably. Nonsignificant parameters are excluded by a parameter sensitivity analysis, further reducing each sub-solution space. The method results in an efficient parametrization process, and the two-step approach minimizes each sub-solution space’s dimension compared to the global one by two-thirds and three-fourths, respectively. An average achieved _R_ <sup>2</sup> value of 91 % between simulation and measurement provides the required accuracy for control-oriented models. <u>23</u> ##### 1.5 Scientific Contribution of This Thesis The main scientific contribution of this thesis is the holistic observer design workflow, which includes the subordinate contributions regarding modeling, DOE, and parametrization. To the best of the author’s knowledge, this is the most holistic design workflow for PEMFC concentration observers. From modeling the system in a physically motivated way over model-based DOE and systematic parametrization to observer design, including experimental validation, the workflow perfectly serves as a sophisticated and comprehensive guideline for real-world observer implementations. The scientific contributions of this thesis can be summarized as follows: - Water Modeling (Publication A) – Physically motivated modeling of phase change, droplet removal, membrane water uptake, and flooding in a control-oriented model [answering Q.1 ]. – The derived model enables simulation studies of these water effects to improve the understanding of their impact. – Water modeling enables model-based controllers to consider these water ef fects to improve efficiency and mitigate degradation during operation. - Model-Based DOE (Publication B) – Optimizing the model’s sensitivity measure, Fisher information, for single parameters individually by assuming steady-state [answering Q.2 ]. – Optimized experiments have increased parameter identifiability, resulting in fewer and shorter experiments required to obtain a proper parametrization than using non-specifically designed ones, saving budget and resources. – Improved validation by using the entire available input space. – The presented method serves as a basis for more sophisticated model-based DOE approaches. - Efficient Parametrization (Publication C) – Simplifying the parametrization problem by exploiting the model structure to reduce the solution space significantly [answering Q.3 ]. – Excluding poorly identifiable parameters from optimization using a parameter sensitivity analysis [answering Q.3 ]. – Significantly reduced solution space yield improved parametrization results. – A well-parametrized model is the basis for meaningful simulation and ad vanced model-based control applications. <u>24</u> <u>1.5</u> <u>Scientific</u> <u>Contribution</u> <u>of</u> <u>This</u> <u>Thesis</u> - Concentration Observer Design Workflow (Publication B) – Aligning the presented methods into a workflow from modeling over DOE and parametrization to observer design, including experimental validation, to get a holistic observer design workflow [answering O. ]. – The resulting observer yields outstanding estimation performance. – Observer enables online diagnosis of the system to assess the state of health. – It also establishes the prerequisites for model-based control to improve effi ciency and minimize degradation. The scientific contributions answer all the defined research questions one after the other and converge to the answer to the main research question on how to design a PEMFC concentration observer holistically. The holistic design workflow is unique in the PEMFC literature, and just as the physically motivated water modeling in a control-oriented model, model-based steady-state DOE, efficient two-step parametrization, and experimental concentration observer validation, including dynamic operation. This work’s scientific contributions are versatile in application. The introduced holistic concentration observer design workflow, including all the considered methods, is not limited to the shown model and observer. It is easily adaptable for the individual use case, and each method is also adjustable and stand-alone implementable. # Bibliography [1] Y. Wang, K. S. Chen, J. Mishler, S. C. Cho, and X. C. Adroher. “A review of polymer electrolyte membrane fuel cells: Technology, applications, and needs on fundamental research”. In: _Appl._ _Energy_ 88.4 (Apr. 2011), pp. 981–1007. doi: `[10.1016/j.apenergy.2010.09.030](https://doi.org/10.1016/j.apenergy.2010.09.030)` . [2] H. Yuan, H. Dai, X. Wei, and P. Ming. “A novel model-based internal state observer of a fuel cell system for electric vehicles using improved Kalman filter approach”. In: _Appl._ _Energy_ 268.January (June 2020), p. 115009. doi: `[10.1016/j.apenergy.](https://doi.org/10.1016/j.apenergy.2020.115009)` `[2020.115009](https://doi.org/10.1016/j.apenergy.2020.115009)` . [3] M. Haschka, T. Weickert, and V. Krebs. “Application of a sigma-point Kalmanfilter for the online estimation of fractional order impedance models for solid oxide fuel cells”. In: _IFAC_ _Proc._ _Vol._ 39.11 (Jan. 2006), pp. 194–199. doi: `[10.3182/](https://doi.org/10.3182/20060719-3-PT-4902.00035)` `[20060719-3-PT-4902.00035](https://doi.org/10.3182/20060719-3-PT-4902.00035)` . [4] K. Chen, S. Laghrouche, and A. Djerdir. “Fuel cell health prognosis using Unscented Kalman Filter: Postal fuel cell electric vehicles case study”. In: _Int._ _J._ _Hydrogen_ _Energy_ 44.3 (Jan. 2019), pp. 1930–1939. doi: `[10.1016/j.ijhydene.](https://doi.org/10.1016/j.ijhydene.2018.11.100)` `[2018.11.100](https://doi.org/10.1016/j.ijhydene.2018.11.100)` . [5] J. Liu, W. Luo, X. Yang, and L. Wu. “Robust Model-Based Fault Diagnosis for PEM Fuel Cell Air-Feed System”. In: _IEEE Trans. Ind. Electron._ 63.5 (May 2016), pp. 3261–3270. doi: `[10.1109/TIE.2016.2535118](https://doi.org/10.1109/TIE.2016.2535118)` . [6] L. Böhler, D. Ritzberger, C. Hametner, and S. Jakubek. “Constrained extended Kalman filter design and application for on-line state estimation of high-order polymer electrolyte membrane fuel cell systems”. In: _Int. J. Hydrogen Energy_ 46.35 (May 2021), pp. 18604–18614. doi: `[10.1016/j.ijhydene.2021.03.014](https://doi.org/10.1016/j.ijhydene.2021.03.014)` . [7] S. de Lira, V. Puig, J. Quevedo, and A. Husar. “LPV observer design for PEM fuel cell system: Application to fault detection”. In: _J._ _Power_ _Sources_ 196.9 (May 2011), pp. 4298–4305. doi: `[10.1016/j.jpowsour.2010.11.084](https://doi.org/10.1016/j.jpowsour.2010.11.084)` . [8] M. Piffard, M. Gerard, R. D. Fonseca, P. Massioni, and E. Bideaux. “Sliding mode observer for proton exchange membrane fuel cell: automotive application”. In: _J._ _Power_ _Sources_ 388.March (June 2018), pp. 71–77. doi: `[10.1016/j.jpowsour.](https://doi.org/10.1016/j.jpowsour.2018.03.057)` `[2018.03.057](https://doi.org/10.1016/j.jpowsour.2018.03.057)` . <u>26</u> <u>Bibliography</u> [9] L. Xu, J. Hu, S. Cheng, C. Fang, J. Li, M. Ouyang, and W. Lehnert. “Nonlinear observation of internal states of fuel cell cathode utilizing a high-order slidingmode algorithm”. In: _J._ _Power_ _Sources_ 356 (July 2017), pp. 56–71. doi: `[10.1016/](https://doi.org/10.1016/j.jpowsour.2017.04.068)` `[j.jpowsour.2017.04.068](https://doi.org/10.1016/j.jpowsour.2017.04.068)` . [10] H. Görgün, M. Arcak, and F. Barbir. “An algorithm for estimation of membrane water content in PEM fuel cells”. In: _J. Power Sources_ 157.1 (June 2006), pp. 389– 394. doi: `[10.1016/j.jpowsour.2005.07.053](https://doi.org/10.1016/j.jpowsour.2005.07.053)` . [11] J. Liu, S. Laghrouche, F.-S. Ahmed, and M. Wack. “PEM fuel cell air-feed system observer design for automotive applications: An adaptive numerical differentiation approach”. In: _Int._ _J._ _Hydrogen_ _Energy_ 39.30 (Oct. 2014), pp. 17210–17221. doi: `[10.1016/j.ijhydene.2014.08.013](https://doi.org/10.1016/j.ijhydene.2014.08.013)` . [12] M. Benallouch, R. Outbib, M. Boutayeb, and E. Laroche. “A new scheme on robust unknown input nonlinear observer for PEM Fuel Cell Stack system”. In: _2009_ _IEEE_ _International_ _Conference_ _on_ _Control_ _Applications,_ _Saint_ _Petersburg,_ _Russia,_ _08-10_ _July_ _2009_ . New York, NY, USA: IEEE, July 2009, pp. 613–618. doi: `[10.1109/CCA.2009.5280955](https://doi.org/10.1109/CCA.2009.5280955)` . [13] D. Rotondo, R. M. Fernandez-Canti, S. Tornil-Sin, J. Blesa, and V. Puig. “Robust fault diagnosis of proton exchange membrane fuel cells using a Takagi-Sugeno interval observer approach”. In: _Int._ _J._ _Hydrogen_ _Energy_ 41.4 (Jan. 2016), pp. 2875– 2886. doi: `[10.1016/j.ijhydene.2015.12.071](https://doi.org/10.1016/j.ijhydene.2015.12.071)` . [14] M. Schultze and J. Horn. “Modeling, state estimation and nonlinear model predictive control of cathode exhaust gas mass flow for PEM fuel cells”. In: _Control_ _Eng._ _Pract._ 49 (Apr. 2016), pp. 76–86. doi: `[10.1016/j.conengprac.2016.01.006](https://doi.org/10.1016/j.conengprac.2016.01.006)` . [15] M. H. Nehrir and C. Wang. “Principles of Operation of Fuel Cells”. In: _Modeling_ _and_ _Control_ _of_ _Fuel_ _Cells:_ _Distributed_ _Generation_ _Applications_ . Piscataway, NJ, USA: IEEE, 2009, pp. 29–56. doi: `[10.1109/9780470443569](https://doi.org/10.1109/9780470443569)` . [16] J. T. Pukrushpan, A. G. Stefanopoulou, and H. Peng. “Fuel Cell System Model: Fuel Cell Stack”. In: _Control_ _of_ _Fuel_ _Cell_ _Power_ _Systems_ . Advances in Industrial Control. London: Springer London, 2004, pp. 31–56. doi: `[10.1007/978-1-4471-](https://doi.org/10.1007/978-1-4471-3792-4)` `[3792-4](https://doi.org/10.1007/978-1-4471-3792-4)` . [17] R. O’Hayre, S.-W. Cha, W. Colella, and F. B. Prinz. “Overview of Fuel Cell Systems”. In: _Fuel_ _Cell_ _Fundamentals_ . Hoboken, NJ, USA: John Wiley & Sons, Inc, May 2016. Chap. 10, pp. 347–391. doi: `[10.1002/9781119191766](https://doi.org/10.1002/9781119191766)` . [18] A. Kravos, D. Ritzberger, G. Tavčar, C. Hametner, S. Jakubek, and T. Katrašnik. “Thermodynamically consistent reduced dimensionality electrochemical model for proton exchange membrane fuel cell performance modelling and control”. In: _J._ _Power_ _Sources_ 454 (Apr. 2020), p. 227930. doi: `[10.1016/j.jpowsour.2020.](https://doi.org/10.1016/j.jpowsour.2020.227930)` `[227930](https://doi.org/10.1016/j.jpowsour.2020.227930)` . <u>Bibliography</u> <u>27</u> [19] D. Ritzberger, C. Hametner, and S. Jakubek. “A Real-Time Dynamic Fuel Cell System Simulation for Model-Based Diagnostics and Control: Validation on Real Driving Data”. In: _Energies_ 13.12 (June 2020), p. 3148. doi: `[10.3390/en13123148](https://doi.org/10.3390/en13123148)` . [20] A. Ramírez-Cruzado, B. Ramírez-Peña, R. Vélez-García, A. Iranzo, and J. Guerra. “Experimental Analysis of the Performance and Load Cycling of a Polymer Electrolyte Membrane Fuel Cell”. In: _Processes_ 8.5 (May 2020), p. 608. doi: `[10.3390/](https://doi.org/10.3390/pr8050608)` `[pr8050608](https://doi.org/10.3390/pr8050608)` . [21] A. Kravos, A. Kregar, Ž. Penga, F. Barbir, and T. Katrašnik. “Real-time capable transient model of liquid water dynamics in proton exchange membrane Fuel Cells”. In: _J._ _Power_ _Sources_ 541 (Sept. 2022), p. 231598. doi: `[10.1016/j.](https://doi.org/10.1016/j.jpowsour.2022.231598)` `[jpowsour.2022.231598](https://doi.org/10.1016/j.jpowsour.2022.231598)` . [22] D. Niblett, V. J. Niasar, and S. Holmes. “Water Distribution in Fuel Cell Gas Channels Using a Mechanistic Discrete Particle Model”. In: _ECS_ _Meet._ _Abstr._ MA202002.33 (Nov. 2020), pp. 2090–2090. doi: `[10.1149/MA2020-02332090mtgabs](https://doi.org/10.1149/MA2020-02332090mtgabs)` . [23] C. W. Extrand and Y. Kumagai. “Liquid Drops on an Inclined Plane: The Relation between Contact Angles, Drop Shape, and Retentive Force”. In: _J._ _Colloid_ _Interface_ _Sci._ 170.2 (Mar. 1995), pp. 515–521. doi: `[10.1006/jcis.1995.1130](https://doi.org/10.1006/jcis.1995.1130)` . [24] A. D. Santamaria, P. K. Das, J. C. MacDonald, and A. Z. Weber. “Liquid-Water Interactions with Gas-Diffusion-Layer Surfaces”. In: _J._ _Electrochem._ _Soc._ 161.12 (Aug. 2014), F1184–F1193. doi: `[10.1149/2.0321412jes](https://doi.org/10.1149/2.0321412jes)` . [25] A. Z. Weber, R. L. Borup, R. M. Darling, P. K. Das, T. J. Dursch, W. Gu, D. Harvey, A. Kusoglu, S. Litster, M. M. Mench, R. Mukundan, J. P. Owejan, J. G. Pharoah, M. Secanell, and I. V. Zenyuk. “A Critical Review of Modeling Transport Phenomena in Polymer-Electrolyte Fuel Cells”. In: _J._ _Electrochem._ _Soc._ 161.12 (Sept. 2014), F1254–F1299. doi: `[10.1149/2.0751412jes](https://doi.org/10.1149/2.0751412jes)` . [26] T. E. Springer, T. A. Zawodzinski, and S. Gottesfeld. “Polymer Electrolyte Fuel Cell Model”. In: _J._ _Electrochem._ _Soc._ 138.8 (Aug. 1991), pp. 2334–2342. doi: `[10.](https://doi.org/10.1149/1.2085971)` `[1149/1.2085971](https://doi.org/10.1149/1.2085971)` . [27] J. T. Hinatsu, M. Mizuhata, and H. Takenaka. “Water Uptake of Perfluorosulfonic Acid Membranes from Liquid Water and Water Vapor”. In: _J._ _Electrochem._ _Soc._ 141.6 (June 1994), pp. 1493–1498. doi: `[10.1149/1.2054951](https://doi.org/10.1149/1.2054951)` . [28] D. A. G. Bruggeman. “Berechnung verschiedener physikalischer Konstanten von heterogenen Substanzen. III. Die elastischen Konstanten der quasiisotropen Mischkörper aus isotropen Substanzen”. In: _Ann._ _Phys._ 421.2 (1937), pp. 160–178. doi: `[10.1002/andp.19374210205](https://doi.org/10.1002/andp.19374210205)` . [29] G. S. Hwang and A. Z. Weber. “Effective-Diffusivity Measurement of PartiallySaturated Fuel-Cell Gas-Diffusion Layers”. In: _J._ _Electrochem._ _Soc._ 159.11 (Jan. 2012), F683–F692. doi: `[10.1149/2.024211jes](https://doi.org/10.1149/2.024211jes)` . <u>28</u> <u>Bibliography</u> [30] J. P. Owejan, T. A. Trabold, and M. M. Mench. “Oxygen transport resistance correlated to liquid water saturation in the gas diffusion layer of PEM fuel cells”. In: _Int._ _J._ _Heat_ _Mass_ _Transf._ 71 (Apr. 2014), pp. 585–592. doi: `[10.1016/j.](https://doi.org/10.1016/j.ijheatmasstransfer.2013.12.059)` `[ijheatmasstransfer.2013.12.059](https://doi.org/10.1016/j.ijheatmasstransfer.2013.12.059)` . [31] H. Nijmeijer and A. van der Schaft. “Introduction”. In: _Nonlinear Dynamical Con-_ _trol_ _Systems_ . New York, NY: Springer New York, 1990, pp. 1–22. doi: `[10.1007/](https://doi.org/10.1007/978-1-4757-2101-0)` `[978-1-4757-2101-0](https://doi.org/10.1007/978-1-4757-2101-0)` . [32] L. Ljung. “Parameter Estimation Methods”. In: _System_ _Identification:_ _Theory_ _for_ _the_ _User_ . 2nd. Englewood Cliffs, NJ, USA: Prentice Hall PTR, 1999, pp. 169–207. [33] H. Cramér. _Mathematical Methods of Statistics_ . Vol. 9. Princeton, NJ, USA: Princeton University Press, 1999. [34] _MathWorks_ _Find_ _minimum_ _of_ _function_ _using_ _genetic_ _algorithm_ _-_ _MATLAB_ _ga_ . url: `[https://www.mathworks.com/help/gads/ga.html](https://www.mathworks.com/help/gads/ga.html)` (visited on 02/15/2021). [35] J. F. Van Doren, S. G. Douma, P. M. Van den Hof, J. D. Jansen, and O. H. Bosgra. “Identifiability: from qualitative analysis to model structure approximation”. In: _IFAC_ _Proc._ _Vol._ 42.10 (2009), pp. 664–669. doi: `[10.3182/20090706- 3- FR-](https://doi.org/10.3182/20090706-3-FR-2004.00110)` `[2004.00110](https://doi.org/10.3182/20090706-3-FR-2004.00110)` . [36] J. D. Stigter and J. Molenaar. “A fast algorithm to assess local structural identifiability”. In: _Automatica_ 58 (Aug. 2015), pp. 118–124. doi: `[10.1016/j.automatica.](https://doi.org/10.1016/j.automatica.2015.05.004)` `[2015.05.004](https://doi.org/10.1016/j.automatica.2015.05.004)` . [37] D. C. López C., T. Barz, S. Körkel, and G. Wozny. “Nonlinear ill-posed problem analysis in model-based parameter estimation and experimental design”. In: _Com-_ _put._ _Chem._ _Eng._ 77 (June 2015), pp. 24–42. doi: `[10.1016/j.compchemeng.2015.](https://doi.org/10.1016/j.compchemeng.2015.03.002)` `[03.002](https://doi.org/10.1016/j.compchemeng.2015.03.002)` . [38] M. Eckert, G. Buchsbaum, and A. Watson. “Separability of spatiotemporal spectra of image sequences”. In: _IEEE_ _Trans._ _Pattern_ _Anal._ _Mach._ _Intell._ 14.12 (1992), pp. 1210–1213. doi: `[10.1109/34.177387](https://doi.org/10.1109/34.177387)` . [39] O. Nelles. “Introduction to Optimization”. In: _Nonlinear_ _Syst._ _Identif._ Berlin, Heidelberg: Springer Berlin Heidelberg, 2001, pp. 23–34. doi: `[10.1007/978-3-662-](https://doi.org/10.1007/978-3-662-04323-3)` `[04323-3](https://doi.org/10.1007/978-3-662-04323-3)` . [40] M. Vrlić, D. Ritzberger, and S. Jakubek. “Safe and Efficient Polymer Electrolyte Membrane Fuel Cell Control Using Successive Linearization Based Model Predictive Control Validated on Real Vehicle Data”. In: _Energies_ 13.20 (Oct. 2020), p. 5353. doi: `[10.3390/en13205353](https://doi.org/10.3390/en13205353)` . [41] _MathWorks_ _Symbolic_ _Math_ _Toolbox_ _-_ _MATLAB_ . url: `[https://www.mathworks.](https://www.mathworks.com/products/symbolic.html)` `[com/products/symbolic.html](https://www.mathworks.com/products/symbolic.html)` (visited on 01/30/2021). <u>Bibliography</u> <u>29</u> [42] L. Zambresky. _A_ _verification_ _study_ _of_ _the_ _global_ _WAM_ _model_ . Tech. rep. Reading, England, UK: European Centre for Medium-Range Weather Forecasts, 1989, pp. 1– 86. url: `[http://www.citeulike.org/group/11419/article/6355268](http://www.citeulike.org/group/11419/article/6355268)` . # Chapter 2 Publications ##### List of Selected Journal Publications Publication A Zhang Peng Du, Andraž Kravos, Christoph Steindl, Tomaž Katrašnik, Stefan Jakubek, and Christoph Hametner. Physically Motivated Water Modeling in Control-Oriented Polymer Electrolyte Membrane Fuel Cell Stack Models . _Energies_ 14 (2021) p. 7693. doi: `[10.3390/en14227693](https://doi.org/10.3390/en14227693)` Publication B Zhang Peng Du, Christoph Steindl, Stefan Jakubek, and Christoph Hametner. Concentration Estimation for Fuel Cells: Design of Experiments, Nonlinear Identification, and Observer Design With Experimental Validation . _IEEE_ _Access_ 11 (2023) pp. 10453–10470. doi: `[10.1109/ACCESS.2023.3241227](https://doi.org/10.1109/ACCESS.2023.3241227)` Publication C Zhang Peng Du, Christoph Steindl, and Stefan Jakubek. Efficient Two-Step Parametrization of a Control-Oriented Zero-Dimensional Polymer Electrolyte Membrane Fuel Cell Model Based on Measured Stack Data . _Processes_ 9 (2021) p. 713. doi: `[10.3390/pr9040713](https://doi.org/10.3390/pr9040713)` <u>31</u> ##### 2.1 Publication A Z. P. Du, A. Kravos, C. Steindl, T. Katrašnik, S. Jakubek, and C. Hametner. “Physically Motivated Water Modeling in Control-Oriented Polymer Electrolyte Membrane Fuel Cell Stack Models”. In: _Energies_ 14.22 (Nov. 2021), p. 7693. doi: `[10.3390/en14227693](https://doi.org/10.3390/en14227693)` Applicant’s Contribution <sup>†</sup> - Zhang Peng Du: Conceptualization, Methodology, Investigation, Data Curation, Software, Visualization, Writing - Original Draft - Andraž Kravos: Conceptualization, Methodology, Investigation, Writing - Original Draft - Christoph Steindl: Investigation, Data Curation - Tomaž Katrašnik: Conceptualization, Methodology, Writing - Review & Editing, Supervision, Project administration, Funding acquisition - Stefan Jakubek: Writing - Review & Editing, Supervision, Project administration, Funding acquisition - Christoph Hametner: Conceptualization, Methodology, Writing - Review & Editing, Supervision, Project administration, Funding acquisition †According to the Elsevier CRediT author statement: `[https://www.elsevier.com/authors/](https://www.elsevier.com/authors/policies-and-guidelines/credit-author-statement)` ``` policies-and-guidelines/credit-author-statement ``` <u>32</u> <u>2.1</u> <u>Publication</u> <u>A</u> ## _energies_ _Article_ ###### Physically Motivated Water Modeling in Control-Oriented Polymer Electrolyte Membrane Fuel Cell Stack Models Zhang Peng Du <sup>1,</sup> * , Andraž Kravos <sup>2</sup> , Christoph Steindl <sup>3</sup> , Tomaž Katrašnik <sup>2</sup> , Stefan Jakubek <sup>1</sup> and Christoph Hametner <sup>4</sup> 1 Institute of Mechanics and Mechatronics, TU Wien, Getreidemarkt 9, 1060 Vienna, Austria; stefan.jakubek@tuwien.ac.at 2 Faculty of Mechanical Engineering, University of Ljubljana, Aškerˇceva 6, 1000 Ljubljana, Slovenia; andraz.kravos@fs.uni-lj.si (A.K.); tomaz.katrasnik@fs.uni-lj.si (T.K.) 3 Institute of Powertrains and Automotive Technology, TU Wien, Getreidemarkt 9, 1060 Vienna, Austria; christoph.steindl@tuwien.ac.at 4 Christian Doppler Laboratory for Innovative Control and Monitoring of Automotive Powertrain Systems, TU Wien, Getreidemarkt 9, 1060 Vienna, Austria; christoph.hametner@tuwien.ac.at * Correspondence: zhang.peng.du@tuwien.ac.at; Tel.: +43-1-58801-325540 ����� ��� ������� Citation: Du, Z.P.; Kravos, A.; Steindl, C.; Katrašnik, T.; Jakubek, S.; Hametner, C. Physically Motivated Water Modeling in Control-Oriented Polymer Electrolyte Membrane Fuel Cell Stack Models. _Energies_ 2021, _14_, 7693. https://doi.org/10.3390/ en14227693 Academic Editor: Antonino S. Aricò Received: 20 October 2021 Accepted: 15 November 2021 Published: 17 November 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affil iations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). Abstract: Polymer electrolyte membrane fuel cells (PEMFCs) are prone to membrane dehydration and liquid water flooding, negatively impacting their performance and lifetime. Therefore, PEMFCs require appropriate water management, which makes accurate water modeling indispensable. Unfortunately, available control-oriented models only replicate individual water-related aspects or use oversimplistic approximations. This paper resolves this challenge by proposing, for the first time, a control-oriented PEMFC stack model focusing on physically motivated water modeling, which covers phase change, liquid water removal, membrane water uptake, and water flooding effects on the electrochemical reaction. Parametrizing the resulting model with measurement data yielded the fitted model. The parameterized model delivers valuable insight into the water mechanisms, which were thoroughly analyzed. In summary, the proposed model enables the derivation of advanced control strategies for efficient water management and mitigation of the degradation phenomena of PEMFCs. Additionally, the model provides the required accuracy for control applications while maintaining the necessary computational efficiency. Keywords: polymer electrolyte membrane fuel cell; control-oriented model; physically motivated model; water modeling; liquid water effects; analytical differentiable model 1. Introduction Internal combustion engines will be superseded by more environmentally friendly alternatives in the future. Polymer electrolyte membrane fuel cells (PEMFCs) are a promising candidate in this regard, especially in mobile applications. Unfortunately, fuel-cell (FC)-driven vehicles still lead a niche existence in the vehicle market because of various challenges. One challenge is the optimal water management of PEMFCs, which is critical for efficient operation [1], on the one hand, to guarantee a sufficiently hydrated membrane at all times and, on the other hand, to minimize the amount of internal liquid water. The latter leads to another challenge: extending the lifetime of FCs, which could be negatively affected by liquid water [2]. Further challenges are FC development and the related experimental expenditures, which are costly, but reducible by utilizing simulations instead. A significant contribution to resolve the named and other challenges is to develop a suitable FC model that can reproduce the essential water-related transient mechanisms. Accurate replication of the internal water dynamics is crucial for, e.g., diagnosing bad operating conditions such as membrane dehydration, simulation of various operating strategies to determine liquid water flooding, and controlling PEMFCs to increase efficiency by guaranteeing optimal water-related conditions. _Energies_ 2021, _14_, 7693. https://doi.org/10.3390/en14227693 https://www.mdpi.com/journal/energies <u>33</u> _Energies_ 2021, _14_, 7693 2 of 20 On the one hand, control-oriented models usually have a low spatial order and are simplified in many aspects to obtain the necessary computational efficiency for real-time control applications. On the other hand, they still have to replicate the real process with sufficient accuracy to provide satisfactory application results [2–4]. The available models in the literature cover a wide variety of complexity and accuracy regarding water-related modeling, starting from neglecting liquid water inside the model to the point of spatially distributed water modeling. These circumstances influence the ability of the models to replicate the water dynamics, which is essential as outlined above. For example, a PEMFC model to predict the system’s thermal dynamics under the assumption of no water storage inside the system was presented in [5]. This assumption allows the determination of the mass flow of liquid water exiting the FC using a mass balance. The latter considers the generated, incoming, and outgoing water in the gaseous and liquid state. In comparison, in [6], it was assumed that liquid water does not leave the FC stack. It will either evaporate or accumulate inside. Furthermore, it was assumed that the amount of water exceeding the mass of vapor at the vapor saturation pressure would instantaneously condensate into liquid water and vice versa. In addition to that, the entrainment of liquid water by the gas stream was modeled in [7]. The outgoing flow of liquid water was calculated by multiplying the mass of liquid water inside the manifold with a constant and the exiting mass flow. A different approach was followed in [8]. Here, it was assumed that the gaseous and liquid phases inside the channels have the same velocity, and from this assumption, the outgoing liquid water flow was derived. Unlike the other models, the water condensation and evaporation were determined with a finite-rate phase change. The modeling principles used in [8] are common for control-oriented models, e.g., in [9,10], similar ones were utilized. A catalyst layer (CL) volume on the cathode side to replicate the diffusion process through the gas diffusion layer (GDL) was introduced in [11]. This approach has the advantage that the properties at the CL are now evaluable, e.g., the water activity at the CL, which is higher than the water activity in the lumped cathode volume due to the electrochemical reaction. In [12], the GDL was additionally discretized on the cathode and anode side into multiple volumes. Depending on the actual FC temperature, the membrane water content was determined by linearly interpolating between two temperature-specific functions compared to the other models. Furthermore, water flooding effects on the electrochemical reaction were considered by reducing the apparent FC area and, in the following, increasing the apparent current density in the nonflooded sections of the CL. In [13], a similar approach was utilized on an FC with a single cell. Here, the membrane, the GDL of the cathode and anode, and the channels of the cathode and anode were discretized in the through-plane direction, whereas the cathode and anode CLs were modeled with a lumped modeling ansatz. The modeling framework considered the phase change, liquid water transport, droplet detachment, gaseous transport in GDLs and channels, and the flooding effects in the channels, GDLs, and CLs of the FC. The modeling basis allows for additional discretization along the channels, resulting in a one-dimensional plus onedimensional dimensionality of the model. However, this additional discretization results in a significantly increased computational burden. In [14], a lumped parameter model with a one-dimensional membrane electrode assembly submodel was proposed. The effects of flooding were also modeled, but instead of using the apparent FC area and current density, the liquid water saturation in the GDL was utilized. As outlined here, many PEMFC models exist, which cover the water-related mechanisms at different complexity and accuracy levels. The phase change is not considered, or an instantaneous or approximated finite-rate phase change is used. Moreover, it is common to use a function determined at 30 °C to calculate the membrane water content, which is lower than most nominal FC operating temperatures. Furthermore, it was assumed that liquid water accumulates inside the FC or is continuously removed by some approximations depending on the gas stream. In addition, only very few control-oriented models capture flooding effects on the electrochemical model, essential during high loads and for minimizing degradation. Above all, most available models in the literature only consider individual water-related <u>34</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 3 of 20 aspects, and a model of the FC stack having all significant water effects incorporated in a physically motivated way is not available. In summary, there is a knowledge gap regarding control-oriented models for real-time applications, which can replicate the real water dynamics in an FC stack acceptably. Compared to existing models, this work proposes a novel control-oriented model including the main water mechanisms in a physically motivated way to bridge the named knowledge gap for the first time. The included mechanisms are the phase change, droplet removal, membrane water uptake, and flooding effects. An adapted Hertz–Knudsen equation governs the phase change, and droplet detachment is determinable by evaluating the forces acting on a droplet. These two approaches are unique in control-oriented models and enable realistic modeling of the transients correlated with the phase change and liquid water removal. Furthermore, the membrane water uptake is obtainable with a function determined at the nominal FC operating temperature and using the approximated properties at the GDL. This work additionally used effective medium theory (EMT) to consider flooding effects on the electrochemical reaction. An experimental PEMFC stack test bench delivered the measurement data for parameterization and validation, and the tuned parameters were obtained by conducting the parametrization of the resulting model. The model provides sufficient accuracy for control applications, while maintaining the necessary computational efficiency. The novelties are that the model can replicate the internal transient water mechanisms and deliver accurate internal water states, unlike present models. The capability to replicate flooding and dry-out operating conditions opens the possibility of more precise modeling, not only during transient operating conditions, but also during startup and shutdown sequences. The latter enables the calculation of all the main degradation prerequisites under this kind of operation, thus allowing the derivation of predictive control strategies to mitigate degradation phenomena and improve water management, which gives an outlook for further work. This work is subsequently structured as follows: Section 2 shows the description of the PEMFC model. This section also contains a short overview of the experimental setup and the model parametrization. Moreover, Section 3 gives the obtained results, including a thorough discussion. 2. Fuel Cell Model This section shows the description of the control-oriented PEMFC stack model focusing on the physically motivated water modeling. Later in this section, a short description of the experimental setup and the model parametrization is given. The model from Ritzerberger et al. [10], which built on Pukrushpan et al.’s [6] work, was the basis for the proposed model. The choice fell on the named model because it has the advantageous property of analytical differentiability, which is beneficial for various control applications [15–17]. The model derivation was conducted based on the following assumptions: 1. The respective FC manifolds are lumped into one volume and do not have any spatial expansion; 2. The gases are ideal; 3. The gas inside a manifold has homogeneous properties; 4. The gas in the exit manifold has the same composition as in the center manifold; 5. Dry air only consists of nitrogen and oxygen; 6. The FC has one uniform and externally controlled temperature; 7. Steady-state conditions always hold in the supply and exit manifolds, as well as the GDL. The model consists of four interconnected submodels: the cathode, anode, membrane, and electrochemical submodel, illustrated in Figure 1. <u>35</u> _Energies_ 2021, _14_, 7693 4 of 20 Legend Cathode Anode Membrane Electrochemistry Input Output State Internal variable 2H2 + O2 _↓_ 2H2O _m_ ˙ ca,in _ϕ_ ca,in _T_ _p_ atm _m_ ˙ an,in _ϕ_ an,in _m_ ca,O2 _m_ ca,N2 _p_ ca,sm _p_ ca,em _m_ ca,vap _m_ an,H2 _m_ an,N2 _p_ an,sm _p_ an,em _m_ an,vap _m_ an,liq _P_ an,reci _m_ ˙ an,reci _m_ ca,O2 _m_ ca,N2 _m_ ca,vap _m_ ca,liq _a_ m _m_ ˙ m,N2 _m_ ˙ m,vap _α_ ca _I_ _U_ _α_ an Figure 1. Schematic overview of the PEMFC stack model structure [18]. _2.1._ _Model Description_ 2.1.1. Cathode The cathode submodel consists of three consequently connected volumes: the supply, center, and exit manifold. Linearized nozzle equations, e.g., _m_ ˙ ca,in = _m_ ˙ ca,cm,sm = _k_ ca,cm,sm( _p_ ca,sm _−_ _p_ ca,cm), (1) interconnect these manifolds. In this equation, _m_ ˙ ca,in denotes the humid air inflow into the stack, _m_ ˙ ca,cm,sm the mass flow between the supply and center manifold, _k_ ca,cm,sm the corresponding nozzle coefficient, _p_ ca,sm the supply manifold pressure, and _p_ ca,cm the center manifold pressure. The only unknown is the supply manifold pressure, which is explicitly expressible by transforming the given equation. A nonlinear nozzle equation deduced from the Bernoulli equation describes the outflow from the exit manifold to the atmosphere because a linearized nozzle equation cannot replicate the nonlinear behavior due to the significant pressure differences: _m_ ˙ ca,em,cm = _m_ ˙ ca,atm,em, _k_ ca,em,cm( _p_ ca,cm _−_ _p_ ca,em) = _α_ ca _k_ ca,atm,em - (2) 2 _ρ_ ca( _p_ ca,em _−_ _p_ atm). In Equation (2), _m_ ˙ ca,em,cm denotes the mass flow between the center and exit manifold and _m_ ˙ ca,atm,em the one between the exit manifold and the atmosphere. Furthermore, _k_ is the respective nozzle coefficient, _p_ the pressure, _α_ ca the valve position, _ρ_ ca = _m_ ca/ _V_ ca the density of the cathode gas, _m_ ca = ∑ _i m_ ca, _i_ for _i_ _∈{_ O2, N2, vap _}_ the summed mass of the cathode species _m_ ca, _i_, _V_ ca the lumped cathode volume, and vap vapor. Here, the cathode exit manifold pressure _p_ ca,em is the only unknown, which is again expressible by transforming the equation. Using the ideal gas law: _p_ ca, _i_ = <sup>_<u>RT</u>_</sup> _V_ ca _m_ <u>ca,</u> _<u>i</u>_ _Mi_ (3) yields the respective partial pressures _p_ ca, _i_ in the center manifold. Here, _R_ denotes the universal gas constant, _T_ the FC temperature, and _Mi_ the molar mass of _i_ . The absolute pressure in the center manifold is the sum of all partial pressures _p_ ca,cm = ∑ _i p_ ca, _i_ . The respective mass balances: _m_ ˙ ca, _i_ = _m_ ˙ ca,cm,sm _w_ ca,sm, _i_ + _m_ ˙ ca,s, _i −_ _m_ ˙ ca,em,cm _w_ ca,cm, _i_ (4) <u>36</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 5 of 20 describe the change of the species over time. Here, _m_ ˙ ca,s, _i_ is the sink and source term, _w_ ca,cm, _i_ = _m_ ca, _i_ / _m_ ca the mass fraction of species _i_ in the center manifold, and _w_ ca,sm, _i_ the mass fraction of species _i_ in the supply manifold. The humidity ratio of the inlet air: _x_ ca,in = <sup>_M_</sup> <sup>vap</sup> _M_ air _<u>ϕ</u>_ <u>ca,in</u> _<u>p</u>_ <u>sat</u> _p_ ca,sm _−_ _ϕ_ ca,in _p_ sat (5) is necessary to determine the fractions of the inflowing species. Here, _M_ air denotes the molar mass of dry air, _ϕ_ ca,in the relative humidity of the inflowing air, and _p_ sat = _p_ sat( _T_ ) the vapor saturation pressure as a function of temperature [19]. The mass fraction of dry air in the humid inflowing air is _w_ ca,in,air = 1/(1 + _x_ ca,in). Using the given quantities, the respective mass fractions and sink and source terms are derivable: O2 : _w_ ca,sm,O2 = _w_ ca,in,air _w_ air,O2, _m_ ˙ ca,s,O2 = _−_ <sup>_IM_</sup> <sup><u>O2</u></sup> <sup>_n_</sup> <sup><u>cell</u></sup>, (6) 4 _F_ N2 : _w_ ca,sm,N2 = _w_ ca,in,air _w_ air,N2, _m_ ˙ ca,s,N2 = _−m_ ˙ m,N2, (7) vap : _w_ ca,sm,vap = 1 _−_ _w_ ca,in,air, _m_ ˙ ca,s,vap = <sup>_IM_</sup> <sup>vap</sup> <sup>_n_</sup> <sup><u>cell</u></sup> + _m_ ˙ m,vap _−_ _m_ ˙ ca,phase. (8) 2 _F_ - In Equations (6)–(8), _w_ air,O2 and _w_ air,N2 = 1 _−_ _w_ air,O2 denote the mass fraction of oxygen and nitrogen in dry air, respectively, _I_ the current, _n_ cell the number of cells, _F_ the Faraday constant, _m_ ˙ ca,phase the phase change rate, _m_ ˙ m,vap the vapor flow through the membrane, and _m_ ˙ m,N2 the nitrogen flow through the membrane. The derivation of the latter two follows in Section 2.1.3. The consumed oxygen due to the electrochemical reaction governs the mass balance (6), and the first term of the mass balance (8) describes the produced water during the reaction. The equation: _m_ ˙ ca,liq = _m_ ˙ ca,phase _−_ _m_ ˙ ca,liq,out (9) describes the change of liquid water in the cathode, where _m_ ˙ ca,liq,out is the liquid water removal rate. An adapted Hertz–Knudsen equation with a Langmuir-like type of correction addressing the hysteresis between the condensation and evaporation: (10) _m_ ˙ ca,phase = _k_ phase _M_ vap 2 _πRT_ <sup>(</sup> <sup>_p_</sup> <sup>ca,GDL,vap</sup> <sup>_−_</sup> <sup>_p_</sup> <sup>sat)</sup> <sup>_|_</sup> <sup>Φca,phase</sup> <sup>_−_</sup> <sup>_s_</sup> <sup>ca</sup> <sup>_|_</sup> <sup>,</sup> Φca,phase = 1, _p_ ca,GDL,vap _≥_ _p_ sat 0, _p_ ca,GDL,vap _<_ _p_ sat governs the phase change rate. Here, _k_ phase is the phase change coefficient, _p_ ca,GDL,vap = _p_ ca,vap(1 + 2 _I_ / _I_ ca,lm) the approximated vapor partial pressure at the GDL [20,21], _I_ ca,lm the cathode limit current, Φca,phase the phase change switching function, _s_ ca = _m_ ca,liq/( _ρ_ liq _V_ ca) the liquid water saturation, and _ρ_ liq the liquid water density. Section 2.1.4 contains a detailed discussion about the limit current. The vapor partial pressure in the cathode volume _p_ ca,vap is not suitable to determine the phase change rate because the partial pressure at the GDL and CL interface _p_ ca,GDL,vap is much higher during load. Therefore, phase change dominantly takes place in the GDL, where the concentration of the gaseous water is the highest. Instead of implementing additional GDL states to the model, a steady-state approximation delivers the wanted quantity. This approach has the advantage of more accurate modeling while maintaining the computational efficiency of the model. Furthermore, the absolute value expression with a differentiable switching function [11] scales the phase change rate. If the vapor partial pressure is above the saturation pressure, condensation occurs, and the scaling expression is (1 _−_ _s_ ca), which is physically interpretable as the available surface on which condensation can occur. In the opposite case, the scaling expression is only _s_ ca, which means the actual amount of liquid water is scaling the phase change rate. <u>37</u> _Energies_ 2021, _14_, 7693 6 of 20 Compared to approaches with instantaneous phase changes, finite-rate modeling avoids numerical difficulties and discontinuities, as it serves as a relaxation factor. It is common to model the liquid water removal rate proportional to the outflowing gas, which means droplet removal happens continuously. However, in this work, a force balance on an average droplet, similar to the one proposed in [13], was used to determine when it detaches, and only if detachment occurs, liquid water is removed. This way, a discrete approach for the liquid water removal was utilized, which causes fluctuations in the availability of the reactants and consequential the voltage output, as seen from several experimental studies, e.g., [22]. Figure 2 shows the forces acting on a droplet, which visualizes the utilized physical approach. Channel _F_ sh _<u>v</u>_ _F_ ad _F_ pd GDL Figure 2. Sketch of the forces acting on a droplet. The geometry of an average droplet is necessary to calculate the acting forces. The reduced water saturation: _s_ ca,red = <sup>_<u>s</u>_</sup> <sup><u>ca</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>s</u>_</sup> <sup><u>im</u></sup>, _s_ ca,red _∈_ [0, 1] (11) 1 _−_ _s_ im governs the average droplet geometry [23]. Here, _s_ im denotes the immobile water saturation. The latter considers that a sufficient amount of liquid water must accumulate in the GDL before individual droplets connect into streams flowing the liquid water to the GDL–channel interface, where individual droplets are formed. Solely the water on the GDL surface and in the cathode channels, respectively, is prone to droplet removal. A saturation function [11] ensures compliance with the given limits. Multiplying the reduced water saturation _s_ ca,red with the lumped cathode volume _V_ ca and dividing it by the number of droplet injection points _n_ inj, the number of cells _n_ cell, and the FC area _A_ cell yield the average droplet volume: _s_ <u>ca,red</u> _V_ <u>ca</u> _V_ ca,dr = _n_ inj _n_ cell _A_ cell . (12) The single-sized droplets were utilized due to the fact that taking into account different sizes of droplets would be computationally too demanding to calculate in these applications. The number of injection points and thus individual droplets formed per area [24] is obtained with: 10 <sup>6</sup>, (13) _n_ inj = - - _<u>I</u>_ 16.67 erf 3.328 _A_ cell _−_ 1.097 �� + 19.8 <u>38</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 7 of 20 where erf is the error function (a special sigmoid function). The average droplet radius is a geometric relation given by: - _V_ <u>ca,dr</u> �3 ~~�~~ ~~�~~, (14) _r_ ca = �3 _π_ ~~�~~ <u>23</u> <sup>+</sup> <sup><u>cos3</u></sup> <u>3</u> <sup><u>(</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>w)</u></sup> _−_ cos( _θ_ w) where _θ_ w is the wetting angle. The height _h_ ca and the wetted diameter _d_ ca of the average droplet are determinable by: _h_ ca = _r_ ca(1 + cos( _π −_ _θ_ w)), (15) _θ_ w _−_ <sup>_<u>π</u>_</sup> _d_ ca = 2 _r_ ca cos 2 . (16) The adhesion _F_ ca,ad, pressure drop _F_ ca,pd, shear _F_ ca,sh, and gravitational force _F_ ca,g [25,26] are expressed as: _F_ ca,ad = _γd_ ca _β_ (cos( _θ_ w _−_ _θ_ sl) _−_ cos( _θ_ w + _θ_ sl)), (17) �� _−_ 1 , (18) <u>ca</u> <sup>2</sup> <sup>_κ_</sup> <sup><u>ca</u></sup> <sup>_µ_</sup> <sup><u>ca</u></sup> <sup>_V_</sup> <sup>˙</sup> <u>ca,ch</u> 1 _−_ <sup><u>192</u></sup> <sup>_<u>H</u>_</sup> <sup><u>ca</u></sup> _π_ <sup>5</sup> _W_ ca tanh _F_ ca,pd = <sup>4</sup> <sup>_r_</sup> <u>ca</u> <sup>2</sup> _W_ ca _H_ ca <sup>2</sup> - _<u>πW</u>_ <u>ca</u> 2 _H_ ca , _κ_ ca = 12 <u>ca</u> <sup>_µ_</sup> <sup><u>ca</u></sup> <sup>_H_</sup> <sup><u>ca</u></sup> <sup>_v_</sup> <u>ca,ch</u> _F_ ca,sh = <sup>24</sup> <sup>_r_</sup> <sup>2</sup>, (19) ( _H_ ca _−_ _h_ ca) <sup>2</sup> _F_ ca,g = _V_ ca,dr _ρ_ liq _g_ (20) with the calculated quantities. Here, _γ_ denotes surface tension, _β_ and _κ_ ca parameters, _θ_ sl the sliding angle, _µ_ ca the dynamic viscosity of the gas, _V_ <sup>˙</sup> ca,ch the volume flow per channel, _W_ ca and _H_ ca the channel width and height, respectively, _v_ ca,ch = _V_ <sup>˙</sup> ca,ch/( _W_ ca _H_ ca) the bulk gas velocity in a channel, and _g_ the gravitational acceleration. The volume flow per channel: _<u>m</u>_ <u>˙</u> <u>ca,cm,sm</u> _V_ ˙ca,ch = (21) _ρ_ ca _n_ cell _n_ ca,ch(1 _−_ _s_ ca,red) is derived by dividing the mass flow into the center manifold _m_ ˙ ca,cm,sm by the cathode gas density _ρ_ ca, the number of cells _n_ cell, and the number of channels per cell _n_ ca,ch and correcting it with the reduced cross-section (1 _−_ _s_ ca,red). Figure 2 shows the direction of action of the respective forces. Therefore, the shear, pressure drop, and gravitational force are summarizable into a pushing force <sup>_�_</sup> _F_ ca,push = <sup>_�_</sup> _F_ ca,sh + <sup>_�_</sup> _F_ ca,pd + <sup>_�_</sup> _F_ ca,g. The directional gravitational force is dependent on the FC orientation, but it is negligible for typical droplet sizes [27]. Therefore, it is not sketched in the figure and is only given for the sake of completeness. Under the assumption that the droplet removal rate is proportional to the average droplet weight, the relation: _m_ ˙ ca,liq,out = _k_ liq _ρ_ liq _V_ ca,dr Φca,liq, Φca,liq = 1, _F_ ca,push _>_ _F_ ca,ad 0, _F_ ca,push _≤_ _F_ ca,ad (22) is derived, where _k_ liq is the droplet-removal coefficient and Φca,liq the droplet-removal switching function. The latter makes sure that droplet removal only takes place when the pushing force exceeds the adhesion force. 2.1.2. Anode The anode submodel has a similar structure as the cathode one. This section highlights the main differences. Compared to the cathode, the anode has an additional recirculation path. Therefore, the mass balance to determine the exit manifold pressure _p_ an,em addition <u>39</u> _Energies_ 2021, _14_, 7693 8 of 20 ally considers the recirculation mass flow _m_ ˙ an,reci (derived from the ideal gas law) at the outlet side: _m_ ˙ an,em,cm = _m_ ˙ an,atm,em + _m_ ˙ an,reci, _k_ an,em,cm( _p_ an,cm _−_ _p_ an,em) = _α_ an _k_ an,atm,em 2 _ρ_ an( _p_ an,em _−_ _p_ atm) + <sup>_<u>p</u>_</sup> <sup><u>an,em</u></sup> <sup>_<u>V</u>_</sup> <sup>˙an,reci</sup> . _R_ an _T_ (23) Here, _R_ an denotes the anode mass-specific gas constant and _V_ <sup>˙</sup> an,reci = _k_ an,reci _P_ an,reci the recirculation volume flow. The latter is not measured directly, but assumed to be proportional to the measured recirculation pump power _P_ an,reci. The anode mass-specific gas constant is obtained from: _R_ an = <sup>_<u>R</u>_</sup> _m_ <sup>_<u>R</u>_</sup> _m_ an <sup>∑</sup> _i_ _m_ <u>an,</u> _<u>i</u>_ _Mi_ for _i ∈{_ H2, N2, vap _}_ . (24) _i_ In Equation (23), only the exit manifold pressure _p_ an,em is unknown, which is now expressible by transforming the equation. A linearized nozzle equation delivers the mass flow from the supply to the center manifold _m_ ˙ an,cm,sm at the inlet side. Note that the supply manifold pressure _p_ an,sm is a model input, and thus, the anode is pressure driven. This configuration has the advantage of stable model dynamics during closed-end anode operations. The anode inflow is obtainable from the relation _m_ ˙ an,in = _m_ ˙ an,cm,sm _−_ _m_ ˙ an,reci. Moreover, the mass fractions and sink and source terms differ from the cathode: , H2 : N2 : vap : _w_ an,sm,H2 = <sup>_w_</sup> <sup><u>an,in,H2</u></sup> <sup>_m_</sup> <sup>˙</sup> <sup><u>an,in</u></sup> <sup>+</sup> <sup>_w_</sup> <sup><u>an,cm,H2</u></sup> <sup>_m_</sup> <sup>˙</sup> <sup><u>an,reci</u></sup> _m_ ˙ an,cm,sm , _m_ ˙ an,s,H2 = _−_ <sup>_IM_</sup> <sup><u>H2</u></sup> <sup>_n_</sup> <sup><u>cell</u></sup> 2 _F_ _w_ an,sm,N2 = <sup>_w_</sup> <sup><u>an,cm,N2</u></sup> <sup>_m_</sup> <sup>˙</sup> <sup><u>an,reci</u></sup> _m_ ˙ an,cm,sm _m_ ˙ an,s,N2 = _m_ ˙ m,N2, , _w_ an,sm,vap = <sup>_w_</sup> <sup>an,in,vap</sup> <sup>_m_</sup> <sup>˙</sup> <sup>an,in</sup> <sup>+</sup> <sup>_w_</sup> <sup>an,cm,vap</sup> <sup>_m_</sup> <sup>˙</sup> <sup>an,reci</sup> _m_ ˙ an,cm,sm , (25) (26) (27) _m_ ˙ an,s,vap = _−m_ ˙ m,vap _−_ _m_ ˙ an,phase. - Here, _w_ an,in,H2 and _w_ an,in,vap = 1 _−_ _w_ an,in,H2 denote the dry hydrogen and vapor mass fractions in the inlet flow, respectively. The supply manifold mass fractions _w_ an,sm, _i_ are the mass-weighted averages of the inlet and the additional recirculation flow. The fuel consumption due to the electrochemical reaction governs the mass balance (25). Furthermore, no water is produced in the anode, different from the cathode, due to the FC reaction. Therefore, no approximated GDL properties are necessary, and hence, the vapor partial pressure in the lumped anode volume _p_ an,vap governs the phase change rate. 2.1.3. Membrane The membrane is a static submodel except for the membrane water activity _a_ m, which has dynamics to replicate the transient membrane wetting and drying. A common approach is to model the membrane water activity as the average of the cathode _a_ ca = _p_ ca,vap/ _p_ sat and anode water activities _a_ an = _p_ an,vap/ _p_ sat [28]. However, this work uses the water activity at the cathode GDL _a_ ca,GDL = _p_ ca,GDL,vap/ _p_ sat for the reasons outlined above, and a simple first-order relation: _a_ ˙ m = <sup><u>1</u></sup> _τ_ m - _a_ <u>ca,GDL +</u> _a_ <u>an</u> _−_ _a_ m (28) 2 <u>40</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 9 of 20 describes the membrane water activity dynamics. Here, _τ_ m is the characteristic time constant of the membrane, which is interpreted as the membrane water capacity. The polynomial presented in [29] describes the relationship between membrane water activity and membrane water content _λ_ . The polynomial was determined at 80 °C, which is the nominal operating temperature in many cases: _λj_ = 0.3 + 10.8 _aj −_ 16 _a_ <sup>2</sup> _j_ <sup>+ 14.1</sup> <sup>_a_</sup> <sup>3</sup> _j_ for _j ∈{_ (ca,GDL), an, m _}_ (29) 9.2 + 3.8( _aj −_ 1), 1 _<_ _aj_ _≤_ 3 <sup>3</sup> _j_ <sup>,</sup> 0 _≤_ _aj_ _≤_ 1 Here, _λ_ ca,GDL and _λ_ an are understood as the membrane water uptake at the cathode GDL and anode side, respectively. In [30], it was observed that the membrane water content went up to 16.8 at 80 °C in liquid water immersed membranes. For modeling purposes, the water content linearly increases from 9.2 to 16.8 for a water activity value from 1–3. The switching behavior is obtainable by using the differentiable switching function, as shown above. Related to the membrane water uptake is the ohmic resistance of the membrane _R_ m. The former affects the membrane’s ionic conductivity [30]: �� 10 <sup>2</sup>, (30) _σ_ m = (0.005139 _λ_ m _−_ 0.00326) exp which subsequently yields the ohmic resistance: - - <u>1</u> 1268 303 <sup>_−_</sup> _T_ <sup><u>1</u></sup> _<u>δ</u>_ <u>m</u> _R_ m = _σ_ m _A_ cell + _R_ c. (31) Here, _δ_ m denotes the membrane thickness and _R_ c the ohmic contact resistance. The mass flow _m_ ˙ m,vap is also dependent on the membrane water content and combines the electro-osmotic drag and back-diffusion flow of vapor through the membrane. This phenomenon was described in [31], and some prerequisite quantities are necessary to determine the named flow. First, the membrane surface water concentrations for the cathode GDL _c_ ca,GDL = _λ_ ca,GDL _ρ_ m,dry/ _M_ m,dry and anode _c_ an = _λ_ an _ρ_ m,dry/ _M_ m,dry are needed. Here, _ρ_ m,dry denotes the dry membrane density and _M_ m,dry the equivalent weight of the dry membrane. Second, the electro-osmotic drag coefficient: _n_ d = 0.0029 _λ_ <sup>2</sup> m <sup>+ 0.05</sup> <sup>_λ_</sup> <sup>m</sup> <sup>_−_</sup> <sup>3.4</sup> <sup>_·_</sup> <sup>10</sup> <sup>_−_</sup> <sup>19</sup> (32) describes the number of water molecules carried per proton, and the water diffusion coefficient: - - <u>1</u> _D_ = 1.25 exp 2416 303 <sup>_−_</sup> _T_ <sup><u>1</u></sup> �� 10 <sup>_−_</sup> <sup>10</sup> (33) is required to model the diffusion due to the water concentration gradient. Finally, merging all the quantities yields the vapor flow from the anode to the cathode: . (34) _m_ ˙ m,vap = _M_ vap _A_ cell _n_ cell _<u>n</u>_ <u>d</u> _<u>I</u>_ _A_ cell _F_ <sup>_−_</sup> <sup>_D_</sup> <sup>_c_</sup> <sup><u>ca,GDL</u></sup> _δ_ m <sup>_<u>−</u>_</sup> <sup>_c_</sup> <sup><u>an</u></sup> Besides the vapor flow, nitrogen also diffuses through the membrane, which was investigated in detail in [32]. The derived nitrogen permeance through the membrane is: - <u>1</u> 303 <sup>_−_</sup> _T_ <sup><u>1</u></sup> �� 10 <sup>_−_</sup> <sup>14</sup>, (35) _k_ m,N2 = <sup>_M_</sup> <sup><u>N2</u></sup> <sup>_A_</sup> <sup><u>cell</u></sup> <sup>_n_</sup> <sup><u>cell</u></sup> _δ_ m - _E_ <u>N2</u> (0.0295 + 1.21 _f_ _−_ 1.93 _f_ <sup>2</sup> ) exp _R_ <u>41</u> _Energies_ 2021, _14_, 7693 10 of 20 where _E_ N2 is the activation energy of nitrogen, and the volume fraction of water in the membrane [33] is determinable by: _λ_ m _V_ <sup>¯</sup> vap _f_ = _V_ <u>¯m +</u> _λ_ m _V_ <u>¯vap</u> . (36) Here, _V_ <sup>¯</sup> vap denotes the molar volume of vapor and _V_ <sup>¯</sup> m = _M_ m,dry/ _ρ_ m,dry the molar volume of the membrane. Using the derived nitrogen permeance and the respective nitrogen partial pressures yields the nitrogen flow from the cathode to the anode: _m_ ˙ m,N2 = _k_ m,N2 ( _p_ ca,N2 _−_ _p_ an,N2 ). (37) 2.1.4. Electrochemistry The electrochemical submodel interconnects the current, internal thermodynamic states, and voltage. This work utilized the thermodynamically consistent electrochemical model from [21], which has reasonable extrapolation capabilities while only needing a handful of tuning parameters. Additionally, the explicitly defined limit currents are beneficial for the implementation of the liquid water flooding effects. The voltage per cell is defined by: <u>2</u> _<u>I</u>_ 1 + _I_ ca,lm _−_ <sup>Δ</sup> <sup>_g_</sup> <sup><u>ca,ref</u></sup> _eZ_ ca �� <sup>�</sup> �� _−_ 2� _C_ ca,O2 ��2 <sup>�</sup> _U_ cell = <sup>_<u>k</u>_</sup> <sup><u>B</u></sup> <sup>_<u>T</u>_</sup> _eZ_ ca �� ln _C_ ca,vap + _<u>I</u>_ 1 _−_ _I_ an,lm + <sup>Δ</sup> <sup>_g_</sup> <sup><u>an,ref</u></sup> _eZ_ an _<u>I</u>_ 1 _−_ _I_ ca,lm _−_ <sup>_<u>k</u>_</sup> <sup><u>B</u></sup> <sup>_<u>T</u>_</sup> _eZ_ an ln �� _C_ an,H2 + + <sup><u>(</u></sup> <sup>_<u>T −</u>_</sup> <sup>_<u>T</u>_</sup> <sup><u>ref)Δ</u></sup> <sup>_<u>s</u>_</sup> <sup><u>ca</u></sup> _−_ <sup><u>(</u></sup> <sup>_<u>T −</u>_</sup> <sup>_<u>T</u>_</sup> <sup><u>ref)Δ</u></sup> <sup>_<u>s</u>_</sup> <sup><u>an</u></sup> _−_ _R_ m _I_ + (38) _eZ_ ca _<u>I</u>_ 2 _I_ ca,ie _<u>I</u>_ 2 _I_ an,ie <u>2</u> _<u>I</u>_ 1 + _I_ ca,lm _eZ_ an �� _−_ 0.5 <sup>�</sup> �� _−_ 1� _C_ ca,O2 _<u>I</u>_ 1 _−_ _I_ ca,lm _−_ <sup>_<u>k</u>_</sup> <sup><u>B</u></sup> <sup>_<u>T</u>_</sup> _eZ_ ca _−_ <sup>_<u>k</u>_</sup> <sup><u>B</u></sup> <sup>_<u>T</u>_</sup> arcsinh _C_ ca,vap + _<u>I</u>_ 1 _−_ _I_ an,lm �� _−_ 1 <sup>�</sup> _−_ <sup>_<u>k</u>_</sup> <sup><u>B</u></sup> <sup>_<u>T</u>_</sup> _eZ_ an _−_ <sup>_<u>k</u>_</sup> <sup><u>B</u></sup> <sup>_<u>T</u>_</sup> arcsinh _C_ a,H2 . In the electrochemical model, _k_ B denotes the Boltzmann constant, _e_ the elementary charge, _Zn_ for _n_ _∈{_ ca, an _}_ the number of electrons transferred in the electrochemical reaction on the cathode and anode side, respectively, Δ _gn_,ref the specific Gibbs free energy at the reference temperature _T_ ref, and Δ _s_ the specific entropy. Furthermore, the unitless concentrations of the gaseous species: _Cn_, _i_ = <sup>_pn_</sup> <sup><u>,</u></sup> <sup>_<u>i</u>_</sup> _p_ atm for _i ∈{_ O2, vap _}_, _n_ = ca _i_ = H2, _n_ = an (39) are obtainable by normalizing the respective partial pressures to the atmospheric pressure. The intrinsic exchange current is determinable by: _Kn_, (40) _In_,ie = _A_ cell exp - <u>0.5Δ</u> _<u>sn</u>_ <u>(</u> _<u>T −</u>_ _<u>T</u>_ <u>ref)</u> _k_ B _T_ where _Kn_ is the intrinsic exchange current parameter. The limit current is evaluated with: _In_,lm = _Zn F_ _Cn_, _i CDn_ (1 _−_ _sn_ ) <sup>1.5</sup> for _i_ = O2, _n_ = ca _i_ = H2, _n_ = an (41) where _CDn_ denotes the combined diffusivity parameter. For more insight into this model, see [21,34]. Note that the term (1 _−_ _sn_ ) <sup>1.5</sup> with the liquid water saturation _sn_ is the additionally implemented Bruggeman relationship based on the EMT [35–37], which takes the <u>42</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 11 of 20 flooding effects into account. Under the assumption that every cell is identical, multiplying the voltage per cell with the total number of cells yields the stack voltage _U_ = _U_ cell _n_ cell. 2.1.5. Overview The control-oriented model described above is summarized into the nonlinear statespace model: x ˙ = f ( x, u, Θ ), (42) y = g ( x, u, Θ ), (43) where the vectors are structured as follows: x = [ _m_ ca,O2, _m_ ca,N2, _m_ ca,vap, _m_ ca,liq, _m_ an,H2, _m_ an,N2, _m_ an,vap, _m_ an,liq, _a_ m] <sup>T</sup>, (44) u = [ _m_ ˙ ca,in, _ϕ_ ca,in, _α_ ca, _p_ an,sm, _ϕ_ an,in, _α_ an, _P_ an,reci, _p_ atm, _I_, _T_ ] <sup>T</sup>, (45) y = [ _U_, _p_ ca,sm, _p_ ca,em, _m_ ˙ an,in, _p_ an,em] <sup>T</sup> . (46) In Equations (42) and (43), x _∈_ R <sup>9</sup> denotes the state vector, u _∈_ R <sup>10</sup> the input vector, y _∈_ R <sup>5</sup> the output vector, Θ _∈_ R <sup>_n_</sup> <sup>Θ</sup> the vector containing the tunable parameters Θ _l_ for _l_ _∈{_ 1, 2, . . ., _n_ Θ _}_, _n_ Θ the number of parameters, f the system function, and g the output function [38]. _2.2._ _Experimental Setup_ A PEMFC system test bench delivered the measurement data for model parameterization and validation. The test bench consisted mainly of a 30 kW PEMFC stack, a hydrogen supply system, an air-supply system, the cooling circuits, as well as the measurement and control system. The experiments consisted of load point changes of the FC stack through a dynamic DC/AC inverter (battery simulator). The battery simulator was capable of controlling either the current or the voltage level. The latter was used in the given experiment. Furthermore, the battery simulator supplied the electric power generated by the FC stack during operation into the electric grid, and an additional power supply system fed the balance of plant components with energy. A more detailed description of the test bench and the experimental conditions is available in [18]. _2.3._ _Parametrization_ The optimized parameters of the model were the result of the following optimization problem: Θ opt = arg min Θ _J_ ( Θ ) with respect to Θ _l_,min _≤_ Θ _l_ _≤_ Θ _l_,max. (47) The bounds of the parameters, Θ _l_,min and Θ _l_,max, were determined from physical considerations and experience. Solving the state-space models (42) and (43) with a given input signal u ( _t_ ) and a parameter set Θ in continuous time _t_ yielded the simulated output signal y ( _t_, Θ ), which resulted in the sampled one y ( _tk_, Θ ) by sampling it at instants _tk_ for _k_ _∈{_ 1, 2, . . ., _nk}_ . The sampled signal was necessary for the parametrization, and _nk_ is the number of sampling instants. The objective function _J_ considers the weighted squared errors between the measured y <sup>_∗_</sup> ( _tk_ ) and simulated output signals y ( _tk_, Θ ) [18,39]: _J_ ( Θ ) = _nk_ ∑ _k_ =0 ( y ( _tk_, Θ ) _−_ y <sup>_∗_</sup> ( _tk_ )) <sup>T</sup> Qy ( y ( _tk_, Θ ) _−_ y <sup>_∗_</sup> ( _tk_ )) (48) <u>43</u> _Energies_ 2021, _14_, 7693 12 of 20 Here, Qy _∈_ R <sup>5</sup> <sup>_×_</sup> <sup>5</sup> is the output weighting matrix, which allows the weighting of each output component and considering the different component magnitudes. This work used MATLAB R2019b to conduct the simulation and optimization. Euler’s method [40] was used to solve the ordinary differential equation (ODE) system (42), and the initial condition for the ODE system was determined by assuming steady-state conditions at the first sample. Last but not least, the optimization was conducted with the genetic algorithm combined with the fmincon optimizer [41]. 3. Results and Discussion This section presents the results obtained with the parametrized model derived above, including a detailed discussion of the outcomes. Figure 3 shows the simulated outputs compared to the measurement data with the corresponding _R_ <sup>2</sup> values. The figure also depicts measured inputs for reference: the current _I_, the incoming cathode mass flow _m_ ˙ ca,in, the FC temperature _T_, the anode supply manifold pressure _p_ an,sm, and the anode recirculation pump power _P_ an,reci. The model achieved an _R_ <sup>2</sup> value of 98.3 % between the simulated stack voltage and the measured counterpart, 99.9 % for the cathode supply manifold pressure, 99.2 % for the cathode exit manifold pressure, 96.9 % for the incoming anode mass flow, and 72.0 % for the anode exit manifold pressure. An average _R_ <sup>2</sup> value of 93.3 % was achieved by the model, which provided the required accuracy for control applications and validating the proposed modeling approaches in this work. Especially remarkable was the significantly lower agreement of the anode exit manifold pressure _p_ an,em in Figure 3e compared to the others. The reason was that this work approximated the unmeasured recirculation volume flow by assuming that the flow is only proportional to the recirculation pump power _P_ an,reci. Strictly speaking, the recirculation flow is also inversely proportional to the pressure difference over the pump ( _p_ an,sm _−_ _p_ an,em). However, by including the pressure difference in the expression of the recirculation flow, _V_ ˙an,reci = _k_ an,reci _P_ an,reci/( _p_ an,sm _−_ _p_ an,em), the anode exit manifold pressure _p_ an,em is no longer explicitly expressible with the given mass balance (23). Therefore, minor deviations of the simulated signal are accepted to obtain a closed-form expression for _p_ an,em. If the recirculation flow were additionally measured and implemented as an input to the model, the corresponding _R_ <sup>2</sup> value would increase. Figure 4 depicts the simulated internal FC model states, allowing an analysis of the species composition, which is crucial for precise control and avoiding the operating conditions leading to severe degradation. The figure illustrates the simulated gaseous species in the cathode and anode in molar fractions and the liquid water in terms of saturation. Generally speaking, the displayed internal states were considered plausible and match the expected values from experience and expert knowledge. In Figure 4a, the molar fractions of oxygen and nitrogen are lower than in dry air because the cathode gas is humid, nitrogen diffuses to the anode, and oxygen is consumed. The oxygen trajectory dropped to a lower level at around 200 to 1700 s due to the load application. In Figure 4b, the effects of purging in the anode are well visible, indicated by the sharp drops and rises, respectively. The fraction of vapor in the anode rose with increasing FC load and vice versa. Interestingly, there was barely any liquid water in the anode for the given experiment, indicated by the anode liquid water saturation in Figure 4c. Figure 5 pictures the simulated condensation and evaporation behavior of the FC. On the one hand, it shows the respective vapor partial pressures versus the saturation pressure, and on the other hand, it depicts the phase change rates in the lumped volumes. In the cathode GDL, condensation always occurs because the vapor partial pressure was above the saturation pressure all the time, shown in Figure 5a. This behavior was to be expected due to the continuously high FC loads and, thus, high water generation. On the anode side, the vapor partial pressure was most of the time below the saturation pressure. Therefore, mainly evaporation occurred, visible in Figure 4c by the decreasing anode liquid water saturation. The magnitude of the latter was minimal because there was barely any liquid water in the anode. According to the simulation, condensation in the anode happened <u>44</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 13 of 20 at only one sample at the end of the experiment, indicated by the red vertical line in Figure 5b. Phase change mainly happened in the cathode GDL, where the corresponding phase change rate had a three-times bigger magnitude than the anode one. ( a ) 80 70 60 50 _R_ <sup>2</sup> = 98.3 % 600 400 200 0 200 400 600 800 1000 1200 1400 1600 1800 <u>10</u> <sup>5</sup> ( b ) <u>10</u> <sup>5</sup> ( c ) <u>10</u> <sup>5</sup> 1.4 _R_ <sup>2</sup> = 99.9 % 0.03 1.2 _R_ <sup>2</sup> = 99.2 % 1.5 1.2 1 0.8 0.6 1 0.5 0.03 0.02 0.01 <u>10</u> <sup>5</sup> 1.6 <u>10</u> <sup>−4</sup> _<u>R</u>_ <sup>2</sup> <u>= 96.9 %</u> <u>10</u> <sup>−4</sup> ( d ) 10 <sup>5</sup> <u>10</u> <sup>5</sup> ( e ) 10 <sup>5</sup> 4 2 0 340 335 330 500 400 300 200 −-2 −-4 0 500 1000 1500 1.9 1.8 1.7 Time in s 1.4 1.2 _R_ <sup>2</sup> = 72.0 % 1 0.8 0 500 1000 1500 <mark>Measured Output</mark> <mark>Simulated Output</mark> <mark>Measured Input</mark> Figure 3. Model inputs and outputs. Plot ( a ): stack voltage _U_ (blue and red) and stack current _I_ (yellow). Plot ( b ): cathode supply manifold pressure _p_ ca,sm (blue and red) and incoming cathode mass flow _m_ ˙ ca,in (yellow). Plot ( c ): cathode exit manifold pressure _p_ ca,em (blue and red) and FC temperature _T_ (yellow). Plot ( d ): incoming anode mass flow _m_ ˙ an,in (blue and red) and anode supply manifold pressure _p_ an,sm (yellow). Plot ( e ): anode exit manifold pressure _p_ an,em (blue and red) and anode recirculation pump power _P_ an,reci (yellow). ( a ) ( b ) ( c ) 0.8 <u>Cathode</u> Anode 0.6 0.4 0.2 0.6 O2 H2 ~~N2~~ N2 0.4 vap 0.4 ~~vap~~ 10 <sup>−5</sup> 8.6 8.4 8.2 8 0.2 0.15 0.1 0.05 0 500 1000 1500 0.2 0 500 1000 1500 Time in s 0 500 1000 1500 Figure 4. Simulated internal species of cathode ( a ) and anode ( b ) in molar fractions and liquid water in terms of saturation ( c ). Figure 6 presents the simulated droplet removal mechanisms in the cathode. It shows the forces acting on a droplet, the droplet removal rate, and the reduced liquid water saturation, which was necessary to determine the depicted average droplet radius. Figure 6a shows the individual forces acting on a droplet. As seen in Figure 6b, the droplets started to form at around 800 s when the reduced liquid water saturation became nonzero. At that time, the adhesion force _F_ ca,ad was much more significant than the pushing force _F_ ca,push, leading to no droplet removal. With a rising droplet radius, the pushing force, <u>45</u> _Energies_ 2021, _14_, 7693 14 of 20 dominantly the shear force _F_ ca,sh, increased as well. In this case, the pressure drop force _F_ ca,pd was tiny, but it should not be disregarded, especially at higher volume flows. The gravitational force _F_ ca,g is almost not visible because it is in principle congruent with the zero-line, confirming the previously made assumption that its impact on the liquid water droplet removal is almost negligible. When the pushing force exceeded the adhesion force (e.g., shortly after 1300 s), droplet removal occurred, visible in Figure 6c. A little after 1400 s, there was a significant peak in the pushing force. The reason was that the current decreased at that time, which led to fewer droplet injection points according to our modeling assumptions. The amount of liquid water barely changed simultaneously, and the given combination led to bigger average liquid water droplets. The rapid growth of the droplet size increased the pushing force and subsequently enforced droplet removal. The droplet removal rate looked unusual due to the many thin spikes. One could assume that this was a numerical issue, but computational fluid dynamic simulations [42] and experimental results [43] showed that liquid water leaves the FC in waves, confirming our simulations. The reduced liquid water saturation, determining the droplet size and illustrated in Figure 6b, was less than the liquid water saturation shown in Figure 4c. The reason was that water first needs to accumulate in the GDL until the individual droplets start to connect into streams. This transitioning was modeled with the immobile saturation threshold, which, when exceeded, enabled the flow of accumulated water into the channels where it started to form droplets. Because of this reasoning, there was no droplet removal in the anode for the given experiment because the liquid water saturation there was always below the immobile water saturation. 10 <sup>−6</sup> 3 2 1 0 <u>10</u> <sup>4</sup> 2.8 2.6 2.4 2.2 2 1.8 ( a ) <u>10</u> <sup>−3</sup> ( b ) 2.5 2 1.5 1 0.5 0 500 1000 1500 0 500 1000 1500 Time in s Cathode GDL Anode _p_ sat Figure 5. Phase change. Plot ( a ): simulated cathode GDL and anode vapor partial pressures together with the vapor saturation pressure. Plot ( b ): resulting respective phase change rates (a positive phase change rate means condensation and a negative one evaporation). Figure 7 compares the simulated membrane water contents and the resulting ohmic membrane resistances of the FC, evaluated with the polynomials determined by Springer et al. [30] and Hinatsu et al. [29]. The membrane water activity was over one, which explains why the trajectories of the membrane water contents shown in Figure 7a are above the respective unsaturated regions (the unsaturated region ended at 14 for Springer et al. and 9.2 for Hinatsu et al.). The water content obtained with Hinatsu et al. was on average one-third smaller than the one obtained with Springer et al., simply because the named authors derived the relationships at different temperatures. The latter determined the relationships at 30 °C and the former at 80 °C, which is the nominal FC operating temperature in many cases. The different water contents subsequently affected the ohmic membrane resistances, pictured in Figure 7b. The water content derived by Hinatsu et al. is smaller than the one derived by Springer et al., which leads to a 50 % bigger ohmic membrane resistance on average. Of course, this circumstance affected the simulated voltage and power output of the FC. <u>46</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 15 of 20 ( a ) ( b ) 0.15 0.1 0.05 0 1 0.5 0 0.04 0.02 <u>10</u> <sup>−4</sup> 0.05 _~~F~~_ ~~ca,ad~~ _F_ ca,sh _F_ ca,pd _~~F~~_ ca,g _F_ ca,push ( c ) <u>10</u> <sup>−4</sup> ( d ) 3 0 <u>1350</u> <u>1355</u> <u>1360</u> 0 0 500 1000 1500 2 1 0 0 500 1000 1500 Time in s Figure 6. Insight into cathode droplet removal mechanisms. Plot ( a ): forces acting on a droplet over time. When pushing force _F_ ca,push exceeds adhesion force _F_ ca,ad, droplet removal occurs. Plot ( b ): reduced liquid water saturation _s_ ca,red over time. It governs the droplet removal mechanisms, and in contrast to the liquid water saturation _s_ ca, it takes the immobile saturation _s_ im into account. Plot ( c ): droplet removal rate over time. When droplets detach according to the force balance, the droplet removal rate determines the outflow rate of liquid water, dependent on the average droplet volume. Plot ( d ): average droplet radius over time. The radius is a function of the reduced liquid water saturation and the current. ( a ) ( b ) 0.025 14 13 12 11 10 ~~Hinatsu~~ Springer 9 0 500 1000 1500 0.02 0.015 0 500 1000 1500 Time in s Figure 7. Comparison of membrane water contents ( a ) and ohmic membrane resistances ( b ) derived by Springer et al. [30] and Hinatsu et al. [29]. The simulated effects of flooding on the electrochemical reaction considered by the EMT are visible in Figure 8. The so-called Bruggeman relationship [35] scaled with the bulk diffusivity yields the effective counterpart. Figure 8a pictures this scaling term for the cathode and anode. The effective diffusivity of the cathode dropped one-third over time, while the one for the anode essentially remained constant. The reason was that liquid water accumulated in the cathode during operation, and simultaneously, there was almost no liquid water in the anode. Therefore, if relatively dry operating conditions dominate, the anode liquid water state could be removed to reduce the model complexity [2]. Figure 8b illustrates the deviation of the voltage due to the EMT, and the effects of flooding were minimal because the shown measurements resulted from a voltage-controlled experiment. Flooding effects would be more prominent in experiments explicitly provoking them. <u>47</u> _Energies_ 2021, _14_, 7693 16 of 20 ( a ) <u>10</u> <sup>−3</sup> ( b ) 0.95 0.9 0.85 0.8 0.75 0.7 ~~Cathode~~ <u>Anode</u> 0 500 1000 1500 0.99988 0.999875 0.99987 0 500 1000 1500 6 5 4 3 2 1 Time in s Figure 8. Flooding effects on electrochemical reaction due to EMT (Bruggeman relationship). The effective diffusivity scaling term ( a ) reduces the bulk diffusivity, which subsequently affects the voltage. Plot ( b ) shows the absolute voltage deviation _|_ Δ _U|_ due to the EMT. The key message of this section is that the proposed model delivered plausible water states compared to existing models, which is invaluable for diagnosis, simulation, and control. A typical property for control-oriented models is that they have no spatial distribution. Therefore, the model relies on various kinds of physical approximations to efficiently replicate the spatial distribution, and it tries to mimic the delay between the flooded GDL and channel with the immobile saturation. The capability of replicating flooding effects is beneficial for predictive control methodologies in order to prevent it. The proposed model yields the prerequisites to derive advanced control strategies to improve water management and mitigate degradation phenomena correlated with the water transients of PEMFCs. 4. Conclusions This work proposed a control-oriented PEMFC stack model focusing on physically motivated water modeling. For the first time and in contrast to available models, the latter covers phase change, liquid water removal, membrane water uptake, and water flooding effects on the electrochemical reaction in a control-oriented stack model. The water phase change is modeled via an adapted Hertz–Knudsen equation, and liquid water removal is governed by a force balance over an average droplet. The membrane water uptake is obtained with a function determined at the nominal FC operating temperature, and liquid water effects on the electrochemical reaction are replicated by employing the EMT. Physically modeling the named effects enables new insights into the transient water effects in the FC, which were thoroughly analyzed and discussed in this work. The model achieved an average _R_ <sup>2</sup> value of 93.3 % between the model output and experimental data, which provided the required accuracy for control applications. Furthermore, the validation with transient measurement data confirmed not only the plausibility of the modeling basis with the convincing simulation results and good model agreement, but also the possibility of adequately simulating the internal states of the FC. On the one hand, the model’s novelties enable a physically based replication of water phase change and liquid water removal. On the other hand, a more accurate membrane water content and the flooding capability allow a more precise simulation of the electrochemical reaction. In summary, the model yields invaluable insights into the FC water mechanisms, allowing their subsequent use in the development processes of advanced diagnostic, monitoring, and control solutions, aiming at combined performance and service life optimizations. Subsequent research topics are validating the internal states with in situ measurements and additional improvements of the water modeling. On the one hand, the derivation of predictive control strategies to mitigate degradation phenomena and, on the other hand, the optimization of water management are also promising research topics. <u>48</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 17 of 20 Author Contributions: Conceptualization and methodology, Z.P.D., A.K., T.K. and C.H.; investigation, Z.P.D., A.K. and C.S.; data curation, Z.P.D. and C.S.; software and visualization, Z.P.D.; writing—original draft preparation, Z.P.D. and A.K.; writing—review and editing, supervision, project administration and funding acquisition, C.H., T.K. and S.J. All authors have read and agreed to the published version of the manuscript. Funding: The research leading to these results received funding from the Mobility of the Future program. Mobility of the Future is a research, technology, and innovation funding program of the Republic of Austria, Ministry of Climate Action. The Austrian Research Promotion Agency (FFG) has been authorized for the program management (Grant Number 871503). The research was partially funded by the Slovenian Research Agency (Research Core Funding No. P2-0401) and by the CD Laboratory for Innovative Control and Monitoring of Automotive Powertrain Systems. The APC was funded by TU Wien Bibliothek. Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: Confidentiality agreements do not allow the publication of the data presented in this study. Acknowledgments: The authors acknowledge TU Wien Bibliothek for financial support through its Open Access Funding Programme. The computational results presented were achieved, in part, using the Vienna Scientific Cluster (VSC). Conflicts of Interest: The authors declare no conflict of interest. Abbreviations The following abbreviations are used in this manuscript: CL Catalyst layer EMT Effective medium theory FC Fuel cell GDL Gas diffusion layer ODE Ordinary differential equation PEMFC Polymer electrolyte membrane fuel cell Nomenclature The following symbols are used in this manuscript: Subscripts Θ Tunable parameters ad Adhesion air Dry air an Anode atm Atmosphere B Boltzmann ca Cathode cell Fuel cell ch Channel cm Center manifold c Contact dry Dry dr Droplet d Drag em Exit manifold GDL Gas diffusion layer g Gravitational H2 Hydrogen ie Intrinsic exchange im Immobile inj Injection in Inflow liq Liquid water lm Limit max Maximum min Minimum <u>49</u> _Energies_ 2021, _14_, 7693 18 of 20 m Membrane N2 Nitrogen O2 Oxygen opt Optimized out Outflow pd Pressure drop phase Phase change push Pushing reci Recirculation red Reduced ref Reference sat Saturation sh Shear sl Sliding sm Supply manifold s Sink and source vap Vapor w Wetting _i_ Gaseous species running index _j_ Membrane running index _k_ Sampling instant _l_ Tunable parameter running index _n_ Electrochemical running index Symbols _α_ Valve position 1 _V_ ¯ Molar volume m <sup>3</sup> /mol _β_ Adhesion parameter 1 Θ Vector containing the tunable parameters R <sup>_n_</sup> <sup>Θ</sup> Δ _g_ Specific Gibbs free energy J Δ _s_ Specific entropy J/K _δ_ Thickness m _γ_ Surface tension N/m _κ_ Pressure drop parameter 1 _λ_ Membrane water content 1 f System function R <sup>9</sup> g Output function R <sup>5</sup> Qy Output weighting matrix R <sup>5</sup> <sup>_×_</sup> <sup>5</sup> u Input vector R <sup>10</sup> x State vector R <sup>9</sup> y Output vector R <sup>5</sup> y <sup>_∗_</sup> Measured output vector R <sup>5</sup> _F_ Faraday constant C/mol _R_ Universal or mass-specific gas constant J/(mol _·_ K), or J/(kg _·_ K) _µ_ Gas viscosity Pa _·_ s Φ Switching function 1 _ρ_ Density kg/m <sup>3</sup> _σ_ Ionic conductivity 1/(Ω _·_ m) _τ_ Time constant s Θ Tunable parameter R <sup>1</sup> _θ_ Angle rad _ϕ_ Relative humidity 1 _A_ Area m <sup>2</sup> _a_ Water activity 1 _C_ Unitless concentrations of the gaseous species 1 _c_ Membrane surface water concentration mol/m <sup>3</sup> _CD_ Combined diffusivity parameter mol/s _D_ Water diffusion coefficient m <sup>2</sup> /s _d_ Droplet wetted diameter m _E_ Activation energy J/mol _e_ Elementary charge C _F_ Force N _f_ Volume fraction of water in the membrane 1 _g_ Gravitational acceleration m/s <sup>2</sup> _H_ Channel height m _h_ Droplet height m _I_ Current A _J_ Objective function R <sup>1</sup> _K_ Intrinsic exchange current parameter A/m <sup>2</sup> _k_ Nozzle, mass, volume flow coefficient, or constant kg/(s _·_ Pa), m <sup>2</sup>, 1/s, 1/Pa, or J/K _M_ Molar mass kg/mol _m_ Mass kg _n_ Number 1, or 1/m <sup>2</sup> <u>50</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2021, _14_, 7693 19 of 20 _P_ Power W _p_ Pressure Pa _R_ Ohmic resistance Ω _r_ Radius m _s_ Liquid water saturation 1 _T_ Fuel cell temperature K _t_ Time s _U_ Voltage V _V_ Volume m <sup>3</sup> _v_ Gas velocity m/s _W_ Channel width m _w_ Mass fraction 1 _x_ Humidity ratio 1 _Z_ Number of electrons transferred in the electrochemical reaction 1 References 1. Nehrir, M.H.; Wang, C. Principles of Operation of Fuel Cells. In _Modeling_ _and_ _Control_ _of_ _Fuel_ _Cells:_ _Distributed_ _Generation_ _Applications_ ; IEEE: Piscataway, NJ, USA, 2009; pp. 29–56. [CrossRef] 2. Mench, M.M. _Fuel Cell Engines_ ; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2008;[CrossRef] 3. Pukrushpan, J.T.; Peng, H.; Stefanopoulou, A.G. Control-Oriented Modeling and Analysis for Automotive Fuel Cell Systems. _J. Dyn._ _Syst._ _Meas._ _Control_ 2004, _126_, 14–25. [CrossRef] 4. Xu, L.; Fang, C.; Hu, J.; Cheng, S.; Li, J.; Ouyang, M.; Lehnert, W. Parameter extraction and uncertainty analysis of a proton exchange membrane fuel cell system based on Monte Carlo simulation. _Int._ _J. Hydrogen Energy_ 2017, _42_, 2309–2326. [CrossRef] 5. Müller, E.A.; Stefanopoulou, A.G. Analysis, Modeling, and Validation for the Thermal Dynamics of a Polymer Electrolyte Membrane Fuel Cell System. _J. Fuel Cell Sci._ _Technol._ 2006, _3_, 99–110. [CrossRef] 6. Pukrushpan, J.T.; Stefanopoulou, A.G.; Peng, H. Fuel Cell System Model: Fuel Cell Stack. In _Control of Fuel Cell Power Systems_ ; Advances in Industrial Control; Springer: London, UK, 2004; pp. 31–56. [CrossRef] 7. Schultze, M.; Horn, J. A Control Oriented Simulation Model of an Evaporation Cooled Polymer Electrolyte Membrane Fuel Cell System. _IFAC Proc._ _Vol._ 2011, _44_, 14790–14795. [CrossRef] 8. Bao, C.; Ouyang, M.; Yi, B. Modeling and control of air stream and hydrogen flow with recirculation in a PEM fuel cell system-I. Control-oriented modeling. _Int._ _J. Hydrogen Energy_ 2006, _31_, 1879–1896. [CrossRef] 9. Xu, L.; Fang, C.; Hu, J.; Cheng, S.; Li, J.; Ouyang, M.; Lehnert, W. Parameter extraction of polymer electrolyte membrane fuel cell based on quasi-dynamic model and periphery signals. _Energy_ 2017, _122_, 675–690. [CrossRef] 10. Ritzberger, D.; Höflinger, J.; Du, Z.P.; Hametner, C.; Jakubek, S. Data-driven parameterization of polymer electrolyte membrane fuel cell models via simultaneous local linear structured state space identification. _Int._ _J. Hydrogen Energy_ 2021, _46_, 11878–11893. [CrossRef] 11. Ritzberger, D.; Hametner, C.; Jakubek, S. A Real-Time Dynamic Fuel Cell System Simulation for Model-Based Diagnostics and Control: Validation on Real Driving Data. _Energies_ 2020, _13_, 3148. [CrossRef] 12. McKay, D.A.; Siegel, J.B.; Ott, W.; Stefanopoulou, A.G. Parameterization and prediction of temporal fuel cell voltage behavior during flooding and drying conditions. _J. Power Sources_ 2008, _178_, 207–222. [CrossRef] 13. Kravos, A.; Kregar, A.; Penga, Ž.; Barbir, F.; Katrašnik, T. Real Time Capable Transient Model of Liquid Water Dynamics in Proton Exchange Membrane Fuel Cells. _J. Power Sources_ 2021, submitted. 14. Xu, L.; Fang, C.; Li, J.; Ouyang, M.; Lehnert, W. Nonlinear dynamic mechanism modeling of a polymer electrolyte membrane fuel cell with dead-ended anode considering mass transport and actuator properties. _Appl._ _Energy_ 2018, _230_, 106–121. [CrossRef] 15. Vrli´c, M.; Ritzberger, D.; Jakubek, S. Safe and Efficient Polymer Electrolyte Membrane Fuel Cell Control Using Successive Linearization Based Model Predictive Control Validated on Real Vehicle Data. _Energies_ 2020, _13_, 5353. [CrossRef] 16. Böhler, L.; Ritzberger, D.; Hametner, C.; Jakubek, S. Constrained extended Kalman filter design and application for on-line state estimation of high-order polymer electrolyte membrane fuel cell systems. _Int._ _J. Hydrogen Energy_ 2021, _46_, 18604–18614. [CrossRef] 17. Vrli´c, M.; Ritzberger, D.; Jakubek, S. Model-Predictive-Control-Based Reference Governor for Fuel Cells in Automotive Application Compared with Performance from a Real Vehicle. _Energies_ 2021, _14_, 2206. [CrossRef] 18. Du, Z.P.; Steindl, C.; Jakubek, S. Efficient Two-Step Parametrization of a Control-Oriented Zero-Dimensional Polymer Electrolyte Membrane Fuel Cell Model Based on Measured Stack Data. _Processes_ 2021, _9_, 713. [CrossRef] 19. Sonntag, R.E.; Borgnakke, C.; Van Wylen, G.J. Properties of a Pure Substance. In _Fundamentals of Thermodynamics_, 5th ed.; John Wiley & Sons, Inc.: New York, NY, USA, 1998; pp. 40–69. 20. O’Hayre, R.; Cha, S.W.; Colella, W.; Prinz, F.B. Overview of Fuel Cell Systems. In _Fuel Cell Fundamentals_ ; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2016; Chapter 10, pp. 347–391. [CrossRef] 21. Kravos, A.; Ritzberger, D.; Tavcar, G.; Hametner, C.; Jakubek, S.; Katrasnik, T. Thermodynamically consistent reduced dimensionality electrochemical model for proton exchange membrane fuel cell performance modelling and control. _J. Power Sources_ 2020, _454_, 227930. [CrossRef] <u>51</u> _Energies_ 2021, _14_, 7693 20 of 20 22. Ramírez-Cruzado, A.; Ramírez-Peña, B.; Vélez-García, R.; Iranzo, A.; Guerra, J. Experimental Analysis of the Performance and Load Cycling of a Polymer Electrolyte Membrane Fuel Cell. _Processes_ 2020, _8_, 608. [CrossRef] 23. Nam, J.H.; Kaviany, M. Effective diffusivity and water-saturation distribution in single- and two-layer PEMFC diffusion medium. _Int._ _J. Heat Mass Transf._ 2003, _46_, 4595–4611. [CrossRef] 24. Niblett, D.; Niasar, V.J.; Holmes, S. Water Distribution in Fuel Cell Gas Channels Using a Mechanistic Discrete Particle Model. _ECS Meet._ _Abstr._ 2020, _MA2020-02_, 2090. [CrossRef] 25. Extrand, C.W.; Kumagai, Y. Liquid Drops on an Inclined Plane: The Relation between Contact Angles, Drop Shape, and Retentive Force. _J. Colloid Interface Sci._ 1995, _170_, 515–521. [CrossRef] 26. Santamaria, A.D.; Das, P.K.; MacDonald, J.C.; Weber, A.Z. Liquid-Water Interactions with Gas-Diffusion-Layer Surfaces. _J._ _Electrochem._ _Soc._ 2014, _161_, F1184–F1193. [CrossRef] 27. Weber, A.Z.; Borup, R.L.; Darling, R.M.; Das, P.K.; Dursch, T.J.; Gu, W.; Harvey, D.; Kusoglu, A.; Litster, S.; Mench, M.M.; et al. A Critical Review of Modeling Transport Phenomena in Polymer-Electrolyte Fuel Cells. _J. Electrochem._ _Soc._ 2014, _161_, F1254–F1299. [CrossRef] 28. Xu, L.; Hu, J.; Cheng, S.; Fang, C.; Li, J.; Ouyang, M.; Lehnert, W. Robust control of internal states in a polymer electrolyte membrane fuel cell air-feed system by considering actuator properties. _Int._ _J. Hydrogen Energy_ 2017, _42_, 13171–13191. [CrossRef] 29. Hinatsu, J.T.; Mizuhata, M.; Takenaka, H. Water Uptake of Perfluorosulfonic Acid Membranes from Liquid Water and Water Vapor. _J. Electrochem._ _Soc._ 1994, _141_, 1493–1498. [CrossRef] 30. Springer, T.E.; Zawodzinski, T.A.; Gottesfeld, S. Polymer Electrolyte Fuel Cell Model. _J. Electrochem._ _Soc._ 1991, _138_, 2334–2342. [CrossRef] 31. Dutta, S.; Shimpalee, S.; Van Zee, J. Numerical prediction of mass-exchange between cathode and anode channels in a PEM fuel cell. _Int._ _J. Heat Mass Transf._ 2001, _44_, 2029–2042. [CrossRef] 32. Ahluwalia, R.; Wang, X. Buildup of nitrogen in direct hydrogen polymer-electrolyte fuel cell stacks. _J._ _Power_ _Sources_ 2007, _171_, 63–71. [CrossRef] 33. Weber, A.Z.; Newman, J. Transport in Polymer-Electrolyte Membranes. _J. Electrochem._ _Soc._ 2004, _151_, A311. [CrossRef] 34. Kravos, A.; Ritzberger, D.; Hametner, C.; Jakubek, S.; Katrašnik, T. Methodology for efficient parametrisation of electrochemical PEMFC model for virtual observers: Model based optimal design of experiments supported by parameter sensitivity analysis. _Int._ _J. Hydrogen Energy_ 2021, _46_, 13832–13844. [CrossRef] 35. Bruggeman, D.A.G. Berechnung verschiedener physikalischer Konstanten von heterogenen Substanzen. III. Die elastischen Konstanten der quasiisotropen Mischkörper aus isotropen Substanzen. _Ann._ _Phys._ 1937, _421_, 160–178. [CrossRef] 36. Hwang, G.S.; Weber, A.Z. Effective-Diffusivity Measurement of Partially-Saturated Fuel-Cell Gas-Diffusion Layers. _J. Electrochem._ _Soc._ 2012, _159_, F683–F692. [CrossRef] 37. Owejan, J.P.; Trabold, T.A.; Mench, M.M. Oxygen transport resistance correlated to liquid water saturation in the gas diffusion layer of PEM fuel cells. _Int._ _J. Heat Mass Transf._ 2014, _71_, 585–592. [CrossRef] 38. Nijmeijer, H.; van der Schaft, A. Introduction. In _Nonlinear Dynamical Control Systems_ ; Springer: New York, NY, USA, 1990; pp. 1–22. [CrossRef] 39. Nelles, O. Introduction to Optimization. In _Nonlinear System Identification_ ; Springer: Berlin/Heidelberg, Germany, 2001; pp. 23–34. [CrossRef] 40. Atkinson, K. Numerical Methods for Ordinary Differential Equations. In _An Introduction to Numerical Analysis_, 2nd ed.; John Wiley & Sons: New York, NY, USA, 1989; pp. 333–460. 41. MathWorks Find Minimum of Function Using Genetic Algorithm—MATLAB Ga. Available online: https://www.mathworks. com/help/gads/ga.html (accessed on 15 February 2021). 42. Kang, S.; Zhou, B.; Cheng, C.H.; Shiu, H.R.; Lee, C.I. Liquid water flooding in a proton exchange membrane fuel cell cathode with an interdigitated design. _Int._ _J. Energy Res._ 2011, _35_, 1292–1311. [CrossRef] 43. Ma, H.; Zhang, H.; Hu, J.; Cai, Y.; Yi, B. Diagnostic tool to detect liquid water removal in the cathode channels of proton exchange membrane fuel cells. _J. Power Sources_ 2006, _162_, 469–473. [CrossRef] <u>52</u> <u>2.2</u> <u>Publication</u> <u>B</u> ##### 2.2 Publication B Z. P. Du, C. Steindl, S. Jakubek, and C. Hametner. “Concentration Estimation for Fuel Cells: Design of Experiments, Nonlinear Identification, and Observer Design With Experimental Validation”. In: _IEEE Access_ 11 (2023), pp. 10453–10470. doi: `[10.1109/](https://doi.org/10.1109/ACCESS.2023.3241227)` ``` ACCESS.2023.3241227 ``` Applicant’s Contribution <sup>†</sup> - Zhang Peng Du: Conceptualization, Methodology, Investigation, Data Curation, Software, Visualization, Writing - Original Draft - Christoph Steindl: Investigation, Data Curation, Writing - Original Draft - Stefan Jakubek: Conceptualization, Methodology, Writing - Review & Editing, Supervision, Project administration, Funding acquisition - Christoph Hametner: Conceptualization, Methodology, Writing - Review & Editing, Supervision, Project administration, Funding acquisition †According to the Elsevier CRediT author statement: `[https://www.elsevier.com/authors/](https://www.elsevier.com/authors/policies-and-guidelines/credit-author-statement)` ``` policies-and-guidelines/credit-author-statement ``` <u>53</u> Received 16 January 2023, accepted 29 January 2023, date of publication 31 January 2023, date of current version 3 February 2023. _Digital Object Identifier 10.1109/ACCESS.2023.3241227_ #### Concentration Estimation for Fuel Cells: Design of Experiments, Nonlinear Identification, and Observer Design With Experimental Validation ZHANG PENG DU 1, CHRISTOPH STEINDL 2, STEFAN JAKUBEK1, AND CHRISTOPH HAMETNER 3 1Institute of Mechanics and Mechatronics, TU Wien, 1060 Vienna, Austria 2Institute of Powertrains and Automotive Technology, TU Wien, 1060 Vienna, Austria 3Christian Doppler Laboratory for Innovative Control and Monitoring of Automotive Powertrain Systems, TU Wien, 1060 Vienna, Austria Corresponding author: Zhang Peng Du (zhang.peng.du@tuwien.ac.at) This work was supported in part by the Mobility of the Future Program, a research, technology and innovation funding program, Ministry of Climate Action, Austria; in part by the Climate and Energy Fund and implemented in line with the ‘‘Zero Emission Mobility’’ Program; both programs managed by the Austrian Research Promotion Agency (FFG) under Grant 871503 and Grant 878123; and in part by TU Wien Bibliothek for editing/proofreading and through the Open Access Funding Program. ABSTRACT Fuel cells (FCs) are promising eco-friendly power sources. Nevertheless, there are challenges to overcome if they are to be widely deployed in areas such as degradation avoidance and control, where the knowledge of the unavailable concentrations is crucial. In this respect, observers can provide unavailable quantities based on an estimation algorithm and available measurements. This paper presents an FC concentration observer design workflow, covering the model-based design of experiments (DOE), their execution, systematic nonlinear identification, and measurement-based validation. The model-based DOE and the validation with a mass spectrometer, including dynamic operation, are unique for PEMFC observers. The workflow is demonstrated with a constrained extended Kalman filter observer on a 30 kW polymer electrolyte membrane FC (PEMFC) test stand. A control-oriented model serves as the workflow basis, and the DOE is based on optimizing the parameter sensitivity. The test stand delivers the measurements, the parametrization comprises a sensitivity analysis, and the experimentally validated observer yields outstanding concentration estimation performance. INDEX TERMS Design of experiments, design workflow, experimental validation, fuel cells, Kalman filter, mass spectrometer, observer, parameter sensitivity analysis, parametrization, PEMFC. I. INTRODUCTION Polymer electrolyte membrane fuel cells (PEMFCs) are a promising, environmentally friendly mobile power source suitable for widespread use. The reasons for this are their relatively high fuel efficiencies, low operating temperatures, and comparatively simple constructions. However, the market share for fuel cells (FCs) remains minimal on account of several challenges. Among these challenges is the fact that PEMFCs are still relatively expensive because production volumes are low. Moreover, FCs are prone to degradation The associate editor coordinating the review of this manuscript and approving it for publication was Zhiwei Gao . due to improper operation, and they are not simple to control because of their complex internal processes [1]. Observers would go some way to overcoming these challenges. This paper describes a novel holistic design workflow for PEMFC concentration observers covering the design of experiments (DOE), their execution, nonlinear model identification, and experimental validation. _What are observers?_ Observers estimate unmeasured or even unmeasurable quantities based on measured ones and an estimation algorithm. Quantities of interest are, e.g., FC concentrations, humidities, and state of health. Thus, they represent a meaningful way to lower costs by reducing the number of physical This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ VOLUME 11, 2023 10453 <u>54</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design sensors, minimizing degradation through online diagnostics, and providing the essential foundation for model-based control. _What types of observers exist?_ Observers are a model-based diagnosis method in addition to non-model-based methods such as neural networks or statistical methods. Model-based methods can be further subdivided into lumped (only time dependency) or distributed parameters (time and location dependency) and linear or nonlinear. Both distinctions hold for observers and models [2]. This paper focuses on observers based on models, which are nonlinear with lumped parameters, to exploit advantages in combination with model-based controllers [3]. Lumped parameter FC observers can be roughly categorized in two ways: One way is by the underlying estimation algorithm type [2]: Kalman filter [4], Luenberger [5], sliding mode [6], [7], adaptive [8], and other observers [9], [10], [11]. Another way of categorizing is by the desired estimated quantity, e.g., gas concentrations [12], parameters [13], state of health [14], and faults [15]. _What is the state-of-the-art for observer design workflows?_ An observer design workflow often only covers the design of an estimation algorithm and its validation and, in rare cases, parameter identification (see Table 1). They rely mainly on FC model parameters obtained from the literature or emulators, and few workflows used identified parameters from an experimental setup to replicate the behavior satisfactorily. Well-established and relatively static experiments, such as a polarization curve or current steps, are usually used for identification and validation. The validation of a concentration observer is executed mainly in a simulation environment, and experimental validations are rare due to the lack of required hardware but are indispensable for real-world applications. If at all, only single concentrations are experimentally validated with relatively static experiments. _What is the knowledge gap?_ To the best of the authors’ knowledge, target-oriented DOE for observer design considering the underlying system characteristics is a novelty, and a design workflow including a measurement-based parametrization is not common practice (see Table 1). In particular, no experimental observer validation of PEMFC concentrations during transient operations currently exists. In conclusion, no paper thus far covers a holistic observer design workflow starting from the DOE through the systematic nonlinear parameter identification to the experimental validation of PEMFC concentration observers. _How does this paper close the knowledge gap?_ This paper presents such a holistic design workflow for PEMFC concentration observers. The workflow with a given model consists of three steps: First, a model-based DOE is performed utilizing the parameter sensitivities (Fisher information). Second, the designed experiments are conducted on a 30 kW PEMFC system test stand with a mass spectrometer. TABLE 1. Comparison of observer design workflows. A parameter sensitivity analysis assesses how well the model parameters can be estimated with the measured data, and the model is parameterized based on these results. The third and final step is the observer design, followed by validation with experimental data. The authors’ study [16] describes a PEMFC model, which serves as the modeling basis because it can reproduce various effects of water, essential for degradation avoidance and diagnosis. The observer estimation algorithm used to demonstrate the design workflow is based on [4], a constrained extended Kalman filter (CEKF). This model-based observer for stochastic systems was chosen because it allows the exploitation of computational advantages related to the Jacobians with model-based controllers [17]. _What is the contribution of this paper?_ The main contribution of this paper is the holistic design workflow for FC concentration observers, covering the named three steps for the first time. Moreover, the model-based DOE and the experimental concentration validation with a mass spectrometer, including dynamic operations, are unique for PEMFC observers. A holistic workflow is beneficial as a guideline for real-world implementations. Especially in real cases with limited resources of time and budget, a dedicated DOE increases the experiment’s parameter information content and excitation quality compared to non-specifically designed ones of the same length. Thus, shorter and fewer experiments are necessary to achieve sufficient parametrization and validation results. Systematic parametrization and experiments with high parameter information content simplify identification and are advantageous to obtaining an observer that replicates the real-world system satisfactorily. Lastly, a validation with actual state measurements is indispensable to approve the observer for real-world applications where outstanding concentration estimation results are achieved in this work. 10454 VOLUME 11, 2023 <u>55</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design The remainder of this paper is structured as follows: Section II presents the holistic observer design workflow with an overview of the PEMFC model and describes the experimental setup used. Section III shows the obtained results, followed by a detailed discussion. II. METHODS AND EXPERIMENTAL SETUP This section describes the novel holistic design workflow for PEMFC concentration observers, which combines three (partially) existing methods in a target-oriented way: modelbased DOE, systematic nonlinear identification, and observer design with experimental validation. In addition, the model is briefly described, and one of this paper’s key components is the mass spectrometer utilized to obtain the concentrations, which is part of the experimental setup introduced here. Note that this workflow is not limited to the presented model and observer. _A._ _MODEL-BASED DESIGN OF EXPERIMENTS_ The underlying FC model for the concentration observer design workflow is introduced here, following which the model-based DOE is presented. 1) FUEL CELL MODEL The modeling basis for our approach is a control-oriented lumped parameter PEMFC stack model as presented in [16] with the following assumptions: The respective manifolds are lumped into one volume with no spatial expansion. The gases are ideal and have homogeneous properties inside a manifold. The gas composition in the exit manifold is the same as in the center manifold, and the model has only one uniform and externally controlled temperature. The supply manifolds, the exit manifolds, and the gas diffusion layers are always in a steady-state condition, and dry air consists only of oxygen and nitrogen. An advantage of this model is the capability to reproduce various water effects in a physically motivated way, which is indispensable for online diagnoses and degradation avoidance. Furthermore, the model is analytically differentiable, which allows exact determination of the Jacobians for model-based observers and controllers. The model consists of four interconnected submodels: the cathode, anode, membrane, and electrochemical submodel, as shown in Fig. 1. The internal dynamics are modeled using thermodynamics, electrochemistry, and fluid mechanics. The supply and exit manifolds are connected via nozzle equations with the center manifold or the environment, and on the anode side, there is an additional recirculation flow path powered by a pump. The membrane connects the cathode and the anode, and these submodels deliver the electrochemical model’s prerequisites. As in [16], the state-space representation for this nonlinear model is given as _x_ ˙ = _f_ ( _x_ _,_ _u_ _,_ _θ_ ) _,_ _y_ = _g_ ( _x_ _,_ _u_ _,_ _θ_ ) _,_ (1) and the respective vectors are structured as _x_ = [ _m_ ca _,_ O2 _,_ _m_ ca _,_ N2 _,_ _m_ ca _,_ vap _,_ _m_ ca _,_ liq _,_ _. . ._ _. . . m_ an _,_ H2 _,_ _m_ an _,_ N2 _,_ _m_ an _,_ vap _,_ _m_ an _,_ liq _,_ _a_ m] <sup>T</sup> _,_ (2a) _u_ = [ ˙ _m_ ca _,_ in _,_ _ϕ_ ca _,_ in _,_ _α_ ca _,_ _I_ _,_ _T_ _,_ _p_ atm _,_ _. . ._ _. . . p_ an _,_ sm _,_ _ϕ_ an _,_ in _,_ _α_ an _,_ _P_ an _,_ reci] <sup>T</sup> _,_ (2b) _y_ = [ _U_ _,_ _p_ ca _,_ sm _,_ _p_ ca _,_ em _,_ _m_ ˙ an _,_ in _,_ _p_ an _,_ em] <sup>T</sup> _,_ (2c) _θ_ = [ _V_ ca _,_ _V_ an _,_ _k_ phase _,_ _k_ liq _,_ _. . ._ _. . . k_ ca _,_ cm _,_ sm _,_ _k_ ca _,_ em _,_ cm _,_ _k_ ca _,_ atm _,_ em _,_ _. . ._ _. . . k_ an _,_ cm _,_ sm _,_ _k_ an _,_ em _,_ cm _,_ _k_ an _,_ atm _,_ em _,_ _τ_ m _,_ _. . ._ _. . . R_ c _,_ _K_ ca _,_ _K_ an _,_ _D_ ca _,_ _D_ an] <sup>T</sup> _._ (2d) Here, _x_ ∈ R <sup>9</sup> is the state vector, _u_ ∈ R <sup>10</sup> the input vector, _y_ ∈ R <sup>5</sup> the output vector, _θ_ ∈ R <sup>16</sup> the vector containing the tunable parameters, _f_ the system function, and _g_ the output function [18]. The state _x_ = _x_ ( _t_ ), input _u_ = _u_ ( _t_ ), and output vector _y_ = _y_ ( _t_ ) are time-dependent, whereas the parameter vector _θ_ is constant. The states consist mainly of the gas and liquid water masses on the cathode and anode sides, denoted by _m_ . The subscripts indicate cathode (ca), anode (an), oxygen (O2), hydrogen (H2), nitrogen (N2), water vapor (vap), and liquid water (liq). The last state is the membrane water activity _a_ m. Observing these states is essential to avoid fuel starvation, membrane dehydration, and flooding effects. The inputs on the cathode side are the incoming airflow _m_ ˙ ca _,_ in, the airflow relative humidity _ϕ_ ca _,_ in, and the backpressure valve position _α_ ca. Additional model inputs are the stack current _I_, the uniform stack temperature _T_, and the atmosphere pressure _p_ atm. On the anode side, the inputs are the supply manifold pressure _p_ an _,_ sm, the relative humidity of the incoming flow _ϕ_ an _,_ in, the purge valve position _α_ an, and the recirculation pump power _P_ an _,_ reci. The model outputs are the stack voltage _U_, the cathode supply _p_ ca _,_ sm and exit manifold pressure _p_ ca _,_ em, and the anode inflowing mass _m_ ˙ an _,_ in and exit manifold pressure _p_ an _,_ em. The tunable parameters of the model are the respective volumes _V_, various mass flow and nozzle coefficients _k_, the characteristic membrane time constant _τ_ m, the ohmic contact resistance _R_ c, the intrinsic exchange current parameters _K_, and the combined diffusivities _D_ . The derivation of model equations is beyond the scope of this paper, and the reader is referred to [16] in this regard. 2) DESIGN OF EXPERIMENTS Experiment execution can be reduced to a minimum by a purposeful DOE to increase the parameter information content. By doing so, the experiments deliver better parametrization results and yield a more profound validation by exploiting the fully available actuator range compared to non-specifically designed ones of the same length. FC concentration measurements, in particular, are costly and complex, so reducing the number and length is of economic interest. Apart from the cost, established experiments such as a polarization curve or current steps do not use the whole actuator range, e.g., temperatures and stoichiometries are kept constant, which is a limitation for identification and validation. The parameter information content utilized in our approach is the so-called Fisher information matrix (FIM) _M_ [19]. This VOLUME 11, 2023 10455 <u>56</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design FIGURE 1. Schematic overview of PEMFC stack model structure [16]. is beneficial because according to the Cramér–Rao inequality as in [19] and [20], Cov( _θ_ ) ⪰ _M_ <sup>−1</sup> _,_ (3) the inverse of _M_ is the lower bound of the parameter covariance matrix Cov( _θ_ ). Thus, increasing the FIM lowers the parameter uncertainty and improves the parametrization result of the FC model. In order to calculate it, first, the state parameter sensitivity _ξ_ _i_ = d _x_ _/_ d _θi_, is needed, where _θi_ for _i_ ∈{1 _,_ 2 _, . . ., n_ _θ_ } denotes a tunable parameter, and _n_ _θ_ is the number of parameters. As in [19] and [21], _ξ_ _i_ is obtained by solving the following first-order ordinary differential equation, which is a total derivative of the FC model (1): {O2 _,_ N2 _,_ vap} and anode gaseous species mole fractions _x_ an _,p_ for _p_ ∈{H2 _,_ N2 _,_ vap} to exploit the additional parameter information provided by the mass spectrometer measurements. The output parameter sensitivity matrix _�_ ( _t_ ) = - _ψ_ 1( _t_ ) _,_ _ψ_ 2( _t_ ) _, . . .,_ _ψ_ _n_ _θ_ ( _t_ ) is obtained by stacking every _ψ_ _i_ for each parameter _θi_ into one matrix. Sampling it at time instants _k_, _M_ is finally computed as in [21] with _M_ = - _nk_ _k_ =0 _�_ <sup>T</sup> _k_ <sup>_�_</sup> _e_ <sup>−1</sup> <sup>_�_</sup> <sup>_k_</sup> <sup>_._</sup> (6) = <sup>d</sup> d _θi_ d _θi_ _ξ_ ˙ _i_ = <sup>d</sup> d _t_ - d _x_ d _θi_ - d _x_ d _t_ = <sup>d</sup> _f_ _(_ _x_ _,_ _u_ _,_ _θ_ _)_ = <sup>_∂_</sup> <sup>_f_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _∂_ _x_ = <sup>_∂_</sup> <sup>_f_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _∂_ _x_ = <sup>_∂_</sup> <sup>_f_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> d _x_ d _θi_ + <sup>_∂_</sup> <sup>_f_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _∂θi_ _∂θi_ <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _ξ_ _i_ + <sup>_∂_</sup> <sup>_f_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _∂_ _x_ _∂θi_ _._ (4) Second, the output parameter sensitivity _ψ_ _i_ = d _y_ _/_ d _θi_ is evaluated using _ξ_ _i_ as in [21]: _ψ_ _i_ = <sup>_∂_</sup> <sup>_g_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _∂_ _x_ d _x_ d _θi_ + <sup>_∂_</sup> <sup>_g_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _∂θi_ = <sup>_∂_</sup> <sup>_g_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _ξ_ _i_ + <sup>_∂_</sup> <sup>_g_</sup> <sup>_<u>(</u>_</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>_<u>)</u>_</sup> _∂_ _x_ _∂θi_ _∂θi_ Here, _�e_ represents the prediction error covariance matrix, which is the measurement noise covariance under the assumption of a perfect model, and _M_ ∈ R <sup>_n_</sup> <sup>_θ_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_θ_</sup> holds. As shown by the FIM derivation, it is highly nonlinear, and an analytical solution for an optimal _M_ is exceptionally complicated to find. Thus, to simplify this evaluation, the FIM is heuristically tuned for an optimized steady-state input _u_ opt _,i_ for each parameter _θi_ independently. Note that in the case of a single parameter, the FIM reduces to a scalar _Mi_, resulting in _n_ _θ_ optimized steady-state operating points for every parameter _θi_ . For the given parameters (2), this corresponds to 16 operating points. These are pieced together into one long experiment, where each operating point _u_ opt _,i_ is held for some time and represents an optimized point to identify the respective parameter _θi_ in steady-state. The optimization problem is formulated as follows: _._ (5) Within the scope of the DOE, the output vector _y_ is extended with the respective cathode _x_ ca _,p_ for _p_ ∈ _u_ opt _,i_ = arg min _u_ 1 _Mi_ ( _u_ ) <sup>for</sup> <sup>_i_</sup> <sup>∈{1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, . . ., n_</sup> <sup>_θ_</sup> <sup>}</sup> 10456 VOLUME 11, 2023 <u>57</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design with respect to _x_ ˙ = _f_ ( _x_ _,_ _u_ _,_ _θ_ ) = 0 _ul,_ min ≤ _ul_ ≤ _ul,_ max for _l_ ∈{1 _,_ 2 _, . . ., n_ _u_ } _._ (7) The optimization requires a first guess of the parameters _θi_ based on literature values and expert knowledge. Subsequently, a heuristic optimizer [22] chooses an input candidate subject to the constraints with the minimum _ul,_ min and maximum value _ul,_ max of each input component _ul_ ( _n_ _u_ is the total number of input components). It is important to bear in mind that only the following inputs are actively and (almost) independently controllable: the incoming airflow _m_ ˙ ca _,_ in, stack current _I_, inflowing coolant temperature (assumed to be the stack temperature _T_ within the scope of the optimization), and anode supply manifold pressure _p_ an _,_ sm. The remaining inputs are either not controllable (disturbances), dependent on the actively controlled inputs, or constant. Model (1) is simulated with this constant input _u_ until it reaches steadystate _x_ ˙ = 0, and finally, _Mi_ is calculated based on a single steady-state instant ( _nk_ = 0). Analogously to the Cramér– Rao inequality (3), the inverse of _Mi_ constitutes the objective function. After the optimizer delivers a result, the proceeding is repeated for the remaining parameters. Time constant-like parameters are poorly estimable during (quasi) steady-state, so an additional dynamic experiment should be conducted. The excitation during this experiment could be a sine signal covering the whole amplitude and frequency operating range (chirp or sweep signal [23]). _B._ _MEASUREMENT-BASED AND SYSTEMATIC NONLINEAR_ _IDENTIFICATION_ In order to conduct the systematic nonlinear identification with measurement data, the designed experiments have to be executed, and the desired signals, including concentrations, need to be measured on the PEMFC experimental setup. This section describes the experimental setup, followed by an overview of the systematic nonlinear identification approach. 1) EXPERIMENTAL SETUP The measurements for the parametrization and validation within the observer design workflow are obtained using a commercial 30 kW PEMFC stack. This stack is operated on a dedicated test stand, equipped with the associated balance-ofplant components and a specifically designed control system. The schematic overview of the system test stand is highlighted in Fig. 2, and further information on this can be found in [21]. The paper describes in detail the main subsystems of air supply, hydrogen supply, thermal management, and measurement and control, together with all technical specifications of the FC stack and auxiliary subsystems. Based on the specifically developed control system to execute the highly dynamic and demanding experiments and the various implemented sensors to measure the required quantities for the design workflow (e.g., pressure, temperature, humidity, current, and voltage), the operation and operating behavior of a PEMFC system can be analyzed and assessed in detail. Within the scope of the design workflow, the following system inputs could be adjusted independently: - Air mass flow, - Hydrogen supply pressure, and - FC coolant inlet temperature. Also, the load point of the FC stack can be controlled either by setting the stack voltage or the stack current with the dynamic DC/AC inverter (battery simulator). The latter is used for all experiments in our research. A feature of our approach is the use of an additional measurement device to obtain information about the inner states of the FC stack, i.e., the gas compositions at the cathode or anode side, which are generally unmeasured in most investigations. The continuously measured FC gas concentrations during dynamic experiments are essential for measurementbased identification, experimental observer validation, and diagnostic purposes. Therefore, an electron impact ionization mass spectrometer (PEMSense, V&F Analyse- und Messtechnik GmbH [24]) is integrated on the test stand. This mass spectrometer can rapidly analyze gas species with a mass range of 1-100 amu, sufficient to measure all relevant components like H2, N2, O2, H2O, and CO2 in a PEMFC. The measurable gas concentrations start from 100 ppm and reach up to 100 vol% (mol% is equivalent to vol% assuming ideal gas) depending on the species and can be measured with an accuracy of ±3%. The mass spectrometer is equipped with two separate sample gas inlets to analyze gas probes, one at the anode and another at the cathode side, with the restriction that only one sample gas line can be analyzed at a time. Fig. 2 shows that the probe extraction positions at the anode side are directly at the outlet of the water separator and at the cathode side after the exhaust manifold of the FC stack. Only the sample gas line at the anode side is used for the experiments in our research due to limited resources. For this reason, all the following statements refer to the gas analysis of the anode side. Continuous gas extraction allows a real-time analysis with a response time smaller than two seconds. Also, only a small amount of gas mass is sampled compared to the consumed hydrogen of the FC stack. It is therefore guaranteed that the gas extraction does not influence the operation and the operating behavior of the FC stack. Generally, the gas is sampled with a heated capillary to mitigate a condensation of the gaseous species during gas analysis. Thus, it is not possible to differentiate between the gaseous and the liquid phase of the species of interest. Another restriction comes with the fact that, as mentioned earlier, the gas extraction position is at the outlet of the water separator. As a result, only the partially dehumidified anode exhaust gas is measured. Moreover, due to the drift of the concentrations related to the mass spectrometer over time (up to ±5% over 24 h), a calibration of the device using test gases of all relevant gas species is conducted at the beginning of every day of the measurement study. Calibration gases with the concerned species with an accuracy of the concentration of ±2% are VOLUME 11, 2023 10457 <u>58</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design FIGURE 2. Schematic FC system test stand setup. used. The acquisition of measurement data from the mass spectrometer is realized with a sampling rate of 3 Hz. Seven measurement series were carried out for parameterization and validation of the observer, considering reproducibility. The following measurement series are available: one polarization curve experiment, three specifically designed experiments for parameter identification, and three dynamic experiments with a chirp signal as load demand. The experiments are detailed in Section III, where simulated and measured results are presented and discussed. 2) SYSTEMATIC NONLINEAR IDENTIFICATION The sensitivity analysis of the FC model’s parameters excludes poorly identifiable parameters and simplifies the parametrization problem. E.g., the manifold volumes _V_ behave like a time constant and are thus better identifiable during transient operation, though the experiment barely contains any transients. Another striking example is modelingrelated, e.g., two parameters are linearly dependent, which means both can not be uniquely identified. The FIM _M_ is utilized for this analysis and is evaluated analogously to Section II-A2 for sample instants _nk_, measured inputs _u_ <sup>∗</sup>, and all tunable FC parameters _θi_ simultaneously. The parameter values vary by many orders of magnitude, e.g., the ohmic contact resistance _R_ c has the magnitude 10 <sup>0</sup>, and the nozzle coefficients _k_ 10 <sup>−6</sup> . This requires a normalized FIM _M_ nrm, as in [25] and [26], to evaluate the parameter identifiability meaningfully: _M_ nrm = diag( _θ_ ) _M_ diag( _θ_ ) _._ (8) Here, diag( _θ_ ) represents a matrix with the elements of _θ_ in its main diagonal. This normalization is unnecessary for the DOE because only one parameter at a time is considered there. As in [27], [28], a singular value decomposition is applied to _M_ nrm to evaluate the parameter significances: _M_ nrm = _USV_ <sup>T</sup> _._ (9) In the singular value decomposition, _U_ is the matrix com - prising the left singular vectors, _V_ =� _v_ 1 _,_ _v_ 2 _, . . .,_ _v_ - _n_ _θ_ the In the singular value decomposition, _U_ is the matrix com - prising the left singular vectors, _V_ =� _v_ 1 _,_ _v_ 2 _, . . .,_ _v_ - _n_ _θ_ the right singular vectors, and _S_ = diag _σ_ 1 _, σ_ 2 _, . . ., σn_ _θ_ is the is the matrix _v_ 1 _,_ _v_ 2 _, . . .,_ _v_ - _n_ _θ_ prising the left singular vectors, _V_ =� _v_ 1 _,_ _v_ 2 _, . . .,_ _v_ - _n_ _θ_ the right singular vectors, and _S_ = diag _σ_ 1 _, σ_ 2 _, . . ., σn_ _θ_ is the diagonal singular value matrix. A singular value _σj_ for _j_ ∈ {1 _,_ 2 _, . . ., n_ _θ_ } can be understood as the amount of parameter information, and the associated singular vector shows the parameter space direction of this information. E.g., a high singular value mainly pointing in the direction of a nozzle =� _v_ 1 _,_ _v_ 2 _, . . .,_ _σ_ 1 _, σ_ 2 _, . . ., σn_ _θ_ 10458 VOLUME 11, 2023 <u>59</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design coefficient _k_ means that the parameter has high information, is uniquely identifiable, and significantly influences the model output. The right singular vectors _v_ _j_ ∈ R <sup>_n_</sup> <sup>_θ_</sup> are utilized to evaluate the parameter significances, and the Euclidean norm from each is 1. From this it can be concluded that the relative direction share of a vector component _vj,i_ is _v_ <sup>2</sup> _j,i_ <sup>[29].</sup> <sup>The</sup> <sup>singular</sup> <sup>value</sup> <sup>_σj_</sup> <sup>multiplied</sup> <sup>with</sup> <sup>the</sup> <sup>proper</sup> relative direction share yields the amount of information of that specific singular value pointing in the parameter _θi_ ’s direction. Therefore, the sum of the information shares of every singular value pointing in one parameter _θi_ ’s direction, as in [21], delivers the parameter’s total information _σθi_ : by many orders of magnitude because very little is known. As in [21], the following optimization problem yields the optimized parameters _θ_ opt: _θ_ opt = arg min _θ_ _J_ ( _θ_ ) _σθi_ = - _n_ _θ_ _j_ =1 _σjv_ <sup>2</sup> _j,i_ <sup>_._</sup> (10) Based on each _σθi_ magnitude, a subset of the parameters with the highest information content is chosen for parametrization and is denoted as the most significant parameters _θ_ ms. They are selected by arranging the _σθi_ in descending order, and only the first _n_ _θ_ ms most significant parameters are considered until the inequality, as in [21], holds: - _n_ _θ_ ms _<u>i</u>_ <u>=1</u> <sup>_σθ_</sup> <sup><u>ms</u></sup> <sup>_<u>,i</u>_</sup> ~~�~~ _<u>n</u>_ _θ_ _i_ =1 <sup>_σθi_</sup> ≥ _γ_ (11) with respect to _θi,_ min ≤ _θi_ ≤ _θi,_ max for _i_ ∈{1 _,_ 2 _, . . ., n_ _θ_ } _._ (13) The parameter space needs to be constrained to simplify the optimization and obtain meaningful results. The constraints are obtained from expert knowledge and physical considerations [21], e.g., the bounds for the volumes _V_ can be derived from geometrical information, and all the parameters _θi_ are strictly positive. Within the scope of parametrization, the model outputs are extended with the measured FC concentrations from the mass spectrometer to exploit its additional available parameter information, and the least significant parameters are kept constant. If multiple experiments are considered simultaneously in the optimization, the summation of the squared errors is extended over all experiments, and additional error weighting depending on the specific experiment can be considered. _C._ _OBSERVER DESIGN WITH EXPERIMENTAL VALIDATION_ Finally, the design of the concentration observer based on the CEKF estimation algorithm is presented, followed by a description of the experimental validation approach used. 1) CONSTRAINED EXTENDED KALMAN FILTER Knowing the FC concentrations is essential for degradation avoidance, diagnosis, and control. However, they are usually unmeasured, so observers come into play, estimating the unmeasured or even unmeasurable quantities based on an estimation algorithm and measured signals. The underlying observer estimation algorithm within the workflow is a CEKF based on [4]. The choice fell on the model-based observer for stochastic systems because the necessary Jacobians can be directly reused for model-based controllers [3], [17], saving computational resources. The applied observer is adapted to the given FC model (1), and solving the latter yields timecontinuous signals, e.g., _x_ . However, digital observers and controllers process the time-discrete counterpart, e.g., _x_ _k_, obtained by sampling _x_ at time instants _k_ ∈{0 _,_ 1 _, . . ., nk_ }, where ( _nk_ + 1) is the total number of samples and assuming zero-order hold. Thus, according to [4], the time-discrete equivalent of model (1) considering noise is The threshold _γ_ ∈ [0 _,_ 1] is adaptable for different purposes, and _n_ _θ_ ms ≤ _n_ _θ_ holds. Due to their minimal information content, the least significant and not considered parameters are negligible for the model output or are unidentifiable using the given model and available experiments. Interestingly, optimizing the real-world counterpart of a most significant parameter influences the measurable system output more significantly than optimizing a barely significant one. In order to obtain a parametrized model (1) to replicate the real PEMFC satisfactorily, an objective function _J_ is defined. As in [21], [30], it comprises the ( _nk_ + 1) weighted squared errors between the simulated _y_ ( _tk_ _,_ _θ_ ) and measured outputs _y_ <sup>∗</sup> _k_ <sup>, and a regularization term:</sup> _y_ ( _tk_ _,_ _θ_ )− _y_ <sup>∗</sup> _k_ �T _Qy_ _y_ ( _tk_ _,_ _θ_ )− _y_ <sup>∗</sup> _k_ + _. . ._ _J_ ( _θ_ ) = - _nk_ _k_ =0 _. . . (_ _θ_ 0 − _θ_ _)_ <sup>T</sup> _Qθ_ _(_ _θ_ 0 − _θ_ _) ._ (12) The _tk_ corresponds to the time of the sample instant _k_, and in the objective function, _Qy_ represents the output weighting matrix to weigh the individual outputs and consider the different output magnitudes, e.g., the anode inflowing mass _m_ ˙ an _,_ in has a magnitude of 10 <sup>−4</sup> and the pressures _p_ 10 <sup>5</sup>, which would lead to a bias in the parametrization. Moreover, _θ_ 0 is a realistic initial guess of the parameters, and _Qθ_ is the regularization matrix to penalize the deviation of the parameter vector _θ_ from its initial value _θ_ 0 in consideration of the different parameter magnitudes. The regularization also considers different parameter uncertainty levels, e.g., volumes _V_ only vary in a narrow range due to little manufacturing tolerances. However, the combined diffusivities _D_ vary Here, _F_ ( _x_ _k_ −1 _,_ _u_ _k_ −1 _,_ _θ_ ) is the discrete system prediction function, and it predicts the state _x_ _k_ at instant _k_ by solving (1) over a sampling period using quantities from the previous instant. The unchanged output function _g_ is not affected by discretization because it is a mapping function and not a differential equation. Adding process noise _wx_ and measurement _x_ _k_ = _F_ ( _x_ _k_ −1 _,_ _u_ _k_ −1 _,_ _θ_ ) _,_ _y_ _k_ = _g_ ( _x_ _k_ _,_ _u_ _k_ _,_ _θ_ ) _,_ (14a) _x_ <sup>∗</sup> _k_ <sup>=</sup> <sup>_x_</sup> <sup>_k_</sup> <sup>+</sup> <sup>_wx_</sup> <sup>_,k_</sup> <sup>−1</sup> <sup>_,_</sup> <sup>_y_</sup> <sup>∗</sup> _k_ <sup>=</sup> <sup>_y_</sup> _k_ <sup>+</sup> <sup>_wy_</sup> <sup>_,k_</sup> <sup>_._</sup> (14b) <sup>∗</sup> _k_ <sup>=</sup> <sup>_x_</sup> <sup>_k_</sup> <sup>+</sup> <sup>_wx_</sup> <sup>_,k_</sup> <sup>−1</sup> <sup>_,_</sup> <sup>_y_</sup> <sup>∗</sup> _k_ <sup>∗</sup> _k_ <sup>=</sup> <sup>_y_</sup> _k_ <sup>+</sup> <sup>_wy_</sup> <sup>_,k_</sup> <sup>_._</sup> (14b) VOLUME 11, 2023 10459 <u>60</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design noise _wy_ to the state _x_ and output _y_ yield the starred noisy (and measured) analogs, respectively. In line with [4], it is assumed that the noises are white and uncorrelated, and their covariances are known: _wx_ ∼ _N_ ( 0 _,_ _�x_ ) _,_ _wy_ ∼ _N_ ( 0 _,_ _�y_ ) _,_ _x_ 0 ∼ _N_ ( _~~x~~_ 0 _,_ _�x_ 0 ) _._ (15) Here, _N_ denotes normal distribution with the mean value as the first argument and the covariance as the second. Thus, the process _wx_ and measurement noise _wy_ are normally distributed and have zero mean with known covariances _�x_ and _�y_, respectively. The initial state _x_ 0, which needs to be estimated, has a mean of _~~x~~_ 0 and a known covariance of _�x_ 0. For the respective covariances, _�_ ≻ 0 holds. In practice, _x_ 0 can be estimated up to a certain degree of accuracy by taking the first sample of the measured FC signals and applying fundamental relations, e.g., assuming humid air and calculating the concentrations within the cathode. The estimation algorithm is separated into a prediction and an update step. As in [4], the state _x_ ˆ <sup>−</sup> _k_ <sup>and covariance estimate</sup> <sup>_�_</sup> <sup>ˆ</sup> - _x_ ˆ _,k_ <sup>are predicted using</sup> past quantities: As in [4], the adjusted Kalman gain is obtained with - _L_ ˜ _k_ _,_ _�_ �� _K_ _k_ _,_ ( _x_ ˜ _k_ −ˆ _x_ <sup>−</sup> _k_ - _. . ._ <sup>−</sup> _k_ <sup>)</sup> �−1 _,_ (18) _. . ._ _H_ _k_ ( _y_ <sup>∗</sup> _k_ _H_ _k_ ( _y_ <sup>∗</sup> _k_ <sup>−ˆ</sup> <sup>_y_</sup> _k_ <sup>−)</sup> ( _y_ <sup>∗</sup> _k_ <sup>−ˆ</sup> <sup>_y_</sup> _k_ <sup>−)T</sup> 0 _y_ <sup>∗</sup> _k_ <sup>−ˆ</sup> <sup>_y_</sup> _k_ <sup>−</sup> _k_ <sup>−)T</sup> 0 <sup>∗</sup> _k_ <sup>−ˆ</sup> <sup>_y_</sup> _k_ <sup>−</sup> where _�_ is the Lagrangian multiplier vector. The state and covariance estimate update (17) is repeated with _L_ <sup>˜</sup> _k_ to obtain the constrained counterpart. Finally, the updated output estimate is evaluated from _y_ ˆ _k_ = _g_ ( _x_ ˆ _k_ _,_ _u_ _k_ _,_ _θ_ ), and the algorithm is executed every instant to observe the desired quantities continuously. The required Jacobians are analytically derived from the nonlinear FC model (1), as in [4]: _A_ ( _tk_ −1) = <sup>_∂_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>)</sup> _∂_ _x_ ���� _x_ ˆ _k_ −1 _,_ _u_ _k_ −1 _,_ _θ_ _C_ ( _tk_ ) = <sup>_∂_</sup> <sup>_g_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>)</sup> _∂_ _x_ ���� _x_ ˆ _k_ _x_ ˆ <sup>−</sup> _k_ <sup>−</sup> _k_ <sup>_,_</sup> <sup>_u_</sup> <sup>_k_</sup> <sup>_,_</sup> <sup>_θ_</sup> (19) <sup>−</sup> _k_ <sup>and covariance estimate</sup> <sup>_�_</sup> <sup>ˆ</sup> _x_ ˆ <sup>−</sup> _k_ <sup>−</sup> _k_ <sup>=</sup> <sup>_F_</sup> <sup>(</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>−1</sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_k_</sup> <sup>−1</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_,_</sup> (16a) which are also necessary for model-based controllers. The model derivatives are calculated using a toolbox [31], and the time-continuous _A_ ( _tk_ −1) needs to be discretized accordingly to get the time-discrete counterpart _A_ _k_ −1. For the discretization procedure and further details, please refer to [4]. <sup>T</sup> _k_ −1 <sup>+</sup> <sup>_�x_</sup> <sup>_._</sup> (16b) - _x_ ˆ _,k_ <sup>=</sup> <sup>_A_</sup> <sup>_k_</sup> <sup>−1 ˆ</sup> <sup>_�_</sup> _x_ ˆ _,k_ −1 <sup>_A_</sup> <sup>T</sup> _k_ _�_ ˆ 2) EXPERIMENTAL VALIDATION In the final step, the observer is validated with separate validation data sets. In order to do this, only the measured inputs _u_ <sup>∗</sup> and outputs _y_ <sup>∗</sup> are fed into the observer, while it estimates the states _x_ ˆ. The measured ones _x_ <sup>∗</sup> are entirely unknown to it. This configuration enables the observer to run parallel to a test stand or other real-world applications. For validation, it is shown that the observer estimates the measured FC concentrations well without knowing the actual measured quantities and that it replicates the concentrations better than an open-loop simulation of the model alone. As in [32], the scatter index _S_ ∈ [0 _,_ ∞), also known as normalized rootmean-square error, is used to evaluate the goodness of replicating the measured signal _y_ <sup>∗</sup> by the estimated (or simulated) counterpart _y_ ˆ, defined as The superscripted minus indicates prediction, and the initial conditions are _x_ ˆ 0 = _x_ 0 and _�_ <sup>ˆ</sup> _x_ ˆ _,_ 0 = _�x_ 0. The discretized system matrix _A_ _k_ −1 is a partial derivative of model (1), elaborated on later. The output estimate is predicted with _y_ ˆ <sup>−</sup> _k_ <sup>=</sup> <sup>_g_</sup> <sup>(</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>−</sup> _k_ <sup>_,_</sup> <sup>_u_</sup> <sup>_k_</sup> <sup>_,_</sup> <sup>_θ_</sup> <sup>).</sup> <sup>The</sup> <sup>update</sup> <sup>step</sup> <sup>consists</sup> <sup>of</sup> <sup>three</sup> <sup>equa-</sup> tions, utilizing current quantities and exploiting the current measured output _y_ <sup>∗</sup> _k_ <sup>. Following [4], the optimal Kalman gain</sup> _L_ _k_ is evaluated first, which is necessary to obtain the updated state _x_ ˆ _k_ and covariance estimate _�_ <sup>ˆ</sup> _x_ ˆ _,k_ : <sup>T</sup> _k_ <sup>(</sup> <sup>T</sup> _k_ <sup>+</sup> <sup>_�y_</sup> <sup>)−1</sup> <sup>_,_</sup> (17a) _L_ _k_ = _K_ _k_ ~~�~~ - ~~�~~ _�_ ˆ - _x_ ˆ _,k_ <sup>_C_</sup> <sup>T</sup> _k_ <sup>(</sup> - _x_ ˆ _,k_ <sup>_C_</sup> <sup>T</sup> _k_ _H_ _k_ ~~�~~ - ~~�~~ _C_ _k_ _�_ <sup>ˆ</sup> - _x_ ˆ _,k_ <sup>_C_</sup> <sup>T</sup> _k_ <sup>+</sup> <sup>_�y_</sup> - _x_ ˆ _,k_ <sup>_C_</sup> <sup>T</sup> _k_ _x_ ˆ _k_ = _x_ ˆ <sup>−</sup> _k_ _k_ <sup>∗</sup> <sup>−ˆ</sup> <sup>_y_</sup> <sup>−</sup> _k_ <sup>−</sup> _k_ <sup>+</sup> <sup>_L_</sup> <sup>_k_</sup> <sup>(</sup> <sup>_y_</sup> _k_ <sup>∗</sup> <sup>∗</sup> _k_ <sup>−ˆ</sup> <sup>_yk_</sup> <sup>−</sup> _k_ <sup>)</sup> <sup>_,_</sup> (17b) - _x_ ˆ _,k_ <sup>(</sup> <sup>_I_</sup> <sup>−</sup> <sup>_L_</sup> <sup>_k_</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>)T +</sup> <sup>_. . ._</sup> _�_ ˆ _x_ ˆ _,k_ = ( _I_ - _L_ _k_ _C_ _k_ ) _�_ ˆ ~~�~~ 2 _._ (20) ~~�~~ <u>1</u> _<u>nk</u>_ <u>+1</u> <u>1</u> _<u>nk</u>_ <u>+1</u> ~~�~~ _nk_ _k_ =0 ~~�~~ _y_ <sup>∗</sup> _k_ _. . ._ _L_ _k_ _�yL_ <sup>T</sup> _k_ <sup>_._</sup> (17c) _S_ = _k_ ~~�~~ _<u>nk</u>_ _k_ =0 <sup>_y_</sup> _k_ <sup>∗</sup> The output matrix _C_ _k_ is a partial model derivative, _I_ is an identity matrix, and _K_ _k_ and _H_ _k_ simplify the notation. The updated state estimate _x_ ˆ _k_ is subject to inequality constraints _x_ ˆ _k,m_ ≥ _x_ lim _,m_ for _m_ ∈{1 _,_ 2 _, . . ., n_ _x_ }, where _x_ lim contains the state limit values, and _n_ _x_ is the number of states. The constraint is necessary because the unconstrained algorithm does not guarantee estimated states within a physically plausible range. If no state constraint is violated, the algorithm is finished at instant _k_ . Otherwise, the gain projection method is utilized to obtain an adjusted optimal Kalman gain _L_ <sup>˜</sup> _k_ to fulfill the constraints. The clipped state estimate _x_ ˜ _k_ is used, which is equal to _x_ ˆ _k_, except that the elements that do not comply with the constraints are clipped to the limit value. Here, the nominator represents the root-mean-square error between the measured and the estimated (simulated) signal, and the denominator is the arithmetic mean of the measured signal. An _S_ value of 0 means perfect replicating of the measurements by the model or observer, and increasing values imply progressively worse performance. III. RESULTS AND DISCUSSION This section presents the results of the model-based DOE. These are conducted on the experimental setup, and the resulting measurements are shown. The nonlinear identification is conducted based on the measurements, and the resulting replication performance of the model is illustrated. 10460 VOLUME 11, 2023 <u>61</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design The observer is experimentally validated based on the concentration measurements, and the superior performance of the observer compared to an open-loop model simulation is demonstrated. In addition, all the results are discussed in detail. _A._ _DESIGNED EXPERIMENTS_ The DOE optimization (7) is conducted considering that only the following inputs are actively and (almost) independently controllable: the incoming airflow _m_ ˙ ca _,_ in, stack current _I_, inflowing coolant temperature (assumed to be the stack temperature _T_ ), and anode supply manifold pressure _p_ an _,_ sm. The gaseous species _x_ are additionally considered as outputs within the scope of optimization to exploit the additional parameter information content provided by the mass spectrometer signals. The optimized steady-state points are shown in Fig. 3a-d, and as additional information, the stoichiometry of air _λ_ ca is given in Fig. 3e. Model (1) has 16 parameters, so there are 16 sections, each representing an optimized steady-state operating point to identify one specific parameter. The experiment starts and ends from the same point, and the steady-state points were arranged so that the change from one to the next is minimal due to control reasons. Please note that the given actuator ranges (red dashed lines) are well exploited, e.g., the entire temperature range (Fig. 3d) and various air stoichiometries (Fig. 3e) are used, which are often kept constant in polarization curve experiments. The stoichiometry is slightly above the given limit at the beginning and end due to the mitigation of cell flooding. Otherwise, the flow velocities on the cathode side at low current densities are too low to remove the produced water sufficiently. The results are plausible because, e.g., the water phase change coefficient _k_ phase ( _t_ ∈ [1100 s _,_ 1200 s]) is well identifiable during low stack temperatures and little incoming airflow (Fig. 3a), leading to high relative humidities. The liquid water removal coefficient _k_ liq ( _t_ ∈ [700 s _,_ 800 s]) is better identifiable during low temperatures and high currents (Fig. 3c), leading to many droplets being dragged out by a high incoming airflow. Interestingly, as shown in Fig. 3b, it is more advantageous regarding parameter identifiability to have the anode supply manifold pressure in the lower operating range. One reason could be that a lower pressure leads to less diffusion through the membrane, favoring the identification of nozzle coefficients (e.g., _k_ ca _,_ cm _,_ sm and _k_ ca _,_ em _,_ cm for _t_ ∈ [1300 s _,_ 1500 s]) because of lower disturbance flows. An additional chirp experiment (Fig. 3f) is executed to excite the parameter information of time constant-like parameters. The dynamic experiment utilizes the entire allowed current operating range and frequency while the remaining actuators are kept constant or are dependent on the current. The covered frequency starts from 0 Hz and rises to 0 _._ 06 Hz, limited by a given rate of change of 10 A s <sup>−1</sup> . The steady-state point optimization objective value (7) for each parameter versus generation is shown in Fig. 3g, where the objective values are normed so that the first generation has the value 1. It can be seen that the objectives only improve a little over the generations, the reason being that a used heuristic optimizer [22] population of 48 is rather large for four constrained decision variables. Thus, the initial solution is already good, leading to minimal changes over the generations. This information could be used for future optimizations, e.g., reducing the population size to reduce the computation time. _B._ _EXPERIMENTAL RESULTS_ The optimized steady-state points, chirp, and polarization curve experiments are conducted (multiple times) on the experimental setup. The polarization curve experiment serves as a reference for further evaluations. Due to technical restrictions, either the cathode or the anode gaseous mole fractions can be measured during an experiment. Because of limited resources and theoretical higher information content according to the FIM, only the anode mole fractions are measured in all the experiments. One of the measurement cycles of each experiment is chosen, and the corresponding outputs, actively controllable inputs, air stoichiometry, and the anode gaseous mole fractions are shown in Fig. 4. The left column represents the optimized steady-state points, the middle the chirp, and the right the polarization curve experiment. Blue indicates a system output, and red is an actively controllable input or air stoichiometry. The top first row (Fig. 4a-c) shows the stack voltage _U_ and current _I_ . In principle, all three experiments cover the entire operating range regarding input excitation, but only the chirp sweeps through the entire frequency range. The same conclusion holds for the second row (Fig. 4d-f), where the cathode supply manifold pressure _p_ ca _,_ sm and incoming airflow _m_ ˙ ca _,_ in are shown. The third row illustrates the cathode exit manifold pressure _p_ ca _,_ em and air stoichiometry _λ_ ca. Interestingly, the steady-state points (Fig. 4g) and chirp experiment (Fig. 4h) cover the whole given air stoichiometry range, where a constant value (1.5) is tracked in the polarization curve one (Fig. 4i) for currents over 90 A (to avoid cell flooding), and higher stoichiometries are tracked during lower currents. In the steady-state points experiment, the air stoichiometry briefly exceeds the given bounds (peaks are outside the figure at about _t_ = {220 s _,_ 920 s}) due to quick load changes. The anode inflowing mass _m_ ˙ an _,_ in and supply manifold pressure _p_ an _,_ sm are depicted in the fourth row. What is notable here is that _p_ an _,_ sm is essentially held constant in the chirp (Fig. 4k) and polarization curve experiment (Fig. 4l), and for the steady-state points experiment (Fig. 4j), it is actively varied. The fifth row (Fig. 4m-o) depicts the anode exit manifold pressure _p_ an _,_ em and outflowing coolant temperature (assumed to be the uniform stack temperature _T_ ). The not shown inflowing coolant temperature is almost constant for the chirp and polarization curve experiment, and the resulting temperature changes in the outgoing flow result mainly from the internal electrochemical reactions of the FC, explaining the correlation with the electric load. Again, the inflowing coolant temperature is actively varied only in the steady-state points experiment. The last row (Fig. 4p-r) VOLUME 11, 2023 10461 <u>62</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design FIGURE 3. Plots ( a - d ) show the actively and (almost) independently controllable inputs for the designed steady-state points experiment: ( a ) incoming airflow _m_ ˙ ca _,_ in, ( b ) anode supply manifold pressure _p_ an _,_ sm, ( c ) stack current _I_, and ( d ) the stack temperature _T_ . The air stoichiometry _λ_ ca is given in ( e ) as additional information, and each section in ( a - e ) corresponds to an optimized steady-state operating point to identify one specific parameter, which is also given in grey. Plot ( f ) illustrates the additional chirp experiment, and the red dashed lines indicate the given actuator limits. Plot ( g ) shows each parameter’s normed steady-state point optimization objective value versus generation. displays the gaseous anode species mole fractions _x_ an _,p_ of hydrogen, nitrogen, and vapor. The experiments have similar mole fraction magnitudes quantitatively, but the trajectories deviate qualitatively mainly because of the applied loads. The spikes in the fourth- and fifth-row anode signals and the sharp jumps in the species mole fractions are due to anode purgings triggered by a Coulomb counter. _C._ _PARAMETRIZED MODEL_ Well-established experiments, e.g., polarization curve or current steps, provide a reasonable basis for identification and are thus usually used for this purpose. Within the scope of our study, we investigated whether a purposefully designed experiment would yield any improvements regarding parametrization. Hence, it is shown here that the designed steady-state points experiment (Fig. 4 left column) yields better parameter identifiability than the polarization curve experiment (right column), and following this, the actual model parametrization results are presented. The polarization curve experiment is longer in time, which generally suggests more parameter information, so only the same length as the steady-state points experiment starting from the beginning is taken to be a fair comparison. The total parameter information _σθi_ (10) is given in Fig. 5a. The red crosses denote the information content of the respective parameters based on the optimized steady-state points experiment, and the blue circles are the counterparts of the polarization curve experiment. Higher values indicate lower uncertainties in estimating the respective parameters with the particular experiment. In direct comparison, both experiments yield similar parameter information magnitudes. Thus, a definitive conclusion regarding better parameter identifiability of a specific experiment cannot yet be made, and note that the Fisher information is an a priori variance estimate. The parameters are estimated 134 times in total by solving the optimization problem (13) with a heuristic optimizer [22], where each run is independently and randomly initialized to obtain the sample for the empirical variance calculation. 10462 VOLUME 11, 2023 <u>63</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design VOLUME 11, 2023 10463 <u>64</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design FIGURE 5. Plot ( a ) illustrates each parameter’s total information _σθ_ _i_ depending on the experiment. Higher values indicate better identifiability of the specific parameter. Plot ( b ) presents the obtained empirical variances of the parameters using the respective experiments, normalized with the squared parameter magnitudes, and lower variance means less parameter uncertainty. Plot ( c ) displays one of each experiment’s parametrization objective value curves. Fig. 5b shows the normalized empirical variances of the parameters, and lower values mean less parameter uncertainty. The variances correlate to the information content, as expected according to the Cramér-Rao inequality (3). A high information content means lower parameter variance, e.g., the cathode nozzle coefficient _k_ ca _,_ atm _,_ em, or vice versa, e.g., the anode combined diffusivity coefficient _D_ an. This property of the Fisher information helps make an a priori estimate on which parameters are well identifiable to simplify the optimization beforehand. In addition, it can be seen that the steady-state points experiment yield lower parameter variances for almost every parameter. A few exceptions include the liquid water removal coefficient _k_ liq, better identifiable in the polarization curve experiment. The latter operates more often with high loads (Fig. 4a,c), which provokes more liquid water generation and higher gas flows (Fig. 4d,f), which is ideal for removing liquid water. The high loads are also why the cathode _k_ ca _,_ em _,_ cm and anode nozzle coefficient _k_ an _,_ atm _,_ em have less uncertainty for the polarization curve experiment. This drawback of the steady-state points experiment can be balanced by extending the duration of high-load sections. Some parameters, such as the anode combined diffusivity coefficient _D_ an, are generally difficult to identify. The anode’s diffusion is rarely a problem and might only be relevant during exceptionally high loads. Those operating regions are not allowed during the experiments to avoid FC degradation, leading to the named parameter’s moderate identifiability. One of the many parametrization objective value (13) curves for each experiment is shown in Fig. 5c. The divergent magnitudes of the experiment’s objective function are due to experiment-specific weightings, considering varying signal mean values, which does not automatically mean a worse fit of one. Considering all the available curves, the objective value for the steady-state points experiment converges faster in addition to the lower empirical variances, which shows the beneficial impact of designing the experiments appropriately. All experiments shown in Fig. 4 with their full length are utilized for the actual parametrization process to exploit all the available information. The combined parameter sensitivity analysis for all three experiments demonstrates that the anode combined diffusivity coefficient _D_ an and membrane time constant _τ_ m are poorly identifiable, similarly to Fig. 5a, so these two parameters are excluded from the optimization and kept constant at their initial value. The resulting parametrization objective value curve is qualitatively similar to those in Fig. 5c. In the interests of concision, the remainder of this paper only describes the chirp experiment. The latter covers the entire current operating range and frequency, so the dynamics of the remaining experiments are mostly covered. The parameterized model delivers the signals shown in Fig. 6. Fig. 6a-e depict model outputs, Fig. 6f internal model concentrations; note that a validation data set is used here, which is not utilized during parametrization. The dashed lines are the measured references, and the solid lines are the simulated signals. The model outputs are very well-replicated, also indicated with scatter index _S_ values at the second decimal place. The model voltage _U_ has some deviations during the slow dynamics at the beginning and the lower peaks, as shown in Fig. 6a. The slowly decaying deviations at the beginning might be a consequence of the not ideal initialization of the simulation. The differences at the lower peaks are likely due to simplified modeling assumptions in the electrochemical model. The diffusion is modeled assuming steadystate, an especially rough approximation during high dynamic loads at the lower peaks. Also, the anode exit manifold pressure _p_ an _,_ em has a slight offset (Fig. 6e) due to simplifying assumptions in the recirculation flow modeling [16]. The remaining output signals (Fig. 6b,c,d), in essence, overlap 10464 VOLUME 11, 2023 <u>65</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design FIGURE 6. Model outputs: stack voltage _U_ (Plot a ), cathode supply _p_ ca _,_ sm (Plot b ) and exit manifold pressure _p_ ca _,_ em (Plot c ), and anode inflowing mass _m_ ˙ an _,_ in (Plot d ) and exit manifold pressure _p_ an _,_ em (Plot e ). Plot ( f ) displays the internal anode exit manifold partial pressures _p_ an _,_ em _,_ _p_ for hydrogen (H2), nitrogen (N2), and vapor (vap), and the corresponding scatter index _S_ is given in each plot. Dashed lines represent measured references, and solid ones the simulated signals. with the measured references. The mass spectrometer measures the gaseous anode species mole fractions at the outlet, but the model delivers the species averaged for the whole stack due to the modeling assumptions. Thus, the individual species partial pressures _p_ an _,_ em _,p_ for _p_ ∈{H2 _,_ N2 _,_ vap} in the exit manifold are fitted during parametrization instead of the averaged model mole fractions to obtain a better agreement. The anode partial pressures _p_ an _,_ em _,p_ = _p_ an _,_ em _x_ an _,p_ are easily obtained by multiplying the exit manifold pressure _p_ an _,_ em with the respective mole fractions _x_ an _,p_ . The latter signals are all measured, and Fig. 6f illustrates the simulated and measured partial pressures. The signals are qualitatively and quantitatively well-replicated, but there are still some deviations and offsets, leading to higher _S_ values for the partial pressures than for the model outputs. There are three main reasons for this: First, the mass spectrometer has an accumulated measurement tolerance of up to 5%. Second, the device does not differentiate between liquid and gaseous water. Third, as described, the model used simulates the averaged species for the whole stack while the measured species are diverted at the outlet to the measurement device. For these reasons, the species replication errors are less weighted during the parametrization procedure. _D._ _EXPERIMENTAL OBSERVER VALIDATION_ For validation, Fig. 7 (same validation data as in Fig. 6) shows the signals delivered by the observer: the corrected model outputs (Fig. 7a-e) and estimated internal gaseous anode partial pressures (Fig. 7f). The observer estimates the internal partial pressures by utilizing only the parameterized model (1), the measured model inputs _u_ <sup>∗</sup>, and outputs _y_ <sup>∗</sup> . The measured internal partial pressures are only depicted for reference and are entirely unknown to the observer. Compared to the open-loop simulation in Fig. 6, the observer uses the measured outputs’ feedback to improve the state estimations. The scatter index _S_ improved significantly for hydrogen in Fig. 7f, which is also visually recognizable. Compared to the open-loop simulation in Fig. 6f, not only is the signal’s qualitative behavior caught, but also its magnitude. The estimated nitrogen partial pressure by the observer deviates more than in the open-loop case with a VOLUME 11, 2023 10465 <u>66</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design FIGURE 7. Model outputs: stack voltage _U_ (Plot a ), cathode supply _p_ ca _,_ sm (Plot b ) and exit manifold pressure _p_ ca _,_ em (Plot c ), and anode inflowing mass _m_ ˙ an _,_ in (Plot d ) and exit manifold pressure _p_ an _,_ em (Plot e ). Plot ( f ) displays the internal anode exit manifold partial pressures _p_ an _,_ em _,_ _p_ for hydrogen (H2), nitrogen (N2), and vapor (vap), and the corresponding scatter index _S_ is given in each plot. Dashed lines represent measured references, and solid ones the observer signals. corresponding higher _S_ value, which also applies to the vapor partial pressure, but on a smaller scale. The main reasons for this have already been mentioned: measurement tolerance, water phase differentiation, and spatial model assumptions. In particular, the measuring at the outlet is visually clearly noticeable for nitrogen. The measured nitrogen partial pressure accumulates at the outlet (the rising ramps are well visible) and is always higher than the estimated averaged values by the observer for the whole stack. However, it is considered that the estimations by the observer better represent the stack as a whole, and using the estimated states, the so-called corrected model outputs by the observer (Fig. 7ae) yield scatter indices which are always lower than for the simulated signals in Fig. 6. The only exception is the anode inflowing mass _m_ ˙ an _,_ in (Fig. 7d). This has a higher _S_ value in the observer case caused by a more divergent correction of the signal spikes during the purging process. The reason is that purging is highly nonlinear, but the observer algorithm uses locally linearized Jacobians. Furthermore, to a large extent, the observer corrects the mentioned stack voltage _U_ deviations due to improper initialization (Fig. 6a and Fig. 7a), and the offset in the anode exit manifold pressure _p_ an _,_ em _,p_ (Fig. 6e) is also adjusted by the observer (Fig. 7e). The observer achieves both corrections by driving the internal states to more realistic configurations based on the feedback of the measured outputs. The improved scatter indices for the model outputs demonstrate that the estimated concentrations represent the whole stack better than the open-loop simulation counterparts, despite having higher _S_ values for nitrogen and vapor. An explanation for the simulation model’s behavior is that it is parametrized to measurements at the exit manifold, explaining why it mimics the behavior there instead of the averaged ones for the whole stack. Essentially, the model was parametrized to behave differently, which the observer corrects. Still, the estimated states by the observer coincide quantitatively and qualitatively well with the measurements, validating the observer itself. In conclusion, considering the reasons given above for deviation and the simple model, the observer’s performance is outstanding. For comparison, Fig. 8 shows the anode nitrogen partial pressure _p_ an _,_ em _,_ N2 estimated by a Kalman filter (KF), an extended KF (EKF), a CEKF [4], and a constrained unscented KF (CUKF) [33]. The KF is a linear estimation algorithm, EKF is the nonlinear version, the CEKF addi 10466 VOLUME 11, 2023 <u>67</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design removal). The CEKF uses the precalculated Jacobians in this constellation and does not require additional computation, significantly lowering the computational demand for the CEKF itself and enabling it to consider the nonlinearities better. In summary, the CEKF is a reasonable compromise for a control setup regarding estimation performance and computational requirements. FIGURE 8. Comparison of anode nitrogen partial pressure _p_ an _,_ em _,_ N2 estimated by a Kalman filter (KF), an extended KF (EKF), a constrained EKF (CEKF), and a constrained unscented KF (UKF). TABLE 2. Performance indices comparison between a Kalman filter (KF), an extended KF (EKF), a constrained EKF (CEKF), and a constrained unscented KF (UKF). tionally considers constraints, and the CUKF utilizes an unscented transformation, which does not require the model’s Jacobians. Visually, all observers yield similar estimations, and only the CUKF has some big spikes during purging, which the others do not have. The reason could be that purging is a highly nonlinear process, and due to the required state sample points by the algorithm, minor changes in the states have a significant impact on the estimation. Quantitative performance indices for each observer are given in Table 2. These are the scatter index _S_ between each observer signal and the measured counterpart and the computation time relative to the CEKF. The scatter indices show that all observers have a similar estimation performance, and the latter heavily depends on the tuning. Some are better for specific signals and others for others, and no single one is superior. What is more apparent is that constraints are strictly necessary to obtain physically meaningful results, e.g., the pressure gets negative during purging for the KF and EKF in Fig. 8. The UKF is too computationally expensive for control applications because it needs 4.7 times longer to calculate than the CEKF while not yielding superior performance. A constrained KF would be a reasonable compromise regarding performance and computation time, but the model’s Jacobians are already calculated in a closed-loop setup for a model-based controller [17], which requires them for the strong nonlinearities (e.g., water phase change and droplet _E._ _REMARKS ON WORKFLOW IMPLEMENTATION_ The proposed design workflow is a holistic guideline for real-world observer implementations for FC concentrations. So that the workflow can play out its advantages, certain issues have to be considered. The presented methodologies require an appropriate system model because the DOE, parameter sensitivity analysis, and observer design are model-based. In addition, the model has to fulfill two conditions: identifiability and observability (please refer to the literature for the definitions). The identifiability also depends on the experiments, but the model should have a manageable number of parameters and a sophisticated structure to ensure a good starting point for parametrization. Observability is also not solely model dependent because the available physical sensors are decisive, but a good model structure is a sound basis for observing desired quantities. One key aspect of the workflow is the DOE, which implies the possibility of conducting experiments on the system. In many observer design cases, experiment execution is impossible, and the user must rely on existing measurements. Regarding observability, as already mentioned, the system must have the right equipment, e.g., sensors in advantageous positions. Moreover, suitable devices are necessary, e.g., a concentration measurement device to parametrize and validate the observer. Special measurement devices may not be necessary permanently during operation because one purpose of observers is to replace physical sensors and devices. If some criteria are not met, it does not automatically mean that this workflow is not applicable. The workflow can be used as an idea provider to create or adapt a system model, adjust the system, or include new sensors. The presented workflow is a guideline for implementation, but it is not inflexible and can, in fact, be adapted to the circumstances and possibilities of the specific use case. IV. CONCLUSION Observers are an effective method of obtaining unmeasured or even unmeasurable quantities with an estimation algorithm and measured quantities. In our study, an FC concentration observer was designed, and the estimated hydrogen, nitrogen, and water concentrations by the observer on the anode side were experimentally validated. The knowledge of the concentrations is necessary for diagnosis, degradation avoidance, and model-based control. A novel holistic observer design workflow was presented, covering the following methods for the first time: a model-based DOE was conducted to increase the experiment’s model parameter sensitivity and input excitation range for improved identification and validation. The VOLUME 11, 2023 10467 <u>68</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design experiments were executed on a 30 kW PEMFC system, and a key component of our approach is the mass spectrometer utilized to obtain concentration measurements. A model parameter sensitivity analysis was performed based on the available measurements to identify poorly identifiable parameters. These were excluded in the subsequent nonlinear identification in order to simplify it. Finally, based on the CEKF estimation algorithm, an FC concentration observer was designed and experimentally validated. The presented workflow is demonstrated based on a control-oriented PEMFC stack model, and the model-based DOE and the experimental validation with a mass spectrometer, including dynamic operation, are unique in the literature for PEMFC observers. In addition, the obtained results were discussed in detail, and the validated observer delivered an outstanding concentration estimation performance. Ultimately, the observer is ready for real-world applications such as online diagnosis and modelbased control. Further research topics would include investigating the observer’s online diagnosis capabilities and behavior in a closed-loop setting via simulation followed by experimental studies. In order to improve the DOE, an online capable DOE controller could be developed, which optimizes the parameter identifiability online during experiment execution. This controller could consider unavoidable control errors and dynamically excite the system, favorable for time constantlike parameters. APPENDIX _ABBREVIATIONS_ The following abbreviations are used in this manuscript: CEKF Constrained extended Kalman filter. CUKF Constrained unscented Kalman filter. DOE Design of Experiments. EKF Extended Kalman filter. FC Fuel cell. FIM Fisher information matrix. KF Kalman filter. PEMFC Polymer electrolyte membrane fuel cell. NOMENCLATURE The following abbreviations are used in this manuscript: _SUBSCRIPTS_ 0 Initial. _θ_ Parameter. _θ_ ms Most significant parameter. _e_ Prediction error. _u_ Input. _x_ State, or process noise. _x_ 0 Initial state. _y_ Output, or measurement noise. _x_ ˆ State estimate. an Anode. atm Atmosphere. ca Cathode. cm Center manifold. c Contact. em Exit manifold. H2 Hydrogen. in Inflow. lim Limit. liq Liquid water. max Maximum. min Minimum. ms Most significant. m Membrane. N2 Nitrogen. nrm Normalized. O2 Oxygen. opt Optimized. phase Phase change. reci Recirculation. sm Supply manifold. vap Vapor. _θi_ Parameter _i_ . _i_ Parameter running index. _j_ Singular value running index. _k_ Sampling instant. _l_ Input running index. _m_ State running index. _n_ _θ_ Number of parameters. _p_ Mole fraction running index. _SYMBOLS_ _α_ Valve position in 1. _�_ Lagrange multiplier vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _ψ_ Output parameter sensitivity vector R <sup>5</sup> (R <sup>_n_</sup> <sup>_y_</sup> ). _ψ_ Output parameter sensitivity vector R <sup>5</sup> (R <sup>_n_</sup> <sup>_y_</sup> ). _�_ Covariance matrix R <sup>5×5</sup>, or R <sup>9×9</sup> (R <sup>_n_</sup> <sup>_y_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_y_</sup>, or R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_x_</sup> ). _θ_ Vector containing the tunable parameters R <sup>16</sup> (R <sup>_n_</sup> <sup>_θ_</sup> ). _ξ_ State parameter sensitivity vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _A_ System matrix R <sup>9×9</sup> (R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_x_</sup> ). _C_ Output matrix R <sup>5×9</sup> . _F_ System prediction function R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _f_ System function R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _g_ Output function R <sup>5</sup> (R <sup>_n_</sup> <sup>_y_</sup> ). _H_ Matrix for Kalman gain calculation R <sup>5×5</sup> (R <sup>_n_</sup> <sup>_y_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_y_</sup> ). _I_ Identity matrix R <sup>9×9</sup> (R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_x_</sup> ). _K_ Matrix for Kalman gain calculation R <sup>9×5</sup> (R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_y_</sup> ). _L_ Optimal Kalman gain matrix R <sup>9×5</sup> (R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_y_</sup> ). _M_ Fisher information matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_θ_</sup> . _Q_ Weighting, or regularization matrix R <sup>5×5</sup> (R <sup>_n_</sup> <sup>_y_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_y_</sup> ), or R <sup>_n_</sup> <sup>_θ_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_θ_</sup> . _S_ Singular value matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_θ_</sup> . 10468 VOLUME 11, 2023 <u>69</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design _U_ Left singular vector matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_θ_</sup> . _u_ Input vector R <sup>10</sup> (R <sup>_n_</sup> <sup>_u_</sup> ). _u_ <sup>∗</sup> Measured input vector R <sup>10</sup> (R <sup>_n_</sup> <sup>_u_</sup> ). _V_ Right singular vector matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_θ_</sup> . _v_ Right singular vector R <sup>_n_</sup> <sup>_θ_</sup> . _w_ Noise vector R <sup>5</sup>, or R <sup>9</sup> (R <sup>_n_</sup> <sup>_y_</sup>, or R <sup>_n_</sup> <sup>_x_</sup> ). _x_ State vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _x_ <sup>∗</sup> Noisy (and measured) state vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _y_ Output vector R <sup>5</sup> (R <sup>_n_</sup> <sup>_y_</sup> ). _y_ <sup>∗</sup> Noisy (and measured) output vector R <sup>5</sup> (R <sup>_n_</sup> <sup>_y_</sup> ). _γ_ Threshold in 1. _�_ ˆ Updated covariance estimate matrix R <sup>9×9</sup> (R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_x_</sup> ). _�_ ˆ - Predicted covariance estimate matrix R <sup>9×9</sup> (R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_x_</sup> ). _x_ ˆ Updated state estimate vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _x_ ˆ <sup>−</sup> Predicted state estimate vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _y_ ˆ Updated output estimate vector R <sup>5</sup> (R <sup>_n_</sup> <sup>_y_</sup> ). _y_ ˆ <sup>−</sup> Predicted output estimate vector R <sup>5</sup> (R <sup>_n_</sup> <sup>_y_</sup> ). _y_ ˆ Estimated (or simulated) signal R <sup>1×1</sup> . _λ_ Stoichiometry in 1. _N_ Normal distribution. _~~x~~_ Expected value of state vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _σ_ Singular value, or total information of a parameter. _τ_ Time constant in s. _θ_ Parameter. _L_ ˜ Adjusted optimal Kalman gain matrix R <sup>9×5</sup> (R <sup>_n_</sup> <sup>_x_</sup> <sup>×</sup> <sup>_n_</sup> <sup>_y_</sup> ). _x_ ˜ Clipped state estimate vector R <sup>9</sup> (R <sup>_n_</sup> <sup>_x_</sup> ). _ϕ_ Relative humidity in 1. _a_ Water activity in 1. _D_ Combined diffusivity parameter in mol/s. _I_ Current in A. _J_ Objective function R <sup>1×1</sup> . _K_ Intrinsic exchange current parameter in A _/_ m <sup>2</sup> . _k_ Nozzle, or mass flow coefficient in kg _/_ (s · Pa), m <sup>2</sup>, or 1/s. _M_ Fisher information for a single parameter R <sup>1×1</sup> . _m_ Mass in kg. _n_ Number in 1. _P_ Power in W. _p_ Pressure in Pa. _R_ Ohmic resistance in _�_ . _S_ Scatter index, or normalized root-meansquare error in 1. _T_ Fuel cell temperature in K. _t_ Time in s. _U_ Voltage in V. _u_ Input. _V_ Volume in m <sup>3</sup> . _v_ Right singular vector component. _x_ Gaseous species mole fraction in 1. _y_ <sup>∗</sup> Measured signal R <sup>1×1</sup> . ACKNOWLEDGMENT The computational results presented have been achieved, in part, using the Vienna Scientific Cluster (VSC). REFERENCES [1] Y. Wang, K. S. Chen, J. Mishler, S. C. Cho, and X. C. Adroher, ‘‘A review of polymer electrolyte membrane fuel cells: Technology, applications, and needs on fundamental research,’’ _Appl._ _Energy_, vol. 88, no. 4, pp. 981–1007, 2011. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S0306261910003958 [2] H. Yuan, H. Dai, X. Wei, and P. Ming, ‘‘Model-based observers for internal states estimation and control of proton exchange membrane fuel cell system: A review,’’ _J._ _Power_ _Sources_, vol. 468, Aug. 2020, Art. no. 228376. [Online]. Available: https://linkinghub. elsevier.com/retrieve/pii/S0378775320306807 [3] M. Vrlić, D. Ritzberger, and S. Jakubek, ‘‘Safe and efficient polymer electrolyte membrane fuel cell control using successive linearization based model predictive control validated on real vehicle data,’’ _Energies_, vol. 13, no. 20, p. 5353, Oct. 2020. [Online]. Available: https://www. mdpi.com/1996-1073/13/20/5353 [4] L. Böhler, D. Ritzberger, C. Hametner, and S. Jakubek, ‘‘Constrained extended Kalman filter design and application for on-line state estimation of high-order polymer electrolyte membrane fuel cell systems,’’ _Int._ _J._ _Hydrogen_ _Energy_, vol. 46, no. 35, pp. 18604–18614, May 2021. [Online]. Available: https://linkinghub. elsevier.com/retrieve/pii/S0360319921008351 [5] S. de Lira, V. Puig, J. Quevedo, and A. Husar, ‘‘LPV observer design for PEM fuel cell system: Application to fault detection,’’ _J._ _Power_ _Sources_, vol. 196, no. 9, pp. 4298–4305, May 2011. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S0378775310020756 [6] M. Piffard, M. Gerard, R. D. Fonseca, P. Massioni, and E. Bideaux, ‘‘Sliding mode observer for proton exchange membrane fuel cell: Automotive application,’’ _J._ _Power_ _Sources_, vol. 388, pp. 71–77, Jun. 2018. [Online]. Available: https://linkinghub.elsevier.com/ retrieve/pii/S0378775318302994 [7] L. Xu, J. Hu, S. Cheng, C. Fang, J. Li, M. Ouyang, and W. Lehnert, ‘‘Nonlinear observation of internal states of fuel cell cathode utilizing a high-order sliding-mode algorithm,’’ _J._ _Power_ _Sources_, vol. 356, pp. 56–71, Jul. 2017. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S0378775317305633 [8] H. Görgün, M. Arcak, and F. Barbir, ‘‘An algorithm for estimation of membrane water content in PEM fuel cells,’’ _J._ _Power_ _Sources_, vol. 157, no. 1, pp. 389–394, Jun. 2006. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/ S0378775305009857 [9] J. Liu, S. Laghrouche, F.-S. Ahmed, and M. Wack, ‘‘PEM fuel cell air-feed system observer design for automotive applications: An adaptive numerical differentiation approach,’’ _Int._ _J._ _Hydrogen_ _Energy_, vol. 39, no. 30, pp. 17210–17221, Oct. 2014. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S036031991402271X [10] M. Benallouch, R. Outbib, M. Boutayeb, and E. Laroche, ‘‘A new scheme on robust unknown input nonlinear observer for PEM fuel cell stack system,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Control_ _Appl._, New York, NY, USA, Jul. 2009, pp. 613–618. [Online]. Available: http://ieeexplore.ieee.org/document/5280955/ [11] D. Rotondo, R. M. Fernandez-Canti, S. Tornil-Sin, J. Blesa, and V. Puig, ‘‘Robust fault diagnosis of proton exchange membrane fuel cells using a Takagi–Sugeno interval observer approach,’’ _Int._ _J._ _Hydrogen_ _Energy_, vol. 41, no. 4, pp. 2875–2886, Jan. 2016. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/ S0360319915301166 [12] H. Yuan, H. Dai, X. Wei, and P. Ming, ‘‘A novel model-based internal state observer of a fuel cell system for electric vehicles using improved Kalman filter approach,’’ _Appl._ _Energy_, vol. 268, Jun. 2020, Art. no. 115009. [Online]. Available: https://linkinghub. elsevier.com/retrieve/pii/S0306261920305213 VOLUME 11, 2023 10469 <u>70</u> <u>2.2</u> <u>Publication</u> <u>B</u> Z. P. Du et al.: Concentration Estimation for FCs: DOE, Nonlinear Identification, and Observer Design [13] M. Haschka, T. Weickert, and V. Krebs, ‘‘Application of a sigma point Kalman-Filter for the online estimation of fractional order impedance models for solid oxide fuel cells,’’ _IFAC_ _Proc._ _Vol-_ _umes_, vol. 39, no. 11, pp. 194–199, Jan. 2006. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S1474667015364983 [14] K. Chen, S. Laghrouche, and A. Djerdir, ‘‘Fuel cell health prognosis using unscented Kalman filter: Postal fuel cell electric vehicles case study,’’ _Int._ _J._ _Hydrogen_ _Energ._, vol. 44, no. 3, pp. 1930–1939, Jan. 2019. [Online]. Available: https://linkinghub. elsevier.com/retrieve/pii/S0360319918337029 [15] J. Liu, W. Luo, X. Yang, and L. Wu, ‘‘Robust model-based fault diagnosis for PEM fuel cell air-feed system,’’ _IEEE_ _Trans._ _Ind._ _Elec-_ _tron._, vol. 63, no. 5, pp. 3261–3270, May 2016. [Online]. Available: http://ieeexplore.ieee.org/document/7420651/ [16] Z. P. Du, A. Kravos, C. Steindl, T. Katrašnik, S. Jakubek, and C. Hamet ner, ‘‘Physically motivated water modeling in control-oriented polymer electrolyte membrane fuel cell stack models,’’ _Energies_, vol. 14, no. 22, p. 7693, Nov. 2021. [Online]. Available: https://www.mdpi.com/19961073/14/22/7693 [17] M. Vrlić, D. Ritzberger, and S. Jakubek, ‘‘Model-predictive-control based reference governor for fuel cells in automotive application compared with performance from a real vehicle,’’ _Energies_, vol. 14, no. 8, p. 2206, Apr. 2021. [Online]. Available: https://www.mdpi.com/19961073/14/8/2206 [18] H. Nijmeijer and A. van der Schaft, ‘‘Introduction,’’ in _Nonlinear Dynam-_ _ical_ _Control_ _Systems_ . New York, NY, USA: Springer, 1990, pp. 1–22. [Online]. Available: http://link.springer.com/10.1007/978-1-4757-2101-0 [19] L. Ljung, ‘‘Parameter estimation methods,’’ in _System Identification: The-_ _ory for the User_, 2nd ed. Englewood Cliffs, NJ, USA: Prentice-Hall, 1999, pp. 169–207. [20] H. Cramér, _Mathematical Methods of Statistics_, vol. 9. Princeton, NJ, USA: Princeton Univ. Press, 1999. [21] Z. P. Du, C. Steindl, and S. Jakubek, ‘‘Efficient two-step parametriza tion of a control-oriented zero-dimensional polymer electrolyte membrane fuel cell model based on measured stack data,’’ _Processes_, vol. 9, no. 4, p. 713, Apr. 2021. [Online]. Available: https://www. mdpi.com/2227-9717/9/4/713 [22] _MathWorks_ _Find_ _Minimum_ _of_ _Function_ _Using_ _Genetic_ _Algorithm—_ _MATLAB_ _Ga_ . Accessed: Feb. 15, 2021. [Online]. Available: https://www.mathworks.com/help/gads/ga.html [23] D. H. von Seggern, ‘‘Transcendental functions,’’ in _CRC_ _Standard_ _Curves_ _and_ _Surfaces_ _with_ _Mathematica_ . New York, NY, USA: Chapman & Hall/CRC, May 2016, pp. 97–192. [Online]. Available: https://www.taylorfrancis.com/books/9781315372570 [24] _V&F_ _Analyse–und_ _Messtechnik_ _GmbH,_ _Product_ _Flyer_ _PEMSense_ . Accessed: Aug. 9, 2022. [Online]. Available: https://www.vandf.com/ en/service/documents/product-flyer/vf-analyzers/?no_cache=1& download=Product_Flyer_PEMSense_2020_November.pdf [25] J. F. M. Van Doren, S. G. Douma, P. M. J. Van den Hof, J. D. Jansen, and O. H. Bosgra, ‘‘Identifiability: From qualitative analysis to model structure approximation,’’ _IFAC_ _Proc._ _Volumes_, vol. 42, no. 10, pp. 664–669, 2009. [Online]. Available: https://linkinghub.elsevier. com/retrieve/pii/S1474667016387249 [26] J. D. Stigter and J. Molenaar, ‘‘A fast algorithm to assess local structural identifiability,’’ _Automatica_, vol. 58, pp. 118–124, Aug. 2015. [Online]. Available: https://linkinghub.elsevier. com/retrieve/pii/S0005109815001946 [27] C. L. C. Diana, T. Barz, S. Körkel, and G. Wozny, ‘‘Nonlinear ill-posed problem analysis in model-based parameter estimation and experimental design,’’ _Comput._ _Chem._ _Eng._, vol. 77, pp. 24–42, Jun. 2015. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S0098135415000733 [28] D. Ritzberger, J. Höflinger, Z. P. Du, C. Hametner, and S. Jakubek, ‘‘Data-driven parameterization of polymer electrolyte membrane fuel cell models via simultaneous local linear structured state space identification,’’ _Int. J. Hydrogen Energy_, vol. 46, no. 21, pp. 11878–11893, Mar. 2021. [Online]. Available: https://linkinghub.elsevier. com/retrieve/pii/S0360319921000951 [29] M. P. Eckert, G. Buchsbaum, and A. B. Watson, ‘‘Separability of spa tiotemporal spectra of image sequences,’’ _IEEE Trans. Pattern Anal. Mach._ _Intell._, vol. 14, no. 12, pp. 1210–1213, Dec. 1992. [Online]. Available: http://ieeexplore.ieee.org/document/177387/ [30] O. Nelles, ‘‘Introduction to optimization,’’ in _Nonlinear_ _System_ _Identifi-_ _cation_ . Berlin, Germany: Springer, 2001, pp. 23–34. [Online]. Available: http://link.springer.com/10.1007/978-3-662-04323-3 [31] _MathWorks Symbolic Math Toolbox—MATLAB_ . Accessed: Jan. 30, 2021. [Online]. Available: https://www.mathworks.com/products/symbolic.html [32] L. Zambresky, ‘‘A verification study of the global WAM model,’’ Eur. Centre Medium-Range Weather Forecasts, Reading, U.K., Tech. Rep. 63, 1989. Accessed: May 9, 2022. [Online]. Available: http://www.citeulike. org/group/11419/article/6355268 [33] R. Kandepu, L. Imsland, and B. A. Foss, ‘‘Constrained state estimation using the unscented Kalman filter,’’ in _Proc._ _16th_ _Medit._ _Conf._ _Control_ _Autom._, New York, NY, USA, Jun. 2008, pp. 1453–1458. [Online]. Available: http://ieeexplore.ieee.org/document/4602001/ ZHANG PENG DU received the B.Sc. and Dipl.-Ing. (equivalent to M.Sc.) degrees in mechanical engineering (management) from TU Wien, Vienna, Austria, in 2018 and 2019, respectively. Since 2020, he has been an University Assistant at the Institute of Mechanics and Mechatronics, TU Wien. His current research interests include nonlinear system identification, modeling, and optimization. CHRISTOPH STEINDL received the B.Sc. and M.Sc. degrees in mechanical engineering from TU Wien, Vienna, Austria, in 2016 and 2019, respectively. Since 2019, he has been an University Assistant at the Institute of Powertrains and Automotive Technology, TU Wien. His research interests include modeling, experimental investigation, and control of fuel cell hybrid propulsion systems. STEFAN JAKUBEK received the M.Sc. degree in mechanical engineering, the Ph.D. degree in technical sciences, and the Habilitation (Professorial Qualification) degree in control theory and system dynamics from TU Wien, Vienna, Austria, in 1997, 2000, and 2007, respectively. From 2006 to 2009, he was the Head of Development for Hybrid Powertrain Calibration and Battery Testing Technology, AVL List GmbH, Graz, Austria (automotive industry company). He is currently a Professor and the Head of the Institute of Mechanics and Mechatronics, TU Wien. His research interests include fault diagnosis, nonlinear system identification, and simulation technology. CHRISTOPH HAMETNER received the M.Sc. degree in mechanical engineering, the Ph.D. degree in technical sciences, and the Habilitation (Professorial Qualification) degree in control theory and system dynamics from TU Wien, Vienna, Austria, in 2005, 2007, and 2014, respectively. He is currently the Head of the Christian Doppler Laboratory for Innovative Control and Monitoring of Automotive Powertrain Systems, TU Wien. His research interests include nonlinear system identification, modeling, and control. 10470 VOLUME 11, 2023 <u>71</u> ##### 2.3 Publication C Z. P. Du, C. Steindl, and S. Jakubek. “Efficient Two-Step Parametrization of a ControlOriented Zero-Dimensional Polymer Electrolyte Membrane Fuel Cell Model Based on Measured Stack Data”. In: _Processes_ 9.4 (Apr. 2021), p. 713. doi: `[10.3390/pr9040713](https://doi.org/10.3390/pr9040713)` Applicant’s Contribution <sup>†</sup> - Zhang Peng Du: Conceptualization, Methodology, Investigation, Data Curation, Software, Visualization, Writing - Original Draft - Christoph Steindl: Investigation, Data Curation, Writing - Original Draft - Stefan Jakubek: Conceptualization, Methodology, Writing - Review & Editing, Supervision, Project administration †According to the Elsevier CRediT author statement: `[https://www.elsevier.com/authors/](https://www.elsevier.com/authors/policies-and-guidelines/credit-author-statement)` ``` policies-and-guidelines/credit-author-statement ``` <u>72</u> <u>2.3</u> <u>Publication</u> <u>C</u> ## _processes_ _Article_ ###### Efficient Two-Step Parametrization of a Control-Oriented Zero-Dimensional Polymer Electrolyte Membrane Fuel Cell Model Based on Measured Stack Data Zhang Peng Du <sup>1,</sup> * , Christoph Steindl <sup>2</sup> and Stefan Jakubek <sup>1</sup> 1 Institute of Mechanics and Mechatronics, Technische Universität Wien, Getreidemarkt 9, 1060 Vienna, Austria; stefan.jakubek@tuwien.ac.at 2 Institute of Powertrains and Automotive Technology, Technische Universität Wien, Getreidemarkt 9, 1060 Vienna, Austria; christoph.steindl@tuwien.ac.at * Correspondence: zhang.peng.du@tuwien.ac.at; Tel.: +43-1-58801-325540 ����� ��� ������� Citation: Du, Z.P.; Steindl, C.; Jakubek, S. Efficient Two-Step Parametrization of a Control Oriented Zero-Dimensional Polymer Electrolyte Membrane Fuel Cell Model Based on Measured Stack Data. _Processes_ 2021, _9_, 713. https:// doi.org/10.3390/pr9040713 Academic Editor: Alessandro D’ Adamo Received: 23 March 2021 Accepted: 15 April 2021 Published: 18 April 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affil iations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). Abstract: This paper proposes a new efficient two-step method for parametrizing control-oriented zero-dimensional physical polymer electrolyte membrane fuel cell (PEMFC) models with measured stack data. Parametrizations of these models are computationally intensive due to the numerous unknown parameters and the typically nonlinear, stiff model properties. This work reduces an existing model to decrease its stiffness for accelerated numerical simulations. Subdividing the parametrization into two consecutive subproblems (thermodynamic and electrochemical ones) reduces the solution space significantly. A parameter sensitivity analysis further reduces each sub-solution space by excluding non-significant parameters. The method results in an efficient parametrization process. The two-step approach minimizes each sub-solution space’s dimension by two-thirds, respectively threefourths, compared to the global one. An achieved _R_ <sup>2</sup> value between simulation and measurement of 91% on average provides the required accuracy for control-oriented models. Keywords: polymer electrolyte membrane fuel cell; control-oriented model; grey-box modeling; analytical differentiability; model reduction; parameter sensitivity analysis; fisher information; efficient parameterization; data-driven identification; transient operation measurement data 1. Introduction PEMFCs are promising candidates for replacing internal combustion engines in mobile applications. However, fuel cell (FC) driven vehicles are still far from having a significant market share because of various challenges. One of the challenges is to control the FC during transient operations, especially regarding avoiding harmful operating conditions. Another one is to improve the FC system’s efficiency via optimal control. Moreover, experimental expenditures during development are high but are reducible by using simulations instead. One of the first steps towards resolving the named and other challenges is obtaining a proper FC model. PEMFCs are promising candidates because they offer the rapid startup and low operating temperature required for automotive applications. However, it requires appropriate water management to address liquid water formation. Solid oxide FCs use non-noble metal catalysts, which results in low raw material costs, but the high operating temperature leads to thermal stress and precludes this FC for transient applications. Molten carbonate FCs can reform a wide variety of fuel sources, but the long startup time eliminates this FC for anything but continuous-power applications. Phosphoric acid FCs provide easy water management, but the low power density is not appropriate for portable applications. Alkaline FCs have the highest demonstrated operating efficiency of any FC system, but the intolerance to carbon dioxide forces the use of carbon dioxide removal equipment and pure oxygen and hydrogen [1]. In general, modeling approaches are distinguishable into three groups. First, black-box modeling means fitting an artificial model to replicate the measured input and output data _Processes_ 2021, _9_, 713. https://doi.org/10.3390/pr9040713 https://www.mdpi.com/journal/processes <u>73</u> _Processes_ 2021, _9_, 713 2 of 18 correlation [2–4]. The model structure and parameters do not need to have any physical meaning, and extrapolation capabilities are limited. Black-box models, in general, do not replicate internal unmeasured physical states. Second, white-box models solely describe the FC with first principles known from theory. All model parameters are physical quantities, fundamental constants, and known values. Measurement data is not needed [5–7]. This approach is not feasible if not every parameter is known, which is usually the case for FC models. Third, grey-box models combine both approaches. They use the first principles known from theory and require measurement data to determine the model structure and parameters. This work does not consider black-box models because the internal states’ knowledge is essential for the controller to avoid harmful operating conditions. White-box models are unsuitable because many parameters are unknown. Therefore the combination of both approaches, grey-box models, provides the needed structure and fidelity for FC control. Control-oriented grey-box PEMFC models aim to have a low spatial dimension to be numerically efficient for real-time applications [8–12]. Parametrizing grey-box PEMFC models is not straightforward because they are nonlinear, numerically stiff, and have numerous unknown parameters. This work proposes an efficient two-step parametrization method that drastically simplifies the optimization problem. The method subdivides the FC model into two submodels for parametrization, each yielding a lower-dimensional sub-solution space compared to the one of the entire model. The standard parametrization procedure determines as many parameters as possible from theory, datasheets, and expert knowledge. The remaining unknown parameters have to be obtainable by fitting measurement data. For example, McKay et al. [13] developed a lumped parameter model, and they identified the tunable parameters using least squares. Unfortunately, this approach yields a high dimensional solution space for models with many unknown parameters. The proposed multiple-step method by Xu et al. [14] estimates the nozzle coefficients first, and in the following step, a nonlinear least-squares algorithm identifies the electrochemical parameters for a steady-state voltage response. Additionally, a fitted neural network describes the dependency of the electrochemical parameters on the operating conditions. Using a neural network is suboptimal because the applicability is highly limited to the range of the available measurement data. Müller et al. [15] conducted an approximated sensitivity analysis by varying the signals and parameters. The sensitivity analysis’s sole purpose was to show the importance of accurate sensors for parametrization. They used specific measurements to identify parameters one by one. Curve fitting leads to the remaining parameters. Individually estimating the parameters is not always feasible because it is strongly dependent on the available measurement data and model structure. Moreover, incorporating the sensitivity analysis into the parametrization process will increase its efficiency, especially for large-scale problems. Goshtasbi et al. [16] approximated the parameter sensitivities via difference quotients. In [17], the sensitivity analysis determines the most sensitive parameters for identification, and a global optimizer identifies this subset of parameters altogether. This approach’s drawback is that a large subset still leads to a computationally-intensive problem. In [18], the authors used the parameter sensitivity analysis to divide the parameters into three groups. The groups contain the identifiable parameters in the low, medium, and high current regions, respectively. Unfortunately, this approach needs appropriately designed experiments. Ritzberger et al. [9] developed a PEMFC model focusing on its analytical differentiability. Existing models are usually not analytical differentiable but are transformable to a model with this property. Analytic differentiability enables an accurate and efficient calculation of the derivatives compared to a numerical approximation and is advantageous for various control applications. They locally linearized the nonlinear model in multiple operating points. Their proposed parameterization method optimizes each analytically linearized model for each operating point dependent on the same parameter set simultaneously. In [10], they additionally conducted a parameter sensitivity analysis based on the analytically linearized models. This approach’s disadvantage is that it is limited to data with small excitations because of <u>74</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 3 of 18 the linearization. Therefore it requires specially designed experiments, which is mostly not the case for given data. In this work, the two-step parameterization method is demonstrated with the model developed by Ritzberger et al. [10] because of its advantageous property of analytical differentiability. The model is adapted to reduce its stiffness for more efficient numerical evaluations. Subdividing the model into a thermodynamic and an electrochemical submodel leads to a parameterization method with two consecutive steps. In the first step, the thermodynamic submodel, which consists of a system of first-order ordinary differential equations (ODEs), is parametrized. The electrochemical submodel, which does not have any ODEs, is parametrized in the following second step. The subdivision reduces the solution space’s dimension for each submodel, and an analytic parameter sensitivity analysis further reduces each parameter subset by excluding non-significant parameters. A global optimizer identifies the parameter subsets by minimizing the difference between simulated and measured output signals [19]. An existing FC test bench delivers the measurement data. Compared to the available approaches, this efficient method simplifies the parametrization problem, it does not require appropriately designed experiments, and the parameter sensitivity analysis is analytically evaluable. This paper is subsequently structured as follows: Section 2 describes the PEMFC model and its reduction. Section 3 presents the two-step parametrization method, explains the parameter sensitivity analysis, and shows the proposed method’s validation. Section 4 depicts the experimental setup, and finally, Section 5 discusses the identification results. 2. Fuel Cell Model This section briefly portrays the used PEMFC model to demonstrate the proposed two-step parametrization method. Additionally, this section describes the model reduction for accelerated numerical simulations. The proposed method is, of course, not limited to the described FC model. Any model separable into a submodel with ODEs and a submodel without ODEs is utilizable. The model does not have to be analytically differentiable because the parameter sensitivity analysis is numerically approximable. However, numerical approximations are less efficient and accurate evaluable than analytical solutions. _2.1._ _Model Description_ Ritzberger et al. [10] developed the model, and it is an adapted version of the Pukrushpan et al. [8] model. The difference is that the adapted model has the property of analytical differentiability, which is the reason for its selection. This property is beneficial for various control methodologies [20,21], and parameter sensitivity analyses (Section 3.2). The model is a zero-dimensional physical PEMFC model, and Figure 1 gives a schematic overview. It utilizes, amongst others, mass balances, linear nozzle equations, diffusion equations, electrochemical equations, and the ideal gas law [22–24]. However, it does not consider energy balances and thus cannot model the FC temperature over time. The model treats the measured temperature as an input. This temperature is assumed to be the uniform temperature for the whole FC. The model consists of a cathode, anode, membrane, and electrochemical submodel, which are interconnected. The model equations and their derivations are not the focus of this work. More information in this regard is available in [10]. The cathode submodel has four mass states (oxygen mass _m_ ca,O2, nitrogen mass _m_ ca,N2, vapor mass _m_ ca,vap, and liquid water mass _m_ ca,liq) and two pressure states (supply manifold pressure _p_ ca,sm, and exit manifold pressure _p_ ca,em). The anode submodel also has four mass states (hydrogen mass _m_ an,H2, nitrogen mass _m_ an,N2, vapor mass _m_ an,vap, and liquid water mass _m_ an,liq) but only one pressure state (exit manifold pressure _p_ an,em). The membrane submodel only has the membrane water activity state _a_ m. The model inputs are the air mass flow _m_ ˙ ca,in, the hydrogen mass flow _m_ ˙ an,in, the anode supply manifold pressure _p_ an,sm, the relative humidity of the air mass flow _ϕ_ ca,in, the purging signal _α_ purge, the FC temperature _T_, the atmospheric pressure _p_ atm, and the current _I_ . The outputs are the <u>75</u> _Processes_ 2021, _9_, 713 4 of 18 cathode supply manifold pressure _p_ ca,sm, the cathode exit manifold pressure _p_ ca,em, the anode exit manifold pressure _p_ an,em, and the voltage _U_ . Hence, the following equations describe the nonlinear FC state-space model: x ˙ nr = f nr( x nr, u, _θ_ ) (1) y = g nr( x nr, u, _θ_ ) (2) Figure 1. Schematic overview of the model structure of the lumped, transient FC stack model [10]. Here, x nr = x nr( _t_ ) denotes the non-reduced state vector, u = u ( _t_ ) the input vector, y = y ( _t_ ) the output vector, _θ_ _∈_ R <sup>25</sup> the parameter vector, f nr the non-reduced system function, g nr the non-reduced output function, and _t_ the time [25]. The respective vectors are structured as follows: _p_ ca,sm _m_ ca,O2 _m_ ca,N2 _m_ ca,vap _m_ ca,liq _p_ ca,em _m_ an,H2 _m_ an,N2 _m_ an,vap _m_ an,liq _p_ an,em _a_ m   _m_ ˙ ca,in _m_ ˙ an,in _p_ an,sm _ϕ_ ca,in _α_ purge _T_ _p_ atm _I_   _p_ ca,sm _p_ ca,em _p_ an,em _U_ [ _V_ ca,sm, _V_ ca,cm, _V_ ca,em, . . . . . . _V_ an,sm, _V_ an,cm, _V_ an,em, . . . . . . _k_ perm, _k_ cond, _k_ evap, . . . . . . _k_ ca,sm,out, _k_ ca,em,in, . . . . . . _k_ ca,em,out, _k_ an,sm,out, . . . . . . _k_ an,em,in, _k_ an,em,out, . . . . . . _k_ an,leak, _τ_ m, . . . . . . _�_ 2, _R_ c, _E_ ca,act, _E_ an,act, . . . . . . _K_ ca, _K_ an, _CD_ ca, _CD_ an] <sup>T</sup>  , _θ_ =   , y =   x nr =   , u = (3) _V_ denotes the volumes, _k_ the nozzle or mass flow coefficients, _τ_ m the water activity time constant, _�_ 2 the membrane conductivity parameter, _R_ c the ohmic contact resistance, _E_ <u>76</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 5 of 18 the energy, _K_ the intrinsic exchange current parameter, and _CD_ the combined diffusion coefficient. Compared to the model described by Ritzberger et al. [10], this one has an additional output, the cathode exit manifold pressure _p_ ca,em. It is measured, therefore considering it as a supplementary output has the advantage that it yields additional insight into the system. Furthermore, the pressure difference between the exit manifold and the environment is too big to be sufficiently described by a linear nozzle equation. Hence nonlinear nozzle equations (derived from the Bernoulli equation) replace the linear ones at each exit manifold. _2.2._ _Model Reduction_ The model reduction goal in this work is to reduce the model’s stiffness for accelerated numerical simulations. Lambert [26] stated that stiffness occurs when (numerical) stability requirements, rather than those of accuracy, constrain the (simulation time) step length. The pressure dynamics of the model are faster by multiple orders of magnitude compared to the mass dynamics. Thus the pressure dynamics are assumed to be steady-state at all times. The ODE for the cathode supply manifold pressure _p_ ca,sm results from a combination of the ideal gas law and the mass balance _p_ ˙ ca,sm = <sup>_<u>R</u>_</sup> <sup><u>ca,sm</u></sup> <sup>_<u>T</u>_</sup> _V_ ca,sm ( _m_ ˙ ca,in _−_ _m_ ˙ ca,sm,cm), (4) where _R_ ca,sm denotes the cathode supply manifold’s mass-specific gas constant, _m_ ˙ ca,sm,cm = _k_ ca,sm,out( _p_ ca,sm _−_ _p_ ca,cm) the mass flow between the cathode supply and center manifold, _k_ ca,sm,out the cathode supply manifold’s outflow nozzle coefficient, and _p_ ca,cm the cathode center manifold pressure. Assuming steady-state, the ODE (4) transforms into _<u>m</u>_ <u>˙</u> <u>ca,in</u> _p_ ca,sm = _k_ ca,sm,out + _p_ ca,cm. (5) The exit manifold pressures of the cathode _p_ ca,em and anode _p_ an,em are addressed in a similar fashion leading to the reduced nonlinear FC state-space model given by x ˙ = f ( x, u, _θ_ ), (6) y = g ( x, u, _θ_ ). (7) Here, f denotes the reduced system function, g the reduced output function, and x = x ( _t_ ) the reduced state vector. The reduced state vector is structured as x = [ _m_ ca,O2, _m_ ca,N2, _m_ ca,vap, _m_ ca,liq, _m_ an,H2, _m_ an,N2, _m_ an,vap, _m_ an,liq, _a_ m] <sup>T</sup>, (8) and it does not contain the three pressure states ( _p_ ca,sm, _p_ ca,em, and _p_ an,em) anymore.The input vector u, the output vector y, and the parameter vector _θ_ remain unchanged. The longest integration step length of the reduced model, which still yields a stable solution, is about 50% longer than for the non-reduced model, leading to a roughly 36% shorter simulation time [27]. <u>77</u> _Processes_ 2021, _9_, 713 6 of 18 3. Two-Step Parametrization Method _3.1._ _Key Idea_ The two-step parametrization method’s key idea is to subdivide the given nested state-space model (6) and (7) into two submodels. The nested model is separable in the following way: x = x th, f ( x, u, _θ_ ) = f th( x, u, _θ_ th) (9) g ( x, u, _θ_ ) = ,  (10) (11) g th( x, u, _θ_ th) _g_ el( x, u, _θ_ ) y = - y th _y_ el =   _p_ ca,sm _p_ ca,em _p_ an,em _U_ The model’s parameter vector is divisible as well: [ _V_ ca,sm, _V_ ca,cm, _V_ ca,em, . . . . . . _V_ an,sm, _V_ an,cm, _V_ an,em, . . . . . . _k_ perm, _k_ cond, _k_ evap, . . . . . . _k_ ca,sm,out, _k_ ca,em,in, _k_ ca,em,out, . . . . . . _k_ an,sm,out, _k_ an,em,in, _k_ an,em,out, . . . . . . _k_ an,leak, _τ_ m] <sup>T</sup> [ _�_ 2, _R_ c, _E_ ca,act, _E_ an,act, . . . . . . _K_ ca, _K_ an, _CD_ ca, _CD_ an] <sup>T</sup>     _θ_ = - _θ_ th _θ_ el = On the one hand, the subdivision yields the thermodynamic submodel x ˙ = f ( x, u, _θ_ th), (12) y th = g th( x, u, _θ_ th), (13) and on the other hand, it results in the electrochemical submodel _y_ el = _g_ el( x, u, _θ_ ). (14) The thermodynamic submodel (12) and (13) is only dependent on the thermodynamic parameter vector _θ_ th, which also holds for the system function f according to Equation (9). Therefore the electrochemical parameter vector _θ_ el does not affect the states x and the thermodynamic outputs y th, but only the electrochemical output _y_ el. Thus the electrochemical submodel (14) utilizes the full parameter vector _θ_ = [ _θ_ th, _θ_ el] <sup>T</sup> . Note that the thermodynamic submodel consists of ODEs, and the electrochemical one does not. The two-step parametrization method exploits the described properties. _3.2._ _Parameter Sensitivity Analysis_ The FC model used in this work has numerous unknown parameters, which raises the question of whether each parameter is unambiguously identifiable. The parameter identifiability is, in general, strongly dependent on the model structure and the available measurement data. A parameter sensitivity analysis can aid in answering these questions, and the Fisher information matrix (FIM) F is well-established for conducting such analysis [28]. Under the assumption of Gaussian prediction errors with zero mean values and time-independent covariances, the Cramér-Rao inequality holds [29]: Cov( _θ_ ) _⪰_ F <sup>_−_</sup> <sup>1</sup> (15) The inequality says that the inverse of F is the lower bound of the parameter covariances. The first step for obtaining the FIM is computing the state parameter sensitivities <u>78</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 7 of 18 _ξi_ = _d_ x / _dθi_, where _θi_ for _i_ _∈{_ 1, 2, . . ., _nθ}_ denotes a parameter, and _nθ_ the number of parameters. They are obtainable from solving the following first-order ODE: - _<u>d</u>_ <u>x</u> _dt_ = <sup>_<u>d</u>_</sup> _dθi_ = <sup>_<u>d</u>_</sup> f ( x, u, _θ_ ) _ξ_ ˙ _i_ = <sup>_<u>d</u>_</sup> _dt_ - _<u>d</u>_ <u>x</u> _dθi_ = <sup>_<u>d</u>_</sup> _dθi_ = <sup>_<u>d</u>_</sup> = <sup>_<u>∂</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂_ x = <sup>_<u>∂</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂_ x = <sup>_<u>∂</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _<u>d</u>_ <u>x</u> _dθi_ _∂θi_ + <sup>_<u>∂</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂θi_ (16) <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _ξi_ + <sup>_<u>∂</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂_ x _∂θi_ The second step is to calculate the output parameter sensitivities _ψi_ = _d_ y / _dθi_ with _ψi_ = <sup>_<u>∂</u>_</sup> <sup><u>g</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂_ x _<u>d</u>_ <u>x</u> _dθi_ (17) + <sup>_<u>∂</u>_</sup> <sup><u>g</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂θi_ = <sup>_<u>∂</u>_</sup> <sup><u>g</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _ξi_ + <sup>_<u>∂</u>_</sup> <sup><u>g</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>,</u></sup> <sup><u>u</u></sup> <sup><u>,</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _∂_ x _∂θi_ _∂θi_ . The model described by Ritzberger et al. [10] has analytic derivatives available, and this work utilizes MATLAB R2020b’s Symbolic Math Toolbox [30] to compute them. All output parameter sensitivities _ψi_ merged into one matrix yields the output parameter sensitivity matrix _ψ_ ( _t_ ) = [ _ψ_ 1( _t_ ), _ψ_ 2( _t_ ), . . ., _ψnθ_ ( _t_ )]. The FIM is determinable with _ψ_ ( _t_ ) taken at the sample times _tk_ for _k ∈{_ 0, 1, . . ., _nk}_, where _nk_ + 1 is the number of sample instants. Finally, using the sampled output parameter sensitivity matrix _ψ_ ( _tk_ ), the FIM is computable with F = _nk_ ∑ _k_ =0 _ψ_ <sup>T</sup> ( _tk_ )Σ <sup>_−_</sup> e <sup>1</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_t_</sup> _k_ <sup>),</sup> (18) where Σ e denotes the prediction error covariance matrix, and F _∈_ R <sup>_nθ_</sup> <sup>_×nθ_</sup> holds. Under the assumption of a perfect model, the prediction error covariance Σ e is identical to the measurement noise covariance and thus assumed to be known. According to the Crámer-Rao inequality (15), the inverse of the FIM is the lower bound of the absolute parameter variances. Thus directly analyzing F would mean that the parameter‘s physical units and their magnitudes bias the analysis. Using the normalized dimensionless FIM F norm for a physical unit independent analysis resolves this issue [31–33]:     _θ_ 1 0 _· · ·_ 0 0 _θ_ 2 ... ... ... ... ... 0 0 _· · ·_ 0 _θnθ_ _θ_ 1 0 _· · ·_ 0 0 _θ_ 2 ... ... ... ... ... 0 0 _· · ·_ 0 _θnθ_     F F norm =   0 _θ_ 2   (19) The identifiability of the parameters is theoretically derivable from the inverse of F norm. Unfortunately, this is not always feasible because the FIM is often ill-conditioned or even singular. Using a singular value decomposition (SVD) of F norm resolves this issue and enables further analysis [32–34]: F norm = U Σ V <sup>T</sup> (20) U denotes the matrix containing the left singular vectors, Σ = diag( _σ_ 1, _σ_ 2, . . ., _σnθ_ ) the singular value matrix, and V the matrix containing the right singular vectors. The left and the right singular vector matrix are identical because F norm is a symmetric matrix. The analysis utilizes the right singular vector matrix V = [ v 1, v 2, . . ., v _nθ_ ], where v _l_ for _l_ _∈{_ 1, 2, . . ., _nθ}_ denotes a singular vector corresponding to the singular value _σl_ . The singular values are interpretable as the amount of information, and the corresponding singular vectors determine the direction in the parameter space. The Euclidean norm of the vectors is 1. Thus the relative direction share of the vector component _vl_, _i_ is _v_ <sup>2</sup> _l_, _i_ <sup>[35].</sup> <sup>The</sup> vectors is 1. Thus the relative direction share of the vector component _vl_, _i_ is _v_ <sup>2</sup> _l_, _i_ <sup>[35].</sup> <sup>The</sup> relative direction _v_ <sup>2</sup> _l_, _i_ <sup>multiplied with the singular value</sup> <sup>_σl_</sup> <sup>is the amount of information</sup> <sup>2</sup> _l_, _i_ <sup>multiplied with the singular value</sup> <sup>_σl_</sup> <sup>is the amount of information</sup> <u>79</u> _Processes_ 2021, _9_, 713 8 of 18 showing into the parameter _θi_ ’s direction. Summing up all the information of one parameter from each singular value yields the parameter’s total information _σθi_ = _nθ_ ∑ _l_ =1 _v_ <sup>2</sup> _l_, _i_ <sup>_σl_</sup> <sup>.</sup> (21) The parameter’s total information _σθi_ indicates if a parameter is identifiable with the given model and measurement data. The most significant parameters _θ_ ms are determinable by sorting the parameters according to their total information in descending order. The most significant parameters are determined by summing up the first _nθ_ ms parameters until the following inequality holds: _nθ_ ms _<u>i</u>_ <u>=1</u> <sup>_σθ_</sup> <u>ms,</u> _<u>i</u>_ ∑ _i_ <sup>_<u>n</u>_</sup> = <sup>_θ_</sup> 1 <sup>_σθ_</sup> _i_ ∑ _i_ <sup>_<u>n</u>_</sup> = <sup>_θ_</sup> 1 <sup>_σθ_</sup> _i_ _≥_ _γ_ (22) Note that _γ_ _∈_ [0, 1] denotes the threshold and is adaptable for different purposes. This work uses _γ_ = 0.99999. In this case, the most significant parameters _θ_ ms describe _≥_ 99.999% of F norm, and the least significant ones _θ_ ls describe _≤_ 0.001%, which makes the latter negligible for parametrization. _3.3._ _Procedure_ The proposed method parametrizes the model in two consecutive main steps: 1. Thermodynamic submodel (a) Parameter sensitivity analysis with respect to the thermodynamic parameters _θ_ th yields a subset with the most significant parameters _θ_ th,ms, where _θ_ th,ms _⊆_ _θ_ th holds. (b) Parametrization with respect to the most significant parameters _θ_ th,ms yields the optimized parameters _θ_ th,opt. The least significant parameters _θ_ th,ls are kept constant at their initial values. 2. Electrochemical submodel (a) Solve thermodynamic submodel using the optimized thermodynamic parameters _θ_ th,opt and store the resulting model states x for further usage. (b) Parameter sensitivity analysis with respect to the electrochemical parameters _θ_ el yields a subset with the most significant parameters _θ_ el,ms, where _θ_ el,ms _⊆_ _θ_ el holds. (c) Parametrization with respect to the most significant parameters _θ_ el,ms yields the optimized parameters _θ_ el,opt. The least significant parameters _θ_ el,ls are kept constant at their initial values. Combining both solutions lead to the full optimized parameter vector �T . Assuming that the result is near the optima, the entire _θ_ opt = _θ_ th,opt, _θ_ el,opt - �T model with its optimized most significant parameters _θ_ ms,opt = _θ_ th,ms,opt, _θ_ el,ms,opt can be further refined with iterative methods to approach the optima while the least significant parameters are kept constant _θ_ ls = [ _θ_ th,ls, _θ_ el,ls] <sup>T</sup> at their initial values. model with its optimized most significant parameters _θ_ ms,opt = _θ_ th,ms,opt, _θ_ el,ms,opt The two-step parametrization method requires measurement data (according to the model’s inputs and outputs), and a model separated into a submodel with ODEs and a submodel without it. The optimization goal is to minimize an objective function _J_, which contains the weighted squared errors between the simulated and measured output signals and a regularization term [19]: _J_ ( _θ_ ) = _nk_ ∑ _k_ =0 ( y ( _tk_, _θ_ ) _−_ y <sup>_∗_</sup> ( _tk_ )) <sup>T</sup> Qy ( y ( _tk_, _θ_ ) _−_ y <sup>_∗_</sup> ( _tk_ )) + ( _θ_ 0 _−_ _θ_ ) <sup>T</sup> Q _θ_ ( _θ_ 0 _−_ _θ_ ) (23) <u>80</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 9 of 18 Here, y ( _tk_, _θ_ ) denotes the model output at sampling instant _tk_ for _k_ _∈{_ 1, 2, . . ., _nk}_, y <sup>_∗_</sup> ( _tk_ ) the measured output, Qy the output weighting matrix, _θ_ 0 a plausible initial guess of the parameter vector, and Q _θ_ the regularization matrix. The weighting matrix Qy takes the individual weighting of each output and the different output magnitudes into account. The last term in the objective function _J_ (23), also called regularization, penalizes the deviation of the parameter vector _θ_ from its initial guess _θ_ 0 and takes the different parameter magnitudes into account. The regularization is also beneficial if the parameters’ uncertainty differs, for example, if the approximate values for some parameters are derivable from literature. The goal is to minimize the objective function _J_ . In this case, the optimization problem is stated as follows: _θ_ opt = arg min _θ_ _J_ ( _θ_ ) with respect to _θi_,min _≤_ _θi_ _≤_ _θi_,max for _i ∈{_ 1, 2, . . ., _nθ}_ (24) Solving the optimization problem yields the optimized parameter vector _θ_ opt. For optimal results, the parameter space has to be constrained. The parameter bounds, _θi_,min and _θi_,max, are derivable from physical considerations and expert knowledge. First, parametrizing the thermodynamic submodel with its parameter vector _θ_ th reduces the solution space’s dimension by <u>25</u> <sup><u>8</u></sup> <sup>= 32% compared to the global one.</sup> <sup>With the</sup> determined optimized thermodynamic parameter vector _θ_ th,opt and a given input u, the state trajectories x do not change anymore. Therefore, for the electrochemical submodel’s parametrization, the thermodynamic submodel only needs to be solved once, and the resulting states x are stored for further usage. Second, parametrizing the electrochemical submodel with its parameter vector _θ_ el reduces the solution space’s dimension by <u>1725</u> <sup>=</sup> <sup>68%</sup> <sup>compared</sup> <sup>to</sup> <sup>the</sup> <sup>global</sup> <sup>one.</sup> <sup>Here</sup> <sup>only</sup> <sup>the</sup> <sup>electrochemical</sup> <sup>parameters</sup> <sup>are</sup> optimized, and the thermodynamic ones are kept constant. A parameter sensitivity analysis further reduces each sub-solution space’s dimension by excluding non-significant parameters, see Section 3.4. This proceeding significantly simplifies the optimization problem. The thermodynamic submodel’s parametrization solves ODEs in every iteration, and the electrochemical submodel’s parametrization does not, which makes the latter considerably faster. _3.4._ _Validation of Method_ This section shows the validation of the two-step parametrization method. Simulating the model with a plausible initial guess of the parameter vector _θ_ 0 and using the measured inputs u (described in Section 4 and depicted in Section 5 under parametrization data) yields the simulated model outputs y . The initial values x ( _t_ 0) are obtainable by assuming steady-state at the first sample instant. The data sequence is appropriately selected so that at sampling instant _t_ 0, the steady-state assumption holds. The simulated model outputs with additional Gaussian noise replace the measured outputs y <sup>_∗_</sup> as reference data to validate the method. In this case, the proposed method has to deliver the used parameter _θ_ 0 on average if it is an unbiased estimator. Conducting the two-step parametrization method described in Section 3 yields the parameters’ total information, shown in Figure 2a,b. Due to the floating-point arithmetic computation, the result’s accuracy depends on the used hardware [36]. Therefore, the parameters with a total information value less than the hardware accuracy (indicated by the yellow line) are not identifiable. The most significant thermodynamic parameters in descending order are _k_ ca,em,out, _k_ ca,sm,out, _k_ ca,em,in, _k_ an,sm,out, _V_ ca,cm, _k_ cond, _k_ an,em,in, _k_ perm, _k_ an,em,out, and _V_ an,cm. The least significant ones in ascending order are _V_ ca,sm, _V_ an,em, _V_ an,sm, _V_ ca,em, _k_ evap, _k_ an,leak, and _τ_ m. Only parametrizing the most significant thermodynamic parameters reduces the dimension of the sub-solution space by <sup><u>15</u></sup> <u>25</u> <sup>= 60%</sup> compared to the global one. The most significant electrochemical parameters in descending order are _E_ ca,act, _E_ an,act, _�_ 2, _K_ ca, _K_ an, and _R_ c. The least significant ones in ascending order <u>81</u> _Processes_ 2021, _9_, 713 10 of 18 are _CD_ an, and _CD_ ca. Only parametrizing the most significant electrochemical parameters reduces the dimension of the sub-solution space by <sup><u>19</u></sup> <u>25</u> <sup>= 76% compared to the global one.</sup> The least significant parameters are kept constant at their initial values at all times. Validation of Method ( a ) Total information of parameters _σθ_ th, _i_ 10 <sup>10</sup> 10 <sup>0</sup> 10 2 1 0 10 <sup>5</sup> 10 <sup>0</sup> 10 ( b ) Total information of parameters _σθ_ el, _i_ ~~<u>Hardware accuracy</u>~~ ( c ) Distribution of parameters _θ_ th,ms,opt, _i_ ( d ) Distribution of parameters _θ_ el,ms,opt, _i_ 2 1 0 ( e ) Distribution of parameters _θ_ opt, _i_ with single-step approach 50 0 Parameter Figure 2. Plots ( a, b ): Total information of thermodynamic _σθ_ th, _i_ (obtained from F th,norm) and electrochemical parameters _σθ_ el, _i_ (obtained from F el,norm), respectively. Plots ( c, d ): Relative distribution (100 independent estimations) of optimized most significant parameters of thermodynamic _θ_ th,ms,opt, _i_ and electrochemical submodel _θ_ el,ms,opt, _i_, respectively. Plot ( e ): Relative distribution (100 independent estimations) of optimized parameters of entire model _θ_ opt, _i_ with usual “single-step” approach. _θ_ 0, _i_ denotes true parameter value, and red + symbol indicates outliers in the box plots. The two submodels with their most significant parameters are subject to parametrization. MATLAB R2020b’s genetic algorithm optimizer parametrizes each submodel with respect to the most significant parameters _θ_ ms 100 times [37]. Heuristic algorithms increase the probability of finding the global minimum in a high dimensional solution space compared to iterative methods. Every iteration randomly initializes the genetic algorithm optimizer and the Gaussian noise for the model outputs. The optimizer’s population size is 200, the generation limit is 20, and the remaining options remain unchanged. Figure 2c,d illustrate the relative distribution of the estimated parameters _θ_ ms,opt. The conclusion is that the estimated parameters are equal to the used parameters _θ_ 0 on average, validating the proposed method. The respective spreads of the estimates correlate with the total information. The more information exists, the smaller the spread. The correlation is not perfect but will converge to the Cramer-Ráo bound (15) by increasing the population size, the generation limit, and the number of estimations. For comparison, Figure 2e depicts the relative distribution of the estimated parameters _θ_ opt, _i_ with a usual “single-step” approach for the entire model. The genetic algorithm optimizer minimizes the objective function _J_ (23) in a single step for the entire model without any further considerations. The resulting spreads of the parameters are much higher than those from the two-step method, which means a more complicated search for the optima. <u>82</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 11 of 18 4. Experimental Setup A PEMFC system test bench was set up for the acquisition of the measurement data, which are required for the parametrization. In Figure 3, the schematic overview of the test bench is shown. The main components of the test bench are a 30 kW PEMFC stack, a hydrogen and an air supply system, the cooling circuits as well as the control system. The experimental tests were conducted by setting the load point of the FC stack via a dynamic DC/AC inverter (battery simulator). Either the current or the voltage level can be controlled by the battery simulator. Further, the battery simulator supplies the electric power, which is generated by the FC stack during operation, into the electric grid. Additionally, a power supply was designed to feed the balance of plant components (e.g., air compressor) with energy from the electric grid. To battery simulator Coolant pump Compensation tank FC heat exchanger FC temperature Fuses Electri <mark>c</mark> contactors <mark>Diode</mark> Hydrogen pressure tanks Environment Pressure Pressure control reducer valve H2 Purge pump valve Air throttle <mark>Water separator</mark> valve with valve Air temperature control valve Air Air Air filter compressor intercooler Legend: Hydrogen path Air path Coolant path Electric connection Test bench coolant 6 °C Test bench coolant 40 °C control valve Figure 3. Schematic diagram of the FC test bench. _4.1._ _Media Supply_ The reactants of the stack are fed by the hydrogen and air supply system. The hydrogen of high purity (99.999%) is supplied by a high pressure (300 bar) gas cylinder bundle. In the first stage, the highly compressed hydrogen is reduced to a medium pressure level of 6 bar by means of a pressure reducer. Subsequently, before the hydrogen enters the anode of the stack, the pressure controller further decompresses the hydrogen and ensures a constant pressure inside the anode. The anode of the stack operates in the flow-through mode. Therefore, a hydrogen recirculation pump is used to guarantee a constant volume flow through the anode. Besides, the stack operates without any device for humidification, either of hydrogen or air. Only the internal humidification of the reactants inside the stack is utilized. Complementary to the hydrogen purge valve, a water separator is installed at the anode side to remove the excess water periodically from the hydrogen gas. The air, which is required to supply the necessary oxygen for the electrochemical reaction, is taken in from the conditioned test bench room. For all experimental tests in this paper, the room is operated at a constant temperature of 23 °C and constant relative air humidity of 50%. The turbo compressor sucks in the ambient air from the room via an air filter, which is designed to mechanically and chemically clean the intake air from impurities. After the air compressor, the air flows through an intercooler to the cathode side of the FC stack. In <u>83</u> _Processes_ 2021, _9_, 713 12 of 18 order to vary the backpressure of the stack, an electronically controlled air throttle valve is implemented at the process air exhaust of the FC stack. _4.2._ _Cooling Circuits_ Two different cooling circuits of the test bench environment are used to keep the stack, the air compressor, and the air intercooler at an appropriate temperature. All the other components of the system are designed so that passive cooling is sufficient for them. The cooling circuit of the FC is thermally connected via a heat exchanger to the 6 °C cooling circuit of the test bench environment. Moreover, in the cooling circuit of the FC stack, a deionized coolant is used. During the operation of the FC stack, the values of the volume flow and the speed of the coolant pump are maintained constant. The 40 °C cooling circuit of the test bench environment is utilized to cool the air compressor and the intercooler. In order to guarantee a sufficient cooling of the components, flow control valves in the cooling circuits of the test bench environment are integrated. The target stack coolant inlet temperature is 55 °C. The air inlet temperature is kept at a value of 40 °C. The air compressor is supplied at all times with a constant volume flow of coolant, which is sufficient for the necessary cooling demand. _4.3._ _Test Bench Control System_ Dedicated software was developed in LabVIEW and implemented on a NI CompactRio to monitor and control the FC system. With this specific software, the possibility has been created to vary each operating parameter of the FC system in an admissible range. Furthermore, with the control system the acquisition of measurement data is realized with a sampling rate of 10 Hz. In order to provide a detailed experimental investigation, a variety of sensors (temperature, pressure, mass flow, voltage, current, and humidity) are installed at all relevant positions. Further details with respect to the test bench set up are given in [38,39]. _4.4._ _Experimental Tests and Operating Conditions_ During the experimental tests, the load point of the stack and the air mass flow, which is controlled according to the electric current and to a constant air excess ratio of 1.5, were varied. In order to obtain measurement data under different operating states as well as operating conditions of the FC system, the load point was adjusted arbitrarily either by setting the stack voltage or the stack current level in a range, in which a stable operation of the FC is still guaranteed. All other operating parameters of the FC system (target temperatures, anode pressure setpoint, hydrogen recirculation pump speed, coolant pump speed) were kept constant under all load and operating conditions. The standard values of the constant operating parameters can be seen in Table 1. For more details regarding the experimental tests, please refer to Section 5, in which simulated and measured data are presented and discussed. Table 1. Constant operating parameters and standard values of the FC system Operating Parameter Value Standard stack voltage range 60–120 VDC Continuous stack current 120–400 A Air compressor pressure ratio at 400 A 1.64 (closed throttle valve) Standard excess air ratio ( _λ_ Air) 1.5 Air inlet temperature at cathode 40 °C Anode pressure 1700 mbar H2 pump speed 4000 RPM Stack coolant inlet temperature 55 °C Ambient temperature 23 °C Ambient pressure 1000 mbar Relative humidity of ambient air 50% <u>84</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 13 of 18 5. Results and Discussion _5.1._ _Results_ This work proposes a validated two-step parametrization method, and it demonstrates the method by parametrizing the presented model using the measurement data obtained from the FC test bench. The proceeding is almost identical to the one described in Section 3.4. The differences are that the measured outputs y <sup>_∗_</sup> now serve as reference data, the optimizer’s population size is 1000, and the model gets parametrized only once. Therefore all conclusions stated there still hold. Confidentiality agreements do not allow the publication of the numerical values of the optimized parameters. Figure 4a–d show the parametrization results. Simulating the model with the optimized parameter vector _θ_ opt and using the measured inputs u described in Section 4 yields the simulated model outputs y . The figures additionally depict the measured outputs and four model inputs as reference: the mass flow of air _m_ ˙ ca,in, the FC temperature _T_, the anode supply manifold pressure _p_ an,sm, and the current _I_ . The parameterized model achieves an _R_ <sup>2</sup> value of 93% on average. For validation data, the model reaches an _R_ <sup>2</sup> value of 91% on average (see Figure 4e–h), providing the required accuracy for control-oriented applications. _5.2._ _Discussion_ The simulated outputs fit very well. However, the simulated pressures deviate more from the measurements than the voltage. The simulated anode exit manifold pressure _p_ an,em (Figure 4c,g) has deviations, which seem to be load-dependent. During low currents, the measured pressure is higher and vice versa. A reason could be the recirculation flow. The recirculation pump runs at a constant speed and should provide a constant flow during steady-state. The flow is not measured and is assumed constant in the model. However, steady-state conditions are not always given, especially during purging. Measuring the recirculation flow and adding it as an input to the model could minimize the deviations. The simulated cathode pressures deviate more from the validation data (Figure 4e,f) than from the parametrization data (Figure 4a,b). The maximum deviation is 5%, and a reason may be the inflow air temperature, which differs up to 10 °C between the two data sets. Incorporating the inflow air temperature into the model may improve the agreement between the simulated and measured cathode pressures. The model’s simulated voltage response (Figure 4h) replicates the undershooting only in a moderate way for the validation data. One reason could be the underrepresented voltage undershooting in the parametrization data (Figure 4d). Using a data set with more often recurring voltage undershooting may improve the model’s behavior in this regard. Figure 2b depicts the total information of the electrochemical parameters _σθ_ el, _i_ . The combined diffusion coefficients, _CD_ ca and _CD_ an, have relatively low information. The reason is that the experiments only cover the safe operating region. The named coefficients determine the limit current and are only well identifiable in the unsafe limit current region. According to Figure 2a, the supply and exit manifold volumes ( _V_ ca,sm, _V_ ca,em, _V_ an,sm, and _V_ an,em) are not identifiable. The reason is that only the pressure states needed them, which do not exist anymore. Thus the named volumes are not used in the reduced model at all. The named aspects only concern the model and the experiments, but not the parametrization method itself. A drawback of the two-step method is that by conducting separate parameter sensitivity analyses for the two submodels, slightly different conclusions may follow compared to the complete model analysis. The reason is that the electrochemical model’s output contributes additional information on the thermodynamic parameters. However, the advantage of the reduced solution space dimension compensates for this drawback. The stated conclusions derived from the FIM only hold in a region near the initial guess of the parameters _θ_ 0. Hence the FIM is only a local parameter sensitivity analysis. With another parameter vector, the conclusions from the newly derived FIM may be different. In general, parameters could be nonsignificant if the excitation is ill-suited (e.g., _CD_ ca), it is not relevant in the model (e.g., _V_ ca,sm), or both. High significancies are interpretable in a vice versa manner. As discussed, the parameter identifiability and the derived conclusions <u>85</u> _Processes_ 2021, _9_, 713 14 of 18 are strongly dependent on the available measurement data and the model structure. With this knowledge, remodeling or a more targeted design of the experiment is possible to improve identifiability. From the engineering point of view, this information is utilizable to distribute engineering resources efficiently. Focusing on improving the significant parameter’s real-world counterparts affects the system outputs substantially more than optimizing the less significant ones. Optimizing the latter will lead to hardly any changes in the output. Furthermore, more measured signals (e.g., anode and cathode outflow relative humidity, species concentrations, recirculation flow) and more "exciting" system inputs would significantly affect the obtainable results by increasing the Fisher information of the parameters, leading to better parametrization results. Parametrization 0.03 0.02 0.01 10 <sup>5</sup> 1.9 1.8 1.7 <u>10</u> <sup>5</sup> 1.5 1 0.5 <u>10</u> <sup>5</sup> 1.6 1.4 ( a ) _p_ ca,sm and _m_ ˙ ca,in _R_ <sup>2</sup> = 98.2% _R_ <sup>2</sup> = 99.9% ( c ) _p_ an,em and _p_ an,sm _R_ <sup>2</sup> = 9.33% <u>10</u> <sup>5</sup> ( b ) _p_ ca,em and _T_ _<u>R</u>_ <sup>2</sup> <u>=</u> _<u>−</u>_ <u>48.2%</u> _<u>R</u>_ <sup>2</sup> <u>= 99.4%</u> ( d ) _U_ and _I_ _R_ <sup>2</sup> = 72.3% _R_ <sup>2</sup> = 98.2% 1.5 1 0.5 80 60 40 1.2 1 0.8 _~~R~~_ <sup>~~2~~</sup> ~~= 75.1%~~ 0 500 1000 1500 Time in s Validation 0 500 1000 1500 <u>10</u> <sup>5</sup> <u>10</u> <sup>5</sup> ( e ) _p_ ca,sm and _m_ ˙ ca,in ( f ) _p_ ca,em and _T_ _<u>R</u>_ <sup>2</sup> <u>=</u> _<u>−</u>_ <u>201%</u> _R_ <sup>2</sup> = 90.3% ( h ) _U_ and _I_ 1.5 1 0.5 1.4 1.2 1 0.8 _<u>R</u>_ <sup>2</sup> <u>= 92.1%</u> _R_ <sup>2</sup> = 96.9% 1.5 1 0.5 80 60 40 <u>10</u> <sup>5</sup> ( g ) _p_ an,em and _p_ an,sm 340 335 330 600 400 200 340 335 330 600 400 200 _<u>R</u>_ <sup>2</sup> <u>=</u> _<u>−</u>_ <u>222%</u> _R_ <sup><u>2</u></sup> = 78.5% _R_ <sup>2</sup> = 82.7% _R_ <sup>2</sup> = 97.3% 0 100 200 300 400 500 0.03 0.02 0.01 10 <sup>5</sup> 1.9 1.8 1.7 Time in s 0 100 200 300 400 500 Simulated y (1-step) Simulated y (2-step) Measured y Measured u Figure 4. Plots ( a, e ): Cathode supply manifold pressure _p_ ca,sm (blue, yellow and red), and air mass flow _m_ ˙ ca,in (purple). Plots ( b, f ): Cathode exit manifold pressure _p_ ca,em (blue, yellow and red), and FC temperature _T_ (purple). Plots ( c, g ): Anode exit manifold pressure _p_ an,em (blue, yellow and red), and anode supply manifold pressure _p_ an,sm (purple). Plots ( d, h ): Stack voltage _U_ (blue, yellow and red), and stack current _I_ (purple). The plots depict parameterization and validation data, respectively, and y denotes output and u input. Compared to the usual “single-step” approach, the two-step method simplifies the parametrization process significantly by reducing the solution space’s dimension. As depicted in Figure 2e, the parameters resulting from a single-step parametrization of the entire model (without any further considerations) have a much larger spread, which <u>86</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 15 of 18 implicitly means a worse fit of the simulation data with the measurements. Figure 4 additionally shows the simulation results with parameters obtained from the single-step approach. The simulations achieve an average _R_ <sup>2</sup> value of 33% for the parametrization data and _−_ 62% for the validation data, which is much worse than the proposed two-step method (93% and 91%, respectively). However, increasing the optimizer’s population size and the number of generations the single-step approach would yield similar results as the two-step method. By doing so, the single-step approach searches more thoroughly through the bigger solution space of the entire model for the optima, but at the expense of exponentially growing computation time. Therefore, considering limited resources and the same optimizer options, the two-step method delivers more accurate results than the single-step approach, making the former superior in this case. A comparison of the proposed two-step method with methods consisting of more than two steps is, in this case, not meaningful because this work utilizes pre-existing data. Multiple-step methods [14,18] require appropriately designed experiments, which is usually not the case for pre-existing data. If the data allows the utilization of a method with more than two steps, then the multiple-step method will likely deliver better results than the two-step method considering similar resources. The fact that the two-step method does not need appropriately designed experiments compensates for this drawback. 6. Conclusions This paper presents an efficient two-step parametrization method for FCs. A separation of the model into two submodels decreases the solution space drastically. The method parametrizes the submodels in two consecutive steps. A parameter sensitivity analysis further reduces each sub-solution space, which simplifies the search for the optima. This work demonstrates the efficient method by parametrizing an FC model with measurements and illustrates the parameter sensitivity analysis’s advantages. The parameterized model’s outputs replicate the validation data excellently. The parameter sensitivity analysis is a powerful tool to determine the parameters’ identifiability with a given model and measurement data. The inverse approach is also promising for future research: developing a “design of experiment controller” with a given model to maximize the parameter’s identifiability in real-time. Author Contributions: Conceptualization, and methodology, Z.P.D. and S.J.; investigation, data curation, Z.P.D. and C.S.; software and visualization, Z.P.D.; writing–original draft preparation, Z.P.D. and C.S.; writing–review and editing, supervision, and project administration, S.J. All authors have read and agreed to the published version of the manuscript. Funding: The research leading to these results has received funding from the Mobility of the Future programme. Mobility of the Future is a research, technology and innovation funding programme of the Republic of Austria, Ministry of Climate Action. The Austrian Research Promotion Agency (FFG) has been authorised for the programme management (grant number 871503). The APC was funded by TU Wien Bibliothek. Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: Confidentiality agreements do not allow the publication of the data presented in this study. Acknowledgments: The computational results presented have been achieved, in part, using the Vienna Scientific Cluster (VSC). The authors acknowledge the financial support through Open Access Funding by TU Wien Bibliothek. Conflicts of Interest: The authors declare no conflict of interest. <u>87</u> _Processes_ 2021, _9_, 713 16 of 18 Abbreviations The following abbreviations are used in this manuscript: FC Fuel cell FIM Fisher information matrix ODE Ordinary differential equation PEMFC Polymer electrolyte membrane fuel cell SVD Singular value decomposition Nomenclature The following symbols are used in this manuscript: Subscripts 0 Initial act Activation an Anode atm Atmosphere bp Backpressure ca Cathode cm Center manifold el Electrochemical em Exit manifold H2 Hydrogen in Inflow leak Leakage liq Liquid water ls Least significant max Maximum min Minimum ms Most significant m Membrane N2 Nitrogen norm Normalized O2 Oxygen opt Optimized out Outflow perm Permeability purge Purge reci Recirculation sm Supply manifold th Thermodynamic vap Vapour _i_ Running index for parameters _k_ Sampling instant _l_ Running index for singular values Symbols _α_ Valve position 1 Ψ Output parameter sensitivity matrix R <sup>4</sup> <sup>_×n_</sup> <sup>_θ_</sup> _ψ_ Output parameter sensitivity vector R <sup>4</sup> <sup>_×_</sup> <sup>1</sup> Σ Singular value matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>_×n_</sup> <sup>_θ_</sup> Σe Prediction error covariance matrix R <sup>4</sup> <sup>_×_</sup> <sup>4</sup> _θ_ Parameter vector R <sup>25</sup> <sup>_×_</sup> <sup>1</sup> _θ_ el Parameter vector of the electrochemical submodel R <sup>8</sup> <sup>_×_</sup> <sup>1</sup> _θ_ th Parameter vector of the thermodynamic submodel R <sup>17</sup> <sup>_×_</sup> <sup>1</sup> _ξ_ State parameter sensitivity vector R <sup>9</sup> <sup>_×_</sup> <sup>1</sup> _�_ 2 Membrane conductivity parameter K _γ_ Threshold 1 _λ_ Air Excess air ratio 1 F Fisher information matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>_×n_</sup> <sup>_θ_</sup> f System function of the reduced model R <sup>9</sup> <sup>_×_</sup> <sup>1</sup> f nr System function of the non-reduced model R <sup>12</sup> <sup>_×_</sup> <sup>1</sup> f th System function of the thermodynamic submodel R <sup>9</sup> <sup>_×_</sup> <sup>1</sup> g Output function of the reduced model R <sup>4</sup> <sup>_×_</sup> <sup>1</sup> g nr Output function of the non-reduced model R <sup>4</sup> <sup>_×_</sup> <sup>1</sup> g th Output function of the thermodynamic submodel R <sup>3</sup> <sup>_×_</sup> <sup>1</sup> Qy Output weighting matrix R <sup>4</sup> <sup>_×_</sup> <sup>4</sup> Q _θ_ Regularization matrix R <sup>25</sup> <sup>_×_</sup> <sup>25</sup> U Left singular vector matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>_×n_</sup> <sup>_θ_</sup> u Input vector R <sup>8</sup> <sup>_×_</sup> <sup>1</sup> V Right singular vector matrix R <sup>_n_</sup> <sup>_θ_</sup> <sup>_×n_</sup> <sup>_θ_</sup> <u>88</u> <u>2.3</u> <u>Publication</u> <u>C</u> _Processes_ 2021, _9_, 713 17 of 18 v Right singular vector R <sup>_n_</sup> <sup>_θ_</sup> <sup>_×_</sup> <sup>1</sup> x State vector of the reduced model R <sup>9</sup> <sup>_×_</sup> <sup>1</sup> x nr State vector of the non-reduced model R <sup>12</sup> <sup>_×_</sup> <sup>1</sup> x th State vector of the thermodynamic submodel R <sup>9</sup> <sup>_×_</sup> <sup>1</sup> y Output vector R <sup>4</sup> <sup>_×_</sup> <sup>1</sup> y <sup>_∗_</sup> Measured output vector R <sup>4</sup> <sup>_×_</sup> <sup>1</sup> y th Output vector of the thermodynamic submodel R <sup>3</sup> <sup>_×_</sup> <sup>1</sup> _σ_ Singular value _σθi_ Total information of parameter _θi_ _τ_ Time constant s _θ_ Parameter _ϕ_ Relative humidity 1 _a_ Water activity 1 _CD_ Combined diffusion coefficient mol/s _E_ Energy J _g_ el Output function of the electrochemical submodel R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> _I_ Current A _J_ Objective function R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> _K_ Intrinsic exchange current parameter A/m <sup>2</sup> _k_ Nozzle or mass flow coefficient kg/(s _·_ Pa) _k_ cond Condensation coefficient 1/s _k_ evap Evaporation coefficient 1/(s _·_ Pa) _m_ Mass kg _nk_ Number of sample instants ( _nk_ + 1) 1 _n_ _θ_ Number of parameters 1 _p_ Pressure Pa _R_ Mass-specific gas constant J/(kg _·_ K) _R_ c Ohmic contact resistance Ω _T_ Fuel cell temperature K _t_ Time s _U_ Voltage V _V_ Volume m <sup>3</sup> _v_ Right singular vector component _y_ el Output of the electrochemical submodel R <sup>1</sup> <sup>_×_</sup> <sup>1</sup> References 1. Mench, M.M. _Fuel Cell Engines_ ; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2008; pp. 1–515. [CrossRef] 2. Napoli, G.; Ferraro, M.; Sergi, F.; Brunaccini, G.; Antonucci, V. Data driven models for a PEM fuel cell stack performance prediction. _Int._ _J. Hydrog._ _Energy_ 2013, _38_, 11628–11638. [CrossRef] 3. Han, I.S.; Chung, C.B. Performance prediction and analysis of a PEM fuel cell operating on pure oxygen using data-driven models: A comparison of artificial neural network and support vector machine. _Int._ _J. Hydrog._ _Energy_ 2016, _41_, 10202–10211. [CrossRef] 4. Wang, Y.; Seo, B.; Wang, B.; Zamel, N.; Jiao, K.; Adroher, X.C. Fundamentals, materials, and machine learning of polymer electrolyte membrane fuel cell technology. _Energy AI_ 2020, _1_, 100014. [CrossRef] 5. Qu, Z.; Aravind, P.; Boksteen, S.; Dekker, N.; Janssen, A.; Woudstra, N.; Verkooijen, A. Three-dimensional computational fluid dynamics modeling of anode-supported planar SOFC. _Int._ _J. Hydrog._ _Energy_ 2011, _36_, 10209–10220. [CrossRef] 6. Liao, Z.; Wei, L.; Dafalla, A.M.; Suo, Z.; Jiang, F. Numerical study of subfreezing temperature cold start of proton exchange membrane fuel cells with zigzag-channeled flow field. _Int._ _J. Heat Mass Transf._ 2021, _165_, 120733. [CrossRef] 7. Sayadian, S.; Ghassemi, M.; Robinson, A.J. Multi-physics simulation of transport phenomena in planar proton-conducting solid oxide fuel cell. _J. Power Sources_ 2021, _481_, 228997. [CrossRef] 8. Pukrushpan, J.T.; Stefanopoulou, A.G.; Peng, H. _Control of Fuel Cell Power Systems_ ; Advances in Industrial Control; Springer: London, UK, 2004. [CrossRef] 9. Ritzberger, D.; Hametner, C.; Jakubek, S. A Real-Time Dynamic Fuel Cell System Simulation for Model-Based Diagnostics and Control: Validation on Real Driving Data. _Energies_ 2020, _13_, 3148. [CrossRef] 10. Ritzberger, D.; Höflinger, J.; Du, Z.P.; Hametner, C.; Jakubek, S. Data-driven parameterization of polymer electrolyte membrane fuel cell models via simultaneous local linear structured state space identification. _Int._ _J. Hydrog._ _Energy_ 2021, _46_, 11878–11893. [CrossRef] 11. Kunusch, C.; Puleston, P.F.; Mayosky, M.A.; Husar, A.P. Control-Oriented Modeling and Experimental Validation of a PEMFC Generation System. _IEEE Trans._ _Energy Convers._ 2011, _26_, 851–861. [CrossRef] 12. Nehrir, M.H.; Wang, C. Dynamic Modeling and Simulation of PEM Fuel Cells. In _Modeling and Control of Fuel Cells:_ _Distributed_ _Generation Applications_ ; IEEE: Piscataway, NJ, USA, 2009. [CrossRef] 13. McKay, D.A.; Siegel, J.B.; Ott, W.; Stefanopoulou, A.G. Parameterization and prediction of temporal fuel cell voltage behavior during flooding and drying conditions. _J. Power Sources_ 2008, _178_, 207–222. [CrossRef] 14. Xu, L.; Fang, C.; Hu, J.; Cheng, S.; Li, J.; Ouyang, M.; Lehnert, W. Parameter extraction of polymer electrolyte membrane fuel cell based on quasi-dynamic model and periphery signals. _Energy_ 2017, _122_, 675–690. [CrossRef] <u>89</u> _Processes_ 2021, _9_, 713 18 of 18 15. Müller, E.A.; Stefanopoulou, A.G. Analysis, Modeling, and Validation for the Thermal Dynamics of a Polymer Electrolyte Membrane Fuel Cell System. _J. Fuel Cell Sci._ _Technol._ 2006, _3_, 99–110. [CrossRef] 16. Goshtasbi, A.; Chen, J.; Waldecker, J.R.; Hirano, S.; Ersal, T. Effective Parameterization of PEM Fuel Cell Models—Part I: Sensitivity Analysis and Parameter Identifiability. _J. Electrochem._ _Soc._ 2020, _167_, 044504. [CrossRef] 17. Goshtasbi, A.; Pence, B.L.; Chen, J.; DeBolt, M.A.; Wang, C.; Waldecker, J.R.; Hirano, S.; Ersal, T. Erratum: A Mathematical Model toward Real-Time Monitoring of Automotive PEM Fuel Cells. _J. Electrochem._ _Soc._ 2020, _167_, 049002. [CrossRef] 18. Goshtasbi, A.; Chen, J.; Waldecker, J.R.; Hirano, S.; Ersal, T. Effective Parameterization of PEM Fuel Cell Models—Part II: Robust Parameter Subset Selection, Robust Optimal Experimental Design, and Multi-Step Parameter Identification Algorithm. _J. Electrochem._ _Soc._ 2020, _167_, 044505. [CrossRef] 19. Nelles, O. Introduction to Optimization. In _Nonlinear System Identification_ ; Springer: Berlin/Heidelberg, Germany, 2001. [CrossRef] 20. Vrli´c, M.; Ritzberger, D.; Jakubek, S. Safe and Efficient Polymer Electrolyte Membrane Fuel Cell Control Using Successive Linearization Based Model Predictive Control Validated on Real Vehicle Data. _Energies_ 2020, _13_, 5353. [CrossRef] 21. Böhler, L.; Ritzberger, D.; Hametner, C.; Jakubek, S. Constrained Extended Kalman Filter Design and Application for On-Line State Estimation of High-Order Polymer Electrolyte Membrane Fuel Cell Systems. _Int._ _J. Hydrog._ _Energy_ 2021 . [CrossRef] 22. Springer, T.E.; Zawodzinski, T.A.; Gottesfeld, S. Polymer Electrolyte Fuel Cell Model. _J. Electrochem._ _Soc._ 1991, _138_, 2334–2342. [CrossRef] 23. Dutta, S.; Shimpalee, S.; Van Zee, J. Numerical prediction of mass-exchange between cathode and anode channels in a PEM fuel cell. _Int._ _J. Heat Mass Transf._ 2001, _44_, 2029–2042. [CrossRef] 24. Kravos, A.; Ritzberger, D.; Tavcar, G.; Hametner, C.; Jakubek, S.; Katrasnik, T. Thermodynamically consistent reduced dimensionality electrochemical model for proton exchange membrane fuel cell performance modelling and control. _J. Power Sources_ 2020, _454_, 227930. [CrossRef] 25. Nijmeijer, H.; van der Schaft, A. Introduction. In _Nonlinear Dynamical Control Systems_ ; Springer: New York, NY, USA, 1990. [CrossRef] 26. Lambert, J.D. Stiffness: Linear Stability Theory. In _Numerical Methods for Ordinary Differential Systems:_ _The Initial Value Problem_ ; Wiley: New York, NY, USA, 1991. 27. Atkinson, K. Numerical Methods for Ordinary Differential Equations. In _An Introduction to Numerical Analysis,_ 2nd ed.; John Wiley & Sons: New York, NY, USA, 1989. 28. Ljung, L. Parameter Estimation Methods. In _System Identification:_ _Theory for the User_, 2nd ed.; Prentice Hall PTR: Englewood Cliffs, NJ, USA, 1999. 29. Cramér, H. _Mathematical Methods of Statistics_ ; Princeton University Press: Princeton, NJ, USA, 1999; Volume 9. 30. MathWorks Symbolic Math Toolbox—MATLAB. Available online: https://www.mathworks.com/products/symbolic.html (accessed on 30 January 2021). 31. More, S.; van den Bosch, F.C.; Cacciato, M.; More, A.; Mo, H.; Yang, X. Cosmological constraints from a combination of galaxy clustering and lensing—II. Fisher matrix analysis. _Mon._ _Not._ _R. Astron._ _Soc._ 2013, _430_, 747–766. [CrossRef] 32. Van Doren, J.F.; Douma, S.G.; Van den Hof, P.M.; Jansen, J.D.; Bosgra, O.H. Identifiability: from qualitative analysis to model structure approximation. _IFAC Proc._ _Vol._ 2009, _42_, 664–669. [CrossRef] 33. Stigter, J.D.; Molenaar, J. A fast algorithm to assess local structural identifiability. _Automatica_ 2015, _58_, 118–124. [CrossRef] 34. Barz, T.; Körkel, S.; Wozny, G. Nonlinear ill-posed problem analysis in model-based parameter estimation and experimental design. _Comput._ _Chem._ _Eng._ 2015, _77_, 24–42. [CrossRef] 35. Eckert, M.; Buchsbaum, G.; Watson, A. Separability of spatiotemporal spectra of image sequences. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 1992, _14_, 1210–1213. [CrossRef] 36. MathWorks Floating-Point Numbers—MATLAB & Simulink. Available online: https://www.mathworks.com/help/matlab/ matlab_prog/floating-point-numbers.html (accessed on 11 April 2021). 37. MathWorks Find Minimum of Function Using Genetic Algorithm—MATLAB ga. Available online: https://www.mathworks. com/help/gads/ga.html (accessed on 15 February 2021). 38. Höflinger, J.; Hofmann, P.; Geringer, B. Experimental PEM-Fuel Cell Range Extender System Operation and Parameter Influence Analysis. _SAE Tech._ _Pap_ . 2019 . [CrossRef] 39. Hoeflinger, J.; Hofmann, P. Air mass flow and pressure optimisation of a PEM fuel cell range extender system. _Int._ _J. Hydrog._ _Energy_ 2020, _45_, 29246–29258. [CrossRef] <u>Curriculum</u> <u>Vitae</u> <u>91</u> Professional Work Experience 02/2020 - University Assistant (Prae-Doc) TU Wien Research Unit of Control and Process Automation 08/2018 - 01/2020 Working Student Knorr-Bremse Development Track Brakes 07/2018 Intern FHW Franz Haas Waffelmaschinen GmbH Process Engineering 09/2014 - 02/2015 Mandatory Military Service Österreichisches Bundesheer (Austrian Armed Forces) Guard Battalion IT Skills Operation Systems Windows, Linux Office Microsoft Office, L <sup>A</sup> TEX Programming MATLAB, Python Simulation SIMPACK CAD Creo 4.0, CATIA V5 Languages German Native language English Fluent in written and spoken Chinese Basics Spanish Basics Leisure Interests Technology, world affairs, motorcycle, sports, traveling <u>92</u> <u>List</u> <u>of</u> <u>Scientific</u> <u>Publications</u> ### List of Scientific Publications ##### International Journals 1. D. Ritzberger, J. Höflinger, Z. P. Du, C. Hametner, and S. Jakubek. “Data-driven parameterization of polymer electrolyte membrane fuel cell models via simultaneous local linear structured state space identification”. In: _Int._ _J._ _Hydrogen_ _Energy_ 46.21 (Mar. 2021), pp. 11878–11893. doi: `[10.1016/j.ijhydene.2021.01.037](https://doi.org/10.1016/j.ijhydene.2021.01.037)` 2. Z. P. Du, C. Steindl, and S. Jakubek. “Efficient Two-Step Parametrization of a ControlOriented Zero-Dimensional Polymer Electrolyte Membrane Fuel Cell Model Based on Measured Stack Data”. In: _Processes_ 9.4 (Apr. 2021), p. 713. doi: `[10.3390/pr9040713](https://doi.org/10.3390/pr9040713)` 3. C. Hametner, M. Kozek, L. Böhler, A. Wasserburger, Z. P. Du, R. Kölbl, M. Bergmann, T. Bachleitner-Hofmann, and S. Jakubek. “Estimation of exogenous drivers to predict COVID-19 pandemic using a method from nonlinear control theory”. In: _Nonlinear_ _Dyn._ 106.1 (Sept. 2021), pp. 1111–1125. doi: `[10.1007/s11071-021-06811-7](https://doi.org/10.1007/s11071-021-06811-7)` 4. Z. P. Du, A. Kravos, C. Steindl, T. Katrašnik, S. Jakubek, and C. Hametner. “Physically Motivated Water Modeling in Control-Oriented Polymer Electrolyte Membrane Fuel Cell Stack Models”. In: _Energies_ 14.22 (Nov. 2021), p. 7693. doi: `[10.3390/en14227693](https://doi.org/10.3390/en14227693)` 5. C. Hametner, L. Böhler, M. Kozek, J. Bartlechner, O. Ecker, Z. P. Du, R. Kölbl, M. Bergmann, T. Bachleitner-Hofmann, and S. Jakubek. “Intensive care unit occupancy predictions in the COVID-19 pandemic based on age-structured modelling and differential flatness”. In: _Nonlinear_ _Dyn._ 109.1 (July 2022), pp. 57–75. doi: `[10.1007/s11071-](https://doi.org/10.1007/s11071-022-07267-z)` ``` 022-07267-z ``` 6. Z. P. Du, C. Steindl, S. Jakubek, and C. Hametner. “Concentration Estimation for Fuel Cells: Design of Experiments, Nonlinear Identification, and Observer Design With Experimental Validation”. In: _IEEE_ _Access_ 11 (2023), pp. 10453–10470. doi: `[10.1109/](https://doi.org/10.1109/ACCESS.2023.3241227)` ``` ACCESS.2023.3241227 ##### International Conference ``` 1. Z. P. Du, S. Kofler, D. Ritzberger, S. Jakubek, and C. Hametner. “Optimal Design of Experiments Model Predictive Controller for Fuel Cells”. In: _IFAC_ _World_ _Congress_ _2023,_ _Yokohama,_ _Japan,_ _09_ _-_ _14_ _July_ _2023_ accepted (2023)

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.