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

Advanced Control and Online Monitoring of Fuel Cell Systems

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Vrlic, Martin — TU Wien
DOI
10.34726/hss.2025.127907
저널
reposiTUm (TU Wien)
발행년도
2025
발행기관
TU Wien
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.34726/hss.2025.127907
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W6890006675

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.90
근거 용어
PEMFC, control and monitoring, membrane dryout/flooding, state observer, automotive applications
판단 근거
본 논문은 PEMFC(고분자전해질 연료전지) 시스템의 제어 및 온라인 모니터링(막 건조/플러딩 감지 등)을 다루고 있어, 코오롱인더스트리의 수소연료전지 사업 분야와 직접적인 기술적 연관성이 있습니다.
R&D 활용 포인트
PEMFC 시스템의 상태 모니터링 알고리즘 및 제어 전략을 통해 연료전지 스택의 내구성 향상 및 운전 효율 최적화 연구에 활용 가능함.
평가 입력
본문 275,122자 중 30,032자 발췌

초록

Diese Dissertation untersucht intelligente Methoden zur Steuerung und Überwachung von Brennstoffzellensystemen mit Polymer-Elektrolyt-Membran (PEMFC), wobei der Schwerpunkt auf deren Einsatz in Fahrzeuganwendungen liegt. Das Hauptziel ist, den sicheren und effizienten Betrieb von Brennstoffzellenfahrzeugen zu gewährleisten.Im ersten Teil der Arbeit wird die Bereitstellung dynamischer Leistungsanforderungeneines realen Brennstoffzellenfahrzeugs behandelt. Dabei geht es insbesondere um schnelleÄnderungen der inneren Zustände der Brennstoffzelle. Mithilfe einer modellprädiktivenRegelung basierend auf sukzessiver Linearisierung (SLMPC) wird nicht nur die benötigte Leistung bereitgestellt, sondern es werden auch Sicherheitsgrenzen eingehalten und der Wasserstoffverbrauch im Vergleich zu einem Referenzfahrzeug reduziert. Im zweiten Teil wird ein echtzeitfähiger modellprädiktiver Referenzregler (RG-MPC) für die Steuerung von Brennstoffzellen in Fahrzeuganwendungen vorgestellt. Dieser neue Ansatz bietet Referenztrajektorien für untergeordnete Regler und ermöglicht die Anpassung von Mehrgrößensystemen sowie die Handhabung von Einschränkungen. Durchdie sukzessive Linearisierung wird die Echtzeitfähigkeit gewährleistet, was im Wesentlichen ein Upgrade bestehender Regelungskonzepte darstellt, ohne dass ein vollständiges Systemdesign erforderlich ist. Der dritte Teil der Dissertation konzentriert sich auf die Online-Überwachung von Brennstoffzellensystemen. Hierfür wird ein nichtlinearer Beobachter mit reduzierter Dimensionalität und verteilten Parametern eingeführt, der interne Phänomene wie Reaktantenmangel und Membrantrocknung/-flutung effizient erkennen kann. Mithilfe virtueller Sensorik und eines hochauflösenden Modells mit verteilten Parametern korrigiert der Beobachteralgorithmus effizient die vorhergesagten Zustandsverteilungen und zeigt in detaillierten Simulationen eine hohe Rechenleistung und robuste Leistung. Diese umfangreiche Forschung bietet einen Rahmen für die Weiterentwicklung der Steuerung und Überwachung von PEMFC-Systemen in Fahrzeuganwendungen. Die hier vorgestellten Strategien versprechen eine Steigerung der Effizienz, Sicherheit und Gesamtleistung von Brennstoffzellenfahrzeugen.

본문 275,122자

본문 펼치기
### Dissertation # Advanced Control and Online Monitoring of Fuel Cell Systems ausgeführt zum Zwecke der Erlangung des akademischen Grades eines Doktors der technischen Wissenschaften (Dr.techn.) unter der Leitung von Univ.Prof. Dipl.-Ing. Dr.techn. Stefan Jakubek am Institut für Mechanik und Mechatronik, Forschungsbereich Regelungstechnik und Prozessautomatisierung, eingereicht an der Technischen Universität Wien, Fakultät für Maschinenwesen und Betriebswissenschaften, von Martin Vrlić, mag.phys. Matrikelnummer 01652342 Brnaze 179 Sinj, Croatia Wien, 29. November 2024 #### To my family, without whom I would not be where I am <u>i</u> ### Acknowledgments I want to express my deep gratitude to Professor Stefan Jakubek for his unique and excellent mentorship, which extends beyond the scientific and educational work we did together over the past few years. His guidance has been very important in guiding my doctoral studies. Thanks to Professor Christoph Hametner for his motivational conversations and his trust in me during our collaborations, especially in the recent years. His support has been of big help. Special thanks to Dr. Daniel Ritzberger for his mentorship and patience from the very beginning of my studies. Our discussions have been invaluable, both academically and personally. Additionally, I want to thank one of my dearest colleagues, Dr. Zhang Peng Du, for his relaxed and humorous approach, which lightened difficult moments and provided much-needed encouragement. I am thankful to Dr. Andraž Kravos from the University of Ljubljana for his insights into fuel cells and our fruitful collaboration. I extend my gratitude to Dr. Alexander Schirrer for his practical advice that often saved me significant time and effort and extended my horizons. Finally, I am incredibly grateful to my family, especially my beloved wife Rahela and our (for now) two children, Emilija and Rafael, for standing (and crawling) by me throughout my PhD journey and giving me the strength to overcome any challenge. Their constant support has been my firm standing place. I want to thank my family, friends and teammates. Their help and support over the past few years have meant a lot to me. They’ve all been a big part of my journey, and I’m really grateful for everything they’ve done. <u>iii</u> Diese Arbeit wurde von der Österreichischen Forschungsförderungsgesellschaft (“PROTECT” Projektnummer 865181 und “AlpeDHues” Projektnummer 884322), der Christian Doppler Gesellschaft und der TU Wien Bibliothek (Open Access Funding Program und Lektoratsservice) 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, 29. November 2024 Martin Vrlić <u>iv</u> # Kurzfassung Diese Dissertation untersucht intelligente Methoden zur Steuerung und Überwachung von Brennstoffzellensystemen mit Polymer-Elektrolyt-Membran (PEMFC), wobei der Schwerpunkt auf deren Einsatz in Fahrzeuganwendungen liegt. Das Hauptziel ist, den sicheren und effizienten Betrieb von Brennstoffzellenfahrzeugen zu gewährleisten. Im ersten Teil der Arbeit wird die Bereitstellung dynamischer Leistungsanforderungen eines realen Brennstoffzellenfahrzeugs behandelt. Dabei geht es insbesondere um schnelle Änderungen der inneren Zustände der Brennstoffzelle. Mithilfe einer modellprädiktiven Regelung basierend auf sukzessiver Linearisierung (SLMPC) wird nicht nur die benötigte Leistung bereitgestellt, sondern es werden auch Sicherheitsgrenzen eingehalten und der Wasserstoffverbrauch im Vergleich zu einem Referenzfahrzeug reduziert. Im zweiten Teil wird ein echtzeitfähiger modellprädiktiver Referenzregler (RG-MPC) für die Steuerung von Brennstoffzellen in Fahrzeuganwendungen vorgestellt. Dieser neue Ansatz bietet Referenztrajektorien für untergeordnete Regler und ermöglicht die Anpassung von Mehrgrößensystemen sowie die Handhabung von Einschränkungen. Durch die sukzessive Linearisierung wird die Echtzeitfähigkeit gewährleistet, was im Wesentlichen ein Upgrade bestehender Regelungskonzepte darstellt, ohne dass ein vollständiges Systemdesign erforderlich ist. Der dritte Teil der Dissertation konzentriert sich auf die Online-Überwachung von Brennstoffzellensystemen. Hierfür wird ein nichtlinearer Beobachter mit reduzierter Dimensionalität und verteilten Parametern eingeführt, der interne Phänomene wie Reaktantenmangel und Membrantrocknung/-flutung effizient erkennen kann. Mithilfe virtueller Sensorik und eines hochauflösenden Modells mit verteilten Parametern korrigiert der Beobachteralgorithmus effizient die vorhergesagten Zustandsverteilungen und zeigt in detaillierten Simulationen eine hohe Rechenleistung und robuste Leistung. Diese umfangreiche Forschung bietet einen Rahmen für die Weiterentwicklung der Steuerung und Überwachung von PEMFC-Systemen in Fahrzeuganwendungen. Die hier vorgestellten Strategien versprechen eine Steigerung der Effizienz, Sicherheit und Gesamtleistung von Brennstoffzellenfahrzeugen. <u>v</u> # Abstract This dissertation aims to investigate smart ways to control and monitor polymer electrolyte membrane fuel cell (PEMFC) systems, focusing on their use in automotive applications. The main goal is to make sure fuel cell vehicles operate safely and efficiently. The first part of the research addresses the delivering of dynamic power demands of a real fuel cell vehicle, dealing with fast transients in the internal states of the fuel cell. Using successive linearization based model predictive control (SLMPC), the resulting work not only delivers the power demand but also enforces safety constraints, reducing the hydrogen consumption compared to a reference vehicle. In the second part, a real-time capable reference governor superordinate model predictive controller (RG-MPC) for fuel cell control in automotive applications is introduced. This novel approach provides reference trajectories for subordinate controllers, offering the possibility to adapt multivariable control systems and constraint handling. The use of successive linearization ensures real-time feasibility, essentially offering an upgrade to existing control schemes without requiring a complete system redesign. The dissertation concludes with the third part, focusing on online monitoring of fuel cell systems. For this purpose, a reduced-dimensionality nonlinear distributed-parameter observer is introduced to efficiently detect internal phenomena such as reactants’ starvation and membrane dryout/flooding. Using virtual sensing and a high-order distributedparameter model, the observer algorithm efficiently corrects predicted internal state distributions, demonstrating computational efficiency and robust performance through detailed simulations. This extended research provides a framework for advancing the control and monitoring of PEMFC systems in automotive applications. The strategies presented here hold the promise of increasing efficiency, safety, and overall performance of fuel cell vehicles. <u>vi</u> # Contents 1 Overview 1 1.1 Motivation and Problem Statement . . . . . . . . . . . . . . . . . . . . . 2 1.1.1 State-of-the-Art Review . . . . . . . . . . . . . . . . . . . . . . . 3 1.1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.3.1 Fuel Cell System Modeling . . . . . . . . . . . . . . . . . . . . . . 8 1.3.2 Model Predictive Control (MPC) Techniques . . . . . . . . . . . . 12 1.3.3 Reduced-dimensionality Distributed-parameter Observer . . . . . 19 1.3.4 Validation and Simulation Framework . . . . . . . . . . . . . . . . 21 1.4 Summary of Scientific Publications . . . . . . . . . . . . . . . . . . . . . 25 1.5 Scientific Contribution of This Thesis . . . . . . . . . . . . . . . . . . . . 26 Bibliography 27 2 Publications 33 2.1 Publication A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2.2 Publication B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 2.3 Publication C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Curriculum Vitae 84 List of Scientific Publications 86 <u>vii</u> # List of Figures 1.1 Fuel cell zero-dimensional model . . . . . . . . . . . . . . . . . . . . . . . 10 1.2 The quasi-2D fuel cell model and its spatial discretization . . . . . . . . . 11 1.3 Refernce governor MPC scheme . . . . . . . . . . . . . . . . . . . . . . . 17 1.4 Distributed observer scheme . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.5 Net power tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.6 Performance in pressure difference control . . . . . . . . . . . . . . . . . 22 1.7 Membrane water content distribution . . . . . . . . . . . . . . . . . . . . 23 # List of Abbreviations The following abbreviations are used in this manuscript: CFD Computational fluid dynamics EKF Extended Kalman filter FC Fuel cell GDL Gas diffusion layer MPC Model predictive control PEMFC Polymer electrolyte membrane fuel cell PI Proportional-integral QP Quadratic programming RG-MPC Reference governor model predictive control SLMPC Successive linearization model predictive control # List of Symbols The following symbols are used in this manuscript: Subscripts an Anode ca Cathode em Exhaust manifold GDL Gas diffusion layer liq Liquid N2 Nitrogen O2 Oxygen ref Reference sm Supply manifold <u>ix</u> vap Water vapor Symbols _αca_ Cathode backpressure valve opening Δ _u_ _i_ Control input increment _A_ _d_ Discretized state matrix _A_ _k_ State matrix at time step _k_ _B_ _d_ Discretized input matrix _B_ _k_ Input matrix at time step _k_ _C_ _d_ Discretized output matrix _C_ _k_ Output matrix at time step _k_ _D_ _d_ Discretized feedthrough matrix _D_ _k_ Feedthrough matrix at time step _k_ _f_ State equation function _f_ Q2D State transition function for quasi-2D model _h_ Output equation function _Q_ Output weighting matrix _R_ Control effort weighting matrix _u_ Input vector _x_ State vector _y_ Output vector Δ _p_ Pressure difference _x_ ˙ Time derivative of the state vector _ηsys_ System efficiency _am,d_ Water activity _I_ Current _Ian_ Integral term for anode PI controller _Ica_ Integral term for cathode PI controller _J_ Objective cost _k_ Time step index _Ki,an_ Integral gain for anode pressure PI controller _Ki,ca_ Integral gain for cathode pressure PI controller _Kp,an_ Proportional gain for anode pressure PI controller _Kp,ca_ Proportional gain for cathode pressure PI controller _m_ Mass of reactants _Nc_ Control horizon _Np_ Prediction horizon _p_ Absolute pressure <u>x</u> _Pnet_ Net system power _Win_ <sup>_an_</sup> Inlet flow rate of _Win_ <sup>_an_</sup> Inlet flow rate of the anode _Win_ <sup>_ca_</sup> Inlet flow rate of the cathode _in_ <sup>_ca_</sup> Inlet flow rate of the cathode # Chapter 1 Overview For sustainable no emission transportation, Polymer Electrolyte Membrane Fuel Cells (PEMFCs) have become a promising option compared to conventional internal combustion engines. In this dissertation, the use of PEMFCs in automotive applications is examined. An important part of this thesis is the development and use of safe and efficient control strategies, addressing the various operating limits found in real vehicles. The complex dynamics of PEMFCs, as an important part in no emission vehicles, requires careful control for best performance and lifespan. Advanced control methods are used, addressing challenges caused by temperature changes, different power demands, and other operating conditions during the specific automotive application. By focusing on the importance of control strategies, this research helps to improve the overall efficiency and reliability of PEMFCs in automotive applications. In addition, the thesis investigates on online monitoring of fuel cell distributed internal states using state observers. Due to the fast dynamic operation of PEMFCs, online monitoring is crucial. State observers act as tools to provide real-time insights into the system’s internal states. This part of the research wants to develop an observer for monitoring and analyzing fuel cell internal states, enabling the detection of critical or even faulty conditions. The use of state observers helps in understanding the PEMFC operation, useful for the overall system health and efficiency. Together, this thesis highlights the link between control strategies and state observerbased monitoring, setting the stage for a combined system. This combination not only meets immediate operational needs but also anticipates and adjusts to the changing conditions found in automotive applications. By combining advanced control techniques with real-time monitoring using state observers, this research’s goal is to advance the field of PEMFCs towards practical and efficient use in automotive applications. To sum up, this thesis offers a detailed look at the progress in Polymer Electrolyte Membrane Fuel Cells, emphasizing their potential as a sustainable replacement for in <u>2</u> <u>1.1</u> <u>Motivation</u> <u>and</u> <u>Problem</u> <u>Statement</u> ternal combustion engines in automotive applications. Through the investigation of safe and efficient control strategies and the use of state observers for online monitoring, the research contributes to ongoing efforts in creating sustainable energy solutions for the future of transportation. Chapter 1 provides an overview of this work by presenting the motivation, problem statement, and goals. It also provides a brief introduction into the developed methods, followed by a summary of the scientific publications and the unique contribution of this research. The main focus of this thesis, comprised of the selected journal publications, is outlined in Chapter 2, along with a description of the author’s specific contributions to each publication. #### 1.1 Motivation and Problem Statement Successfully using fuel cell systems in automotive applications requires an advanced control system, capable of delivering the requested power, while at the same time ensuring both safety and efficiency requirements are met. This thesis addresses this important question with the approach outlined in the three constituting publications. Publication A introduces a new strategy using a nonlinear state space model along with successive linearization-based model predictive control (SLMPC). This method improves the control of fuel cell systems in dynamic automotive applications. Therefore, in Publication A the initial contributions for safe and efficient fuel cell control are presented, setting the stage for the subsequent parts of this research. In Publication B, the challenge of avoiding a complete replacement of a ProportionalIntegral (PI) based controller, is addressed. Publication B introduces a higher-level reference governor model predictive controller (RG-MPC). This top-level controller is designed to easily work with existing PI controllers, providing the lower level PIs the reference trajectories that align with the goals outlined in Publication A. This cooperative interaction between the top-level controller and PI controllers ensures a successful use of the proposed control strategy without having to rebuild the existing control setup. In Publication C, the focus moves to online monitoring through the use of a distributed state observer. Using a distributed parameter nonlinear fuel cell model and applying model reduction methods, such as Balanced Truncation, this state observer estimates the distributed internal states of the fuel cell. The described online monitoring, is used in the control system, providing real-time insights on the fuel cell’s behavior and alerting the system to any faulty or critical conditions. To sum up, the following sections of this thesis build on the ideas presented in Publications A, B, and C. The use of a nonlinear state space model for predictive control, the creation of a higher-level reference governor to work with existing PI controllers, and <u>3</u> the use of a state observer for online monitoring together constitute a complex dynamic system. This thesis has the goal of contributing to the improvement of control methods for fuel cell systems in automotive applications, ensuring an optimal approach to power delivery, safety, and efficiency. 1.1.1 State-of-the-Art Review Overview of Modeling Approaches in PEMFC Systems Modeling is a fundamental aspect of understanding and optimizing PEMFC systems. Accurate models are essential for predicting system behavior, designing control strategies, and diagnosing issues [1]. Two primary modeling approaches are used in PEMFC research and application: lumped parameter models and distributed parameter models. Lumped parameter models simplify the representation of a fuel cell by aggregating all the physical phenomena into a single or a few states, often neglecting spatial variations [2]. These models are typically zero-dimensional, treating the system as if it has no spatial extension. This simplification makes lumped models computationally efficient, allowing for real-time simulation and control applications [3]. They are particularly useful in control design due to their reduced complexity and ease of integration into control algorithms like Proportional-Integral-Derivative (PID) and Model Predictive Control (MPC) [4]. However, the primary limitation of lumped models is their inability to capture spatial variations within the cell, such as temperature gradients and uneven reactant distribution, which can lead to less accurate predictions under varying operating conditions [5]. In contrast, distributed parameter models provide a more detailed representation by incorporating spatial dimensions into the model [6]. These models are typically onedimensional (1D), two-dimensional (2D), or even three-dimensional (3D), capturing the variations in physical properties across the fuel cell [7]. For example, quasi-2D models can describe phenomena like gas distribution and membrane hydration more accurately, which are crucial for understanding and predicting fuel cell performance and degradation [8]. Distributed models are more complex and computationally intensive, making them less suitable for real-time control applications but invaluable for detailed analysis and design optimization [9]. Lumped and distributed models serve different purposes in PEMFC research and application [10]. Lumped models are favored for their simplicity and real-time applicability, while distributed models are essential for detailed studies and precise diagnostics [11]. Hybrid modeling approaches aim to combine the strengths of both, using lumped models for control and distributed models for monitoring and diagnostics [12]. These integrated models allow for comprehensive system analysis and control, balancing the need for <u>4</u> <u>1.1</u> <u>Motivation</u> <u>and</u> <u>Problem</u> <u>Statement</u> detail and computational efficiency [13]. Control Strategies for PEMFC Systems Classical control techniques, such as Proportional-Integral-Derivative (PID) controllers, have been widely used in PEMFC systems due to their simplicity and ease of implementation [14]. These controllers adjust the control inputs based on the error between a measured process variable and a desired setpoint, providing a straightforward mechanism to maintain desired operating conditions [15]. However, PID controllers may struggle with the nonlinearities and multivariable interactions inherent in fuel cell systems [16]. The tuning of PID parameters involves balancing response time, stability, and overshoot, which can be challenging to optimize [17]. Model Predictive Control (MPC) offers a significant advancement over classical control methods, particularly for complex systems like PEMFCs [18]. MPC uses a dynamic model of the system to predict future behavior and optimize control inputs over a specified time horizon [19]. Notable variants of MPC in PEMFC applications include SLMPC and RG-MPC [20, 21]. SLMPC effectively handles the nonlinear characteristics of fuel cells by updating the linear model at each control step, reflecting the current operating point [22]. RG-MPC provides setpoints for subordinate controllers, ensuring safe and efficient system operation through a layered approach that handles constraints and disturbances, enhancing system robustness [21, 23]. Adaptive and robust control strategies address uncertainties and variabilities in PEMFC systems [24]. Adaptive control adjusts its parameters in real-time based on changes in system dynamics, making it suitable for scenarios with varying system characteristics, such as load changes or degradation over time [25]. Robust control aims to maintain performance despite uncertainties and disturbances, with techniques like H-infinity control and sliding mode control being explored in PEMFC applications [26]. These approaches ensure system stability and performance under adverse conditions [27]. In summary, the choice of control strategy for PEMFC systems depends on the specific requirements of the application, including the need for real-time response, robustness to disturbances, and computational resources. The trend towards integrating advanced control methods with classical approaches offers a balance between simplicity and performance [28]. Monitoring and Diagnostic Techniques in PEMFC Systems State estimation, virtual sensing, and diagnostic algorithms are critical aspects for the effective monitoring and control of PEMFC systems [29]. Due to the inherent complexity of these systems, not all internal states can be directly measured [30]. State observers, <u>5</u> such as Kalman filters and Luenberger observers, are commonly used to estimate unmeasurable states [31]. These observers leverage mathematical models and available measurements to provide estimates of crucial internal states like membrane hydration levels, reactant concentrations, and temperature distributions [32]. Advanced observers, including nonlinear and unscented Kalman filters, can accommodate the nonlinearities present in PEMFC systems, offering more accurate and reliable state estimations [33]. Virtual sensing methods have become increasingly significant in PEMFC systems, especially for parameters that are difficult or impossible to measure directly [34]. High-order distributed-parameter models are particularly useful as they account for spatial variations within the fuel cell [35, 36]. Virtual sensors estimate critical internal states such as the local current density and gas concentration profiles, which are essential for optimizing fuel cell performance. There are close to none publications on the topic as the problem of PEMFC distributed states estimation is quite novel and an integral part of this dissertation. The accuracy and reliability of these estimates are to be validated through comparisons with physical sensors and empirical data. Effective fault detection and diagnosis are essential for maintaining the safety and efficiency of PEMFC systems [37]. Diagnostic algorithms analyze data from sensors and virtual sensors to detect anomalies indicative of faults or degradation. The use of machine learning and data-driven methods in these algorithms enhances the accuracy and speed of fault diagnosis [38]. By learning from historical data, these algorithms can identify patterns associated with specific faults, facilitating early detection and intervention [39]. Additionally, model-based approaches utilize detailed physical models to diagnose faults by identifying deviations from expected behavior [40]. The integration of diagnostic algorithms with control systems allows for proactive management, reducing downtime and extending the life of PEMFC systems [41]. In conclusion, the combination of state estimation, virtual sensing, and diagnostic algorithms provides a robust framework for the real-time monitoring and fault management of PEMFC systems. These techniques are vital for ensuring the reliability and efficiency of fuel cells, supporting their broader adoption in various applications. Computational and Modeling Challenges Accurate modeling of PEMFC systems is complex due to the nonlinear and multivariable nature of the processes involved [42]. High-fidelity models that can accurately predict system behavior often require significant computational resources, making real-time application challenging [43]. This is particularly problematic for control and monitoring systems that need to operate in real-time to ensure safe and efficient operation [44]. Model reduction techniques and the development of efficient algorithms are essential to make these high-fidelity models usable in practical applications [45, 35]. However, these <u>6</u> <u>1.1</u> <u>Motivation</u> <u>and</u> <u>Problem</u> <u>Statement</u> approaches often involve trade-offs between accuracy and computational feasibility. 1.1.2 Problem Statement As the focus of this dissertation, the following questions explore optimizing the control and monitoring of PEMFC systems in real-world automotive applications. Addressing dynamic challenges posed by varying power demand and internal states, these questions aim to contribute valuable insights to the advancement of fuel cell technology. Main Question How can the control and monitoring of polymer electrolyte membrane fuel cell systems in real-world automotive applications be optimized to ensure safe and efficient operation, addressing the dynamic challenges posed by varying power demand and internal states? Subordinate Questions 1. What innovative control strategies, especially those utilizing SLMPC, can be employed to effectively track transient power demand in PEMFC stacks while simultaneously ensuring safe operation through adherence to imposed safety constraints? Addressing the transient power demand of PEMFC stacks requires innovative control strategies capable of dynamically adjusting to changing conditions. The use of SLMPC, with its ability to linearize the nonlinear fuel cell system in real-time, stands as a potential solution. This question explores the specific control strategies that can robustly track power demand while ensuring the safety of the PEMFC system. 2. How can existing Proportional-Integral control schemes for fuel cell stacks in automotive applications be upgraded without the need for a complete interface rebuild, and what role does a real-time capable RG-MPC play in providing efficient and safe power control solutions? Upgrading existing control schemes without rebuilding interfaces is a challenge in automotive applications. This question delves into the potential of RG-MPC as a real-time capable controller, investigating its role in providing efficient and safe power control solutions. Understanding the mechanisms for upgrading PI control schemes is crucial for practical implementation in real-world fuel cell vehicles. <u>7</u> 3. In the context of online monitoring for fuel cell systems, what approaches, such as the reduced - dimensionality nonlinear distributed parameter observer, can be utilized to efficiently correct predicted quantities based on high-order distributed-parameter fuel cell models, enabling the robust and computationally efficient monitoring of internal phenomena like reactants’ starvation and membrane dryout? Monitoring fuel cell systems online is essential for ensuring reliable and efficient operation. This question explores the use of reduced-dimensionality nonlinear distributed-parameter observers to correct predicted quantities. Understanding how such approaches efficiently monitor internal phenomena, including reactants’ starvation and membrane dryout, is critical for enhancing the overall performance and longevity of PEMFC systems. #### 1.2 Goals The contribution of this dissertation is to better understand and provide improvement to the control as well as the monitoring of fuel cell systems in automotive applications. The main goals are as follows: - Real-Time Control Improvement with RG-MPC: This project is about creating a better way to control fuel cell systems in cars using a real-time reference governor model predictive controller (RG-MPC). The goal is to improve how traditional controllers, like proportional-integral ones, work by adding an extra layer with RG-MPC. This new setup helps make smarter control decisions while handling different factors at the same time. We’ll test how well it works and how safe it is by trying it out in real driving situations. - Integration of PI Dynamics and Successive Linearization: This study focuses on combining Proportional-Integral control dynamics into the RG-MPC controller. The aim is to ensure that the control commands work well with existing systems. The technique of successive linearization will be used to handle the complex behavior of the fuel cell model during real-time operations, improving control accuracy. - Observer-Based Internal State Estimation: A key aspect of this research is developing a method to estimate the internal states of fuel cell systems. Using a detailed fuel cell model, the goal is to create an algorithm that predicts and corrects internal conditions. This includes monitoring critical issues like reactant starvation and membrane issues, thus enhancing the reliability and safety of fuel cell operations. - Efficient Observer Algorithm with Model Reduction: The project aims to create a computationally efficient observer algorithm for estimating internal states, using model reduction techniques like Balanced Truncation. This approach will address <u>8</u> <u>1.3</u> <u>Methodology</u> the complexity of high-dimensional models and provide accurate state estimates in real-time. - Validation and Real-World Application: The final phase involves validating the proposed control and observation methods through simulations and real-world tests. The goal is to demonstrate the practical benefits of the RG-MPC and observer algorithms in managing safe and efficient fuel cell operations, particularly in automotive contexts. In summary, this dissertation aims to advance fuel cell control and monitoring methods, setting new standards for their use in automotive applications. The research intends to contribute significantly to the development of cleaner and more sustainable energy solutions. #### 1.3 Methodology The main result of this thesis is achieving safe and efficient control by using a highlevel controller and internal state monitoring through an observer. This includes specific results in system modeling, controller design, and observer design. Each method is briefly described in this section, and more details can be found in the related publications. 1.3.1 Fuel Cell System Modeling In this section, two distinct models, integral to our research, will be presented. Firstly, the zero-dimensional lumped parameter model, utilized for the controller design, will be introduced. All the details of this model, including the definitions of the state, input, and output vectors, as well as the state and output equations, can be found in [46, 22]. Next, a quasi two-dimensional model employed in the design of the observer will be discussed. For an in-depth understanding of this model and its intricacies, references [8, 35] are recommended for further exploration of the details and implications. These two models collectively constitute essential components of our research framework, with each playing a unique role in shaping the overall methodology employed in this study. Zero-dimensional lumped parameter model The zero-dimensional dynamic fuel cell stack model is mathematically represented as a nonlinear state space model, striking a balance between computational efficiency and accuracy. The model captures fundamental dynamics, denoted by the following state and output equations: <u>9</u> _x_ ˙ = _f_ ( _x_ _,_ _u_ ) (1.1) _y_ = _h_ ( _x_ _,_ _u_ ) (1.2) Here, _x_ represents the state vector, _u_ is the input vector, and _y_ denotes the outputs of the system. The state equation _x_ ˙ = _f_ ( _x_ _,_ _u_ ) encapsulates the system’s dynamic evolution, while the output equation _y_ = _h_ ( _x_ _,_ _u_ ) provides a description of the system’s outputs. These equations together define the zero-dimensional model, enabling an accurate representation of gas dynamics, diffusion processes, and membrane humidification within the fuel cell stack. The state, input and output vectors are defined as: _em_ _am,d_ _m_ <sup>_GDL_</sup> _O_ 2 _m_ <sup>_GDL_</sup> _N_ 2 _m_ <sup>_GDL_</sup> _vap_ _p_ <sup>_ca_</sup> _sm_ _sm_ _m_ <sup>_ca_</sup> _O_ 2 _m_ <sup>_ca_</sup> _N_ 2 _m_ <sup>_ca_</sup> _vap_ _m_ <sup>_ca_</sup> _liq_ _liq_ _p_ <sup>_ca_</sup> _em_ _p_ <sup>_an_</sup> _sm_ _Win_ <sup>_ca_</sup> _Win_ <sup>_an_</sup> _αca_ _I_  _y_ =  _Pnet_ Δ _p_ _ηsys_   _._ (1.3)     _x_ =   _sm_ _m_ <sup>_an_</sup> _H_ 2 _m_ <sup>_an_</sup> _N_ 2 _m_ <sup>_an_</sup> _vap_ _m_ <sup>_an_</sup> _liq_ _u_ = _liq_ _p_ <sup>_an_</sup> _em_   _vap_ The structure of the model is presented in Figure 1.1. Some key components of the model include: - Gas Dynamics in Cathode and Anode: – Described by interconnected zero-dimensional volumes. – Captures the essential gas flow and reactions within the cathode and anode compartments. - Gas Diffusion Layer on the Cathode Side: – Considers the diffusion of gases through the gas diffusion layer on the cathode side. – Accounts for the impact of this diffusion on the overall performance of the fuel cell. <u>10</u> <u>1.3</u> <u>Methodology</u> Figure 1.1: Fuel cell zero-dimensional model - Transient Membrane Humidification: – Models the dynamic humidification of the membrane. – Recognizes the influence of membrane humidity on the overall behavior of the fuel cell stack. Parameterization Methodology: The zero-dimensional model undergoes an experimental parameterization process to align it with real-world behavior. The methodology involves approximating the nonlinear fuel cell stack model using multiple local linear models obtained through analytic linearization. These local linear models are then incorporated into the state and output equations, ensuring continuous differentiability for real-time applicability. Spatial Considerations: While the zero-dimensional model provides an efficient representation, it does come with inherent limitations. The lumped volume approach restricts the simulation from accounting for spatially resolved information. Pressure and concentration gradients along the channel, as well as the effects and transport mechanisms of liquid water, are not fully captured in this simplified model. Integration into System Simulation: Once parameterized, the zero-dimensional stack model is seamlessly integrated into a larger system simulation. This integration considers additional dynamics, such as com <u>11</u> pressor dynamics, feedback controllers for pressure control, and the purging strategy. The resulting virtual fuel cell system is then subjected to the same dynamic set point demand trajectories as a real fuel cell vehicle, facilitating comprehensive validation. Role in Model Predictive Control (MPC): For applications such as Model Predictive Control (MPC), which involves solving an online optimization problem for real-time decision-making, the choice of a zero-dimensional model is imperative. The computational demands of MPC necessitate a model that can provide predictive insights in real-time. A higher-dimensional model, while potentially more accurate, would be computationally prohibitive for the real-time constraints imposed by MPC. The zero-dimensional model’s ability to balance accuracy and computational efficiency makes it a crucial asset for fuel cell systems where online optimization is essential for dynamic control and decision-making. Quasi two dimensional distributed parameter model In this section, the distributed parameter fuel cell model from [8] which is the underlying model of the observer is described. The model is splitted into several domains, shown in Figure 1.2. These domains are the cathode and anode channels, the cathode and anode gas diffusion layers and the membrane. Figure 1.2: The quasi-2D fuel cell model and its spatial discretization All the details of the model are given in[8, 35]. The model is called quasi-2D because of its indepentent discretization directions along and across the channels. THe model is assumed to be isothermal, with a controlled temperature. In this case, liquid water is not considered, but membrane drying and flooding can be estimated using the membrane water content. Gas channels and GDL nodes described by variables such as gas velocity, mass fractions (oxygen, hydrogen, nitrogen, water vapor), gas pressure, and gas density. The model includes local current density computed for each slice and cell voltage as an aggregated <u>12</u> <u>1.3</u> <u>Methodology</u> state. The system matrix sparsity pattern shows the interdependency of model domains (gas channels, slices) and their coupling, shown in Figure 3 of Publication C. The presented model aims to capture the behavior of a fuel cell, considering key physical and operational aspects while facilitating computational efficiency through the use of quasi-2D spatial discretization and linearization techniques. Considering all the modelling details, the resulting model structure is: _x_ _k_ = _f_ Q2D( _x_ _k−_ 1 _,_ _u_ _k−_ 1) (1.4) _yk_ = _Cx_ _k_ (1.5) with _x_ containing several hundred states mentioned in the paragraph before, _u_ containing the boundary conditions of the system such as the pressure and gas composition at the system boundary. The output _y_ is considered to be the voltage in this research work. This model will later on be used for developing a state observer. 1.3.2 Model Predictive Control (MPC) Techniques Successive linearization model predictive control Fuel cell systems are complex, mainly due to their electrochemical processes and dynamic behaviors. Unlike simpler linear systems, fuel cells are inherently nonlinear, making it challenging to optimize their performance using traditional linear Model Predictive Control. To tackle this issue, Successive Linearization Model Predictive Control has become a valuable method specifically designed for the nonlinear dynamics of fuel cells. Fuel cells play a crucial role in converting chemical energy into electrical power for various applications, from stationary power generation to transportation. However, their nonlinear nature, influenced by intricate electrochemical reactions, heat transfer, and mass transport phenomena, requires control strategies that can adapt to changes and handle complex interactions. Traditional linear MPC, designed for simpler systems, struggles to effectively manage the complexities of fuel cell dynamics due to the inherent nonlinearities. SLMPC addresses this challenge by iteratively linearizing the nonlinear system dynamics around the current operating point. This iterative approach ensures that the controller remains adaptable to changes in the fuel cell’s behavior, providing a robust framework for optimal control. This explanation explores the mathematical basis of SLMPC for fuel cell systems, showing how it can handle the nonlinearities in these devices. By discussing the limitations of linear MPC and the need for a specialized approach, we introduce SLMPC as a tool that can effectively manage the unique characteristics of nonlinear fuel cell systems. <u>13</u> In this part, the zero-dimensional fuel cell model was used for developing the controller [22, 47, 21]. The continuous-time state space model is shown in Equation (1.2), but it is repeated here for clarity: _x_ ˙ = _f_ ( _x_ _,_ _u_ ) (1.6) _y_ = _h_ ( _x_ _,_ _u_ ) _._ (1.7) In the process of developing a Successive Linearization Model Predictive Controller for fuel cell systems, the linearization of the model plays a crucial role. Unlike traditional linearization methods, successive linearization adopts a dynamic approach, performing linearization not just at a single operating point but at every time step throughout the system’s operation. At each time step, denoted as _k_, the model is linearized around the current state _x_ _k_ and control input _u_ _k_ . This continuous adaptation to the changing operating conditions allows the SLMPC to effectively capture the evolving dynamics of the fuel cell system. The linearized model takes the form: _x_ ˙ _≈_ _A_ _k ·_ ( _x_ _−_ _x_ _k_ ) + _B_ _k ·_ ( _u_ _−_ _u_ _k_ ) (1.8) Simultaneously, the linearization of the output equation _y_ = _h_ ( _x_ _,_ _u_ ) is performed, resulting in: _y_ _≈_ _C_ _k_ ( _x_ _−_ _x_ _k_ ) + _D_ _k_ ( _u_ _−_ _u_ _k_ ) (1.9) Here, _A_ _k_, _B_ _k_, _C_ _k_, _D_ _k_ represent the Jacobian matrices, which quantify the system’s sensitivity to changes in state and control input. This dynamic linearization process ensures that the controller remains responsive to variations in the system, providing a more accurate representation of the fuel cell dynamics at each time step. This dynamic approach is a key characteristic of the SLMPC, allowing it to adapt to the inherently nonlinear nature of fuel cell systems and enhance its effectiveness in achieving control objectives. The continuous linearization process contributes to the controller’s ability to navigate through various operating conditions, making it a robust solution for real-time control in dynamic environments. The next step in the development of the Successive Linearization Model Predictive Controller for fuel cell systems involves discretizing the continuous-time model. This step is crucial because our model predictive control algorithm is specifically designed and developed in discrete time. At each time step _k_, the discretized model is expressed as: <u>14</u> <u>1.3</u> <u>Methodology</u> Δ _x_ _k_ +1 = _A_ _d_ Δ _x_ _k_ + _B_ _d_ Δ _u_ _k_ (1.10) Δ _y_ _k_ = _C_ _d_ Δ _x_ _k_ + _D_ _d_ Δ _u_ _k_ (1.11) Here, _A_ _d_, _B_ _d_, _C_ _d_ and _D_ _d_ are the discretized versions of the system matrices obtained through discretization. This transformation from continuous to discrete time is imperative to align the fuel cell system model with the discrete-time nature of the model predictive control algorithm. The Δ variables denote the deviation from the current trajectory point. Discretization allows the SLMPC to effectively operate within the discrete-time framework of the MPC algorithm, ensuring seamless integration between the predictive control strategy and the system dynamics. It facilitates the translation of control actions into discrete steps, enabling the controller to make real-time decisions and adjustments based on the discretized model. The discrete-time formulation enhances the computational efficiency and practical implementation of the SLMPC, making it well-suited for real-world applications where controllers operate in discrete intervals. The integration of discretization ensures that the fuel cell system responds optimally to control inputs within the discrete-time context, contributing to the overall effectiveness of the SLMPC algorithm in achieving control objectives. The formulation of the Model Predictive Controller involves defining the prediction and control horizons ( _Np_ and _Nc_ ), selecting tuning matrices ( _Q_ and _R_ ), and formulating the cost function: (1.12) _J_ = _N_ - _p−_ 1 _i_ =0 ( _y_ _i −_ _y_ ref _,i_ ) <sup>_T_</sup> _Q_ ( _y_ _i −_ _y_ ref _,i_ ) + (Δ _u_ _i_ ) <sup>_T_</sup> _R_ (Δ _u_ _i_ ) Here, _y_ _i_ is the predicted output at time step _i_, _y_ ref _,i_ is the defined control goal, and Δ _u_ _i_ is the predicted control input increment. The matrices _Q_ and _R_ weigh the importance of output and control effort, respectively. The solution for Δ _u_ _i_ is given by the equation: Δ _u_ _i_ = argmin Δ _u_ _i_ _J_ s.t. constraints (1.13) This optimization process ensures that the control input increment is determined in a way that minimizes the cost function _J_ while satisfying specified constraints, thereby achieving effective control objectives. <u>15</u> Defining control goals is a crucial aspect of the Successive Linearization Model Predictive Controller. The controlled output, represented by _y_, encompasses key performance indicators of the fuel cell system. In this context, _y_ is a vector containing the following physical quantities: _P_ net Δ _p_ _η_ sys   _y_ =   Here, _P_ net represents the net system power, and it is noteworthy that, in this research, _P_ net is obtained directly from an actual vehicle. The control objectives for Δ _p_ are to maintain it at 200 mbar, and for _η_ sys, the goal is to maximize its value. These control goals, denoted by _y_ ref, are summarized in Table 1.1. They create a challenging scenario as delivering the required net power demand, maintaining a specific pressure difference, and maximizing system efficiency are conflicting objectives. The challenge lies in developing a control strategy that optimally balances these competing goals over the prediction horizon. The control objectives guide the SLMPC in minimizing deviations of the predicted output _y_ _i_ from the reference trajectory _y_ ref _,i_, considering the inherent trade-offs between these conflicting goals. This intricate balance is crucial for effective and robust control of the fuel cell system. <u>Quantity</u> <u>Variable</u> <u>Actual</u> <u>Goal</u> <u>Net</u> <u>System</u> <u>Power</u> _<u>P</u>_ <u>net</u> <u>Given</u> <u>by</u> <u>the</u> <u>actual</u> <u>vehicle</u> <u>Pressure</u> <u>Difference</u> <u>Δ</u> _<u>p</u>_ <u>Maintain</u> <u>at</u> <u>200</u> <u>mbar</u> <u>System</u> <u>Efficiency</u> _<u>η</u>_ <u>sys</u> <u>Maximize</u> Table 1.1: Control Goals In the Successive Linearization Model Predictive Controller, constraints play a crucial role in shaping the behavior of the fuel cell system. The system variables, represented by _m_ (masses of the reactants) and _p_ (absolute pressures of the cathode and anode channels), are subject to certain limitations. The constraints can be explicitly defined as follows: <u>Variable</u> <u>Constraint</u> _<u>m</u>_ <u>1 g</u> _<u>≤</u>_ _<u>m</u>_ <u>(No</u> <u>upper</u> <u>limit)</u> _<u>p</u>_ <u>1 bar</u> _<u>≤</u>_ _<u>p ≤</u>_ <u>2</u> _<u>.</u>_ <u>4 bar</u> <u>Δ</u> _<u>p</u>_ <u>100 mbar</u> _<u>≤</u>_ <u>Δ</u> _<u>p ≤</u>_ <u>300 mbar</u> Table 1.2: Explicit Constraint Definition <u>16</u> <u>1.3</u> <u>Methodology</u> Here, the mass constraint specifies that the mass of oxygen and hydrogen must be at least 1 g, with no upper limit. The absolute pressures _p_ are constrained to be within the range of 1 bar to 2.4 bar, ensuring safe operation. The pressure difference Δ _p_ is bounded between 100 mbar and 300 mbar, contributing to the stability of the fuel cell system. Incorporating these constraints into the optimization problem is essential for the SLMPC algorithm to generate control inputs that meet the control goals while staying within the system’s physical limits. This balance between control goals and constraints is key to a strong and effective control strategy for fuel cell systems. The control problem becomes a quadratic programming (QP) problem when using the Successive Linearization Model Predictive Controller and the `qpOASES` solver. The main goal is to minimize a quadratic cost function, which measures how much the system outputs deviate from the desired paths while also considering the control effort. This cost function has specific constraints, such as keeping reactant masses and channel pressures within set limits. The optimization problem involves finding the best changes to the control inputs, represented by Δ _u_ _i_, over a given prediction horizon. The QP formulation includes weighting matrices, _Q_ and _R_, which balance tracking accuracy and control effort. The `qpOASES` solver efficiently solves this QP problem, providing a solution that respects the system’s dynamics and constraints. By using QP techniques, the SLMPC effectively guides the fuel cell system towards the desired performance while adhering to operational limits, showing the effective combination of mathematical optimization and real-time control strategies. Reference governor model predictive control This part builds up on the previous one, where the SLMPC is explained. The controller is extended to incorporate PI controllers. In real-world fuel cell test stations, the implementation of multivariate ProportionalIntegral controllers introduces challenges that stem from the lack of coordination between individual controllers. Oscillations, instabilities, and unpredictable interactions emerge as each PI controller operates independently, unaware of the behavior of the others. This uncoordinated approach often leads to suboptimal performance, as the controllers cannot adapt to changes in one another’s outputs, creating a system prone to overshooting, undershooting, and oscillatory behavior. To address the limitations of the conventional multivariate PI control setup, a more sophisticated control strategy is proposed. Building upon the state space model in Equation (1.2), this approach incorporates integrator states corresponding to two PI controllers responsible for regulating cathode and anode pressures. Specifically, one PI controller manipulates the cathode pressure via the backpressure valve, while the other <u>17</u> PI1 PI1 ... PIn Fuel cell system Inputs Outputs Fuel cell model States Reference governor model predictive controller Subordinate references - Power demand - Safety constraints - Efficiency requirements Figure 1.3: Safe and efficient general reference governor model predictive con troller manages the anode pressure by adjusting the inlet hydrogen mass flow. This extension augments the control framework by accounting for the integrative dynamics introduced by the PI controllers, offering a more comprehensive representation of the system. In order to overcome the challenges associated with multivariate PI control, a superior solution is introduced - the implementation of a Reference Governor Model Predictive Controller. Unlike traditional PI controllers operating in isolation, the Reference Governor MPC acts as a centralized management system. This advanced controller, equipped with a deep understanding of the dynamics of the PI controllers, provides references to the individual controllers. Consequently, the PI controllers are no longer operating in isolation, but rather, they are seamlessly coordinated and managed by the Reference Governor MPC. This integration ensures that each PI controller is cognizant of the actions of the other, facilitating a synchronized and optimized control strategy for the fuel cell system. The result is a more robust and efficient control framework that mitigates the challenges associated with multivariate PI control in fuel cell test stations, offering improved stability and performance. The structure of the RG-MPC is shown in Figure 1.3. The PI controllers do the following acton on the cathode backpressure valve <u>18</u> <u>1.3</u> <u>Methodology</u> opening _αca_ and the hydrogen inlet massflow _Win_ <sup>_an_</sup> _in_ <sup>_an_</sup> <sup>:</sup> _sm_ <sup>_ca_</sup> <sup>)</sup> <sup>_dτ_</sup> (1.14) _αca_ = _Kp,ca_ ( _p_ <sup>_ca_</sup> _sm_ <sup>_ca_</sup> <sup>) +</sup> <sup>_Ki,ca_</sup> <sup>_ca_</sup> _sm,ref_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> - _t_ 0 <sup>(</sup> <sup>_p_</sup> _sm,ref_ <sup>_ca_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> _sm_ <sup>_an_</sup> <sup>)</sup> <sup>_dτ._</sup> (1.15) _Win_ <sup>_an_</sup> <sup>_an_</sup> _sm,ref_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> _sm_ <sup>_an_</sup> <sup>) +</sup> <sup>_Ki,an_</sup> _in_ <sup>_an_</sup> <sup>=</sup> <sup>_Kp,an_</sup> <sup>(</sup> <sup>_pan_</sup> - _t_ 0 <sup>(</sup> <sup>_p_</sup> _sm,ref_ <sup>_an_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> The integrals _Ica_ = - _t_ 0 <sup>(</sup> <sup>_pca_</sup> _sm,ref_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> _sm_ <sup>_ca_</sup> <sup>)</sup> <sup>_dτ_</sup> <sup>and</sup> <sup>_Ian_</sup> <sup>=</sup> - _t_ 0 <sup>(</sup> <sup>_pan_</sup> _sm,ref_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> The integrals _Ica_ = 0 <sup>(</sup> <sup>_pca_</sup> _sm,ref_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> <sup>)</sup> <sup>_dτ_</sup> <sup>and</sup> <sup>_Ian_</sup> <sup>=</sup> 0 <sup>(</sup> <sup>_pan_</sup> _sm,ref_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> <sup>)</sup> <sup>_dτ_</sup> <sup>are included in the</sup> state vector of the system. The inputs optimized by the RG-MPC do not longer include the hydrogen inlet massflow and the cathode backpressure valve opening. Instead, the references provided to the PI controllers are being optimized, namely _p_ <sup>_ca_</sup> _sm,ref_ <sup>and</sup> <sup>_p_</sup> _sm,ref_ <sup>_an_</sup> <sup>.</sup> <sup>_ca_</sup> _sm,ref_ <sup>and</sup> <sup>_pan_</sup> references provided to the PI controllers are being optimized, namely _p_ <sup>_ca_</sup> _sm,ref_ <sup>and</sup> <sup>_p_</sup> _sm,ref_ <sup>_an_</sup> <sup>.</sup> This is clearly shown in Equation (1.16). _vap_ _Ica_ _Ian_ _p_ <sup>_ca_</sup> _sm_ _sm_ _m_ <sup>_ca_</sup> _O_ 2 _m_ <sup>_ca_</sup> _N_ 2 _m_ <sup>_ca_</sup> _vap_ _m_ <sup>_ca_</sup> _liq_ _liq_ _p_ <sup>_ca_</sup> _em_ _p_ <sup>_an_</sup> _sm_ _sm,ref_ _Win_ <sup>_ca_</sup>   _in_ _p_ <sup>_an_</sup> _sm,ref_ _sm,ref_ _p_ <sup>_ca_</sup> _sm,ref_ _x_ =   _sm_ _m_ <sup>_an_</sup> _H_ 2 _m_ <sup>_an_</sup> _N_ 2 _m_ <sup>_an_</sup> _vap_ _m_ <sup>_an_</sup> _liq_ _u_ =  (1.16)  _liq_ _p_ <sup>_an_</sup> _em_ _I_ _em_ _am,d_ _m_ <sup>_GDL_</sup> _O_ 2 _m_ <sup>_GDL_</sup> _N_ 2 _m_ <sup>_GDL_</sup> _vap_   In addition to all the safety requirements already laid out in the SLMPC section, important efficiency requirements are imposed. The reason is obvious. Efficient operation of a fuel cell system involves careful consideration of various components, and one critical aspect is the minimization of compressor power. Compressors play a pivotal role in maintaining optimal operating conditions by ensuring the appropriate pressure levels for reactants. However, excessive power consumption by the compressor can significantly impact the overall efficiency of the system. By optimizing the compressor operation, the system achieves a delicate balance between energy consumption and maintaining the necessary pressures for fuel cell performance. Operational efficiency is further enhanced by focusing on low electrical currents within the fuel cell system. Lower electrical currents reduce resistive losses, contributing to <u>19</u> improved overall efficiency. This consideration is particularly crucial in the design and implementation of stack configurations, where minimizing internal resistance is key to minimizing hydrogen consumption. Optimizing voltage levels is a fundamental approach to improving the efficiency of fuel cell systems. By carefully selecting operating conditions, such as higher pressures, the voltage output of the system can be increased. Higher pressures contribute to improved mass transport within the fuel cell, facilitating more efficient electrochemical reactions. This strategic choice of operating conditions allows the system to generate higher voltage levels, enhancing overall energy conversion efficiency. Moreover, this approach aligns with the broader goal of maximizing power density and performance while maintaining system stability. However, the controller may choose to operate at either lower or higher pressures depending on the dangerous operating zones instructed to the controller. An example can be seen in one of the results of the control operation compared to the reference vehicle in Figure 11 of Publication B. 1.3.3 Reduced-dimensionality Distributed-parameter Observer Fuel cell systems, crucial for sustainable energy, demand precise monitoring for reliable operation. Traditional lumped-parameter models often employ a single variable to describe internal parameters like hydrogen concentration. However, these models fall short when attempting to capture spatial distribution information crucial for understanding phenomena such as reactants’ starvation, membrane dryout/flooding, and nitrogen accumulation within the fuel cell. The challenge lies in the placement of sensors within the fuel cell to monitor these phenomena directly. To address this, this thesis opts for virtual sensing using a high-order distributed-parameter fuel cell model. Unlike lumped-parameter models, distributedparameter models account for spatial variations in internal states, making them more suitable for capturing local phenomena within the system. For this reason, the distributed model explained before, is used. The observer has the job of estimating unmeasurable internal states of the fuel cell system, such as local current density, species concentrations and membrane water content. These states are critical for understanding and optimizing the fuel cell’s performance. The employed model is a straight channel isothermal distributed parameter fuel cell model, validated beforehand against Computational Fluid Dynamics (CFD) simulations. For details on this topic, the reader is referred to [8]. The observer’s goal is to predict these internal states using available measurement signals (in this case, the voltage signal and the boundary conditions of the system) and an <u>20</u> <u>1.3</u> <u>Methodology</u> Figure 1.4: Reduced dimensionality distributed nonlinear fuel cell observer. appropriate algorithm, in this case, the Extended Kalman Filter. The observer operates based on a coarse-grid version of the model, which inherently introduces a plant-model mismatch. The task is to minimize the difference between the measured output signal (voltage) from a fine-grid model (simulated reality) and the predicted output from the coarse-grid model. Successful minimization implies that the coarse-grid model effectively estimates the internal states, considering the model has been validated against reality. The structure of the observer with the two models of different resolutions can be seen in Figure 1.4. For systems with a large number of states, like the fuel cell system in question, it is impractical to correct each individual state freely. Tuning the observer for hundreds of states becomes a daunting task, risking disproportional corrections that may lead to unrealistic system behavior. Model reduction becomes necessary to identify and focus on the dominant dynamics of the system. By extracting only a few principal modes of the system, the observer can make corrections in the direction of these modes, avoiding the challenge of individually tuning numerous states. This not only streamlines the computational efficiency of the observer algorithm but also ensures a more realistic and manageable correction process for large-scale systems. The reduction in complexity allows for a more effective estimation of the distribution of internal states in the fuel cell system. <u>21</u> 1.3.4 Validation and Simulation Framework In this part, the validation of the previously explained concepts is detailed. Firstly, the performance of the proposed controller is showcased, accompanied by the presentation of selectively chosen results obtained from Publications A and B. Subsequently, an evaluation of the efficacy of the distributed observer is provided, elucidating upon the investigative outcomes highlighted in Publication C. This segment serves as the conclusion of the Methodology section, laying the groundwork for the subsequent original publications where the comprehensive extent of the research is detailed. Safe and Efficient MPC To evaluate the effectiveness of our control algorithm, we used data collected from a real fuel cell vehicle. This included power demand, voltage, pressure difference, and current measurements. This comprehensive dataset was carefully compared to validate our control method and determine its accuracy. However, it’s important to note that our model has certain limitations. It cannot fully represent the complexity and unique aspects of the entire vehicle system. The vehicle operates with a sophisticated control structure that includes basic purging strategies, as well as several finely tuned PI controllers, all working together to manage the system. <u>Net system power</u> Time in s Figure 1.5: Net power tracking compared with a vehicle. (Reproduced from Publication B [21], with permission.) Despite these complexities, it’s encouraging to observe our controller successfully meeting the power demand, mirroring the vehicle’s performance (see to Figure 1.5). Notably, our controller achieves this while adhering to the safety and efficiency conditions discussed earlier, underscoring its practical viability. For a complete understanding of our research findings, readers are referred to Publications A and B, which explore the details of our model. A key example is the control of the pressure difference across the membrane, an important factor in fuel cell operation. With a target value set at 200 mbar and a safety margin of _±_ 100 mbar in our MPC <u>22</u> <u>1.3</u> <u>Methodology</u> <u>Pressure difference across the membrane</u> 0.4 0.2 0 -0.2 -0.4 Vehicle RGMPC Constraints 450 500 550 600 650 Time in s <u>10</u> <sup>-3</sup> <u>Hydrogen inlet mass-flow</u> 3 2 1 0 450 500 550 600 650 Time in s 0 450 500 550 600 650 Time in s 1 0.8 0.6 0.4 0.2 <u>Cathode backpressure valve</u> Figure 1.6: Performance in pressure difference control. (Reproduced from Pub lication B [21], with permission.) framework, Figure 1.6 clearly shows the challenge faced by the vehicle’s controller in keeping within these limits, since it doesn’t handle constraints well. In contrast, our controller, based on optimal control ideas, smoothly manages this issue during purging events. This promising performance extends the applicability of our controller to address the inherent nonlinear and multivariate challenges associated with fuel cell stack applications in vehicles. Furthermore, owing to its reference governor architecture, our controller offers the advantage of potential implementation without necessitating a complete overhaul of the existing interface. This achievement successfully addresses the initial two questions raised in the Problem Statement (section 1.1.2 of this thesis), laying the groundwork for future advancements in fuel cell control technology. Distributed observer Upon examining the results in Publications A and B, as well as a thorough review of current literature, it becomes clear that common approaches to management and observation of fuel cell systems mainly use a simplified method. A notable exception is seen in the work by Luna et al., where the tracking of internal conditions is methodically handled [36]. However, when the aim is to manage or observe the spatial details of internal conditions, especially crucial for evaluating wear, turning to a detailed parameter model becomes necessary. In this situation, we use the quasi-two-dimensional model described <u>23</u> in [8] as the basic structure for our state estimation efforts. Our approach incorporates 14 12 Time: 0 s Actual distribution Simulation 10 Observer 8 6 4 2 14 12 Time: 1 s 10 8 6 4 2 14 12 Time: 10 s 10 8 6 4 2 0 0.2 0.4 0.6 0.8 1 Channel length (normalised) Figure 1.7: Membrane water content distribution along the channel at different times. (Reproduced from Publication C [35], with permission.) two distinct resolutions of the model. The first, a coarse grid model, serves as the basis for the observer’s predictive function, essentially operating under the assumption that the coarse grid model faithfully represents the reality. The second resolution entails a fine grid model, which encapsulates the actual reality and constitutes the benchmark against which we aspire the observer to align its estimations. Notably, validation of the observer’s capability proves inherently challenging, given the impracticality of obtaining direct measurements within the fuel cell in real-world scenarios. While segmented cells permit local measurements of current density or temperature, real-time assessment of species concentrations or membrane humidity remains elusive. Consequently, for the validation of our conceptual framework, we resort to the utilization of a high-fidelity, fine grid model as a surrogate for our simulated reality. Detailed information, including video recordings showing the dynamic estimation of fuel cell states’ distribution, is covered in Publication C. Currently, we present select findings. In Figure 1.7, the effectiveness of the observer algorithm in estimating membrane water content over time is evident, shown by the agreement between the red and blue lines. The smoothness of this estimation comes from using model simplification techniques, carefully choosing key system behaviors. Notably, the lack of a zig-zag pattern highlights the comprehensive estimation of membrane water content, rather than the estimation of individual points. The green line, representing simulation without the observer, eventually matches the blue line, indicating stability, though deviations occur <u>24</u> <u>1.3</u> <u>Methodology</u> during operation, highlighting the importance of a state estimation tool like an observer. Additionally, it is significant that the red line matches the blue line even though the detailed grid model, represented by the latter, includes more points. This result emphasizes the strong robustness and observability achieved by our method. <u>25</u> #### 1.4 Summary of Scientific Publications In Publication A (2.1), the study tackles the issue of managing polymer electrolyte membrane fuel cell stacks for actual fuel cell vehicles, focusing on safe and efficient functioning under varying power demands. The emphasis is on the importance of hydrogen-powered fuel cells in the global shift to clean energy, with a particular focus on PEMFCs due to their high power density and efficiency. The research uses successive linearization-based model predictive control to manage the system’s nonlinearity during dynamic power demands. The control concept is validated with real vehicle data from a hydrogen-powered vehicle. The study involves simulations that incorporate safety and efficiency constraints, with SLMPC ensuring valid control across all operational ranges. The findings show that SLMPC effectively tracks power demand while maintaining safe and efficient operations, suggesting its potential for automotive fuel cell control applications. In Publication B (2.2), a real-time reference governor model predictive controller (RGMPC) is introduced for managing fuel cell (FC) systems in vehicles. The RG-MPC sets reference points for subordinate proportional-integral controllers, handling system constraints without extra layers. The study underscores the role of hydrogen-powered fuel cells in clean energy, particularly in automotive settings, where zero-emission PEM fuel cells are ideal due to their high power density and low operating temperatures. It reviews control methods, noting that rule-based and PI-based controls are common but highlights MPC’s ability to manage complex systems. The RG-MPC provides optimized guidance for PI controllers, as shown through simulations, ensuring efficient and safe power control in automotive FC systems. This approach offers an advanced yet practical upgrade to existing control systems, enhancing vehicle performance and cost-effectiveness. In Publication C (2.3), a method for monitoring internal states in fuel cell systems is proposed, addressing challenges related to sensor placement. The focus is on virtual sensing via an efficient state observer using a high-order distributed-parameter model. The observer algorithm adjusts predictions based on boundary measurements, emphasizing dominant dynamics from a reduced model for computational efficiency. The study critiques traditional measurement methods for internal states, highlighting their limitations and costs, and proposes a virtual sensing method using a state observer based on a quasi-2D model. The chosen observer algorithm, an extended Kalman filter (EKF), tackles issues associated with high-order models, employing balanced truncation to simplify computations while preserving essential system behaviors. The methodology’s validity is confirmed through simulations, demonstrating the observer’s effectiveness despite model mismatches. This study highlights the potential for practical applications in automotive settings, with future work aiming to include parameter estimation for enhanced robustness. “‘ <u>26</u> <u>1.5</u> <u>Scientific</u> <u>Contribution</u> <u>of</u> <u>This</u> <u>Thesis</u> #### 1.5 Scientific Contribution of This Thesis In this thorough study of fuel cell control and monitoring within real-world vehicle applications, three main studies have been done, together adding to the understanding and development of polymer electrolyte membrane fuel cell systems. The research offers the following key scientific contributions: - Innovative Control Strategy: The first study introduces a new method for PEMFC stack control using Successive Linearization Model Predictive Control. This method not only ensures the following of changing power demand but also ensures safe operation by following safety rules. - Real-time Ready Reference Governor: The second study introduces a Reference Governor Model Predictive Controller, setting reference paths for other controllers. This real-time ready controller offers an efficient and safe power control method for fuel cell stacks in vehicle applications, presenting a key improvement over current Proportional-Integral control methods. - Effective Online Monitoring: The third study tackles the problem of online monitoring of fuel cell systems. The suggested lower-dimensionality nonlinear observer effectively corrects predicted values based on a high-order fuel cell model. This method allows monitoring of internal processes, such as fuel shortage and membrane drying, in a fast and strong way. Together, these studies add significantly to the field of fuel cell technology. The methods introduced provide new control strategies and monitoring methods, enhancing the understanding of fuel cell behaviors and paving the way for safer, more efficient, and real-time control in vehicle applications. This work establishes a solid base for future progress in fuel cell research and technology. # Bibliography [1] R. Petrone, Z. Zheng, D. Hissel, M. Péra, C. Pianese, M. Sorrentino, M. Becherif, and N. Yousfi-Steiner. “A review on model-based diagnosis methodologies for PEMFCs”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 38.17 (2013), pp. 7077– 7091. doi: `[https://doi.org/10.1016/j.ijhydene.2013.03.106](https://doi.org/https://doi.org/10.1016/j.ijhydene.2013.03.106)` . url: `[https:](https://www.sciencedirect.com/science/article/pii/S0360319913007465)` `[//www.sciencedirect.com/science/article/pii/S0360319913007465](https://www.sciencedirect.com/science/article/pii/S0360319913007465)` . [2] J. Chen, L. Huang, C. Yan, and Z. Liu. “A dynamic scalable segmented model of PEM fuel cell systems with two-phase water flow”. In: _Mathematics and Computers_ _in_ _Simulation_ 167 (2020). INTERNATIONAL CONFERENCE on Emerging and Renewable Energy: Generation and Automation, held in Belfort, France on 4-6 July, 2017, pp. 48–64. doi: `[https : / / doi . org / 10 . 1016 / j . matcom . 2018 .](https://doi.org/https://doi.org/10.1016/j.matcom.2018.05.006)` `[05 . 006](https://doi.org/https://doi.org/10.1016/j.matcom.2018.05.006)` . url: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S0378475418301186)` `[S0378475418301186](https://www.sciencedirect.com/science/article/pii/S0378475418301186)` . [3] X. Xue, J. Tang, A. Smirnova, R. England, and N. Sammes. “System level lumpedparameter dynamic modeling of PEM fuel cell”. In: _Journal_ _of_ _Power_ _Sources_ 133.2 (2004), pp. 188–204. doi: `[https : / / doi . org / 10 . 1016 / j . jpowsour .](https://doi.org/https://doi.org/10.1016/j.jpowsour.2003.12.064)` `[2003.12.064](https://doi.org/https://doi.org/10.1016/j.jpowsour.2003.12.064)` . url: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0378775304002782)` `[S0378775304002782](https://www.sciencedirect.com/science/article/pii/S0378775304002782)` . [4] V. Liso, M. P. Nielsen, S. K. Kær, and H. H. Mortensen. “Thermal modeling and temperature control of a PEM fuel cell system for forklift applications”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 39.16 (2014), pp. 8410–8420. doi: `[https://doi.org/10.1016/j.ijhydene.2014.03.175](https://doi.org/https://doi.org/10.1016/j.ijhydene.2014.03.175)` . url: `[https://www.](https://www.sciencedirect.com/science/article/pii/S0360319914008672)` `[sciencedirect.com/science/article/pii/S0360319914008672](https://www.sciencedirect.com/science/article/pii/S0360319914008672)` . [5] E. J. F. Dickinson and G. Smith. “Modelling the Proton-Conductive Membrane in Practical Polymer Electrolyte Membrane Fuel Cell (PEMFC) Simulation: A Review”. In: _Membranes_ 10.11 (2020). url: `[https://www.mdpi.com/2077-](https://www.mdpi.com/2077-0375/10/11/310)` `[0375/10/11/310](https://www.mdpi.com/2077-0375/10/11/310)` . [6] M. Sarmiento-Carnevali, M. Serra, and C. Batlle. “Distributed parameter modelbased control of water activity and concentration of reactants in a polymer electrolyte membrane fuel cell”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 42.42 (2017), pp. 26389–26407. doi: `[https://doi.org/10.1016/j.ijhydene.2017.](https://doi.org/https://doi.org/10.1016/j.ijhydene.2017.08.191)` <u>28</u> <u>Bibliography</u> `[08 . 191](https://doi.org/https://doi.org/10.1016/j.ijhydene.2017.08.191)` . url: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S0360319917334948)` `[S0360319917334948](https://www.sciencedirect.com/science/article/pii/S0360319917334948)` . [7] R. B. Ferreira, D. Falcão, V. Oliveira, and A. Pinto. “1D+3D two-phase flow numerical model of a proton exchange membrane fuel cell”. In: _Applied_ _Energy_ 203 (2017), pp. 474–495. doi: `[https://doi.org/10.1016/j.apenergy.2017.](https://doi.org/https://doi.org/10.1016/j.apenergy.2017.06.048)` `[06 . 048](https://doi.org/https://doi.org/10.1016/j.apenergy.2017.06.048)` . url: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S0306261917307997)` `[S0306261917307997](https://www.sciencedirect.com/science/article/pii/S0306261917307997)` . [8] D. Murschenhofer, D. Kuzdas, S. Braun, and S. Jakubek. “A real-time capable quasi-2D proton exchange membrane fuel cell model”. In: _Energy_ _Conversion_ _and_ _Management_ 162.February (2018), pp. 159–175. doi: `[10.1016/j.enconman.2018.](https://doi.org/10.1016/j.enconman.2018.02.028)` `[02.028](https://doi.org/10.1016/j.enconman.2018.02.028)` . url: `[https://doi.org/10.1016/j.enconman.2018.02.028](https://doi.org/10.1016/j.enconman.2018.02.028)` . [9] S. Zhang, S. Beale, U. Reimer, M. Andersson, and W. Lehnert. “Polymer electrolyte fuel cell modeling - A comparison of two models with different levels of complexity”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 45.38 (2020), pp. 19761– 19777. doi: `[https://doi.org/10.1016/j.ijhydene.2020.05.060](https://doi.org/https://doi.org/10.1016/j.ijhydene.2020.05.060)` . url: `[https://www.sciencedirect.com/science/article/pii/S0360319920318371](https://www.sciencedirect.com/science/article/pii/S0360319920318371)` . [10] M. Guarnieri, P. Alotto, and F. Moro. “Distributed and Lumped Parameter Models for Fuel Cells”. In: _Thermodynamics_ _and_ _Energy_ _Engineering_ . Ed. by P. Vizureanu. Rijeka: IntechOpen, 2019. Chap. 2. doi: `[10.5772/intechopen.89048](https://doi.org/10.5772/intechopen.89048)` . url: `[https://doi.org/10.5772/intechopen.89048](https://doi.org/10.5772/intechopen.89048)` . [11] H. Ju and C.-Y. Wang. “Experimental Validation of a PEM Fuel Cell Model by Current Distribution Data”. In: _Journal_ _of_ _The_ _Electrochemical_ _Society_ 151.11 (Oct. 2004), A1954. doi: `[10.1149/1.1805523](https://doi.org/10.1149/1.1805523)` . url: `[https://dx.doi.org/10.](https://dx.doi.org/10.1149/1.1805523)` `[1149/1.1805523](https://dx.doi.org/10.1149/1.1805523)` . [12] G. Besagni, R. Mereu, F. Inzoli, and P. Chiesa. “Application of an integrated lumped parameter-CFD approach to evaluate the ejector-driven anode recirculation in a PEM fuel cell system”. In: _Applied_ _Thermal_ _Engineering_ 121 (2017), pp. 628–651. doi: `[https : / / doi . org / 10 . 1016 / j . applthermaleng . 2017 .](https://doi.org/https://doi.org/10.1016/j.applthermaleng.2017.04.111)` `[04 . 111](https://doi.org/https://doi.org/10.1016/j.applthermaleng.2017.04.111)` . url: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S1359431116333981)` `[S1359431116333981](https://www.sciencedirect.com/science/article/pii/S1359431116333981)` . [13] J. Zhao, X. Li, C. Shum, and J. McPhee. “Control-oriented computational fuel cell dynamics modeling - Model order reduction vs. computational speed”. In: _Energy_ 266 (2023), p. 126488. doi: `[https://doi.org/10.1016/j.energy.](https://doi.org/https://doi.org/10.1016/j.energy.2022.126488)` `[2022.126488](https://doi.org/https://doi.org/10.1016/j.energy.2022.126488)` . url: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0360544222033746)` `[S0360544222033746](https://www.sciencedirect.com/science/article/pii/S0360544222033746)` . [14] B. Yang, J. Li, Y. Li, Z. Guo, K. Zeng, H. Shu, P. Cao, and Y. Ren. “A critical survey of proton exchange membrane fuel cell system control: Summaries, advances, and perspectives”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 47.17 (2022), pp. 9986–10020. doi: `[https://doi.org/10.1016/j.ijhydene.2022.](https://doi.org/https://doi.org/10.1016/j.ijhydene.2022.01.065)` <u>Bibliography</u> <u>29</u> `[01 . 065](https://doi.org/https://doi.org/10.1016/j.ijhydene.2022.01.065)` . url: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S0360319922001252)` `[S0360319922001252](https://www.sciencedirect.com/science/article/pii/S0360319922001252)` . [15] R. Zhang, Y. Jia, T. Zhang, and Z. Fan. “Research on modeling and control of PEMFC cooling system”. In: _Applied_ _Thermal_ _Engineering_ 241 (2024), p. 122303. doi: `[https://doi.org/10.1016/j.applthermaleng.2023.122303](https://doi.org/https://doi.org/10.1016/j.applthermaleng.2023.122303)` . url: `[https:](https://www.sciencedirect.com/science/article/pii/S1359431123023323)` `[//www.sciencedirect.com/science/article/pii/S1359431123023323](https://www.sciencedirect.com/science/article/pii/S1359431123023323)` . [16] M. F. Munir, I. Ahmad, S. A. Siffat, M. A. Qureshi, H. Armghan, and N. Ali. “Nonlinear control for electric power stage of fuel cell vehicles”. In: _ISA_ _Transactions_ 102 (2020), pp. 117–134. doi: `[https://doi.org/10.1016/j.isatra.2020.](https://doi.org/https://doi.org/10.1016/j.isatra.2020.02.033)` `[02 . 033](https://doi.org/https://doi.org/10.1016/j.isatra.2020.02.033)` . url: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S0019057820300975)` `[S0019057820300975](https://www.sciencedirect.com/science/article/pii/S0019057820300975)` . [17] P. Yin, J. Chen, and H. He. “Control of Oxygen Excess Ratio for a PEMFC Air Supply System by Intelligent PID Methods”. In: _Sustainability_ 15.11 (2023). url: `[https://www.mdpi.com/2071-1050/15/11/8500](https://www.mdpi.com/2071-1050/15/11/8500)` . [18] M. Derbeli, A. Charaabi, O. Barambones, and C. Napole. “High-Performance Tracking for Proton Exchange Membrane Fuel Cell System PEMFC Using Model Predictive Control”. In: _Mathematics_ 9.11 (2021). url: `[https://www.mdpi.com/](https://www.mdpi.com/2227-7390/9/11/1158)` `[2227-7390/9/11/1158](https://www.mdpi.com/2227-7390/9/11/1158)` . [19] Y. Zhou, A. Ravey, and M.-C. Péra. “Real-time cost-minimization power-allocating strategy via model predictive control for fuel cell hybrid electric vehicles”. In: _Energy_ _Conversion_ _and_ _Management_ 229 (2021), p. 113721. doi: `[https://doi.](https://doi.org/https://doi.org/10.1016/j.enconman.2020.113721)` `[org/10.1016/j.enconman.2020.113721](https://doi.org/https://doi.org/10.1016/j.enconman.2020.113721)` . url: `[https://www.sciencedirect.](https://www.sciencedirect.com/science/article/pii/S0196890420312450)` `[com/science/article/pii/S0196890420312450](https://www.sciencedirect.com/science/article/pii/S0196890420312450)` . [20] A. Goshtasbi and T. Ersal. “Degradation-conscious control for enhanced lifetime of automotive polymer electrolyte membrane fuel cells”. In: _Journal_ _of_ _Power_ _Sources_ 457 (2020), p. 227996. doi: `[https://doi.org/10.1016/j.jpowsour.](https://doi.org/https://doi.org/10.1016/j.jpowsour.2020.227996)` `[2020.227996](https://doi.org/https://doi.org/10.1016/j.jpowsour.2020.227996)` . url: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0378775320302998)` `[S0378775320302998](https://www.sciencedirect.com/science/article/pii/S0378775320302998)` . [21] 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”. In: _Energies_ 14.8 (2021). doi: `[10.3390/en14082206](https://doi.org/10.3390/en14082206)` . [22] 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 (2020). doi: `[10.3390/](https://doi.org/10.3390/en13205353)` `[en13205353](https://doi.org/10.3390/en13205353)` . <u>30</u> <u>Bibliography</u> [23] M. Klaučo, M. Kalúz, and M. Kvasnica. “Real-time implementation of an explicit MPC-based reference governor for control of a magnetic levitation system”. In: _Control_ _Engineering_ _Practice_ 60 (2017), pp. 99–105. doi: `[https://doi.org/10.](https://doi.org/https://doi.org/10.1016/j.conengprac.2017.01.001)` `[1016/j.conengprac.2017.01.001](https://doi.org/https://doi.org/10.1016/j.conengprac.2017.01.001)` . url: `[https://www.sciencedirect.com/](https://www.sciencedirect.com/science/article/pii/S0967066117300011)` `[science/article/pii/S0967066117300011](https://www.sciencedirect.com/science/article/pii/S0967066117300011)` . [24] L. Huang, J. Chen, Z. Liu, and M. Becherif. “Adaptive thermal control for PEMFC systems with guaranteed performance”. In: _International_ _Journal_ _of_ _Hydrogen_ _En-_ _ergy_ 43.25 (2018). Alternative Energies for Sustainability, pp. 11550–11558. doi: `[https://doi.org/10.1016/j.ijhydene.2017.12.121](https://doi.org/https://doi.org/10.1016/j.ijhydene.2017.12.121)` . url: `[https://www.](https://www.sciencedirect.com/science/article/pii/S0360319917348371)` `[sciencedirect.com/science/article/pii/S0360319917348371](https://www.sciencedirect.com/science/article/pii/S0360319917348371)` . [25] C. Jia, W. Qiao, J. Cui, and L. Qu. “Adaptive Model-Predictive-Control-Based Real-Time Energy Management of Fuel Cell Hybrid Electric Vehicles”. In: _IEEE_ _Transactions_ _on_ _Power_ _Electronics_ 38.2 (2023), pp. 2681–2694. doi: `[10.1109/](https://doi.org/10.1109/TPEL.2022.3214782)` `[TPEL.2022.3214782](https://doi.org/10.1109/TPEL.2022.3214782)` . [26] G. Taneja, V. K. Tayal, and K. Pandey. “Robust Control of Proton Exchange Membrane Fuel Cell (PEMFC) System”. In: _Computational_ _Intelligence_ . Ed. by A. Shukla, B. K. Murthy, N. Hasteer, and J.-P. Van Belle. Singapore: Springer Nature Singapore, 2023, pp. 617–628. [27] X. Hao, I. Salhi, S. Laghrouche, Y. Ait-Amirat, and A. Djerdir. “Robust control of four-phase interleaved boost converter by considering the performance of PEM fuel cell current”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 46.78 (2021), pp. 38827–38840. doi: `[https://doi.org/10.1016/j.ijhydene.2021.](https://doi.org/https://doi.org/10.1016/j.ijhydene.2021.09.132)` `[09 . 132](https://doi.org/https://doi.org/10.1016/j.ijhydene.2021.09.132)` . url: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S0360319921036594)` `[S0360319921036594](https://www.sciencedirect.com/science/article/pii/S0360319921036594)` . [28] J. Mao, Z. Li, J. Xuan, X. Du, M. Ni, and L. Xing. “A review of control strategies for proton exchange membrane (PEM) fuel cells and water electrolyser: from automation to autonomy”. In: _Energy_ _and_ _AI_ (2024), p. 100406. doi: `[https://](https://doi.org/https://doi.org/10.1016/j.egyai.2024.100406)` `[doi.org/10.1016/j.egyai.2024.100406](https://doi.org/https://doi.org/10.1016/j.egyai.2024.100406)` . url: `[https://www.sciencedirect.](https://www.sciencedirect.com/science/article/pii/S2666546824000727)` `[com/science/article/pii/S2666546824000727](https://www.sciencedirect.com/science/article/pii/S2666546824000727)` . [29] F. Segura and J. Andújar. “Step by step development of a real fuel cell system. Design, implementation, control and monitoring”. In: _International Journal of Hy-_ _drogen_ _Energy_ 40.15 (2015), pp. 5496–5508. doi: `[https://doi.org/10.1016/](https://doi.org/https://doi.org/10.1016/j.ijhydene.2015.01.178)` `[j.ijhydene.2015.01.178](https://doi.org/https://doi.org/10.1016/j.ijhydene.2015.01.178)` . url: `[https://www.sciencedirect.com/science/](https://www.sciencedirect.com/science/article/pii/S0360319915002773)` `[article/pii/S0360319915002773](https://www.sciencedirect.com/science/article/pii/S0360319915002773)` . [30] 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”. In: _Journal_ _of_ _Power_ _Sources_ 468 (2020), p. 228376. doi: `[https://doi.org/](https://doi.org/https://doi.org/10.1016/j.jpowsour.2020.228376)` `[10.1016/j.jpowsour.2020.228376](https://doi.org/https://doi.org/10.1016/j.jpowsour.2020.228376)` . url: `[https://www.sciencedirect.com/](https://www.sciencedirect.com/science/article/pii/S0378775320306807)` `[science/article/pii/S0378775320306807](https://www.sciencedirect.com/science/article/pii/S0378775320306807)` . <u>Bibliography</u> <u>31</u> [31] 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: _International_ _Journal_ _of_ _Hy-_ _drogen_ _Energy_ 46.35 (2021), pp. 18604–18614. doi: `[https://doi.org/10.1016/](https://doi.org/https://doi.org/10.1016/j.ijhydene.2021.03.014)` `[j.ijhydene.2021.03.014](https://doi.org/https://doi.org/10.1016/j.ijhydene.2021.03.014)` . url: `[https://www.sciencedirect.com/science/](https://www.sciencedirect.com/science/article/pii/S0360319921008351)` `[article/pii/S0360319921008351](https://www.sciencedirect.com/science/article/pii/S0360319921008351)` . [32] A. Cecilia, M. Serra, and R. Costa-Castelló. “Nonlinear adaptive observation of the liquid water saturation in polymer electrolyte membrane fuel cells”. In: _Journal_ _of_ _Power_ _Sources_ 492 (2021), p. 229641. doi: `[https://doi.org/10.1016/j.](https://doi.org/https://doi.org/10.1016/j.jpowsour.2021.229641)` `[jpowsour.2021.229641](https://doi.org/https://doi.org/10.1016/j.jpowsour.2021.229641)` . url: `[https://www.sciencedirect.com/science/](https://www.sciencedirect.com/science/article/pii/S0378775321001853)` `[article/pii/S0378775321001853](https://www.sciencedirect.com/science/article/pii/S0378775321001853)` . [33] H. Yue, H. He, M. Han, and S. Gong. “Active disturbance rejection control strategy for PEMFC oxygen excess ratio based on adaptive internal state estimation using unscented Kalman filter”. In: _Fuel_ 356 (2024), p. 129619. doi: `[https://doi.](https://doi.org/https://doi.org/10.1016/j.fuel.2023.129619)` `[org/10.1016/j.fuel.2023.129619](https://doi.org/https://doi.org/10.1016/j.fuel.2023.129619)` . url: `[https://www.sciencedirect.com/](https://www.sciencedirect.com/science/article/pii/S0016236123022330)` `[science/article/pii/S0016236123022330](https://www.sciencedirect.com/science/article/pii/S0016236123022330)` . [34] A. Kravos, D. Ritzberger, C. Hametner, S. Jakubek, and T. Katrašnik. “Methodology for efficient parametrisation of electrochemical PEMFC model for virtual observers: Model based optimal design of experiments supported by parameter sensitivity analysis”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 46.26 (2021). European Fuel Cell Conference & Exhibition 2019, pp. 13832–13844. doi: `[https:](https://doi.org/https://doi.org/10.1016/j.ijhydene.2020.10.146)` `[/ / doi . org / 10 . 1016 / j . ijhydene . 2020 . 10 . 146](https://doi.org/https://doi.org/10.1016/j.ijhydene.2020.10.146)` . url: `[https : / / www .](https://www.sciencedirect.com/science/article/pii/S036031992033994X)` `[sciencedirect.com/science/article/pii/S036031992033994X](https://www.sciencedirect.com/science/article/pii/S036031992033994X)` . [35] M. Vrlić, D. Pernsteiner, A. Schirrer, C. Hametner, and S. Jakubek. “Reduceddimensionality nonlinear distributed-parameter observer for fuel cell systems”. In: _Energy_ _Reports_ 10 (2023), pp. 1–14. doi: `[10.1016/j.egyr.2023.06.006](https://doi.org/10.1016/j.egyr.2023.06.006)` . url: `[https://doi.org/10.1016/j.egyr.2023.06.006](https://doi.org/10.1016/j.egyr.2023.06.006)` . [36] J. Luna, A. Husar, and M. Serra. “Nonlinear distributed parameter observer design for fuel cell systems”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 40.34 (2015), pp. 11322–11332. doi: `[10.1016/j.ijhydene.2015.05.132](https://doi.org/10.1016/j.ijhydene.2015.05.132)` . url: `[http://dx.](http://dx.doi.org/10.1016/j.ijhydene.2015.05.132)` `[doi.org/10.1016/j.ijhydene.2015.05.132](http://dx.doi.org/10.1016/j.ijhydene.2015.05.132)` . [37] Y. Tian, Q. Zou, and J. Han. “Data-Driven Fault Diagnosis for Automotive PEMFC Systems Based on the Steady-State Identification”. In: _Energies_ 14.7 (2021). doi: `[10.3390/en14071918](https://doi.org/10.3390/en14071918)` . url: `[https://www.mdpi.com/1996-1073/14/7/1918](https://www.mdpi.com/1996-1073/14/7/1918)` . [38] V. M. Nagulapati, S. S. Kumar, V. Annadurai, and H. Lim. “Machine learning based fault detection and state of health estimation of proton exchange membrane fuel cells”. In: _Energy_ _and_ _AI_ 12 (2023), p. 100237. doi: `[https://doi.org/10.](https://doi.org/https://doi.org/10.1016/j.egyai.2023.100237)` `[1016/j.egyai.2023.100237](https://doi.org/https://doi.org/10.1016/j.egyai.2023.100237)` . url: `[https://www.sciencedirect.com/science/](https://www.sciencedirect.com/science/article/pii/S2666546823000095)` `[article/pii/S2666546823000095](https://www.sciencedirect.com/science/article/pii/S2666546823000095)` . <u>32</u> <u>Bibliography</u> [39] Y. Xing, B. Wang, Z. Gong, Z. Hou, F. Xi, G. Mou, Q. Du, F. Gao, and K. Jiao. “Data-Driven Fault Diagnosis for PEM Fuel Cell System Using Sensor PreSelection Method and Artificial Neural Network Model”. In: _IEEE Transactions on_ _Energy Conversion_ 37.3 (2022), pp. 1589–1599. doi: `[10.1109/TEC.2022.3143163](https://doi.org/10.1109/TEC.2022.3143163)` . [40] B. Kang, W. Na, and H. Lee. “Model-Based Fault Analysis and Diagnosis of PEM Fuel Cell Control System”. In: _Applied_ _Sciences_ 12.24 (2022). doi: `[10 . 3390 /](https://doi.org/10.3390/app122412733)` `[app122412733](https://doi.org/10.3390/app122412733)` . url: `[https://www.mdpi.com/2076-3417/12/24/12733](https://www.mdpi.com/2076-3417/12/24/12733)` . [41] J. Wang, B. Yang, C. Zeng, Y. Chen, Z. Guo, D. Li, H. Ye, R. Shao, H. Shu, and T. Yu. “Recent advances and summarization of fault diagnosis techniques for proton exchange membrane fuel cell systems: A critical overview”. In: _Journal_ _of_ _Power_ _Sources_ 500 (2021), p. 229932. doi: `[https://doi.org/10.1016/j.jpowsour.](https://doi.org/https://doi.org/10.1016/j.jpowsour.2021.229932)` `[2021.229932](https://doi.org/https://doi.org/10.1016/j.jpowsour.2021.229932)` . url: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S037877532100464X)` `[S037877532100464X](https://www.sciencedirect.com/science/article/pii/S037877532100464X)` . [42] Y. Wang, X. Yang, Z. Sun, and Z. Chen. “A systematic review of system modeling and control strategy of proton exchange membrane fuel cell”. In: _Energy_ _Reviews_ 3.1 (2024), p. 100054. doi: `[https://doi.org/10.1016/j.enrev.](https://doi.org/https://doi.org/10.1016/j.enrev.2023.100054)` `[2023.100054](https://doi.org/https://doi.org/10.1016/j.enrev.2023.100054)` . url: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S277297022300041X)` `[S277297022300041X](https://www.sciencedirect.com/science/article/pii/S277297022300041X)` . [43] J. Zhao, X. Li, C. Shum, and J. McPhee. “A computationally efficient and highfidelity 1D steady-state performance model for PEM fuel cells”. In: _Journal_ _of_ _Physics:_ _Energy_ 5.1 (Jan. 2023), p. 015003. doi: `[10.1088/2515-7655/acafa3](https://doi.org/10.1088/2515-7655/acafa3)` . url: `[https://dx.doi.org/10.1088/2515-7655/acafa3](https://dx.doi.org/10.1088/2515-7655/acafa3)` . [44] C.-Y. Lee, F.-B. Weng, C.-Y. Yang, C.-W. Chiu, and S.-M. Nawale. “Real-Time Monitoring of HT-PEMFC”. In: _Membranes_ 12.1 (2022). doi: `[10.3390/membranes12010094](https://doi.org/10.3390/membranes12010094)` . url: `[https://www.mdpi.com/2077-0375/12/1/94](https://www.mdpi.com/2077-0375/12/1/94)` . [45] A. K. Prajapati and R. Prasad. “Model Reduction Using the Balanced Truncation Method and the Padé Approximation Method”. In: _IETE_ _Technical_ _Review_ 39.2 (2022), pp. 257–269. doi: `[10.1080/02564602.2020.1842257](https://doi.org/10.1080/02564602.2020.1842257)` . [46] 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 (2020). doi: `[10.3390/en13123148](https://doi.org/10.3390/en13123148)` . [47] M. Vrlic, D. Ritzberger, and S. Jakubek. “Efficient and life preserving power tracking control of a proton exchange membrane fuel cell using model predictive control”. In: _Proceedings_ _of_ _2020_ _SICE_ _International_ _Symposium_ _on_ _Control_ _Systems,_ _SICE_ _ISCS_ _2020_ (2020), pp. 77–84. doi: `[10.23919/SICEISCS48470.](https://doi.org/10.23919/SICEISCS48470.2020.9083653)` `[2020.9083653](https://doi.org/10.23919/SICEISCS48470.2020.9083653)` . # Chapter 2 Publications #### List of Selected Journal Publications Publication A Martin Vrlić, Daniel Ritzberger, and Stefan Jakubek. Safe and efficient polymer electrolyte membrane fuel cell control using successive linearization based model predictive control validated on real vehicle data . _Energies_ 13 (2020) doi: `[10.3390/en13205353](https://doi.org/10.3390/en13205353)` Publication B Martin Vrlić, Daniel Ritzberger, and Stefan Jakubek. Model-predictive-control-based reference governor for fuel cells in automotive application compared with performance from a real vehicle . _Energies_ 14 (2021) doi: `[10.3390/en14082206](https://doi.org/10.3390/en14082206)` Publication C Martin Vrlić, Dominik Pernsteiner, Alexander Schirrer, Christoph Hametner, and Stefan Jakubek. Reduced-dimensionality nonlinear distributed-parameter observer for fuel cell systems . _Energy_ _Reports_ 10 (2023) pp. 1–14. doi: `[10.1016/j.egyr.2023.06.006](https://doi.org/10.1016/j.egyr.2023.06.006)` <u>34</u> <u>2.1</u> <u>Publication</u> <u>A</u> #### 2.1 Publication A 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 (2020). doi: `[10.3390/en13205353](https://doi.org/10.3390/en13205353)` Applicant’s Contribution <sup>†</sup> - Martin Vrlić: Conceptualization, Methodology, Investigation, Software, Visualization, Writing - Original Draft - Daniel Ritzberger: Conceptualization, Methodology, Investigation, Writing - Review & Editing - Stefan Jakubek: 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>35</u> ## _energies_ _Article_ ##### Safe and Efficient Polymer Electrolyte Membrane Fuel Cell Control Using Successive Linearization Based Model Predictive Control Validated on Real Vehicle Data Martin Vrli´c *, Daniel Ritzberger and Stefan Jakubek Institut für Mechanik und Mechatronik, Technische Universität Wien, Getreidemarkt 9, 1060 Vienna, Austria; daniel.ritzberger@tuwien.ac.at (D.R.); stefan.jakubek@tuwien.ac.at (S.J.) * Correspondence: martin.vrlic@tuwien.ac.at Received: 9 September 2020; Accepted: 8 October 2020; Published: 14 October 2020 �������� ������� Abstract: In this paper, a polymer electrolyte membrane fuel cell (PEMFC) stack control study is presented. The goal is to track the transient power demand of a real fuel cell (FC) vehicle while ensuring safe and efficient operation. Due to the dynamically changing power demand, fast transients occur in the internal states of the fuel cell (e.g., pressure, humidity, reactant mass) leading to degradation effects (e.g., high/low membrane overpressure, reactants starvation) which are avoided by imposing safety constraints. Efficiency is considered in terms of internal voltage losses minimization as well as minimization of the power of the compressor used to pressurize the cathode. For solving the optimization problem of power demand tracking, adhering to safety constraints, and maximizing efficiency, model predictive control (MPC) has been chosen. Due to the nonlinearity of the FC system, a successive linearization based MPC (SLMPC) is used to control the FC throughout its operating region. Simulation results show that the power demand can be fulfilled while at the same time ensuring safe operation in terms of adhering to constraints and that the minimization of internal voltage losses and compressor power lead to an approximate 9.5% less hydrogen consumption than in the actual reference vehicle. Keywords: fuel cell; automotive; model predictive control; successive linearization; safe operation; efficient operation 1. Introduction In the ongoing world-scale mission of replacing fossil fuels with clean energy, the technology of hydrogen-powered fuel cells (FC) may come as a promising candidate for supplying power in both stationary and automotive applications [1], the latter being in the focus of this work. Quite a few types of fuel cells exist, but the polymer electrolyte membrane fuel cell (PEMFC) seems to be the technology of choice when it comes to automotive application. This is because PEMFCs have a high power density, high efficiency, and fast start-up ability [1]. Obviously, for the fuel cell technology to compete with combustion engines, it must perform at least as good as them. This requirement poses several challenges in terms of FC stack lifetime and safety restrictions [2]. To increase the lifetime of the stack as well as operate it safely, an appropriate control strategy is of crucial importance. Throughout the last years and even decades, the topic of fuel cell control has inspired the work of many scientists and engineers. Different approaches can be found in literature dealing with the challenge of fuel cell modeling and control. One can reduce the complex problem and control only one subsystem of the fuel cell (e.g., cathode or anode) [3–6] or examine the whole system [7,8], depending on the problem that _Energies_ 2020, _13_, 5353; doi:10.3390/en13205353 www.mdpi.com/journal/energies <u>36</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 2 of 16 needs to be solved. An important and commonly encountered issue that needs to be addressed in fuel cell control is starvation avoidance, usually formulated as imposing a limit on the stoichiometry of hydrogen and/or oxygen [4]. A common way of controlling the fuel cell system is by setting reference values for the cathode/anode pressure, hydrogen/oxygen stoichiometries, voltage, etc. as seen in [4,9,10]. To increase the practical usability of the fuel cell control test results in an automotive application, it is important to conduct the research on a vehicle drive cycle. Much of the research considering power demand tracking done in the past is not based on a vehicle drive cycle, but instead, on a step reference power trajectory generated to demonstrate a certain effect of the control task (e.g., stoichiometry control, pressure constraints, battery/FC interaction, etc.) [11,12]. In the context of this study, the control of the fuel cell subject to a dynamic drive cycle is of much greater practical relevance. Various test scenarios have recently been reported which rely on the New European Driving Cycle (NEDC) as the validation drive cycle for the control of a fuel cell vehicle [13–15]. The Worldwide Harmonised Light Vehicles Test Procedure (WLTP) also developed in 2015 has been used as the validation drive cycle for several studies concerning fuel cell control [16,17]. In this work, the power demand measured from a real fuel cell vehicle (The vehicle has been built by AVL List GmbH as part of the Keytech4EV project (no. 855237) funded by the Austrian Research Promotion Agency (FFG).) has been used for validation of the proposed control concept. A simulation study has been conducted on the measured power demand using a nonlinear mass-driven zero-dimensional transient fuel cell model. The control goal is to track the power demand from the acquired data of the real vehicle while ensuring safe operation in terms of starvation avoidance as well as respecting the cathode and anode pressure safety limits along with the pressure difference across the membrane safety limit. Also, efficiency is to be maximized by minimizing the internal voltage drop due to the activation, ohmic, and concentration losses, as well as the power, needed to run the compressor used to provide air for the cathode. To fulfill the goals of power tracking and efficiency maximization, while adhering to the mentioned constraints, the model predictive control (MPC) approach has been chosen which is quite popular in fuel cell control [18–22], mainly because of its ability to handle constraints. A common approach of using MPC is to linearize the system around a steady-state operating point (OP) and use one of the few simple standard formulations of MPC for linear systems. This method works fine for regions relatively close to the OP around which the model has been linearized, but fails if the system operates in a region too far from the OP. The power demand used in the study ranges from 0 to 60 kW so an MPC developed for the system linearized around a single OP would fail to fulfill all the control goals. To cope with the nonlinearity, a successive linearization based MPC (SLMPC) [23–26] is used meaning that the system is continuously linearized every time step during the simulation and a linear MPC developed for that particular point in the state-space ensuring the validity of the MPC at all times. However, the linearization point is not a steady-state one and the treatment of this is described in Section 4. In terms of PEMFC vehicle control, to the best of the authors’ knowledge, there is no research conducted on a real data drive cycle using successive linearization based model predictive control. The paper is organized as follows: In Section 2 the zero-dimensional model used for the simulation study is presented. In Section 3 the vehicle description is brought forth while in Section 4 the methodology of the SLMPC is shown. The results consisting of the simulation outcome and its comparison with the data measured from the real vehicle are presented in Section 5. Finally, Section 6 brings the conclusions of this paper along with the direction of future research. 2. Fuel Cell Model In this section, the FC model used for the control study is presented. The schematics are shown in Figure 1. The focus of the work is not in the model itself, therefore, not all the details will be brought forth, but rather the model structure. For further information on the model equations, the reader is referred to [27]. <u>37</u> _Energies_ 2020, _13_, 5353 3 of 16 Modeling assumptions: - The operating temperature is assumed constant at a value of 70 °C. - The anode is operated in “dead-end” mode, no recirculation is considered in the present model setup. - Inlet humidities are assumed to be constant. - The effect of liquid water on the voltage is not considered. The whole system model can be viewed as a collection of submodels describing different parts of the fuel cell: - Cathode - Anode - Gas diffusion layer (GDL) on the cathode side - Electrochemical model Fuel cell model structure Figure 1. Structure of the fuel cell model. All the submodels(cathode, anode, electrochemical model, compressor, gas diffusion layer, and membrane) are enclosed in dashed lines. _2.1._ _Cathode Submodel_ The cathode side of the fuel cell is assumed to be a series of 3 interconnected zero-dimensional (0D) volumes meaning that there is no spatial distribution along or across the channel leading to valuable numerical benefits while maintaining a decent level of accuracy. Air supply coming from the compressor enters the first volume referred to as the cathode supply manifold (sm) and its state is described by the cathode supply manifold pressure ( _p_ <sup>_ca_</sup> _sm_ <sup>)</sup> <sup>which</sup> <sup>is</sup> <sup>modeled</sup> <sup>using</sup> <sup>the</sup> <sup>ideal</sup> <sup>gas</sup> law. The second volume is the cathode main manifold. The flow of air from the supply manifold to the cathode main manifold is described using a linearized nozzle equation. In the second volume, the states describing the system are the masses of oxygen, nitrogen, water vapor, and liquid water ( _mO_ <sup>_ca_</sup> 2 <sup>,</sup> <sup>_mca_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_ca_</sup> <sup>,</sup> <sup>_mca_</sup> _liq_ <sup>).</sup> <sup>Finally, the third volume is the cathode exit manifold (em) described by the</sup> corresponding cathode exit manifold pressure ( _p_ <sup>_ca_</sup> _em_ <sup>) which leads the exhaust air into the atmosphere.</sup> At the end of the exit manifold, there is a backpressure valve. On the cathode side, the actuating variables used by the controller during operation are the mass-flow of air entering the supply manifold ( _Win_ <sup>_ca_</sup> <sup>) and the backpressure valve opening (</sup> <sup>_αca_</sup> <sup>).</sup> _O_ <sup>_ca_</sup> 2 <sup>,</sup> <sup>_mca_</sup> _N_ <sup>_ca_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_ca_</sup> _vap_ <sup>_ca_</sup> <sup>,</sup> <sup>_mca_</sup> _liq_ _in_ <sup>_ca_</sup> <sup>) and the backpressure valve opening (</sup> <sup>_αca_</sup> <sup>).</sup> <u>38</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 4 of 16 _2.2._ _Anode Submodel_ Just like the cathode side, the anode is modeled as a series of three interconnected 0D volumes. The states describing the supply and exit manifold of the anode are analogously the supply and exit manifold pressures ( _psm_ <sup>_an_</sup> <sup>and</sup> <sup>_p_</sup> _em_ <sup>_an_</sup> <sup>).</sup> <sup>The</sup> <sup>anode</sup> <sup>is</sup> <sup>supplied</sup> <sup>by</sup> <sup>hydrogen</sup> <sup>coming</sup> <sup>from</sup> <sup>a</sup> <sup>highly</sup> pressurized tank. In the main manifold, the states describing the system are the masses of hydrogen, nitrogen, water vapor, and liquid water ( _m_ <sup>_an_</sup> _H_ 2 <sup>,</sup> <sup>_man_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_an_</sup> <sup>,</sup> <sup>_m_</sup> _liq_ <sup>_an_</sup> <sup>).</sup> <sup>The valve connecting the exit manifold</sup> to the ambient is called the purge valve and it is normally closed during operation leading to a so-called “dead-end anode” operating mode. In real systems, the unused hydrogen is usually recirculated and fed back to the anode inlet. In this simulation study, the anode is modeled as dead-end. The actuating variable on the anode side is the hydrogen mass-flow entering the anode supply manifold ( _Win_ <sup>_an_</sup> <sup>)</sup> whereas the opening of the purge valve ( _αpurge_ ) is considered to be a disturbance. _sm_ <sup>_an_</sup> <sup>and</sup> <sup>_p_</sup> _em_ <sup>_an_</sup> <sup>_an_</sup> _H_ 2 <sup>,</sup> <sup>_man_</sup> _N_ 2 <sup>_an_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_an_</sup> _vap_ <sup>_an_</sup> <sup>,</sup> <sup>_m_</sup> _liq_ <sup>_an_</sup> fed back to the anode inlet. In this simulation study, the anode is modeled as dead-end. The actuating variable on the anode side is the hydrogen mass-flow entering the anode supply manifold ( _Win_ <sup>_an_</sup> <sup>)</sup> _2.3._ _Gas Diffusion Layer Submodel_ In this model, the GDL on the cathode side is viewed as an additional 0D volume containing the masses of oxygen, nitrogen, and water vapor ( _mO_ <sup>_GDL_</sup> 2, _m_ <sup>_GDL_</sup> _N_ 2 and _mvap_ <sup>_GDL_</sup> <sup>).</sup> <sup>The dynamics of the oxygen</sup> mass in the GDL is due to the diffusion of oxygen from the cathode, as well as the consumption of oxygen due to the reaction. The nitrogen mass in the GDL changes because of the nitrogen diffusion from the cathode as well as the permeation of nitrogen through the membrane to the anode side. As for the water vapor mass, there is the diffusion from the cathode, water formation from the reaction, membrane water flux (electroosmotic drag and backdiffusion), and water condensation. On the anode side, the GDL proved to be unnecessary to include in the model as hydrogen is very diffusive so the dynamics of the potential hydrogen mass in the GDL could be neglected. <sup>_GDL_</sup>, _m_ <sup>_GDL_</sup> _O_ 2 _N_ 2 <sup>_GDL_</sup> _N_ 2 and _mvap_ <sup>_GDL_</sup> _2.4._ _Electrochemical Model_ To couple the thermodynamical part of the model described in the above subsections to the actual output of the system that is of primal interest for this work (voltage and power), an electrochemical model is needed and its implementation is based on [28]. The actuating variable regarding the electrochemical part of the model is the stack current ( _I_ ). _2.5._ _Power and Efficiency_ The power produced by the fuel cell stack _Pst_ = _VI_ is defined as the product of the stack voltage _V_ and the stack current _I_ . The net system power is then defined as the difference between the stack power, compressor power _Pcp_, and the power of all the other auxiliary components _Paux_ : _Pnet_ = _Pst −_ _Pcp −_ _Paux_ . (1) As only the compressor power is part of the model and it is the dominant parasitic loss, the power of the other auxiliary components is neglected leading to _Paux_ = 0: _Pnet_ = _Pst −_ _Pcp_ . (2) This assumption is justified by the fact that the difference between the measured net power and the net power calculated assuming _Paux_ = 0 is small, only 3%. Fuel cell efficiency is defined as the ratio between the power produced by the stack _Pst_ and the power of the fuel _PH_ 2 = _E_ 0 _Ncells_ _I_ [1]: _η_ _f c_ = <sup>_<u>Pst</u>_</sup> _PH_ 2 _<u>Pst</u>_ _<u>V</u>_ = _E_ 0 _Ncells_ _I_ <sup>=</sup> _E_ 0 _Ncells_ (3) <u>39</u> _Energies_ 2020, _13_, 5353 5 of 16 where _E_ 0 is the open-circuit voltage (see Figure 2) and _Ncells_ is the number of cells in the stack. However, as the compressor power must be taken into account, it makes sense to define the system efficiency _ηsys_ : (4) <sup>_VI_</sup> _E_ 0 _N_ <sup>_−_</sup> _cells_ <sup>_Pcp_</sup> _I_ <sup>.</sup> _ηsys_ = <sup>_<u>Pnet</u>_</sup> _PH_ 2 = _E_ <sup>_Pst_</sup> 0 _N_ <sup>_−_</sup> _cells_ <sup>_Pcp_</sup> _I_ _E_ <sup>_Pst_</sup> 0 _N_ <sup>_−_</sup> _cells_ <sup>_Pcp_</sup> _I_ <sup>=</sup> <sup>_VI_</sup> _E_ 0 _N_ <sup>_−_</sup> _cells_ <sup>_Pcp_</sup> _I_ �� Polarization curve <u>�����</u> ~~�~~ Figure 2. Polarization curve obtained by simulation. The current is ramped up from zero until voltage breakdown. The red dashed line shows the open-circuit voltage, the blue solid line shows the operating voltage. The difference between the two are the losses due to reaction kinetics (activation, ohmic, and concentration) _Vloss_ . _2.6._ _Overview_ Combining all of the above-mentioned submodels in which the dynamics of the states are described using first-order differential equations, one obtains a nonlinear state-space model of the form: _x_ ˙ = _f_ ( _x_, _u_ ) (5) _y_ = _h_ ( _x_, _u_ ) (6) with _x_ being the state vector, _u_ being the input vector and _y_ being the output vector, as defined below: _p_ <sup>_ca_</sup> _sm_ _mO_ <sup>_ca_</sup> 2   _O_ 2 _m_ <sup>_ca_</sup> _N_ 2 _m_ <sup>_ca_</sup> _vap_ _vap_ _m_ <sup>_ca_</sup> _liq_ _p_ <sup>_ca_</sup> _em_ _psm_ <sup>_an_</sup> _Win_ <sup>_ca_</sup> _Win_ <sup>_an_</sup> _αca_ _I_ _Pnet_ Δ _p_ _ηsys_  _y_ =      (7)   _x_ =   _sm_ _m_ <sup>_an_</sup> _H_ 2 _m_ <sup>_an_</sup> _N_ 2 _mvap_ <sup>_an_</sup> _u_ = _vap_ _mliq_ <sup>_an_</sup> _pem_ <sup>_an_</sup> _em_ _am_, _d_ _mO_ <sup>_GDL_</sup> 2 _m_ <sup>_GDL_</sup> _N_ 2 _mvap_ <sup>_GDL_</sup> _vap_ <u>40</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 6 of 16 where _am_, _d_ is an additional state describing the dynamic membrane wetting and drying, whereas the outputs of the system are - Net power of the system ( _Pnet_ ) - Pressure difference across the membrane (Δ _p_ = _psm_ <sup>_an_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> <sup>)</sup> _sm_ <sup>_an_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> (Δ _p_ = _psm_ <sup>_an_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> <sup>)</sup> - System efficiency ( _ηsys_ ) 3. Vehicle as Validation Data Generator In this section, the vehicle from which the validation data for the controller has been obtained is presented. To realize the goal of building an FC car, an already existing hybrid construction has been used. The combustion engine from the vehicle was removed and replaced with the fuel cell system while the battery is kept from the original configuration. For the new architecture, an electric motor from another vehicle was used. The vehicle is powered by a 300 cell fuel cell stack with a maximum power output of 68.4 kW. There are three hydrogen tanks in the vehicle that provide the necessary fuel. The actual vehicle is shown in Figure 3a. Its construction was part of the so-called Keytech4EV project, a collaboration initiated in the year 2016 between AVL List GmbH, ElringKlinger AG (Germany) (EK), Magna Steyr Engineering AG & Co KG (MAGNA), HOERBIGER Ventilwerke GmbH & Co KG (HOERBIGER), HyCentA Research GmbH (HyCentA), Institute of Mechanics and Mechatronics, Vienna University of Technology (IMM), Institute of Chemical Engineering and Environmental Technology, Graz University of Technology (CEET) and Institut für Innovative Energie& Stoffaustauschsysteme (IESTA) with a successful conclusion in 2020 [29]. For demonstration purposes, the vehicle V-I trajectory has been shown in Figure 3b superimposed to the polarization curve obtained by simulation from Figure 2. The vehicle seems to operate in the linear part of the V-I curve, avoiding regions close to the open-circuit voltage or the limiting current. 350 300 250 200 150 100 50 Voltage Open circuit voltage Vehicle VI trajectory ( a ) 0 0 50 100 150 200 250 300 350 400 Current in A ( b ) Figure 3. Keytech4EV research vehicle and its measured V-I trajectory superimposed to the simulated polarization curve brought for visualization of the operating range. ( a ) Vehicle developed by AVL List GmbH from which the data has been acquired for the validation of this study. ( b ) Measured V-I trajectory of the vehicle. 4. SLMPC Design In this section, the controller design will be presented, however, a few key-points are to be mentioned before presenting the mathematical formalism of the SLMPC. It is important to clearly visualize the end goal of this study which is: - Fulfill the power demand trajectory from the real vehicle shown in Figure 3a <u>41</u> _Energies_ 2020, _13_, 5353 7 of 16 - Safe operation - Efficient operation Each of these points is explained as follows: Fulfill the power demand In a fuel cell–battery hybrid configuration, there always exists a so-called energy management system (EMS) which splits the power demand between the battery and the fuel cell stack always following certain rules (e.g., respecting the limit on the state of charge (SoC) of the battery, etc.). The power demand for each of the components gets forwarded to their respective low-level controllers which then generate the signal for the actuators such as the inlet mass-flows of air and hydrogen or the position of the backpressure valves. The measured power demand for the fuel cell coming from the EMS of the vehicle is used to validate the control concept shown in this paper. Safe operation There is a number of conditions that degrade and/or destroy the fuel cell system. In this paper, some of them are directly considered: - Cathode/Anode absolute pressure—During operation, the pressures might rise or drop to a value which would, in a real setup, cause irreversible damage. If the pressure in either channel is too high, the components experience mechanical stress which can lead to fuel cell destruction. On the other hand, if the pressure is too low, starvation may occur, which is described in more detail below. Naturally, the controller must “know” that it cannot allow the system to operate outside the safe pressure range. - Starvation—Power is mainly provided by drawing a certain amount of current from the fuel cell stack. Current is generated by the reaction of hydrogen and oxygen, the basic principle of how does a fuel cell work. The higher the current, the faster the reactants get consumed. The task of the controller becomes obvious—a sufficient amount of reactant mass must be supplied at all times. If that would not be the case, the electrons which create the current would then come from the platinum in the catalyst layer or the carbon from the gas diffusion layer. Because of starvation, the catalyst or the GDL can be consumed in a matter of seconds destroying the fuel cell [30]. In our setup, a minimum amount of oxygen/hydrogen mass is required to always be present to avoid starvation. - Pressure difference across the membrane—Similar to the problem of absolute pressures, it is crucial to control the pressure difference between the anode and cathode at all times. Too big of a pressure difference causes stress on the membrane and if the pressure difference becomes negative i.e., the pressure on the cathode side becomes greater than on the anode side, other unfavorable effects can occur, such as pushing the water (generated on the cathode side) over to the anode. - Purging—As there is air on the cathode side instead of pure oxygen, the effect of nitrogen which does not participate in the reaction must be taken into account. It diffuses through the membrane to the anode side, accumulating and effectively lowering the availability of hydrogen for the reaction potentially causing local starvation. If, in turn, the controller would want to keep a sufficient reserve of hydrogen, it would pump in more and more hydrogen, potentially violating the pressure restriction. Therefore, the necessity of clearing (purging) the anode of nitrogen is obvious. Purging is done by opening the purge valve for a short period of time and then closing it again to not waste hydrogen into the environment. The opening is commonly triggered by a Coulomb counting strategy. Efficient operation Two effects should be minimized to achieve efficient operation: voltage losses and compressor power. <u>42</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 8 of 16 - Voltage losses—Due to the reaction kinetics, there are inevitable voltage losses in fuel cell operation [1]. To increase efficiency, these voltage losses should be minimized which suggests operating at higher voltages as it is obvious from Equation (3) and Figure 2. - Compressor power—To supply the air needed for the operation, a compressor is used which uses the power generated by the fuel cell. One of the goals of the controller is to minimize the usage of the compressor which would increase system efficiency as is visible from Equation (4). Summary Control engineering-wise, the above restrictions on the system are formulated as state constraints for the SLMPC. The fact that having constraints provides safe operation is one of the reasons for choosing an MPC approach since coping with constraints is one of the strong points of the model predictive control concept in general. The purge signal is considered to be a disturbance sent to the MPC. Since the fuel cell system summarized in Equation (7) is nonlinear, a simple linear method would not be sufficient to successfully control it, thus, in this work, a successive linearization based model predictive control approach is used. The advantage of the SLMPC over nonlinear MPC is in the guaranteed existence and uniqueness of a global minimum since the cost function is quadratic. The basic idea is to linearize and discretize the system every sample and develop a linear MPC for that particular instantaneously linearized system. That way, the linear model represents the nonlinear system well throughout the prediction horizon provided that the predicted sequence of optimal control moves does not take the system too far from the linearization point. However, the mentioned problem was not observed in this research. The steps of developing the SLMPC can be found in detail in [23] and here we bring forth the most important components of the algorithm. _4.1._ _Linearization of the Nonlinear System_ At each sample, the model is linearized around the current point ( _x_ _k_, _u_ _k_ ). The current sample instant is denoted by the index _k_ . The linearization is carried out by evaluating the Jacobian matrix of the function _f_ defined as   _<u>∂</u>_ _<u>f</u>_ <u>2</u> _<u>∂</u>_ _<u>f</u>_ <u>2</u> _· · ·_ _<u>∂</u>_ _<u>f</u>_ <u>2</u> _∂x_ 1 _∂x_ 2 _∂xnx_ ... ... ... ... _<u>∂</u>_ _<u>fnx</u>_ _<u>∂</u>_ _<u>fnx</u>_ _· · ·_ _<u>∂</u>_ _<u>fnx</u>_ _<u>∂</u>_ _<u>fnx</u>_ _<u>∂</u>_ _<u>f</u>_ <u>1</u> _∂x_ 1 (8) _A_ _c_ = <sup>_<u>∂</u>_</sup> <sup>_<u>f</u>_</sup> _∂_ _x_ <sup>=</sup>   _<u>∂</u>_ _<u>f</u>_ <u>1</u> _<u>∂</u>_ _<u>f</u>_ <u>1</u> _· · ·_ _<u>∂</u>_ _<u>f</u>_ <u>1</u> _∂x_ 1 _∂x_ 2 _∂xnx_ _<u>∂</u>_ _<u>f</u>_ <u>2</u> _<u>∂</u>_ _<u>f</u>_ <u>2</u> _· · ·_ _<u>∂</u>_ _<u>f</u>_ <u>2</u> _∂x_ 1 _∂x_ 2 _∂xnx_   _∂x_ 1 _<u>∂</u>_ _<u>fnx</u>_ _· · ·_ _<u>∂</u>_ _<u>fnx</u>_ _∂x_ 2 _∂xnx_ at every point. With an equivalent notation, we define _B_ _c_ = <sup>_<u>∂</u>_</sup> _∂_ _u_ <sup>_<u>f</u>_</sup> <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>h</u>_</sup> _x_ <sup>and</sup> <sup>_D_</sup> <sup>_c_</sup> <sup>=</sup> <sup>_<u>∂</u>_</sup> _∂_ _u_ <sup>_<u>h</u>_</sup> <sup>_<u>∂</u>_</sup> _∂_ _u_ <sup>_<u>f</u>_</sup> <sup>,</sup> <sup>_C_</sup> <sup>_c_</sup> <sup>=</sup> <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>h</u>_</sup> _x_ at every point. With an equivalent notation, we define _B_ _c_ = <sup>_<u>∂</u>_</sup> _∂_ _u_ <sup>_<u>f</u>_</sup> <sup>,</sup> <sup>_C_</sup> <sup>_c_</sup> <sup>=</sup> <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>h</u>_</sup> _x_ <sup>and</sup> <sup>_D_</sup> <sup>_c_</sup> <sup>=</sup> <sup>_<u>∂</u>_</sup> _∂_ _u_ <sup>_<u>h</u>_</sup> <sup>and arrive at the</sup> definition of the linearized system: _x_ ˙ = _f_ ( _x_ _k_, _u_ _k_ ) + _A_ _c_ ( _x_ _−_ _x_ _k_ ) + _B_ _c_ ( _u_ _−_ _u_ _k_ ) (9) _y_ = _h_ ( _x_ _k_, _u_ _k_ ) + _C_ _c_ ( _x_ _−_ _x_ _k_ ) + _D_ _c_ ( _u_ _−_ _u_ _k_ ) (10) Since the linearization point is not a steady-state one, the expression _f_ ( _x_ _k_, _u_ _k_ ) is different from zero. By introducing the following definition: _Kx_ = _f_ ( _x_ _k_, _u_ _k_ ) _−_ _A_ _c_ _x_ _k −_ _B_ _c_ _u_ _k_ (11) _Ky_ = _h_ ( _x_ _k_, _u_ _k_ ) _−_ _C_ _c_ _x_ _k −_ _D_ _c_ _u_ _k_ (12) the linearized system can be written as follows: _x_ ˙ = _A_ _c_ _x_ + _B_ _c_ _u_ + _Kx_ (13) _y_ = _C_ _c_ _x_ + _D_ _c_ _u_ + _Ky_ (14) <u>43</u> _Energies_ 2020, _13_, 5353 9 of 16 _4.2._ _Discretization of the Linearized System_ After the system has been linearized, it is discretized using zero-order hold discretization as - shown below. Let _A_ be defined as _A_ = it is _<u>A</u>_ _<u>c</u>_ <u>[</u> _<u>B</u>_ _<u>c</u>_ _<u>Kx</u>_ <u>]</u> 0 0 _<u>A</u>_ _<u>d</u>_ _<u>B</u>_ _<u>d</u>_ _<u>Kx</u>_ _<u>d</u>_ , then = _e_ <sup>_A_</sup> <sup>_Ts_</sup> (15) 0 _I_ holds with _Ts_ being the sampling time and _I_ being the identity matrix of appropriate size. Here, _C_ _d_ = _C_ _c_ (16) _D_ _d_ = _D_ _c_ (17) _Ky_ _d_ = _Ky_ (18) also holds. By appropriately extracting the system matrices _A_ _d_, _B_ _d_, _C_ _d_, and _D_ _d_ as well as the equilibrium offset terms _K_ _xd_ and _K_ _yd_, one obtains the system: _x_ _i_ +1 = _A_ _d_ _x_ _i_ + _B_ _d_ _u_ _i_ + _Kx_ _d_ (19) _y_ _i_ = _C_ _d_ _x_ _i_ + _D_ _d_ _u_ _i_ + _Ky_ _d_ (20) for which the system matrices _A_ _d_, _B_ _d_, _C_ _d_ and _D_ _d_ obtained at every sample instant _k_ are assumed constant throughout the prediction. Here the index _i_ is used to denote the prediction steps. It ranges from 1 to _Np_ with _Np_ being the prediction horizon. By taking a difference operation on both sides of Equation (19), one obtains _x_ _i_ +1 _−_ _x_ _i_ = _A_ _d_ ( _x_ _i −_ _x_ _i−_ 1) + _B_ _d_ ( _u_ _i −_ _u_ _i−_ 1) + _Kx_ _d_ _−_ _Kx_ _d_ . (21) By defining Δ _x_ _i_ = _x_ _i −_ _x_ _i−_ 1 and Δ _u_ _i_ = _u_ _i −_ _u_ _i−_ 1, then Equation (21) becomes: Δ _x_ _i_ +1 = _A_ _d_ Δ _x_ _i_ + _B_ _d_ Δ _u_ _i_ (22) It has to be noted that the affine term _K_ _xd_ vanishes when the difference operator is applied since the linearized model used for prediction is unchanged throughout the prediction. Standard procedure for linear MPC is now applied and after the control move Δ _u_ has been calculated, the process of linearization, discretization, and linear MPC formulation is reiterated. This formulation is not bound to the system configuration at hand and can be generally applied. _4.3._ _Control Goals_ The goal is to track the power demand from the vehicle while ensuring safe and efficient operation. Outputs to be controlled:   _Pnet_ Δ _p_ _ηsys_  _y_ =    (23) Reference values: - The reference value for the power is actually the power demand acquired from the vehicle. - The membrane pressure difference is, if possible, kept at 200 mbar. - The efficiency is maximized, having a reference value of 1. <u>44</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 10 of 16 In the SLMPC formulation, the controller minimizes the cost function: _J_ = + _Np_ ∑ _i_ =1 _Nc_ ∑ _j_ =1 _||_ Δ _u_ ( _k_ + _j_ ) _||_ <sup>2</sup> _R_ _||_ Δ _u_ ( _k_ + _j_ ) _||_ <sup>2</sup> _||_ _y_ _re f_ ( _k_ + _i_ ) _−_ _y_ ˆ( _k_ + _i_ ) _||_ <sup>2</sup> _Qy_ <sup>+</sup> (24) with _Qy_ and _R_ being the output and input weighting matrices, respectively. _Nc_ is the control horizon, _y_ ˆ( _k_ + _i_ ) is the output prediction. _4.4._ _Constraints_ To ensure safe operation, the following state constraints are applied _mO_ <sup>_ca_</sup> 2 <sup>_≥_</sup> <sup>1 g</sup> (25) _m_ <sup>_an_</sup> _H_ 2 <sup>_≥_</sup> <sup>0.5 g</sup> (26) 1 bar _≤pca_ _≤_ 2.4 bar (27) 1 bar _≤pan_ _≤_ 2.4 bar (28) 100 mbar _≤_ Δ _p ≤_ 300 mbar (29) Because of physical limitations, constraints on the actuating variables have to be imposed as well: _Win_ <sup>_ca_</sup> <sup>_≥_</sup> <sup>0</sup> (30) _Win_ <sup>_an_</sup> <sup>_≥_</sup> <sup>0</sup> (31) _I_ _≥_ 0 (32) 0 _≤αca_ _≤_ 1 (33) The vector of control moves is the solution of the optimization Δ _u_ _k_ +1 Δ _u_ _k_ +2 ... Δ _u_ _k_ + _Nc_   Δ _U_ =   (34) Δ _U_ = arg minΔ _U_ <sup>J s.t.</sup> <sup>Equations (25)–(33)</sup> (35) Following the receding horizon principle, only the first step Δ _uk_ +1 is applied to the system. _4.5._ _SLMPC Numerical Values_ The sampling time for the SLMPC was _Ts_ = 20 ms and the prediction horizon was _Np_ = 50 (1 s). The control horizon was _Nc_ = 25. The output weighting matrix has been brought in Equation (36). 1 0 0 0 0.01 0 0 0 0.01   (36) _Qy_ =   The weighting matrix shows that the controller tries to follow the power demand and to keep the pressure difference at 200 mbar as well as operate efficiently. To solve the optimization problem (Equation (35)) at every time step, qpOASES was used, an open-source QP solver. Software info: qpOASES v3.0, Hans Joachim Ferreau et al., ABB Corporate Research, Switzerland [31]. <u>45</u> _Energies_ 2020, _13_, 5353 11 of 16 5. Results and Discussion In this section, the vehicle power demand tracking while ensuring safe and efficient operation is presented. _5.1._ _Power Demand Tracking_ In Figure 4a the tracking of the system power demand is shown along with the actual net power measured from the vehicle. The part of the drive cycle before 400 s is omitted because the vehicle was not in its normal operating state during that time, but rather, it experienced a few emergency shut-down events which are not representable by the model at this point. From the presented drive cycle fraction, it is obvious that the controller can fulfill the power demand as shown in Figure 4a. In Figure 4c a detail of the power demand tracking is brought for demonstration purposes. _5.2._ _Safe Operation_ The controller shows its capability of ensuring safe operation in various aspects. Firstly, it cankeep the pressure difference across the membrane between its bounds Equation (29) as shown in Figure 4b. Examining the segment of the drive cycle shown in Figure 4d, a few key points should be mentioned. The power demand during the shown segment is the highest (60 kW) so purging events happen more often than at other instances. The SLMPC can react and keep the pressure difference within the safety limits due to the knowledge of the upcoming purging event and thus proving to be a promising concept for fuel cell dynamic control. The conventional control procedure in the vehicle was not able to maintain the pressure difference value within the safety range. Secondly, the controller can keep the system from operating in starvation conditions by always having a reserve of reactant mass as shown in Figure 4e,f. It is worth noting that the oxygen and hydrogen masses shown in Figure 4e,f are not measured, but are the internal states of the fuel cell given by the model. In future work, if the model is validated and proven to represent reality accurately, the knowledge of internal states can be of great importance, as shown in this work. No results were shown regarding the absolute pressure safety limits (Equations (27) and (28)) as they were not at risk of being violated throughout the simulation. _5.3._ _Efficient Operation_ The system efficiency comparison between the proposed control concept and the actual vehicle operation is shown in Figure 5a. The SLMPC operates usually at higher efficiencies, except during the periods of high power demand where both cannot be achieved. The authors acknowledge that the reason for higher efficiency in most of the drive cycle is partly due to the predictive capability of the controller which is not available in real life as the future power trajectory is generally not known. Further investigation considering that fact is currently underway. Examining Equation (4), one can deduce that increasing efficiency implies operation at lower currents as well as higher voltages. In addition, the compressor power should be as small as possible. As already mentioned, except for the high power demand periods, i.e., from 565 s to 590 s, the current (Figure 5b) and compressor power (Figure 5c) are lower and the voltage (Figure 5d) is higher, as it should be. The temperature is not controlled in this simulation study and is assumed constant with a value of 70 °C. The measured stack temperature in the vehicle has been observed to be between 60 °C and 75 °C as seen in Figure 5e. The voltage of the fuel cell is increased when the ohmic losses are decreased. The ohmic resistance is inversely proportional to the protonic conductivity _σ_ : - <u>1</u> 303 <sup>_−_</sup> _T_ <sup><u>1</u></sup> �� (37) _σ_ ( _T_, _λm_ ) = ( _e_ 0 _λm_ + _e_ 1) exp _e_ 2 <u>46</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 12 of 16 which increases with the membrane water content _λm_ : _λm_ = 0.043 + 17.18 _am_, _d −_ 39.85 _a_ <sup>2</sup> _m_ <sup>2</sup> _m_, _d_ <sup>+ 36</sup> <sup>_a_</sup> <sup>3</sup> _m_ <sup>3</sup> _m_, _d_ <sup>.</sup> (38) The values of _e_ 0, _e_ 1, and _e_ 2 are parameters taken from the literature and through fitting. The effect of the membrane water content is included in the electrochemical model, thus, the SLMPC “knows” that efficiency is high under conditions of higher humidity and acts accordingly. Even though humidity is not actively manipulated, it is controlled with the available control inputs presented in Equation (7). To increase the membrane water content and by extension, the efficiency, the controller can, for example, close the cathode backpressure valve and/or reduce the air inflow to keep the water vapor from flowing out, preventing membrane dryout. The explained implicit consideration of the membrane water content is exactly what happens as seen in Figure 5f, keeping the membrane hydrated. The problem of flooding is currently not included in the model, but research in that respect is underway. However, as visible from the measured voltage in Figure 5d, no serious breakdown happened which could be attributed to the effects of liquid water. The authors have also been informed by the vehicle manufacturers that draining events happen quite often, thus, the quantity of liquid water present during operation is minimized. Hydrogen saving The rate of hydrogen consumption _m_ ˙ _H_ 2 is given by Faraday’s law: _<u>I</u>_ _m_ ˙ _H_ 2 = 2 _F_ <sup>_Ncells_</sup> <sup>_MH_</sup> <sup>2</sup> (39) with _I_ being the stack current, _F_ the Faraday constant, _Ncells_ the total number of cells, and _MH_ 2 the hydrogen molar mass. As already described above, from the equation alone is obvious that saving hydrogen implies operation at lower currents as is exactly the case as shown in Figure 5b. To calculate the actual consumed hydrogen, it is necessary to integrate Equation (39) over time. The results are shown in Table 1: Table 1. Consumed hydrogen. Vehicle operation 218.60 g Simulation 197.70 g The results indicate potential hydrogen savings of 9.54%. <u>47</u> _Energies_ 2020, _13_, 5353 13 of 16 System power tracking and safe operation 7 6 5 4 3 2 <u>10</u> <sup>4</sup> SLMPC Vehicle operation Reference 1 400 450 500 550 600 650 700 750 800 Time in s ( a ) Net system power <u>10</u> <sup>4</sup> 4 2 0 -2 SLMPC Vehicle operation Safety limit -4 400 450 500 550 600 650 700 750 800 Time in s ( b ) Pressure difference across the membrane <u>10</u> <sup>4</sup> <u>10</u> <sup>4</sup> 6 5 4 3 2 SLMPC Vehicle operation Reference 1 550 560 570 580 590 600 610 620 Time in s ( c ) Net system power: detail 550 560 570 580 590 600 610 620 Time in s ( d ) Pressure difference across the membrane: detail <u>10</u> <sup>-4</sup> 4 2 0 -2 SLMPC Vehicle operation Safety limit 1.3 1.2 1.1 1 <u>10</u> <sup>-3</sup> SLMPC Safety limit 8 7 6 5 SLMPC Safety limit 0.9 400 500 600 700 800 Time in s ( e ) Oxygen mass in cathode 400 500 600 700 800 Time in s ( f ) Hydrogen mass in anode Figure 4. The blue line shows the successive linearization based model predictive control (SLMPC) performance, whereas the red line shows the vehicle operation. In plots ( a, c ) the green line shows the reference power while in plots ( b, d - f ) it shows the safety limit for the presented variables. <u>48</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 14 of 16 Efficient operation 70 65 60 55 50 45 40 SLMPC Vehicle operation 35 400 450 500 550 600 650 700 750 800 Time in s ( a ) System efficiency 400 300 200 100 0 400 450 500 550 600 650 700 750 800 Time in s ( b ) Stack current 15000 10000 5000 0 -5000 400 500 600 700 800 Time in s ( c ) Compressor power 80 75 70 65 60 55 400 500 600 700 800 Time in s ( e ) Temperature 250 200 150 400 500 600 700 800 Time in s ( d ) Voltage 14 13 12 11 10 9 8 400 500 600 700 800 Time in s ( f ) Membrane water content Figure 5. The blue line shows the SLMPC performance, whereas the red line shows the vehicle operation. 6. Conclusions In this paper, a simulation study using successive linearization based model predictive control has been presented. The proposed control concept was able to track the power demand of a hydrogen-powered fuel cell vehicle while ensuring safe and efficient operation. Comparison with the actual vehicle controlled by a set of PI controllers showed that the SLMPC approach is a promising one in the future of control of fuel cells in automotive applications. <u>49</u> _Energies_ 2020, _13_, 5353 15 of 16 Author Contributions: Conceptualization and methodology, M.V., D.R. and S.J.; software development and investigation, M.V., D.R.; data curation and visualization, M.V.; writing—original draft, M.V.; writing—review and editing, D.R., S.J.; supervision and project administration, S.J. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded by the Austrian Research Promotion Agency (Österreichische Forschungsförderungsgesellschaft) grant number 865181. The APC was funded by TU Wien Bibliothek. Acknowledgments: Special thanks to the engineers from AVL List GmbH for providing the data of the vehicle drive cycle as well as for all the useful advice and explanations. The authors acknowledge TU Wien Bibliothek for financial support through its Open Access Funding Program. Conflicts of Interest: The authors declare no conflict of interest. References 1. Barbir, F. _PEM Fuel Cells:_ _Theory and Practice_, 2nd ed.; Elsevier Inc.: Amsterdam, The Netherlands, 2013. 2. Pukrushpan, J.T.; Peng, H.; Stefanopoulou, A.G. Control-oriented modeling and analysis for automotive fuel cell systems. _J. Dyn._ _Syst._ _Meas._ _Control._ _Trans._ _ASME_ 2004, _126_, 14–25. [CrossRef] 3. Danzer, M.A.; Wilhelm, J.; Aschemann, H.; Hofer, E.P. Model-based control of cathode pressure and oxygen excess ratio of a PEM fuel cell system. _J. Power Sources_ 2008, _176_, 515–522. [CrossRef] 4. Da Fonseca, R.; Bideaux, E.; Gerard, M.; Jeanneret, B.; Desbois-Renaudin, M.; Sari, A. Control of PEMFC system air group using differential flatness approach: Validation by a dynamic fuel cell system model. _Appl. Energy_ 2014, _113_, 219–229. [CrossRef] 5. Chen, J.; Member, S.; Liu, Z.; Wang, F.; Ouyang, Q.; Su, H. Optimal Oxygen Excess Ratio Control for PEM Fuel Cells. _IEEE Trans._ _Control._ _Syst._ _Technol._ 2018, _26_, 1711–1721. [CrossRef] 6. Ebadighajari, A.; Devaal, J.; Golnaraghi, F. Multivariable control of hydrogen concentration and fuel over-pressure in a polymer electrolyte membrane fuel cell with anode re-circulation. In Proceedings of the 2016 American Control Conference, Boston, MA, USA, 6–8 July 2016; pp. 4428–4433. [CrossRef] 7. Pukrushpan, J.T.; Stefanopoulou, A.G.; Peng, H.; Berlin, S.; Newyork, H.; Kong, H.; Milan, L.; Tokyo, P. _Control of Fuel Cell Power Systems Principles, Modeling, Analysis, and Feedback Design-Monograph_ ; Springer: Berlin/Heidelberg, Germany, 2004. 8. Li, Q.; Chen, W.; Wang, Y.; Jia, J.; Han, M. Nonlinear robust control of proton exchange membrane fuel cell by state feedback exact linearization. _J. Power Sources_ 2009, _194_, 338–348. [CrossRef] 9. Liu, Z.; Chen, J.; Chen, H.; Yan, C. Air supply regulation for PEMFC systems based on uncertainty and disturbance estimation. _Int._ _J. Hydrog._ _Energy_ 2018, _43_, 11559–11567. [CrossRef] 10. Vahidi, A.; Stefanopoulou, A.; Peng, H. Current management in a hybrid fuel cell power system: A model-predictive control approach. _IEEE Trans._ _Control._ _Syst._ _Technol._ 2006, _14_, 1047–1057. [CrossRef] 11. Meidanshahi, V.; Karimi, G. Dynamic modeling, optimization and control of power density in a PEM fuel cell. _Appl._ _Energy_ 2012, _93_, 98–105. [CrossRef] 12. Hähnel, C.; Aul, V.; Horn, J. Power Control for Efficient Operation of a PEM Fuel Cell System by Nonlinear Model Predictive Control. _IFAC PapersOnLine_ 2015, _48_, 174–179. [CrossRef] 13. Han, X.; Li, F.; Zhang, T.; Zhang, T.; Song, K. Economic energy management strategy design and simulation for a dual-stack fuel cell electric vehicle. _Int._ _J. Hydrog._ _Energy_ 2017, _42_, 11584–11595. [CrossRef] 14. Luna, J.; Usai, E.; Husar, A.; Serra, M. Enhancing the efficiency and lifetime of a proton exchange membrane fuel cell using nonlinear model-predictive control with nonlinear observation. _IEEE Trans._ _Ind._ _Electron._ 2017, _64_, 6649–6659. [CrossRef] 15. Rodatz, P.; Paganelli, G.; Sciarretta, A.; Guzzella, L. Optimal power management of an experimental fuel cell/supercapacitor- powered hybrid vehicle. _Control Eng._ _Pract._ 2005, _13_, 41–53. [CrossRef] 16. Shen, D.; Lim, C.C.; Shi, P. Robust fuzzy model predictive control for energy management systems in fuel cell vehicles. _Control Eng._ _Pract._ 2020, _98_, 104364. [CrossRef] 17. Kerviel, A.; Pesyridis, A.; Mohammed, A.; Chalet, D. An evaluation of turbocharging and supercharging options for high-efficiency Fuel Cell Electric Vehicles. _Appl._ _Sci._ 2018, _8_, 2474. [CrossRef] 18. Arce, A.; Del Real, A.J.; Bordons, C.; Ramírez, D.R. Real-time implementation of a constrained MPC for efficient airflow control in a PEM fuel cell. _IEEE Trans._ _Ind._ _Electron._ 2010, _57_, 1892–1905. [CrossRef] <u>50</u> <u>2.1</u> <u>Publication</u> <u>A</u> _Energies_ 2020, _13_, 5353 16 of 16 19. Gruber, J.K.; Doll, M.; Bordons, C. Design and experimental validation of a constrained MPC for the air feed of a fuel cell. _Control Eng._ _Pract._ 2009, _17_, 874–885. [CrossRef] 20. Gruber, J.K.; Bordons, C.; Oliva, A. Nonlinear MPC for the airflow in a PEM fuel cell using a Volterra series model. _Control Eng._ _Pract._ 2012, _20_, 205–217. [CrossRef] 21. Amin; Bambang, R.T.; Rohman, A.S.; Dronkers, C.J.; Ortega, R.; Sasongko, A. Energy management of fuel cell/battery/supercapacitor hybrid power sources using model predictive control. _IEEE_ _Trans._ _Ind. Informatics_ 2014, _10_, 1992–2002. [CrossRef] 22. Puig, V.; Feroldi, D.; Serra, M.; Quevedo, J.; Riera, J. Fault-tolerant MPC control of PEM fuel cells. _IFAC Proc._ _Vol._ _(IFAC Papers Online)_ 2008, _17_, 11112–11117. [CrossRef] 23. Zhakatayev, A.; Rakhim, B.; Adiyatov, O.; Baimyshev, A.; Varol, H.A. Successive linearization based model predictive control of variable stiffness actuated robots. In Proceedings of the IEEE/ASME International Conference on Advanced Intelligent Mechatronics, Munich, Germany, 3–7 July 2017; pp. 1774–1779. [CrossRef] 24. Ławry´nczuk, M. Nonlinear predictive control of a boiler-turbine unit: A state-space approach with successive on-line model linearisation and quadratic optimisation. _ISA Trans._ 2017, _67_, 476–495. [CrossRef] 25. Bamimore, A.; Taiwo, O.; King, R. Comparison of two nonlinear model predictive control methods and implementation on a laboratory three tank system. In Proceedings of the IEEE Conference on Decision and Control, Orlando, FL, USA, 12–15 December 2011; pp. 5242–5247. [CrossRef] 26. Goshtasbi, A.; Ersal, T. LQ-MPC design for degradation-conscious control of PEM fuel cells. In Proceedings of the American Control Conference, Philadelphia, PA, USA, 10–12 July 2019; pp. 1555–1560. [CrossRef] 27. 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] 28. 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_ . [CrossRef] 29. KEYTECH4EV Development and Demonstration of Key Technologies for Low-Cost Electric Vehicle Platforms. Available online: http://iesta.at/keytech4ev/ (accessed on 13 August 2020). 30. Yousfi-Steiner, N.; Moçotéguy, P.; Candusso, D.; Hissel, D. A review on polymer electrolyte membrane fuel cell catalyst degradation and starvation issues: Causes, consequences and diagnostic for mitigation. _J. Power_ _Sources_ 2009, _194_, 130–145. [CrossRef] 31. Ferreau, H.J.; Kirches, C.; Potschka, A.; Bock, H.G.; Diehl, M. qpOASES: A parametric active-set algorithm for quadratic programming. _Math._ _Program._ _Comput._ 2014, _6_, 327–363. [CrossRef] Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. © 2020 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 (http://creativecommons.org/licenses/by/4.0/). <u>51</u> #### 2.2 Publication B 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”. In: _Energies_ 14.8 (2021). doi: `[10.3390/en14082206](https://doi.org/10.3390/en14082206)` Applicant’s Contribution <sup>†</sup> - Martin Vrlić: Conceptualization, Methodology, Investigation, Software, Visualization, Writing - Original Draft - Daniel Ritzberger: Conceptualization, Methodology, Writing - Review & Editing - Stefan Jakubek: 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>52</u> <u>2.2</u> <u>Publication</u> <u>B</u> ## _energies_ _Article_ ###### Model-Predictive-Control-Based Reference Governor for Fuel Cells in Automotive Application Compared with Performance from a Real Vehicle Martin Vrli´c <sup>1,</sup> *, Daniel Ritzberger <sup>2</sup> and Stefan Jakubek <sup>1</sup> 1 Institut für Mechanik und Mechatronik, Technische Universität Wien, Getreidemarkt 9, 1060 Vienna, Austria; stefan.jakubek@tuwien.ac.at 2 AVL List GmbH, Hans-List-Platz 1, 8020 Graz, Austria; Daniel.Ritzberger@avl.com * Correspondence: martin.vrlic@tuwien.ac.at �������� ������� Citation: 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. https:// doi.org/10.3390/en14082206 Academic Editor: Felix Barreras Received: 24 March 2021 Accepted: 12 April 2021 Published: 15 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: In this paper, a real-time capable reference governor superordinate model predictive controller (RG-MPC) is developed for fuel cell (FC) control suitable for automotive application. The RG-MPC provides reference trajectories for the subordinate proportional-integral (PI) controllers, which act directly on the FC system. Antiwindup and decoupling schemes, which are common problems in multivariable PI control, are unnecessary, given that the RG-MPC can inherently consider constraints and multivariable systems. The PI dynamics are incorporated into the prediction model used for control, ensuring the feasibility of the provided references for the PI controllers. The successive linearization technique is used in the RG-MPC to cope with the model’s nonlinear nature in real-time. The concept has been illustrated in a simulation scenario featuring efficient and safe power control of an FC stack in automotive application using real driving data obtained from an in-house-built FC vehicle. This work is the first step towards upgrading an existing, PI-based control scheme without the necessity of completely rebuilding the interface. Keywords: reference governor; fuel cell; automotive; model predictive control; successive linearization; safe operation; efficient operation 1. Introduction In the ever-increasing public awareness of the presence of accelerated environmental pollution processes in the world, researchers from many fields of expertise have focused their efforts into finding energy sources alternative to fossil fuels and new sources altogether [1,2]. Development of hydrogen-powered fuel cells (FC) is of particular interest due to their zero-emission nature and wide area of applicability such as in portable, mobile, and stationary devices. The fact that there is a vast quantity of hydrogen present on Earth in the form of water, in theory, removes the problem of energy shortage in the world. In this paper, automotive application of fuel cells will be of special interest. In the world’s attempt to use clean energy in automotive applications, zero-emission polymer electrolyte membrane (PEM) fuel cells qualify as an interesting solution because of their high power density, fast start-up, and low operating temperature. To deliver the required power demand to the vehicle, an appropriate control strategy must be developed. Apart from the power request, additional objectives have to be considered, namely, safety and efficiency. It is important that, during operation, the FC stack powering the vehicle does not run into degrading operating conditions such as hydrogen/oxygen starvation, excess pressure difference across the membrane, nitrogen accumulation, membrane dryout, flooding, etc. On the economic side, the control strategy should aim to reduce the parasitic power losses (e.g., compressor, recirculation pump) as much as possible as well as increase the FC stack efficiency by operating in favorable voltage regions, i.e., at higher voltages. Much research has been done regarding fuel cell control. A recent fuel cell control review paper brings forth the most popular control methods used in this field [3]. The well _Energies_ 2021, _14_, 2206. https://doi.org/10.3390/en14082206 https://www.mdpi.com/journal/energies <u>53</u> _Energies_ 2021, _14_, 2206 2 of 17 known proportional-integral-derivative (PID) control was used in [4,5] for fuel starvation prevention by manipulating the current or air/hydrogen flow. Adaptive control of oxygen stoichiometry in terms of sliding mode control and robust adaptive control was used in [6–8], where the controller’s parameters were estimated by closed-loop least square parameter identification algorithms. Neural optimal control (NOC) was used in [9] to control the current demand by training the cerebellar model articulation controller. Its long-term memory would be trained offline, reducing the computational effort needed during operation. Its short-term memory only was trained online, then the controller was compared to a PI controller and showed better results. In addition, another concept superior to PI control is dynamic neural network control (DDNC) used in [10], where the neural network learns continuously. The existence of all mentioned control strategies clearly shows that fuel cells have many interesting problems that can be tackled by different advanced approaches. The question that arises is how to effectively use the control theory knowledge in dynamic practical applications such as a vehicle, as opposed to only partially controlling a certain subsystem. In this work, one way of using advanced control schemes in automotive application will be proposed. When it comes to vehicle level control, the majority of manufacturers and industries still prefer to use rule-based and/or PI-based control algorithms since they are simple to understand and implement, unlike some of the above reported methods that require advanced implementation techniques or control engineering knowledge. A more sophisticated control algorithm than PI, but still intuitive enough to be understood easily, is model predictive control (MPC) which uses a model to predict future operating conditions of the fuel cell and act on the plant so that all the control goals are fulfilled. Such an approach is appropriate for fuel cell control since it can inherently deal with multivariable systems due to its knowledge of the whole system dynamics, and incorporate constraints, both of which are drawbacks of PI-based control. Due to the mentioned strong characteristics of MPC, researchers have used this concept in fuel cell control for a variety of objectives. MPC was popularly used in reactant starvation prevention as reported in [11–15]. The membrane pressure difference was controlled by MPC in [16], as well as in [11,12], where protection against compressor surge/choke was the control goal. The concept of MPC was even used in an experimental setup to achieve a power request, however, the reported load profile was in the range of a few kilowatts and stayed at a single steady-state power value for a long time, not representing a real drive cycle [17,18]. A recent paper stands out, showing an interesting approach to using linear time by varying MPC with the goal of controlling the power of the fuel cell in simulated driving conditions while imposing constraints on many critical physical quantities (e.g., pressure, temperature, humidity) ensuring safe operation of the fuel cell, partly sharing the paradigm of this paper [19]. MPC shows the most promise compared to other control strategies in the sense that it exhibits all the elements necessary for safe and efficient operation of multivariable constrained systems [20]. However, even though the advantages of MPC over PI are known and obvious, it is usually not used in industries for a few reasons. Firstly, PI controllers are easily understandable, and secondly, much effort must be invested in designing and tuning the controllers. Both reasons give points to the reluctance of changing the existing setup. In this paper, the concept of reference governor MPC (RG-MPC) is introduced into the world of fuel cell control, serving as a bridge between the sophisticated MPC approach and the well-known, easy-to-use PI concept. The idea of MPC-based reference governors is not new, but their usage is scarce in fuel cell control theory. An RG-MPC provides optimized references for the PI controllers acting directly on the plant [21–24]. This approach gives two major advantages. First, the reference trajectories are given by the RG-MPC so that all the constraints are satisfied, removing the necessity of using any antiwindup scheme or retuning the PI controllers, both of which can deteriorate performance. Second, MPC inherently handles multivariable systems meaning that no decoupling schemes are needed, unlike in a purely PI-based scheme, since an individual controller is not aware of the existence of the other PI controllers. Additionally, if the PI controllers have been already <u>54</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 3 of 17 well tuned and implemented, and if during operation of the RG-MPC something goes wrong, the operating strategy can be easily switched back to the one with PIs only. With that in mind, placing the RG-MPC on top of the existing PI controllers as a superordinate control layer shows more promise towards implementing an optimal control scheme to an industrial plant rather than completely replacing the PIs with MPC. To test and illustrate the above-described control idea in a simulation environment, a nonlinear state-space plant model describing the fuel cell stack was used. The plant model was then augmented with the PI dynamics resulting in the prediction model used by the RG-MPC to provide optimized references for the PIs. The control goal was to deliver the power demand from a research fuel cell vehicle presented in Section 2, while ensuring safe and efficient operating conditions. A schematic illustration of the above explained scenario is shown in Figure 1. Since the model is nonlinear, the successive linearization technique was used [25–28]. For more detail regarding the model and the successive linearization-based MPC, the reader is referred to the authors’ previous work [29,30]. The problem of state estimation is not treated in this paper for brevity. The state observer implementation used in this work can be found in [31]. This paper is organized as follows. In Section 2, the vehicle is briefly presented and discussed. In Section 3, the model is shown and the incorporation of PI dynamics into the model is discussed. Also, the development of the RG-MPC is brought, detailing the control goals and constraints, as well as the formulation of the optimization problem. In Section 4, results showing the tracking of a real vehicle’s power demand using the RG-MPC are presented. Finally, in Section 5, the paper is concluded with a proposal for future work on implementing optimal control into the control units of fuel cell vehicles. Power demand ���� ���� RG-MPC - PI controllers Fuel cell system Figure 1. Reference governor model predictive control (MPC) schematics. RG—reference governor; PI—proportional-integral. 2. Vehicle as Validation Data Generator The RG-MPC was tested in a simulation environment mimicking a real drive cycle performed by a research vehicle developed in the scope of the Keytech4EV project [32]. In the hybrid electric vehicle, the engine bay was replaced with a fuel cell system. The car is shown in Figure 2 and more information on it can be found in [29,30]. <u>55</u> _Energies_ 2021, _14_, 2206 4 of 17 Figure 2. AVL List GmbH research demonstrator vehicle. _Vehicle Control Strategy_ In the vehicle control unit, the low-level controllers represented by the middle column in Figure 3, receive their setpoints from experimentally obtained and calibrated optimization maps. Clearly, the effort for obtaining the proper set-point calculation strategy is considerable and consists of some important elements: - Tuning the controllers: it takes a lot of time, especially since decoupling has to be achieved and antiwindup schemes implemented. Further, the number of controllers to be tuned is high. - Experimental work: to relate the requested power to the current, and then the current to all the other variables, the system has to be identified and a series of experiments with different levels of excitation at multiple operating points need to be conducted. This obviously includes a significant financial investment. - Recalibration: in the case that a component is replaced (e.g., new compressor), the calibration process has to be repeated to some degree. Current control Power demand Setpoint Setpoints Pressure control Actuators Fuel cell Setpoint calculation Setpoints Pressure control Actuators Pressure control system Air-flow control ... Figure 3. Control scheme of the fuel cell vehicle. 3. Methods _3.1._ _Plant Model_ In this subsection, the model used for the study is briefly presented as the detailed derivation can be found in [29,30]. The model structure is shown in Figure 4. <u>56</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 5 of 17 _Cathode_ _Anode_ ����� ����� ����� ����� ����� ������ ������ ����� _Gas diffusion_ _layer_ _+_ _membrane_ ����� ����� ����� ������ ������ ����� ������ ������ ������� ��,� _El. chem._ _+_ _Compressor_ ��� ���� _I_ ������ Figure 4. Fuel cell model structure used in the paper. Different colors denote different submodels. 3.1.1. Cathode Submodel Three interconnected zero-dimensional manifolds represent the cathode channel of the fuel cell. The first in the series, called the supply manifold, is described by a single dynamic state, the supply manifold pressure _p_ <sup>_ca_</sup> _sm_ <sup>.</sup> <sup>The</sup> <sup>center</sup> <sup>manifold</sup> <sup>is</sup> <sup>described</sup> <sup>by</sup> four states, namely, the masses of oxygen, nitrogen, water vapor, and liquid water: _mO_ <sup>_ca_</sup> 2 <sup>,</sup> _m_ <sup>_ca_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_ca_</sup> <sup>,</sup> <sup>_mca_</sup> _liq_ <sup>, respectively.</sup> <sup>The exit manifold is described by one state, the exit manifold</sup> pressure _p_ <sup>_ca_</sup> _em_ <sup>.</sup> Entering the cathode channel is the inlet air mass-flow _Win_ <sup>_ca_</sup> <sup>, and at the end of the chan-</sup> nel is a backpressure valve characterized by its opening position _αca_ . Oxygen stoichiometry is defined as the ratio between the inlet oxygen flow and the rate of oxygen consumption in the reaction. It is denoted as _λO_ 2. <sup>_ca_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_ca_</sup> _vap_ <sup>_ca_</sup> <sup>,</sup> <sup>_mca_</sup> _liq_ _p_ <sup>_ca_</sup> _em_ <sup>.</sup> Entering the cathode channel is the inlet air mass-flow _Win_ <sup>_ca_</sup> 3.1.2. Anode Submodel Similar with the cathode side, the anode channel is described by three interconnected zero-dimensional manifolds. The first of the three is described by the anode supply manifold pressure _psm_ <sup>_an_</sup> <sup>.</sup> <sup>The</sup> <sup>center</sup> <sup>manifold</sup> <sup>is</sup> <sup>described</sup> <sup>by</sup> <sup>the</sup> <sup>masses</sup> <sup>of</sup> <sup>hydrogen,</sup> nitrogen, water vapor, and liquid water: _m_ <sup>_an_</sup> _H_ 2 <sup>,</sup> <sup>_man_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_an_</sup> <sup>,</sup> <sup>_m_</sup> _liq_ <sup>_an_</sup> <sup>,</sup> <sup>respectively.</sup> <sup>The</sup> <sup>exit</sup> manifold pressure _pem_ <sup>_an_</sup> <sup>describes the last volume.</sup> Hydrogen entering the anode supply manifold is quantified with the inlet mass-flow _Win_ <sup>_an_</sup> <sup>. At the end of the channel, there exists a purge valve, the opening of which is described</sup> with _αpurge_ . Hydrogen stoichiometry is defined as the ratio between the inlet hydrogen flow and the rate of hydrogen consumption in the reaction. It is denoted as _λH_ 2. <sup>_an_</sup> _H_ 2 <sup>,</sup> <sup>_man_</sup> _N_ 2 <sup>_an_</sup> _N_ 2 <sup>,</sup> <sup>_m_</sup> _vap_ <sup>_an_</sup> _vap_ <sup>_an_</sup> <sup>,</sup> <sup>_m_</sup> _liq_ <sup>_an_</sup> 3.1.3. GDL Submodel The dynamics of the GDL on the anode side are neglected due to hydrogen being a highly diffusive gas, but on the cathode, they are described by 3 states—the masses of oxygen, nitrogen, water vapor: _mO_ <sup>_GDL_</sup> 2, _m_ <sup>_GDL_</sup> _N_ 2, _mvap_ <sup>_GDL_</sup> <sup>, respectively.</sup> <sup>The mass exchange</sup> between the GDL and the cathode channel is through the diffusion law. <sup>_GDL_</sup>, _m_ <sup>_GDL_</sup> _O_ 2 _N_ 2 <sup>_GDL_</sup> _N_ 2, _mvap_ <sup>_GDL_</sup> <u>57</u> _Energies_ 2021, _14_, 2206 6 of 17 3.1.4. Power and Efficiency The electrochemical submodel, i.e., the dependence of the FC voltage _V_ on the current _I_ and internal states, is adopted from [33]. The power produced by the FC stack is defined as _Pst_ = _VI_ . The power used by the compressor _Pcp_ is defined as in [34]: - _<u>pcasm</u>_ _patm_ _−_ 1   - <sup>_<u>γ−</u>_</sup> <sup><u>1</u></sup> _<u>γ</u>_ _Pcp_ = _Cp_ _<u>Tatm</u>_ _ηcp_   _Win_ <sup>_ca_</sup> <sup>,</sup> (1) where _Cp_ = 1004 J kg <sup>_−_</sup> <sup>1</sup> K <sup>_−_</sup> <sup>1</sup> is the specific heat capacity of air, _Tatm_ = 25 °C is the temperature of inlet air, _ηcp_ = 0.62 is the compressor efficiency, _patm_ = 101,325 Pa is the pressure of air entering the compressor, and _γ_ = 1.4 is the ratio of the specific heats of air. The net power is then the difference between the produced power and the parasitic compressor power: _Pnet_ = _Pst −_ _Pcp_ . The consumed hydrogen power is defined as _PH_ 2 = _E_ 0 _Ncells_ _I_, (2) where _E_ 0 is the open circuit voltage of a single cell and _Ncells_ is the total number of cells in the stack. The system efficiency _ηsys_ is defined as the ratio between the net power and the consumed hydrogen power _ηsys_ = <sup>_<u>Pnet</u>_</sup> _PH_ 2 . (3) Inserting the expressions for _Pnet_ and _PH_ 2 into Equation (3), one obtains the expression for the system efficiency: _ηsys_ = <sup>_VI −_</sup> <sup>_Pcp_</sup> (4) _E_ 0 _Ncells_ _I_ <sup>.</sup> Analyzing the above equation, one can conclude that in order to maximize efficiency, the FC stack should operate at higher voltages and lower compressor powers. 3.1.5. Surge and Choke Margin A major concern in FC operation control is keeping the compressor operation in a safe area, namely, far from the surge and choke lines, preventing compressor damage. In this work, a hand-tuned reference is given to the controller to track so it has the drive to operate far from dangerous regions. The reference is a linear relation between the pressure ratio of the air exiting and entering the compressor _pratio_ and the corrected air mass-flow exiting the compressor _Wcr_, shown in Figure 5. _pratio_ = 22.74 _Wcr_ + 0.5885. (5) The distance between the current operating point and the closest point on the reference line is denoted as _d_ and defined as _d_ = <sup>_<u>|</u>_</sup> <sup><u>22.74</u></sup> <sup>_<u>W</u>_</sup> ~~�~~ <sup>_<u>cr</u>_</sup> <sup><u>+ 0.5885</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>pratio|</u>_</sup> . (6) 1 + (22.74) <sup>2</sup> <u>58</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 7 of 17 2.5 2 1.5 1 <u>Compressor map</u> Compressor map Reference 70 ~~kRPM~~ 60 kRPM 40 kRPM 20 kRPM _O_ <sup>_ca_</sup> 2 <sup>_mca_</sup> _N_ 0.5 0 0.02 0.04 0.06 0.08 0.1 Corrected mass flow in kg/s Figure 5. Compressor map. The vicinity of the dashed line is chosen as the desired operation region. 3.1.6. Plant Model Summary In summary, the FC model is described with the state vector _x_ _FC_, the input vector _u_ _FC_, and the output vector _y_ _FC_ : _vap_ - _T_ (7) _liq_ <sup>_an_</sup> <sup>_p_</sup> _em_ <sup>_an_</sup> _em_ <sup>_an_</sup> <sup>_a_</sup> _m_, _d_ <sup>_m_</sup> _O_ <sup>_GDL_</sup> 2 _O_ <sup>_GDL_</sup> 2 _m_ <sup>_GDL_</sup> _N_ 2 <sup>_GDL_</sup> _N_ 2 _mvap_ <sup>_GDL_</sup> _vap_ <sup>_an_</sup> <sup>_m_</sup> _liq_ <sup>_an_</sup> <sup>_ca_</sup> _liq_ <sup>_p_</sup> _em_ <sup>_ca_</sup> _em_ <sup>_ca_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> _sm_ <sup>_an_</sup> <sup>_man_</sup> _H_ 2 <sup>_an_</sup> _H_ 2 <sup>_man_</sup> _N_ 2 <sup>_an_</sup> _N_ 2 <sup>_m_</sup> _vap_ <sup>_an_</sup> <sup>_ca_</sup> _N_ 2 <sup>_m_</sup> _vap_ <sup>_ca_</sup> _vap_ <sup>_ca_</sup> <sup>_mca_</sup> _liq_ _x_ _FC_ = _p_ <sup>_ca_</sup> _sm_ <sup>_ca_</sup> _sm_ <sup>_m_</sup> _O_ <sup>_ca_</sup> _in_ <sup>_an_</sup> _I_ _αca_ _αpurge_ - _T_ (8) 2 - _T_, (9) _u_ _FC_ = _Win_ <sup>_ca_</sup> _in_ <sup>_ca_</sup> <sup>_W_</sup> _in_ <sup>_an_</sup> _y_ _FC_ = _Pnet_ _ηsys_ Δ _p_ _d_ _λO_ 2 _λH_ 2 where _am_, _d_ is a state describing the dynamic wetting and drying of the membrane and Δ _p_ = _psm_ <sup>_an_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> <sup>is the pressure difference across the membrane.</sup> _sm_ <sup>_an_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> _psm_ <sup>_an_</sup> <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> <sup>is the pressure difference across the membrane.</sup> Finally, the nonlinear state-space model reads _x_ ˙ _FC_ = _f_ ( _x_ _FC_, _u_ _FC_ ) (10) _y_ _FC_ = _h_ ( _x_ _FC_, _u_ _FC_ ). (11) _3.2._ _Prediction Model_ In Figure 1, it is shown that the PI controllers provide the signals for the control inputs. The inputs in question are the hydrogen mass-flow and cathode backpressure valve position: _sm_ <sup>_an_</sup> <sup>)</sup> <sup>_dτ_</sup> (12) _Win_ <sup>_an_</sup> _in_ <sup>_an_</sup> <sup>=</sup> <sup>_Kp_</sup> <sup>,</sup> <sup>_an_</sup> <sup>(</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup>, _αca_ = _Kp_, _ca_ ( _p_ <sup>_ca_</sup> _sm_, _sm_ <sup>_an_</sup>, _re f_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> <sup>_ca_</sup> _sm_, _re f_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> _sm_ <sup>_an_</sup> <sup>) +</sup> <sup>_K_</sup> _i_, _an_ _sm_ <sup>_ca_</sup> <sup>) +</sup> <sup>_K_</sup> _i_, _ca_ - _t_ 0 <sup>(</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup>, _re f_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> _sm_ <sup>_ca_</sup> <sup>)</sup> <sup>_dτ_</sup> <sup>.</sup> (13) - _t_ 0 <sup>(</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup>, _re f_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> <u>59</u> _Energies_ 2021, _14_, 2206 8 of 17 For simplicity, the following definitions are introduced: _ean_ = _psm_ <sup>_an_</sup> _eca_ = _p_ <sup>_ca_</sup> _sm_ _sm_ <sup>_an_</sup>, _re f_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_an_</sup> <sup>_ca_</sup> _sm_, _re f_ <sup>_−_</sup> <sup>_p_</sup> _sm_ <sup>_ca_</sup> _sm_ <sup>_an_</sup> (14) _sm_ <sup>_ca_</sup> (15) _I_ ˙ _an_ = _ean_ (16) _I_ ˙ _ca_ = _eca_, (17) leading to a more readable expression for the PI outputs: _Win_ <sup>_an_</sup> <sup>=</sup> <sup>_Kp_</sup> <sup>,</sup> <sup>_anean_</sup> <sup>+</sup> <sup>_Ki_</sup> <sup>,</sup> <sup>_an_</sup> <sup>_Ian_</sup> (18) _αca_ = _Kp_, _caeca_ + _Ki_, _ca_ _Ica_ . (19) To obtain a model capable of predicting the dynamics of the system, including the PI controllers, it is necessary to augment the plant model with the integrator states of said controllers:   _x_ _FC_ _Ian_ _Ica_ . (20)  _x_ _pred_ =   Furthermore, the inputs for the prediction model are different from the ones for the plant model in the following way: _I_ _p_ <sup>_ca_</sup> _sm_, _re f_ _αpurge_   _Win_ <sup>_ca_</sup>   _in_ _Win_ <sup>_an_</sup> _in_ _psm_ <sup>_an_</sup>, _Win_ <sup>_ca_</sup> _sm_, _re f_   _I_ _p_ <sup>_ca_</sup> _sm_, _u_ _FC_ =   _in_ _I_ _αca_ _αpurge_ _→_ _u_ _pred_ = . (21) The outputs of the prediction model are divided into the ones to be controlled, constrained, and observed. The latter refers to those outputs neither controlled nor constrained, but needed for the evaluation of the PI output, namely, the cathode and anode supply manifold pressure.   _Pnet_ _ηsys_ Δ _p_ _<u>d</u>_ _λO_ 2 _λH_ 2 _Win_ <sup>_an_</sup> _<u>αca</u>_ _psm_ <sup>_<u>an</u>_</sup> _p_ <sup>_ca_</sup> _sm_  .   _y_ _pred_ =  _<u>y</u>_ _<u>pred</u>_ <u>,</u> _<u>controlled</u>_ _<u>y</u>_ _<u>pred</u>_ <u>,</u> _<u>constrained</u>_ _y_ _pred_, _observed_     = . (22) Specific values of the constrained inputs and output will be discussed in Section 3.6, where the MPC design is addressed. _3.3._ _Successive Linearization_ In this subsection, the successive linearization framework will be presented and later on used by the controller. This way, nonlinear systems can be easily controlled using the concept of the successive-linearization-based MPC [19,25,27,28,30]. An illustration of the concept can be seen in Figure 6. The nonlinear prediction model is linearized around the current state ( _x_ _k_, _u_ _k_ ) at each time step _k_ . The linearized model is then discretized using zero-order-hold and a discrete time prediction model is obtained. Since the linearization point is typically not stationary, off-equilibrium terms have to be accounted for. This is done by using the velocity form or <u>60</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 9 of 17 so-called “delta formulation” of the MPC, where the off-equilibrium terms cancel out. The full derivation of the concept can be found in [30], here, only the end result is shown here. The prediction model is Δ _x_ _i_ +1 = _A_ _d_, _k_ Δ _x_ _i_ + _B_ _d_, _k_ Δ _u_ _i_, (23) where _x_ is the state vector; _u_ is the input vector; _i_ is the prediction index; and _A_ _d_ and _B_ _d_ are the current system and input matrix, respectively, which are updated at every time step _k_ . The subscript _d_ denotes that the matrices are in discrete time. <u>Linearization at different points</u> fnonlinear(x) flinearized,1(x) x(t2) x(t1) x flinearized,2(x) flinearized,3(x) x(t3) Figure 6. Successive linearization concept. The system function f ( x ) is linearized around the state vector x (t) at every time step. The linearized system is used to develop the MPC at that time step. _3.4._ _MPC Formulation_ In the previous subsection, the method of obtaining a linear prediction model each time step has been explained. In this subsection, the formulation of the MPC using the obtained linear model is presented. Firstly, it is important to emphasize that in this work, as already stated, the velocity form MPC is used, having Δ _x_ _i_ = _x_ _i −_ _x_ _i−_ 1 as its state vector and Δ _u_ _i_ = _u_ _i −_ _u_ _i−_ 1 as its input vector, where _i_ is the running index in the prediction. In some literature, this is referred to as the “delta formulation” MPC. To obtain offsetfree reference tracking, an integrator is added for every output. Following the algorithm, the differential state vector Δ _x_ is augmented with the output vector: . (24) _x_ _aug_ = �Δ _x_ _pred_ _y_ _pred_ The augmented system instantaneously linearized at time _k_ is then as follows: �Δ _x_ _pred_ _y_ _pred_ _i_ +1 _i_ Δ _u_ _i_ + - 0 _D_ _d_, _k_ Δ _u_ _i_ +1 (25) = _A_ _k_ 0 _C_ _k_ _A_ _d_, _k_ _I_ ��Δ _x_ _pred_ _y_ _pred_ + _B_ _d_, _k_ _C_ _d_, _k_ _B_ _d_, _k_ . (26) _i_ - <sup>�</sup> Δ _x_ _pred_ _y_ _pred_ _y_ _predi_ = 0 _I_ <u>61</u> _Energies_ 2021, _14_, 2206 10 of 17 Due to present direct-feedthrough in the model, the _D_ _k_ matrix shows up in Equation (25). To address this issue, the optimal control move is calculated for the next time step _i_ + 1, incorporating the last solution Δ _u_ _i_ as a predicted disturbance and rendering the system causal. _3.5._ _Objective Formulation_ The reference values of the controlled outputs are as follows: - System net power—the reference is taken from the vehicle in Section 2. - System efficiency—the reference value is 1. - Pressure difference across the membrane—the reference value is 200 mbar. - Distance from optimal line in the compressor map—the reference value is 0. The goal of the controller is the minimization of the cost function _J_ : _Nc_ ∑ _j_ =1 _J_ = _Np_ ∑ _i_ =1 _||_ _y_ _re fk_ + _i_ _−_ _y_ ˆ _k_ + _i||_ <sup>2</sup> _Qy_ <sup>+</sup> _||_ Δ _u_ _k_ + _j||_ <sup>2</sup> _R_ <sup>,</sup> (27) where _Np_ and _Nc_ are the prediction and control horizon; _y_ _re fk_ + _i_, _y_ ˆ _k_ + _i_, and Δ _u_ _k_ + _j_ are the reference output, prediction output, and control move value _i_ and _j_ steps into the prediction from the linearization instant _k_, respectively; and _Qy_ and _R_ are the outputs and inputs weighing matrices, respectively. The outputs are weighted as follows: <u>1</u> 0 0 0 100 _kW_ <sup><u>2</u></sup> 0 1 0 0 0 0 <u>1</u> 0 _bar_ <sup><u>2</u></sup> 0 0 0 <u>201</u>  (28) . _Qy_ =   The values in this matrix suggest that following the net power trajectory has highest priority, where the other two tracking control goals, system efficiency and membrane overpressure, are lower in priority. This choice of priorities coincides with real life operation, where it is important to achieve a certain power while specific control of another quantity (e.g., membrane overpressure) and efficiency are to be achieved if possible, but are not mandatory. _3.6._ _Constraints_ Two types of constraints are present in this study: input and output constraints. One should be careful not to mix the notion of input and actuator constraints. It should be kept in mind that the prediction model has as its inputs, among others, the reference values for the PI controllers, whereas the plant itself has actuators as its inputs. The actuators _Win_ <sup>_an_</sup> <sup>and</sup> <sup>_αca_</sup> <sup>are actually part of the output vector of the prediction model.</sup> <sup>From this point</sup> forward, constraints are always given with reference to the prediction model. Input constraints are as follows: 0 _≤_ _Win_ <sup>_ca_</sup> <sup>_≤_</sup> <sup>0.1 kg s</sup> <sup>_−_</sup> <sup>1</sup> (29) 1 bar _≤_ _psm_ <sup>_an_</sup>, _re f_ <sup>_≤_</sup> <sup>3 bar</sup> (30) 40 A _≤_ _I_ _≤_ 360 A (31) 1 bar _≤_ _p_ <sup>_ca_</sup> _sm_, _re f_ <sup>_≤_</sup> <sup>3 bar.</sup> (32) Output constraints are as follows: 0.1 bar _≤_ Δ _p ≤_ 0.3 bar (33) 1 _≤_ _λO_ 2 _≤_ ∞ (34) <u>62</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 11 of 17 0 _≤_ _λH_ 2 _≤_ ∞ (35) 0 _≤_ _Win_ <sup>_an_</sup> <sup>_≤_</sup> <sup>∞</sup> (36) 0 _≤_ _αca_ _≤_ 1. (37) The vector of control moves Δ _u_ _k_ +1 Δ _u_ _k_ +2 ... Δ _u_ _k_ + _Nc_  (38)  Δ _U_ =   is the solution of the optimization subject to the constraints Δ _U_ = arg minΔ _U_ <sup>J</sup> (39) Equations (29)–(37) Only the first step Δ _uk_ +1 is applied to the system, according to the receding horizon principle. 4. Results and Discussion In this section, the results of a simulation scenario of tracking the power demand measured from the vehicle and comparison between the RG-MPC and vehicle operation are presented. Moreover, the benefits of the RG-MPC approach are discussed. _4.1._ _Simulation Results_ The end goal of designing the controller described above is to control an FC system in an automotive application. This entails delivering the required net power as efficiently as possible while taking into consideration all the safety requirements. Clearly, in a real vehicle, a vast number of details have to be considered and rigorous testing of the control system has to be done for it to function properly. Therefore, the results of the simulation tests mimicking the vehicle operation in which the RG-MPC tries to deliver the measured power demand compared to the performance of the PID-controlled vehicle are presented in this section. The RG-MPC fulfills the delivery of the required net power in the vehicle shown in Figure 7, except in the region of high power demand of 60 kW, where the performance limitation is hit, since the current is constrained at 360 A (Figure 8d) and the compressor power (Figure 8a) cannot be further reduced, as it would cause operating in dangerous regions—as it will be demonstrated later on. It can be seen in Figure 7 that the power demand on regions of lower power is not followed correctly in the vehicle, presumably because of some other requirement in the vehicle at the time of operation. As defined in Equation (4), the system efficiency is evaluated and compared to the vehicle. In Figure 8b, one can see that the RG-MPC matches the vehicle efficiency in the region of high power demand, but the compressor power (Figure 8a) and stack voltage (Figure 8c) do not match the ones measured by the vehicle sensors. The RG-MPC is driven to maximize efficiency, as defined in its cost function (Equation (27)), but not explicitly instructed in which state to operate. Obviously, since the voltage is lower, the stack power will be lower as well, but the compressor power is also lower, leading to an equal net power as already discussed and operating at the same current as the vehicle; the efficiencies match. <u>63</u> _Energies_ 2021, _14_, 2206 12 of 17 <u>Net system power</u> Time in s Figure 7. Net system power. Comparison between the vehicle operation and RG-MPC. <u>(a) Compressor power</u> Time in s <u>(c) Voltage</u> Time in s <u>(b) System efficiency</u> Time in s <u>(d) Current</u> Time in s Figure 8. ( a ) Compressor power, ( b ) system efficiency, ( c ) stack voltage, ( d ) current. With the goal of preventing oxygen starvation, the controller is keeping the oxygen stoichiometry above its limit of 1 (Figure 9a) and thanks to the anode-to-cathode pressure difference requirement, the hydrogen stoichiometry implicitly takes the value of 1, except during transients of power demand and during purging events, visible as spikes in Figure 9b. The controller could easily incorporate a stricter constraint on the oxygen stoichiometry, leading to an operation in regions of higher compressor power, since the air-flow entering the cathode should be higher. The decision on the exact number would be left to experts operating the actual system. An important safety requirement is keeping the pressure difference across the membrane inside a safety bandwidth. The predictive capability of the RG-MPC gives the system the opportunity to counteract disturbances such as purging events. In Figure 10a, purging events in the performance of the RG-MPC can be clearly seen as regular small spikes, whereas in the vehicle operation, they are even more visible as large deviations from the setpoint of 0.2 bar. A big absolute value of the pressure difference can cause irreversible damage by rupturing the membrane of the fuel cell. It is important, therefore, for the controller to have a good strategy of keeping the pressure difference inside safety limits. In the RG-MPC, it is done by simply imposing a constraint on it (Equation (33)). In Figure 10b, the sudden burst of inlet hydrogen-flow is the result of the controller’s requirement to keep the pressure difference between constraints and the same conclusion goes for the cathode backpressure valve position (Figure 10c), but to a smaller degree, since the cathode pressure would not be abruptly changed by an encountered purging event. A major concern in the safe operation of fuel cells is the compressor’s behavior. One would want the compressor to operate far <u>64</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 13 of 17 from the surge and choke lines, the far-left and far-right region of the solid black lines in Figure 11c, respectively. In the RG-MPC setup, the normal distance of the operating state to the reference black dashed line in Figure 11c is minimized (Equation (6)), leading to an operation far from the unsafe region. In the vehicle setup, a series of experimentally obtained optimization maps was used to determine the best operating state. In Figure 11a,b, the cathode inlet pressure and air inlet mass-flow are shown for comparison purposes. The reference control setup that was used on the vehicle tends to operate at higher pressures and mass-flows than the RG-MPC, increasing the used compressor power as already seen in Figure 8a; since the pressure is higher, the voltage is higher as well (Figure 8c), leading to an overall net power and efficiency matching the one obtained by the RG-MPC. <u>(a) Oxygen stoichiometry</u> Time in s <u>(b) Hydrogen stoichiometry</u> Time in s Figure 9. ( a ) Oxygen stoichiometry, ( b ) hydrogen stoichiometry. <u>(a) Pressure difference across the membrane</u> Time in s <u>(b) Hydrogen inlet mass-flow</u> Time in s <u>(c) Cathode backpressure valve</u> Time in s Figure 10. ( a ) Pressure difference across the membrane, ( b ) hydrogen inlet mass-flow, ( c ) cathode backpressure valve. <u>65</u> _Energies_ 2021, _14_, 2206 14 of 17 (a) Cathode inlet pressure Time in s <u>(b) Air inlet mass-flow</u> Time in s <u>(c) Compressor map</u> Surge line Choke line Corrected mass flow in kg/s Figure 11. ( a ) Cathode inlet pressure, ( b ) air inlet mass-flow, ( c ) compressor map. The RG-MPC was tested without the compressor safety requirement, only with the efficiency requirement, which drives the compressor power to be as small as possible. The result is shown in green in Figure 11. Mathematically, the difference between the blue line and the green line is in the weighting matrix from Equation (28). The weight on the minimization of the distance between the current state and the compressor reference line is set to a very low value, effectively meaning that it is not considered by the controller. <u>1</u> 0 0 0 100 _kW_ <sup><u>2</u></sup> 0 1 0 0 0 0 <u>1</u> 0 _bar_ <sup><u>2</u></sup> 0 0 0 <u>20001</u>  (40) . _Qy_ =   In this case, the controller reduces the cathode inlet pressure (Figure 11a) to reduce the work done by the compressor and thus reducing the effort to provide a certain airflow needed to get the desired power and keeping the other safety requirements fulfilled. This simulation experiment was conducted to highlight the importance of including the compressor’s safe operating strategy into the controller. In the case of the operation shown with the green lines, the compressor would not properly work. _4.2._ _Benefits and Possible Applications of RG-MPC_ The RG-MPC could be used in two different ways. The first one is by replacing the “Setpoint calculation” box in Figure 3 with the RG-MPC. This effectively means that during operation, the RG-MPC provides optimal reference trajectories for the lower-level controllers and tuning, further, the addition of new criteria can be done intuitively as is the case regularly with MPC based controllers. The second way the RG-MPC could be used is more plausible with the gap between the concept and actual implementation being much smaller than in the first case. In essence, the RG-MPC would be used as an offline optimization map generator. A series of different values of the power demand would be given to the RG-MPC to drive the system to and the controller would optimize all the other values (pressures, current, etc.) based on the criteria given in the cost function. The number of experiments that would have to be run to calibrate the system would be smaller, gaining a financial advantage. Next, the actuator <u>66</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 15 of 17 constraints and the decoupling of all the variables would already be implicitly contained in the RG-MPC. In the case of a change in the system, instead of recalibrating the setpoint calculation algorithm, the model is simply updated. For example, in the case of a new compressor, its new efficiency and other characteristics are passed to the prediction model and the generation of the setpoints for a certain power demand is easily recalculated. The mentioned benefits are systematically shown in Figure 12. Safety constraints & Efficiency requirement ���� RGMPC Fuel cell low level control architecture Series of power demands Optimization maps RGMPC benefits - Intuitive tuning (faster/slower; aggressive/robust) - Complete recalibration not needed when the system (model) changes - Decoupling is inherently taken into account - Constraints are respected on system level - Reduced need for experiments to obtain the optimal operating points - Reduced cost - Existing PID structure is used: no need for complete restructuring Figure 12. Advantages of using the RG-MPC as a tool for generating optimization maps. PID— proportional-integral-derivative. 5. Conclusions In this paper, we proposed using the reference governor model predictive controller approach for controlling fuel cell systems, especially vehicles. Instead of acquiring the optimal operational setpoints and/or trajectories by numerous experimental runs, a more intuitive approach would be of benefit, such as the MPC concept. Every safety and efficiency requirement can easily be made part of the optimization criterion used by the controller. In case a system component is added, removed, or its properties changed, the model can simply be updated and the RG-MPC tuning redone in minimal time. In contrast, in the conventional way, numerous time- and money-consuming experiments have to be run. Since there are various complex effects present in fuel cells such as the fact that there is a gas mixture in the channels, electrochemical processes, or compressor dynamics, the model describing the system is unsurprisingly nonlinear.In this work, the authors resorted to the commonly known successive linearization technique to overcome this challenge. To illustrate the performance of the controller, a real vehicle power demand has been used as reference. In addition, safety constraints such as starvation prevention or pressure difference limits have been imposed to the controller, showing its capability of dealing with multiobjective problems. The reference values for the PI controllers produced by the RG-MPC were inherently optimized in such a way that no decoupling or antiwindup schemes were necessary. The main benefit of the RG-MPC concept lies in the fact that it is simply an upgrade and not a replacement to an existing PI controller setup, bringing the concept closer to actual industrial application. The way in which the RG-MPC would be implemented in real life is an open question. We propose two main ways. First, it can be used online to generate the optimal references for the underlying PI controllers during operation. The second way would be to use the RG-MPC to generate trajectories or setpoints for the system before operation and store those results in a form of optimization maps, which would then be called back during operation. The approach described in this paper is not system- or model-dependent and can be a way of optimizing the operation of any system, not just fuel cells. Hopefully, the research done here provides some direction in improving fuel cell control algorithms and reducing the cost barrier that hydrogen power vehicles have in reaching the end user. <u>67</u> _Energies_ 2021, _14_, 2206 16 of 17 Author Contributions: M.V., D.R., and S.J. developed the concept and methodology. M.V. and D.R. developed the software and conducted the analysis. M.V. performed the data curation and visualization. M.V. wrote the original draft. D.R. and S.J. edited and reviewed the original draft. S.J. supervised the work and did all the project administration. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded by the Austrian Research Promotion Agency (Österreichische Forschungsförderungsgesellschaft) grant number 865181. The APC was funded by TU Wien Bibliothek. Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Acknowledgments: The authors would like to thank all the experts from AVL List GmbH for providing the data of the vehicle drive cycle and the insights which helped to solve many research problems. Many thanks to the reviewers for their constructive comments, which have improved this paper. The authors acknowledge TU Wien Bibliothek for financial support through its Open Access Funding Program. Conflicts of Interest: The authors declare no conflict on interest. Abbreviations The following abbreviations are used in this manuscript: FC Fuel cell PEM Polymer electrolyte membrane MPC Model predictive controller RG-MPC Reference governor model predictive controller PI Proportional-integral PID Proportional-integral-derivative References 1. Liang, M.; Liu, Y.; Xiao, B.; Yang, S.; Wang, Z.; Han, H. An analytical model for the transverse permeability of gas diffusion layer with electrical double layer effects in proton exchange membrane fuel cells. _Int._ _J. Hydrogen Energy_ 2018, _43_, 17880–17888. [CrossRef] 2. Liang, M.; Fu, C.; Xiao, B.; Luo, L.; Wang, Z. A fractal study for the effective electrolyte diffusion through charged porous media. _Int._ _J. Heat Mass Transf._ 2019, _137_, 365–371. [CrossRef] 3. Daud, W.R.; Rosli, R.E.; Majlan, E.H.; Hamid, S.A.; Mohamed, R.; Husaini, T. PEM fuel cell system control: A review. _Renew. Energy_ 2017, _113_, 620–638. [CrossRef] 4. Woo, C.H.; Benziger, J.B. PEM fuel cell current regulation by fuel feed control. _Chem._ _Eng._ _Sci._ 2007, _62_, 957–968. [CrossRef] 5. Iqbal, M.T. Modeling and control of a wind fuel cell hybrid energy system. _Renew._ _Energy_ 2003, _28_, 223–237. [CrossRef] 6. Garcia-Gabin, W.; Dorado, F.; Bordons, C. Real-time implementation of a sliding mode controller for air supply on a PEM fuel cell. _J. Process Control_ 2010, _20_, 325–336. [CrossRef] 7. Dalvi, A.; Guay, M. Control and real-time optimization of an automotive hybrid fuel cell power system. _Control Eng._ _Pract._ 2009, _17_, 924–938. [CrossRef] 8. Zhang, J.; Liu, G.; Yu, W.; Ouyang, M. Adaptive control of the airflow of a PEM fuel cell system. _J. Power Sources_ 2008, _179_, 649–659. [CrossRef] 9. Almeida, P.E.; Simões, M.G. Neural optimal control of PEM fuel cells with parametric CMAC networks. _IEEE Trans._ _Ind._ _Appl._ 2005, _41_, 237–245. [CrossRef] 10. Hatti, M.; Tioursi, M. Dynamic neural network controller model of PEM fuel cell system. _Int._ _J._ _Hydrogen_ _Energy_ 2009, _34_, 5015–5021. [CrossRef] 11. Vahidi, A.; Stefanopoulou, A.; Peng, H. Current management in a hybrid fuel cell power system: A model-predictive control approach. _IEEE Trans._ _Control Syst._ _Technol._ 2006, _14_, 1047–1057. [CrossRef] 12. Vahidi, A.; Greenwell, W. A decentralized model predictive control approach to power management of a fuel cell-ultracapacitor hybrid. In Proceedings of the American Control Conference, New York, NY, USA, 9–13 July 2007; pp. 5431–5437. [CrossRef] 13. Luna, J.; Jemei, S.; Yousfi-Steiner, N.; Husar, A.; Serra, M.; Hissel, D. Nonlinear predictive control for durability enhancement and efficiency improvement in a fuel cell power system. _J. Power Sources_ 2016, _328_, 250–261. [CrossRef] 14. Danzer, M.A.; Wittmann, S.J.; Hofer, E.P. Prevention of fuel cell starvation by model predictive control of pressure, excess ratio, and current. _J. Power Sources_ 2009, _190_, 86–91. [CrossRef] 15. Hähnel, C.; Aul, V.; Horn, J. Power Control for Efficient Operation of a PEM Fuel Cell System by Nonlinear Model Predictive Control. _IFAC-PapersOnLine_ 2015, _48_, 174–179. [CrossRef] <u>68</u> <u>2.2</u> <u>Publication</u> <u>B</u> _Energies_ 2021, _14_, 2206 17 of 17 16. Ebadighajari, A.; Homayouni, H.; Devaal, J.; Golnaraghi, F. Model Predictive Control of Polymer Electrolyte Membrane fuel cell with dead-end anode and periodic purging. In Proceedings of the 2016 IEEE Conference on Control Applications, CCA, Buenos Aires, Argentina, 19–22 September 2016; pp. 1500–1505. [CrossRef] 17. Ziogou, C.; Pistikopoulos, E.N.; Georgiadis, M.C.; Voutetakis, S.; Papadopoulou, S. Empowering the performance of advanced NMPC by multiparametric programming—An application to a PEM fuel cell system. _Ind._ _Eng._ _Chem._ _Res._ 2013, _52_, 4863–4873. [CrossRef] 18. Ziogou, C.; Papadopoulou, S.; Georgiadis, M.C.; Voutetakis, S. On-line nonlinear model predictive control of a PEM fuel cell system. _J. Process Control_ 2013, _23_, 483–492. [CrossRef] 19. Goshtasbi, A.; Ersal, T. Degradation-conscious control for enhanced lifetime of automotive polymer electrolyte membrane fuel cells. _J. Power Sources_ 2020, _457_, 227996. [CrossRef] 20. Chen, H.; Chen, J.; Lu, H.; Yan, C.; Liu, Z. A Modified MPC-Based Optimal Strategy of Power Management for Fuel Cell Hybrid Vehicles. _IEEE/ASME Trans._ _Mechatron._ 2020, _25_, 2009–2018. [CrossRef] 21. Klauˇco, M.; Kalúz, M.; Kvasnica, M. Real-time implementation of an explicit MPC-based reference governor for control of a magnetic levitation system. _Control Eng._ _Pract._ 2017, _60_, 99–105. [CrossRef] 22. Klauˇco, M.; Kvasnica, M. Control of a boiler-turbine unit using MPC-based reference governors. _Appl._ _Therm._ _Eng._ 2017, _110_, 1437–1447. [CrossRef] 23. Garone, E.; Di Cairano, S.; Kolmanovsky, I. Reference and command governors for systems with constraints: A survey on theory and applications. _Automatica_ 2017, _75_, 306–328. [CrossRef] 24. Klauˇco, M.; Kvasnica, M. _MPC-Based Reference Governors_ ; Springer: Cham, Switzerland, 2019. 25. Zhakatayev, A.; Rakhim, B.; Adiyatov, O.; Baimyshev, A.; Varol, H.A. Successive linearization based model predictive control of variable stiffness actuated robots. In Proceedings of the IEEE/ASME International Conference on Advanced Intelligent Mechatronics, AIM, Munich, Germany, 3–7 July 2017; pp. 1774–1779. [CrossRef] 26. Ławry´nczuk, M. Nonlinear predictive control of a boiler-turbine unit: A state-space approach with successive on-line model linearisation and quadratic optimisation. _ISA Trans._ 2017, _67_, 476–495. [CrossRef] [PubMed] 27. Goshtasbi, A.; Ersal, T. LQ-MPC design for degradation-conscious control of PEM fuel cells. In Proceedings of the American Control Conference, Philadelphia, PA, USA, 10–12 July 2019; pp. 1555–1560. [CrossRef] 28. Bamimore, A.; Taiwo, O.; King, R. Comparison of two nonlinear model predictive control methods and implementation on a laboratory three tank system. In Proceedings of the IEEE Conference on Decision and Control, Orlando, FL, USA, 12–15 December 2011; pp. 5242–5247. [CrossRef] 29. 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] 30. Vrlic, M.; Ritzberger, D.; Jakubek, S. Fuel Cell Control Using Successive Linearization Vehicle Data. _Energies_ 2020, _13_, 5353. [CrossRef] 31. 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 . [CrossRef] 32. KEYTECH4EV—Development and Demonstration of Key Technologies for Low-cost Electric Vehicle Platforms. Available online: http://iesta.at/keytech4ev/ (accessed on 1 February 2021). 33. Kravos, A.; Ritzberger, D.; Tavˇcar, G.; Hametner, C.; Jakubek, S.; Katrašnik, T. Thermodynamically consistent reduced dimensionality electrochemical model for proton exchange membrane fuel cell performance modelling and control. _J. Power Sources_ 2020, _454_, 227930. [CrossRef] 34. Pukrushpan, T.; Peng, H. Dynamics of Low-Pressure and High-pressure Fuel Cell Air Supply Systems. In Proceedings of the 2003 American Control Conference, Denver, CO, USA, 4–6 June 2003; pp. 2049–2054. <u>69</u> #### 2.3 Publication C M. Vrlić, D. Pernsteiner, A. Schirrer, C. Hametner, and S. Jakubek. “Reduced-dimensionality nonlinear distributed-parameter observer for fuel cell systems”. In: _Energy_ _Reports_ 10 (2023), pp. 1–14. doi: `[10.1016/j.egyr.2023.06.006](https://doi.org/10.1016/j.egyr.2023.06.006)` . url: `[https://doi.org/10.](https://doi.org/10.1016/j.egyr.2023.06.006)` ``` 1016/j.egyr.2023.06.006 ``` Applicant’s Contribution <sup>†</sup> - Martin Vrlić: Conceptualization, Methodology, Investigation, Software, Visualization, Writing - Original Draft - Dominik Pernsteiner: Conceptualization, Methodology, Investigation, Software, Visualization, Writing - Original Draft - Alexander Schirrer: Conceptualization, Methodology, Writing - Review & Editing, Supervision - Christoph Hametner: Conceptualization, Methodology, Writing - Review & Editing, Supervision, Project administration, Funding acquisition - Stefan Jakubek: 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>70</u> <u>2.3</u> <u>Publication</u> <u>C</u> Energy Reports 10 (2023) 1–14 Contents lists available at ScienceDirect Energy Reports journal homepage: www.elsevier.com/locate/egyr Research paper Reduced-dimensionality nonlinear distributed-parameter observer for fuel cell systems Martin Vrlić <sup>a,∗</sup>, Dominik Pernsteiner <sup>a,b</sup>, Alexander Schirrer <sup>a</sup>, Christoph Hametner <sup>a,b</sup>, Stefan Jakubek <sup>a</sup> a _Institute_ _of_ _Mechanics_ _and_ _Mechatronics,_ _TU_ _Wien,_ _Austria_ b _CD_ _Laboratory_ _for_ _Innovative_ _Control_ _and_ _Monitoring_ _of_ _Automotive_ _Powertrain_ _Systems,_ _TU_ _Wien,_ _Austria_ a r t i c l e i n f _Article_ _history:_ Received 29 January 2023 Received in revised form 31 May 2023 Accepted 2 June 2023 Available online xxxx _Keywords:_ Fuel cell Balanced truncation Distributed state estimation Extended kalman filter 1. Introduction a b s t r a c t To ensure reliable and efficient operation of fuel cell systems, it is important to monitor them online. However, placing sensors inside the fuel cell is often challenging, so virtual sensing using an efficient state observer is used in this study. Detecting local internal phenomena, such as reactants’ starvation, membrane dryout/flooding, and nitrogen accumulation, requires knowledge of the spatial distribution of internal states. Lumped-parameter models are not suitable for this, as they use a single variable to describe parameters such as hydrogen concentration. Instead, a high-order distributed-parameter fuel cell model is used to predict the spatial profiles of various internal states. An observer algorithm is employed to correct the predicted quantities using a few measurements taken at the system boundary. This update step only considers dominant dynamics from a reduced model to adjust all system states accordingly, making it computationally efficient and robust. The observer algorithm’s performance was verified against a high-fidelity model through detailed simulations. © 2023 The Author(s). Published by Elsevier Ltd. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). The share of hydrogen in the overall energy sector is expected to increase due to the transition to renewable energy sources. Fuel cells play an important role in converting hydrogen back into power. The application of fuel cells is envisaged both in transport (cars, trucks, railways, and aviation) and in stationary systems (industry and buildings) (IEA, 2019, 2021). Polymer electrolyte membrane fuel cells (PEMFC) are an attractive zero-emission power source due to their high efficiency and other benefits such as low operating temperature, and fast startup (İnci et al., 2021). Fuel cells in automotive applications are of particular interest, and their development is a challenging and wide research area. One of the major topics still not fully resolved and under investigation is onboard system monitoring and diagnostics of fuel cell electric vehicles (FCEV). Evidently, good system observation is crucial for safe and efficient operation under highly dynamic conditions which are usually present in FCEVs. Measurement signals commonly available on FCEVs such as system voltage, anode/cathode inlet/outlet pressures and humidity are of course necessary, but not sufficient to detect critical conditions that may occur inside the system during operation. Information about internal states such as species concentrations ∗ Corresponding author. _E-mail_ _address:_ martin.vrlic@tuwien.ac.at (M. Vrlić). in gas channels (GC) and gas diffusion layers (GDL), species densities and membrane water content, to name a few, gives more profound insight necessary for proper system monitoring and diagnostics. Methods for measuring the internal states of the system have been developed in the past. For example, neutron imaging and magnetic resonance imaging have been commonly used to measure water concentration inside a fuel cell (Wang et al., 2021; Lee et al., 2021). Furthermore, nitrogen and oxygen concentrations have been measured using gas chromatography analysis (Dobrokhotov and Larin, 2019). Temperature at certain points inside the cell has been determined using distributed fibre optic sensors (Zaghloul et al., 2021). However, measuring devices for such quantities are expensive, relatively big, hard to implement even under laboratory conditions, and outright impossible in vehicles. These methods have been summarised in Table 1. A promising alternative, which is explored in this paper, is virtual sensing using a state observer. The state observer uses a model and uses available measurement signals to estimate the internal states of the system. An observer generally works as follows: a model is used to predict the same signals that are being measured by the available sensors, called outputs. In doing so, the internal states are estimated. The states are controlled using an algorithm to match the measured outputs. When the outputs are matched and if the system is observable, the internal states of the model match the unmeasurable reality. It is to be noted that for this to hold, the plant-model mismatch must be minimal. https://doi.org/10.1016/j.egyr.2023.06.006 2352-4847/© 2023 The Author(s). Published by Elsevier Ltd. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). <u>71</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Nomenclature State variables of the fuel cell quasi-2D model _γ_ H2 Hydrogen mole fraction _γ_ N2 Nitrogen mole fraction _γ_ O2 Oxygen mole fraction _λ_ Membrane water content _ρ_ Gas density _ξ_ H2 Hydrogen mass fraction _ξ_ N2 Nitrogen mass fraction _ξ_ O2 Oxygen mass fraction _i_ Local current density _p_ Gas pressure _V_ Cell voltage _v_ Gas velocity Number of discretisation nodes _N_ ca Number of discretisation nodes in the anode channel _N_ ca Number of slices _N_ cc Number of discretisation nodes in the cathode channel _N_ ga Number of discretisation nodes in the anode gas diffusion layer _N_ gc Number of discretisation nodes in the cathode gas diffusion layer _N_ mem Number of discretisation nodes in the membrane State space model _χ_ State vector of the whole system _χ_ ca State vector of the anode channel _χ_ cc State vector of the cathode channel _χ_ ga State vector of the anode gas diffusion layer _χ_ gc State vector of the cathode gas diffusion layer _χ_ mem State vector of the membrane _A_ System matrix b Right-hand side vector _u_ Input vector _x_ State vector of the whole system including past states _y_ Output vector _k_ Current time step Observer _Q_ ˜ Reduced order process noise covariance _Q_ Process noise covariance _R_ Measurement noise covariance _Δ_ _x_ ˆ State correction _x_ ˆ <sup>−</sup> Predicted state vector _y_ ˆ <sup>−</sup> Predicted output vector _T_ Transformation matrix from full statespace to reduced state-space _y_ meas Measurement vector _A_ ˜ r Reduced order Jacobian matrix _C_ ˜ r Reduced order output matrix _K_ ˜ Kalman gain _P_ ˜ Updated error covariance matrix _P_ ˜ - Predicted error covariance matrix _S_ ˜ Innovation covariance Balanced truncation _x_ s Scaled state vector _T_ ˜ Transformation matrix from physical state-space to balanced realisation _x_ ˜ State vector in the balanced realisation _n_ ˜ r Number of modes _x_ ˜ e Eliminated states _x_ ˜ r State vector in the reduced state-space _n_ x Number of states Therefore, before the model can be used as a state observer, it must first be validated. In this work, however, as it is explained later on, the simulated reality and the model used as basis for the observer have the same underlying structure, but different number of discretisation points. For that reason, the validation of the model used by the observer is considered to be fulfilled. Fuel cell models which are appropriate for observer design can be categorised on the basis of their underlying system dynamics (Hidayat et al., 2011) into: - Lumped-parameter models, whose dynamics are described by ordinary differential equations. - Distributed-parameter models, whose dynamics are described by partial differential equations. The vast majority of fuel cell system observers were developed with lumped-parameter models with aggregated states. However, pressure, gas concentration etc. are non-uniformly distributed inside the cell. Distributed-parameter models are, therefore, necessary to describe along-the-channel effects and local phenomena. Literature on observers for distributed states in fuel cells is scarce, as evident from a recent review on the topic of fuel cell observers (Yuan et al., 2020). A simplified, 10-element model for observing the water distribution profile is reported in SarmientoCarnevali et al. (2017). However, the focus of that paper is developing the controller. Concerning publications with a detailed description of the observer development, to the best of our knowledge, only Luna et al. tackled this topic in their work (Luna et al., 2015, 2016b,a, 2017). Their fuel cell observer employs a finite volume model and is based on assumed measurements of species concentration at the system boundary. In their paper, they only show the time-evolution of the species at the middle point of the channels. In their work they use a sliding mode observer, a discontinuous type of observer that uses some input variable as corrective action. This input variable does not have a clear meaning and it is not seen in the results section of the paper, making it difficult to grasp the overall result. The complexity of an observer, such as the one proposed by Luna et al. naturally increases with the number of discretisation volumes (system resolution). This problem is resolved in the present work by using dominant-modes-only Jacobians for the update step of the observer (explained later on), resulting in an efficient observer algorithm. The observer is based on easily attainable measurements at the system boundary such as the cell voltage as a measured output and other commonly known quantities, namely the inlet/outlet pressures, the inlet gas composition, and the current density demand as boundary conditions. The actual distribution of the internal states of the system is presented in the figures in Section 6. The time evolution 2 <u>72</u> <u>2.3</u> <u>Publication</u> <u>C</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Table 1 <u>Measurement</u> <u>techniques</u> <u>for</u> <u>fuel</u> <u>cell</u> <u>internal</u> <u>states.</u> Ref Measurement Method Wang et al. (2021), Lee et al. (2021) Water concentration Neutron imaging, magnetic resonance Dobrokhotov and Larin (2019) N2 and O2 concentrations Gas chromatography Zaghloul et al. (2021) Local temperature Distributed fibre optic sensors Table 2 <u>Existing</u> <u>observers</u> <u>for</u> <u>estimation</u> <u>of</u> <u>the</u> <u>internal</u> <u>states</u> <u>of</u> <u>fuel</u> <u>cell</u> <u>systems.</u> Ref Observer type Model type Performance object(s) Yuan et al. (2020) (Review paper) Extended Kalman filter Single phase, 8th order, lumped Oxygen partial pressure Unscented Kalman filter Single phase, 4th order, lumped Nitrogen partial pressure at anode Luenberger Two-phase, 6th order, lumped Current density difference First-order sliding mode Single phase, 6th order, lumped Manifold pressure and mass flow High order sliding mode Two-phase, 13th order, lumped Hydrogen and oxygen partial pressures Luna et al. (2015, 2016b,a, 2017) High order sliding mode Single phase, distributed Hydrogen and oxygen partial pressures along the channel Table 3 <u>Reduction</u> <u>techniques</u> <u>for</u> <u>Extended</u> <u>Kalman</u> <u>Filters</u> <u>with</u> <u>high-order</u> <u>models</u> <u>as</u> <u>its</u> <u>basis.</u> Ref Observer purpose Reduction approach Farrell and Ioannou (2001) Storm track forecasting Balanced truncation Khodadadi and Jazayeri-Rad (2011) Joint state and parameter estimation Dual EKF of a continuous stirred tank reactor Lee et al. (2007) Li-ion battery SOC estimation Equivalent circuit model simplification Park et al. (2013) Estimation of internal states Parallel structure of of permanent magnet synchronous motors simplified models Pernsteiner et al. (2021) Temperature estimation of Balanced truncation a latent heat storage of the whole distribution is shown in the videos found in the supplementary material. In the present paper, a detailed quasi2D fuel cell model from Murschenhofer et al. (2018) is used as the basis for a newly developed distributed-parameter fuel cell observer. The representative observer types have been collected in Table 2. The observer algorithm chosen in this work is based on the well-known extended Kalman filter (EKF) (Jazwinski, 1970; Wishner et al., 1969). When applying an EKF to high-order models, such as the discretised quasi-2D fuel cell model, two major problems can arise: (1) the problem becomes infeasible to be solved in real time due to its computational complexity, and (2) the system becomes (almost) unobservable when the entire state dimension is considered. To overcome these challenges, different types of reduced-order EKFs have been investigated, see for example Farrell and Ioannou (2001), Khodadadi and Jazayeri-Rad (2011), Lee et al. (2007), Park et al. (2013), Pernsteiner et al. (2021). Model reduction methods in observer design can be used to compute reduced-order system Jacobians necessary for the update step in the EKF, explained in Section 4. In Table 3, different methods of dealing with the problem of high-dimensionality are shown. Model reduction approaches are applied to efficiently reduce the system dynamics’ complexity while maintaining their dominant behaviour. Especially model reduction in linear systems is well established, and the research topic has been broadly covered in literature, see for example the review paper (Benner et al., 2015). An example for linear model reduction is the balanced truncation introduced by Moore (1981) where the modes of the system showing the smallest Hankel singular values are eliminated. For nonlinear systems, data-based approaches such as the proper orthogonal decomposition (Brunton and Kutz, 2019) or the dynamic mode decomposition (Schmid, 2010) can be an appropriate choice. The main idea behind these approaches is the empirical investigation of data representative for a relevant operating range. The data are decomposed into orthonormal basis vectors using singular value decomposition (SVD). Few basis vectors that describe the most characteristic system behaviour can be extracted, and the system properties can be projected onto these so-called _modes_ . In this work, the model reduction technique applied to obtain the reduced-order system Jacobians is Balanced truncation. Only the most dominant modes, whose Hankel singular values exceed a defined threshold, are chosen to be reflected in the Jacobians, the others are discarded. Particularly, the system is being successively linearised, ensuring the validity of the Jacobian matrix used in the observer. A simulation study is performed to test the aforementioned approach. Measurements are taken at the system boundary with the goal of estimating the unmeasurable internal states. The full order quasi-2D model is used for prediction and validation, but these two versions of the model differ in grid sizes. Despite this model mismatch, the observer algorithm works well. For the update step of the EKF, the reduced order system Jacobians are used. The described procedure is depicted in Fig. 1. All details and results are discussed in Section 6. The identified research gap is to detect the distributed internal states of a fuel cell in an efficient way with realistic measurements. The fuel cell observer proposed for this purpose, which is based on a high-fidelity model with distributed parameters and a dominantmodes-only correction, has not yet been reported in the fuel cell community. In particular, the temporal evolution of the internal states’ spatial distribution is shown, highlighting the extent of such an observer’s capabilities. In summary, this paper shows an internal state estimation framework using an on-board commonly available measurement signal, i.e. system voltage. Moreover, the estimated states are not lumped as in the majority of the literature, but their distribution is shown. In literature (Luna et al., 2015), crucial simplifying assumptions were made which were not made in this paper. These include: no nitrogen crossover, availability of outlet concentrations measurements and assuming the fluxes between the cathode channel and gas diffusion layer to be known. 3 <u>73</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Fig. 1. Scheme of the fuel cell observer for estimating the distributed system state. The paper is organised as follows. In Section 2 the observation task is explained in more detail, in Section 3 the quasi-2D model is presented, in Section 4 the observer algorithm and model reduction technique are shown, in Section 5 the case study simulation experiment is explained, in Section 6 the results are shown and discussed and the reader is referred to the videos in the supplementary material, and the paper is finally concluded in Section 7. 2. Observation task The observation task is to estimate the unmeasurable internal states of the system by means of a model, available measurement signals and an appropriate algorithm. The mentioned internal states include: local current density, membrane water content and species concentrations. The model used in this paper is a straight channel isothermal distributed parameter fuel cell model, developed and validated against detailed Computational Fluid Dynamics (CFD) simulations in Murschenhofer et al. (2018). The model overview is given in Section 3. It is important to emphasise that the methodology used in this paper can be applied to practically any type of high-dimensional distributed model, not only to the one used in this work. The premise is as follows. A fine-grid version of the model is used as simulated reality, against which the observer will be validated. This is necessary as in reality, the validation of an observer can never fully be done as it is not possible to measure the internal states. The fine-grid model provides the measured output signal, in this case, the voltage only. Of course, the input boundary conditions are also known. These include the inlet/outlet pressures, the inlet gas composition, and the current density demand. There is no assumption, however, about the availability of the species concentrations at the system outlet. Next, a coarse-grid version of the model is used by the observer for the prediction of the internal states. The reason for using a different granularity for the simulated reality and the observer’s prediction model is to take into account the plant-model mismatch which is generally always present. The observer takes in the measured voltage from the simulated reality fine-grid model and at the same time, predicts the voltage using the coarse-grid model. The difference between the two signals, called _innovation_ _residual_ is to be minimised. This is done by correcting the internal states of the system. Once that has been achieved, if the system is observable, one can conclude that the internal states computed by the coarse-grid model match reality provided that the model has been validated beforehand so the plant-model mismatch is minimal. However, a problem arises for a system with many (several hundred or more) states, such as in this case. It is not plausible that all states can freely be corrected for the observer to match the measured voltage. For example, the pressure distribution along the channel should not be in a zig-zag shape just because the observer ‘‘thinks’’ that would be best for minimising the innovation residual. In addition, tuning the observer, i.e. choosing how strongly should each state be available for correction, might become an impossible task for systems with this many states. It is not plausible that all individual internal states are observable with the available information. For that reason, a model reduction is performed, to detect only the dominant dynamics. Only a few principal _modes_ of the system are extracted (see Section 4.2) and the observer makes its correction in the direction of the modes. As a result, the possibly disproportional update of each individual node is avoided. The whole idea described above is visualised in Fig. 1. In this work, only the voltage is assumed to be a measured output. No additional assumptions of measurements available are made, such as the species concentrations at the system boundaries. The whole procedure results in the estimation of the distribution of internal states of the system. 3. Fuel cell quasi-2D model This section describes the distributed parameter fuel cell model (Murschenhofer et al., 2018) used as basis for the observer as well as the validation model. The model domain (see Fig. 2) consists of five sections: 1. Cathode gas channel 2. Cathode gas diffusion layer 3. Membrane 4 <u>74</u> <u>2.3</u> <u>Publication</u> <u>C</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ _3.2._ _Gas_ _diffusion_ _layers_ In the GDLs, the nodes are described with the same variables as in the gas channels. Every internal slice _j_ is described with its own state vector. If the number of nodes in each slice is _N_ gc for the cathode GDL and _N_ ga for the anode GDL, then the cathode and anode GDL state vectors, _χ_ gc _,j_ and _χ_ ga _,j_, respectively, are defined analogously as in Eq. (1). _3.3._ _Membrane_ Fig. 2. Spatial discretisation of the quasi-2D fuel cell model. 4. Anode gas diffusion layer 5. Anode gas channel Every section is coupled via the system equations and appropriate boundary conditions. For modelling details the reader is referred to Murschenhofer et al. (2018). The model is spatially discretised in direction _x_ 1 along-the-channel, and in direction _x_ 2 across the GDL. Therefore, the model is classified as a quasi-2D model. Some important assumptions are made in the model. First, the model is considered to be isothermal, meaning that the temperature is assumed to be controlled and kept at a constant value of 70 <sup>◦</sup> C. Second, the model does not include liquid water states, but regardless of this fact, membrane dryout/flooding could be avoided if constraints on the membrane water content would be imposed in some control application. Therefore, the information on the membrane water content can be sufficient for practical applications, even if there is no liquid water present in the model. _3.1._ _Gas_ _channels_ The membrane is described simply by its membrane water content _λ_ in all nodes for every slice. If the number of nodes in the membrane is _N_ mem, then the state vector _χ_ mem _,j_ for each membrane slice _j_ is defined as _λ_ 1   _j_ _χ_ mem _,j_ =   _..._ _λN_ mem _._ (2) _3.4._ _Local_ _current_ _density_ _and_ _voltage_ In addition to all the system variables mentioned until this point, there is the local current density _ij_ computed for every slice and the cell voltage _V_, described as an aggregated state. _3.5._ _State-space_ _system_ Each node in the gas channels is described with the following state variables: gas velocity _v_, oxygen mass fraction _ξ_ O2 (cathode only), hydrogen mass fraction _ξ_ H2 (anode only), nitrogen mass fraction _ξ_ N2, water vapour mass fraction _ξ_ H2O, gas pressure _p_ and gas density _ρ_ . If the number of nodes in the cathode and anode gas channel is _N_ cc and _N_ ca, respectively, then the corresponding state vectors _χ_ cc and _χ_ ca are defined as The full system state vector _χ_ _k_ at timestep _k_ is composed of the individual state vectors of the cathode and anode gas channels, _N_ sl slices and the cell voltage. The state vector of every slice is composed of the state vectors of the GDLs and membrane as well as the local current density. The complete system state vector is then _iN_ sl _χ_ cc _χ_ ca _χ_ gc,1 _χ_ mem,1 _χ_ ga,1 _χ_ cc _χ_ ca _χ_ gc,1 _χ_ mem,1 _p_ 1 _..._ _pN_ cc _ρ_ 1 _..._ _ρN_ cc _p_ 1 _..._ _pN_ ca _ρ_ 1 _..._ _ρN_ ca   _..._ _χ_ gc _,N_ sl _χ_ mem _,N_ sl _χ_ ga _,N_ sl _i_ 1   _k_ _._ (3) _v_ 1 _χ_ _k_ = _..._ _vN_ cc _ξ_ O2 _,_ 1 _v_ 1   _..._ _vN_ ca _ξ_ H2 _,_ 1   _V_ _χ_ cc =   _..._ _ξ_ O2 _,N_ cc _ξ_ N2 _,_ 1 _..._ _ξ_ N2 _,N_ cc _ξ_ H2O _,_ 1 _..._ _ξ_ H2O _,N_ cc and _χ_ ca =   _..._ _ξ_ H2 _,N_ ca _ξ_ N2 _,_ 1 _..._ _ξ_ N2 _,N_ ca _ξ_ H2O _,_ 1 _..._ _ξ_ H2O _,N_ ca _._ (1) The model equations are linearised-in-time (LIT) at every time step. The LIT technique is explained in detail in Murschenhofer et al. (2018), but for practical reasons, the keypoints of the method are outlined here. The process of discretising the underlying partial differential equations results in a large system of non-linear equations required to be solved each time step. To be computationally efficient, one cannot afford to treat the non-linear terms with numerically expensive iterations. For that reason, the system is successively linearised with respect to the previous time step and only one iteration is necessary to solve the system equations. As a result, the system evolution, i.e. the state vector at time step _k_, is computed as the solution of a linear system of equations _A_ ( _χ_ _k_ −1 _,_ _χ_ _k_ −2 _,_ _χ_ _k_ −3 _,_ _u_ _k_ −1) _χ_ _k_ = b ( _χ_ _k_ −1 _,_ _χ_ _k_ −2 _,_ _χ_ _k_ −3 _,_ _u_ _k_ −1), (4) 5 <u>75</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ where _u_ _k_ −1 is the system input defined as _iavg_ _p_ <sup>_cc_</sup> _in_ _p_ <sup>_cc_</sup> _out_ _p_ <sup>_ca_</sup> _in_ _p_ <sup>_ca_</sup> _out_ _p_ <sup>_cc_</sup> _in_ _p_ <sup>_cc_</sup> _out_ _p_ <sup>_ca_</sup> _in_   _u_ _k_ −1 =  _ξ_  _out_ _ξ_ <sup>_cc_</sup> O2 _,in_ _ξ_ <sup>_cc_</sup> N2 _,in_ _ξ_ H <sup>_cc_</sup> 2O _,in_ _ξ_ <sup>_ca_</sup> H2 _,in_ _ξ_ <sup>_ca_</sup> N2 _,in_ _ξ_ H <sup>_ca_</sup> 2O _,in_ _,_ (5) H2O _,in_ consisting of all the boundary conditions mentioned in Section 2. However, only the average current density is dynamically changed and all the other inputs are kept constant. The sparsity pattern of matrix _A_ is seen in Fig. 3. The dependence of the matrix _A_ and vector b on the state vector at times _k_ - 1, _k_ - 2 and _k_ - 3 comes from the necessity of computing the time derivatives for the LIT approach. For brevity, the matrices in Eq. (4) will be denoted as _A_ _k_ and b _k_ . Taking into account the dependence of the system evolution on not only the current state, but also on the last and second last ones, all three time instances ( _k_ - 1, _k_ - 2 and _k_ - 3) must be part of the finally complete state vector _x_ _k_ −1 = [ _χ_ <sup>_T_</sup> _k_ −1 <sup>_χ_</sup> <sup>_T_</sup> _k_ −2 <sup>_χ_</sup> _k_ <sup>_T_</sup> −3 <sup>]</sup> <sup>_T_</sup> <sup>.</sup> <sup>Thus,</sup> <sup>one</sup> <sup>obtains</sup> <sup>the</sup> state vector _x_ _k_ −1 = [ _χ_ <sup>_T_</sup> _k_ −1 <sup>_χ_</sup> <sup>_T_</sup> _k_ −2 <sup>_χ_</sup> _k_ <sup>_T_</sup> −3 <sup>]</sup> <sup>_T_</sup> <sup>.</sup> <sup>Thus,</sup> <sup>one</sup> <sup>obtains</sup> <sup>the</sup> state-space formulation of the system <sup>_T_</sup> _k_ −1 <sup>_χ_</sup> <sup>_T_</sup> _k_ <sup>_T_</sup> _k_ −2 <sup>_χ_</sup> _k_ <sup>_T_</sup> ] _A_ <sup>−</sup> _k_ <sup>1</sup>   _._ (6) _x_ _k_ = [ _χ_ _k_ _χ_ _k_ −1 _χ_ _k_ −2 =   _A_ <sup>−</sup> _k_ <sup>1</sup> <sup>b</sup> <sup>_k_</sup> _χ_ _k_ −1 _χ_ _k_ −2 By defining _f_ ( _x_ _k_ −1 _,_ _u_ _k_ −1) ≡   <sup>−</sup> _k_ <sup>1</sup> <sup>b</sup> <sup>_k_</sup> _χ_ _k_ −1 _χ_ _k_ −2 _A_ <sup>−</sup> _k_ <sup>1</sup>   _,_ (7) Eq. (6) can be written as _x_ _k_ = _f_ ( _x_ _k_ −1 _,_ _u_ _k_ −1) with _x_ _k_ ∈ R <sup>_nx_</sup> <sup>×1</sup> . (8) The output equation is _y_ _k_ = _Cx_ _k_ with _y_ _k_ ∈ R <sup>_ny_</sup> <sup>×1</sup> _._ (9) The entries in the output vector _y_ _k_ are the modelled sensor signals that can be measured and depend on the setup. In this particular case, _y_ _k_ = _V_, the cell voltage. More detail about the outputs used in this paper are presented in Section 6. Eqs. (8) and (9) describe a nonlinear discrete time state-space model. _3.6._ _Mole_ _fraction_ _calculation_ In the fuel cell community, instead of using the mass fractions _ξ_, it is more common to represent the species concentrations in mole fractions _γ_ . The oxygen mole fraction is 1 _γ_ O2 = _M_ O2 _ξ_ O2 _ξ_ O2 _ξ_ N2 _M_ O2 <sup>+</sup> _M_ N2 <sup>+</sup> _ξ_ H2 _O_ _M_ H2 _O_ Fig. 3. Sparsity pattern of matrix _A_ showing the interdependency of the model domains. Every block on the diagonal represents the coupling of the states of one domain. Blue: cathode and anode gas channels; Red: internal slices, every slice is constituted of two GDLs and the membrane in between. The off-diagonal green entries represent the coupling between the slices and gas channels. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) to the model described in the previous section. This shows the modularity of the algorithm, as it can be used with any highorder nonlinear state-space model. This reduced-dimensionality observer algorithm is visualised in Fig. 4. _4.1._ _Observer_ _design_ An efficient observer design is required to estimate the distributed internal fuel cell states in a robust fashion and in real time, see Fig. 1. In the observer design, the high-order quasi2D fuel cell model (Section 3) predicts/simulates the distributed system states one time step ahead. Measurements are taken from the simulated reality and compared to the predicted model outputs. If a residual arises, the states of the quasi-2D fuel cell model are updated by an observer algorithm, in this work the proposed reduced-order EKF. The update is computed on the basis of system information given by the sensitivities of the states, the so-called Jacobians. To enhance efficiency, robustness, and convergence of the fuel cell observer algorithm, only the dominant system behaviour is to be considered in the update step. To do so, the system is transformed from a state-space representation to a modal space (modes _x_ ˜), and only the high-energy modes are retained, referred to as _x_ ˜r. The reduced-order system Jacobians that capture the main behaviour in modal space will be denoted as _A_ <sup>˜</sup> r. The matrix _C_ <sup>˜</sup> r maps the dominant modes _x_ ˜r to the model outputs. In the following section, the formulation of the EKF from Simon (2006) is briefly recapitulated and applied to the present fuel cell problem. A special focus lies on the computation of the update step in modal space. _4.1.1._ _Background_ The Kalman filter is an optimal estimator for linear systems with additive white Gaussian noise and minimises the mean _,_ (10) where _M_ is the molar mass of each gas. The expression for calculation of the mole fraction for gases other than oxygen is analogous to Eq. (10). 4. Methods In this section, the observer design as well as the methods for obtaining the reduced-order system Jacobians are presented. All the equations are written in general form and are then applied 6 <u>76</u> <u>2.3</u> <u>Publication</u> <u>C</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Fig. 4. Reduced-dimensionality observer algorithm. square errors of the parameters to be estimated. The EKF is one nonlinear extension of it, but the optimality is no longer guaranteed. The discrete-time nonlinear model of the fuel cell (8)–(9) with process noise _w_ p, _k_ and measurement noise _w_ m, _k_ has the form _x_ _k_ = _f_ ( _x_ _k_ −1 _,_ _u_ _k_ −1) + _w_ p, _k_, (11) _y_ _k_ = _Cx_ _k_ + _w_ m, _k_ . (12) It is assumed that the zero-mean, Gaussian uncorrelated and white noises, _w_ p, _k_ ∼ _N_ ( 0 _,_ _Q_ ) and _w_ m, _k_ ∼ _N_ ( 0 _,_ _R_ ), (13) have the known covariance matrices _Q_ and _R_, respectively. The EKF for estimating the true system states consists of two steps, the prediction step and the update step. The idea of the EKF implementation in this work is to compute the prediction step using the coarse-grid model, and the update step in the modal space using the reduced order Jacobians ( _A_ <sup>˜</sup> r and _C_ <sup>˜</sup> r). _4.1.2._ _Prediction_ _step_ In the prediction step of the EKF, the predicted state vector, output vector and the error covariance matrix are determined a priori. The predicted state vector _x_ ˆ <sup>−</sup> _k_ <sup>and</sup> <sup>the</sup> <sup>predicted</sup> <sup>output</sup> vector _y_ ˆ <sup>−</sup> _k_ <sup>result from evolving the coarse-grid model (8)–(9). The</sup> predicted error covariance matrix is obtained in the modal space with the corresponding covariance matrix _Q_ <sup>˜</sup> . The difference between the predicted output and the measurements _y_ meas yields the innovation residual, _e_ _k_ = _y_ meas, _k_ −ˆ _y_ <sup>−</sup> _k_ <sup>,</sup> (15) and initiates the update step. _4.1.3._ _Update_ _step_ The update step of the EKF is carried out in the reduced modal space. The estimated (corrected) state vector and error covariance matrix are computed a posteriori based on the innovation residual. First, the innovation covariance and the Kalman correction gain are determined, _S_ ˜ _k_ = _C_ ˜ r ˜ _P_ _T_ r <sup>+</sup> <sup>_R_</sup> <sup>,</sup> (16) −1 _k_, (17) _K_ ˜ _k_ = _P_ ˜ - _k_ <sup>_C_</sup> <sup>˜</sup> - _k_ <sup>_C_</sup> <sup>˜</sup> _T_ r <sup>_S_</sup> <sup>˜</sup> respectively. Then, the state correction of the fuel cell model _Δ_ _x_ ˆ _k_ = _T_ _K_ <sup>˜</sup> _k_ _e_ _k_ (18) is computed based on the corrective action given by _K_ <sup>˜</sup> _k_ _e_ _k_ and the transformation from the reduced modal space to the original state-space of the fuel cell model _T_ . The obtained state correction is applied to the states predicted by the quasi-2D fuel cell model, resulting in the updated _P_ ˜ - _k_ <sup>=</sup> <sup>_A_</sup> <sup>˜</sup> <sup>r ˜</sup> <sup>_P_</sup> <sup>_k_</sup> <sup>−1 ˜</sup> <sup>_A_</sup> _T_ r <sup>+</sup> <sup>_Q_</sup> <sup>˜</sup> (14) 7 <u>77</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ estimated state vector _x_ ˆ _k_ = _x_ ˆ <sup>−</sup> _k_ <sup>+</sup> <sup>_Δ_</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>.</sup> (19) The estimation error covariance matrix is updated for the next time step, _P_ ˜ formulating the system in a suitable way for the MATLAB command balreal, used to compute the balanced realisation. The state transformation _x_ ˜ = _Tx_ <sup>˜</sup> s (26) is used to convert system (25) into its balanced realisation, in which the controllability and observability Gramians are equal and diagonal. In Eq. (26), _x_ ˜ ∈ R <sup>_nx_</sup> <sup>×1</sup> and _T_ <sup>˜</sup> ∈ R <sup>_nx_</sup> <sup>×</sup> <sup>_nx_</sup> . The balanced state vector _x_ ˜ is partitioned into two parts: the one that is going to be retained _x_ ˜ r for the reduced-order system and the other, which is going to be eliminated _x_ ˜ e, _P_ ˜ _k_ = ( _I_ - _K_ <sup>˜</sup> _k_ _C_ <sup>˜</sup> r ) _k_ <sup>,</sup> (20) wherein _I_ is the identity matrix of appropriate size. The observer’s corrective measures are based on the reducedorder system Jacobians (dominant modes only). The high accuracy of the estimated states is achieved through the interaction between the forward simulation of the quasi-2D fuel cell model and the careful measurement-based correction by the observer. _4.2._ _Reduced-order_ _system_ _Jacobians_ The reduced-order system Jacobians capture the main behaviour of the quasi-2D fuel cell model and can be obtained in different ways, one of them being the balanced truncation, which is presented and used in this paper. _4.2.1._ _Balanced_ _truncation:_ _Background_ The balanced truncation is an approach in which the least controllable and observable modes of the system are removed (truncated) and only the dominant behaviour is kept (Moore, 1981). First, the system represented with Eq. (8) is successively linearised around the current point ( _x_ wp _, u_ wp). Then, the linearised system is transformed to a balanced realisation, where the controllability and observability Gramians are equal and diagonal (Besselink et al., 2013). Since the diagonal entries of the Gramian reflect the controllability and obervability of the modes, those modes with a small Gramian entry can be truncated. Finally, the truncation step is performed, yielding a reduced order model with the most observable modes only. _4.2.2._ _Successive_ _linearisation_ _and_ _system_ _scaling_ The Extended Kalman Filter approach uses the Jacobians of the nonlinear system defined in Eq. (8). To have a valid correction algorithm in place at all times, the system is successively linearised along the state and input trajectory. The successively linearised model is of the form _x_ _k_ = _A_ wp _x_ _k_ −1 + _B_ wp _uk_ −1 + _K_ _x,_ wp _,_ (21) where [ ] _x_ ˜ = _x_ ˜ r _x_ ˜ e _,_ (27) where _x_ ˜ r ∈ R <sup>_n_</sup> <sup>˜</sup> <sup>r×1</sup> and _x_ ˜ e ∈ R <sup>_n_</sup> <sup>˜</sup> <sup>e×1</sup>, with _n_ ˜ r + _n_ ˜ e = _nx_, the total number of states. The truncation value _n_ ˜ r is chosen upon analysing the Gramian of the system. Following this notation, −1 the state transformation matrix _T_ <sup>˜</sup> and its inverse _T_ <sup>˜</sup> i = _T_ ˜ are also partitioned into the part which maps the true states to the reduced order ones and the part which maps them to the eliminated ones. Inserting Eq. (27) into (26) and performing the partition of the transformation matrices, the direct mapping between the reduced and eliminated states, and the true states, is obtained, [ ] [ ˜ _T_ r] ] ] _x_ ˜ r _x_ ˜ e = [ ˜ _T_ r _T_ ˜ e _x_ s _,_ (28) as well as its inverse _,_ (29) _x_ s = <sup>[</sup> _T_ <sup>˜</sup> i,r _T_ ˜ i,e ] <sup>[</sup> _x_ ˜ r _x_ ˜ e ] where _T_ <sup>˜</sup> r ∈ R <sup>_n_</sup> <sup>˜</sup> <sup>r×</sup> <sup>_nx_</sup>, _T_ <sup>˜</sup> e ∈ R <sup>_n_</sup> <sup>˜</sup> <sup>e×</sup> <sup>_nx_</sup>, _T_ <sup>˜</sup> i,r ∈ R <sup>_nx_</sup> <sup>ט</sup> <sup>_n_</sup> <sup>r</sup> and _T_ <sup>˜</sup> i,e ∈ R <sup>_nx_</sup> <sup>ט</sup> <sup>_n_</sup> <sup>e</sup> . _4.2.4._ _Truncation_ Since they contribute much less to the system behaviour, the states _x_ ˜ e are simply deleted and the system is described with _x_ ˜ r only, yielding the following transformation for the reduced states, _x_ ˜ r = _T_ <sup>˜</sup> r _x_ s _._ (30) Inverting Eq. (30) and inserting it into Eq. (25) and then left multiplying the whole expression with _T_ <sup>˜</sup> r, one obtains the reducedorder system _us,k_ −1 1 _._ (31) ] <sup>[</sup> ] [ _B_ s, wp _K_ _x,_ wp,s _A_ wp = <sup>_∂_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_k_</sup> <sup><u>−1</u></sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_k_</sup> <sup><u>−1)</u></sup> _∂_ _x_ _B_ wp = <sup>_∂_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_k_</sup> <sup><u>−1</u></sup> <sup>_,_</sup> <sup>_u_</sup> <sup>_k_</sup> <sup><u>−1)</u></sup> _∂_ _u_ _x_ wp _,_ _u_ wp <sup>_,_</sup> (22) _x_ wp _,_ _u_ wp <sup>_,_</sup> (23) _x_ ˜ r, k = _T_ <sup>˜</sup> r _A_ s,wp _T_ <sup>˜</sup> i,r _x_ ˜ r, k-1 + _T_ <sup>˜</sup> r  ~~~~  ~~~~ _A_ ˜ r _K_ _x,_ wp = _f_ ( _x_ wp _,_ _u_ wp) − _A_ wp _x_ wp − _B_ wp _u_ wp . (24) In order to compute the Gramians and transform the system to its balanced realisation, it is necessary to prescale the system. The scaled state vector _x_ s is then defined as _x_ s = _X_ <sup>−</sup> s <sup>1</sup> <sup>_x_</sup> <sup>,</sup> <sup>where</sup> <sup>_X_</sup> <sup>s</sup> <sup>is</sup> a diagonal square matrix. The same procedure is applied to the input and output vectors: _u_ s = _U_ s <sup>−1</sup> _u_ and _y_ s = _Y_ <sup>−</sup> s <sup>1</sup> <sup>_y_</sup> <sup>, respectively.</sup> s <sup>−1</sup> _u_ and _y_ s = _Y_ <sup>−</sup> s <sup>1</sup> input and output vectors: _u_ s = _U_ s <sup>−1</sup> _u_ and _y_ s = _Y_ <sup>−</sup> s <sup>1</sup> <sup>_y_</sup> <sup>, respectively.</sup> The index ‘‘s’’ stands for ‘‘scaled’’. _4.2.3._ _Balanced_ _realisation_ Using the scaled system, the balanced realisation can be computed. To cope with the off-equilibrium term _Kx,_ wp,s, it is lumped together with the input matrix in the following way, _x_ s _,k_ = _A_ s,wp _x_ s _,k_ −1 + <sup>[</sup> ] _,_ (25) Finally, the Jacobian _A_ <sup>˜</sup> r = _T_ <sup>˜</sup> r _A_ s,wp _T_ <sup>˜</sup> i,r is obtained, with _A_ <sup>˜</sup> r ∈ R <sup>_n_</sup> <sup>˜</sup> <sup>rט</sup> <sup>_n_</sup> <sup>r</sup> . Also, the new output equation is _y_ s _,k_ = _C_ <sup>˜</sup> r _x_ ˜ r,k with _C_ <sup>˜</sup> r ∈ R <sup>_ny_</sup> <sup>ט</sup> <sup>_n_</sup> <sup>r</sup>, (32) where _C_ <sup>˜</sup> r = _C_ s,wp _T_ <sup>˜</sup> i,r. The Jacobian _A_ <sup>˜</sup> r is used in the update step of the EKF to correct the dominant modes. To obtain the correction in the original states, the modes are projected onto the states using the transformation matrix _T_ from Eq. (18). For the approach described above, _T_ is defined as: _T_ = _X_ s _T_ <sup>˜</sup> i,r _._ (33) _4.3._ _Observability_ _analysis_ The observability of the system is approached from two different angles. One is the observability of the modes and the other is the observability of the states. In Table 4, the different model sizes _B_ s,wp _K_ _x,_ wp,s ] <sup>[</sup> _u_ s _,k_ −1 1 8 <u>78</u> <u>2.3</u> <u>Publication</u> <u>C</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Table 4 <u>Different</u> <u>model</u> <u>sizes.</u> Model _N_ cc _N_ gc _N_ mem _N_ ga _N_ ca _N_ sl _Δt/_ ms Fine 30 8 5 8 30 10 2 Coarse 6 4 5 4 6 4 6.25 of the fine-grid and coarse-grid model are shown. Using this data and the state vector structure from Eqs. (1)–(3), one can compute the total number of states _nx_ in each model: _nx_ = 3 <sup>(</sup> 6 _Ncc_ + 6 _NslNgc_ + _NslNmem_ + _Nsl_ + 6 _NslNga_ + 6 _Nca_ + 1 <sup>)</sup> _._ (34) The factor 3 comes from the fact that three time instances, _k_ - 1, _k_ −2 and _k_ −3 are included in the state vector for the LIT approach, as explained in Section 3. The number of states of the fine-grid model is 4143 and for the coarse-grid model the number of states is 867. However, observability is analysed only for the first third of the state vector and only for the coarse-grid model since the fine-grid model serves the role of simulated reality. Therefore, there are 289 states in the first third of the state vector of the coarse-grid model. The number of modes _n_ ˜ r obtained by balanced truncation is chosen to be 5. _4.3.1._ _Observability_ _of_ _the_ _modes_ The observability of the modes is computed by checking the rank of the observability matrix _Qob_ at any operating point defined as: r _..._ _C_ ˜ r ˜ _A_ r _n_ ˜ r− (35) 2   _Qob_ =   _C_ ˜ r _C_ ˜ r ˜ _A_ r _C_ ˜ r ˜ _A_ 2r as the outlet pressure are known which gives enough information for the system to be fully observable, as confirmed by the results in Section 6. To elaborate further, these values at the boundary are also part of the state vector, but the time evolution of these states is not computed, but imposed as an input, and that is the reason why in the transformation matrix entries, they do not show up since the observer will not correct them, but they are, of course, known, providing good observability. 5. Simulation experiment In this section, the simulation scenario of the case study mentioned in the introduction is explained in detail. The performance of the observer is demonstrated using a more detailed simulation, considered as reality, to evaluate the convergence of all states inside the fuel cell. An evaluation of the observer based on real measurements is currently impossible, as no sensors are available to detect the distributed state inside the fuel cell. _5.1._ _Setup_ The goal of the observer is to estimate all states of the fuel cell given in Eq. (3). In this work, special attention is paid to the along-the-channel spatial distribution of the following quantities: - Current density _i_ - Membrane water content _λ_ - Species mole fractions in the cathode and anode gas channels _γj_, where _j_ ∈{O2 _,_ N2 _,_ H2O} for the cathode and _j_ ∈ {H2 _,_ N2 _,_ H2O} for the anode It is assumed that only a few inexpensive sensors are available to the observer for measurements, namely cell voltage and pressure at the system boundaries. In this experiment, the system is considered pressure-driven, therefore, the pressures at the system boundaries are set as boundary conditions, as seen in Eq. (5). The output of the system, available to the observer as measurement is the cell voltage _y_ meas = _V_ . If the fuel cell would be operated in a mass-driven mode, then the pressures at the system boundaries would also constitute the output vector. The measurements are subject to Gaussian noise with a standard deviation of 1% of the corresponding quantity. The system is excited with a timevarying input, the average current density, whose signal is seen in Fig. 6. _5.2._ _Simulation_ _models_ _and_ _their_ _resolution_ Three simulation runs are performed: - Measurement generation using a fine-grid model, referred to as _Actual_ - Reference simulation using a coarse-grid model without the observer, referred to as _Simulation_ - Estimation using a coarse-grid model with observer, referred to as _Observer_ The number of discretisation points, illustrated in Fig. 2, determine the resolution of the model. In the following simulation study, models of different sizes are used. First, a fine-grid model is used to generate the simulated reality that the observer will try to estimate, i.e. the _Actual_ states distribution. The information on the internal states of this first simulation run is by no means known to the observer, which receives only information about the system outputs. The model used by the observer is a coarsegrid model, meaning that it has less discretisation points than the reality model, introducing a model error. The models’ grid sizes and the time step size _Δt_ are given in Table 4. To show the performance of the observer, it is always interesting to see what _n_ ˜ r−1 r The observability matrix _Qob_ is shown to have full rank for any tested operating point meaning that the principal modes of the system are observable. _4.3.2._ _Observability_ _of_ _the_ _states_ The observability of the states cannot be easily computed via the observability matrix as in the case for the modes due to the large number of states. One would have to compute high powers of the Jacobian matrix _A_ wp which becomes numerically unreliable. Instead, the observability of the states is analysed by using the transformation matrix _T_ <sup>˜</sup> r. This matrix maps the states to the modes and by analysing the rows of this matrix, one can see in which direction in the state space all the dominant modes point to. In Fig. 5, one can see the entries of the rows of this matrix from top to bottom, starting with the most dominant mode on the top. Any location on the _x_ -axis corresponds to a certain state and the value on the _y_ -axis is the absolute value of the entry of each row of the matrix _T_ <sup>˜</sup> r. Upon analysing the rows of this matrix, one can see that the modes of the system point in the direction of all domains, but only for the anode channel it is very weak, indicating that all domains except the anode channel are observable. The modes do not point in the direction of all states, but there is neither the need for it, as per the strong coupling between the adjacent states, the profiles will follow the observer’s corrective action. To remedy the anode channel observability problem, it must be pointed out that the analysis of the transformation matrix entries must be supplemented with information about the known boundary conditions. Namely, for the anode channel, the inlet gas composition and pressure as well 9 <u>79</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Fig. 5. Entries of the rows of the transformation matrix _T_ <sup>˜</sup> r. The top plot shows the entries for the first dominant mode, and so on until the bottom. The entries show the direction in which the observer corrects the system. The red lines separate the domains in the state vector. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) would happen in a pure simulation, in which the observer is not active. In this _Simulation_ run, the system is initialised differently than in the first run, as it is not possible to know the initial state conditions in reality. Also, the observer is not active. If the system is asymptotically stable, as it is the case for this model, the system will eventually converge towards the true state, regardless of the wrong initialisation. However, if the observer is active, it is aware of the error between simulation and reality and tries to match the states accordingly. In this third _Observer_ simulation run with wrong initialisation, the system converges towards the true state faster, which is crucial for diagnostics and/or fault detection, especially if the initial error is large or if slow dynamics are present in the system. In Fig. 7, the voltage behaviour in all three simulation runs is shown as demonstration of the explained procedure. 6. Results and discussion The results of the simulation are presented both in the form of figures in this paper as well as two videos which can be found in the supplementary material. The system is excited with the average current density demand as shown in Fig. 6. The vertical magenta lines in Figs. 6 and 7 mark the times for which the snapshots, i.e., Figs. 8 to 10 are plotted. In these figures, the top Fig. 6. Excitation signal. The solid black line is the input (average current density) trajectory and the magenta lines indicate the times where snapshots shown in Section 6 are taken. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) plot is the system snapshot at the initial time _t_ = 0 s, the middle plot shows the system at time _t_ = 1 s and the bottom plot shows the system at time _t_ = 6 s. The purpose of the figures is to give 10 <u>80</u> <u>2.3</u> <u>Publication</u> <u>C</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Fig. 7. Cell voltage. The observer (red line) converges towards the true value (blue line) faster than the uncorrected simulation (green line). The magenta lines indicate the times where snapshots shown in Section 6 are taken. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) Fig. 9. Membrane water content distribution along the channel at different times. The observer converges towards the true state much faster than the uncorrected simulation. Fig. 8. Local current density distribution along the channel at different times. The reality model has 10 and the simulation model has 4 nodes. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) the opportunity to visualise the procedure at a glance and to point out some interesting details, but the whole richness of the results is found in Videos 1 and 2. _6.1._ _Local_ _current_ _density_ _and_ _membrane_ _water_ _content_ The current density distribution along the channel is shown in Video 1 (top plot) as well as in Fig. 8. The number of plotted nodes for the simulated reality fine-grid model is 10, equal to the number of slices (blue line). The simulation without the observer is plotted in green and the simulation where the observer is active is plotted in red. The number of nodes in the green and red lines is 4, equal to the number of slices of the coarse-grid model. The profile of all the states is interpolated with a Piecewise Cubic Hermite Interpolating Polynomial using the MATLAB pchip command. The current density distribution in the simulation model is initialised differently from reality, as it is not realistic to assume the initial distribution in reality to be known. In Video 1, the initialisation can be seen at time _t_ = 0 s as well as in the top plot of Fig. 8. At time _t_ = 1 s, in the middle plot of Fig. 8, one can see that the local current density distribution estimated by the observer already almost matches the true state. Furthermore, it is to be noted that the whole profile of the local current density distribution matches reality even though the coarse-grid model has fewer nodes and the nodes position is not equal to the ones in the fine-grid model. This highlights the robustness of the algorithm. At time _t_ = 6 s, seen in the bottom plot of Fig. 8 both the simulation and the observer have converged towards the true state completely. The membrane water content is shown in Video 1 (middle plot) and Fig. 9. As with the current density, in the simulation, it is initialised differently than reality, as seen in Video 1 at time _t_ = 0 s as well as in the top plot of Fig. 9. The main reason for the big voltage offset seen in Fig. 7 at the beginning of the simulation is exactly the membrane water content. The membrane is assumed to be too humid at this point and the observer corrects the error by dehumidifying the membrane quite fast, whereas the pure simulation takes long to dehumidify the membrane due to the slow water transport dynamics. This can be clearly seen in the middle and bottom plot of Fig. 9. In the figures, however, the transition from the initial value to the true state cannot be captured, but in Video 1, the transient can be clearly seen. _6.2._ _Species_ _mole_ _fractions_ The second group of results are the species mole fractions shown in Fig. 10 and in Video 2. Unlike the local current density and membrane water content, the species mole fractions are initialised the same way in the fine-grid and coarse-grid models, but as already stated, the main effect for the voltage deviation is the error in the membrane water content. Since the membrane starts with a significantly higher water content in the simulation and observer than in the fine-grid model, the water is driven towards the channel at different rates because the concentration gradient 11 <u>81</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Fig. 10. The distribution of the species mole fractions along the cathode (a, c, e) and anode (b, d, f) channels. The actual distributions, denoted in blue, are generated by a high-fidelity fine-grid model. The green lines denote simulations of a coarse-grid model with no feedback from sensor data. The red lines indicate the distribution estimates generated by the proposed observer. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) is different. In addition, the difference between simulation and observer comes from the corrective action of the observer. Very quickly, though, the observer corrects the mole fractions, visible in the middle and bottom plots of the state triplets in Fig. 10. There are 30 nodes in the gas channels for the reality model and only 6 for the simulation model. An interesting detail can be observed in this experiment. For example, in the middle plot of Fig. 10(c), the water mole fraction in the cathode is seen. If the mole fraction at the end of the channel could be measured, and no observer existed, one would see that the simulation deviates 12 <u>82</u> <u>2.3</u> <u>Publication</u> <u>C</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ at that point by some value, but the actual error is larger than that - a significant portion of the whole profile is wrong. One would be ignorant to this fact from measuring the mole fraction at the outlet only. On the other hand, with an observer in place, one can estimate the distribution better, since by its very nature, the observer pushes the system towards reality. 7. Conclusion Monitoring the internal states of a fuel cell is challenging but crucial for its safe and lasting operation. While measuring them is almost impossible or only realisable with highly expensive equipment, observers offer a good alternative to estimate the distributed states on the basis of models and a few simple measurements. However, realistic modelling of fuel cells leads to complex high-order systems described by partial differential equations. The implementation of such models in observers is not straightforward when keeping real-time feasibility and robustness in mind. In this work, we have developed an observer that uses a full fuel cell model to predict future states and reduced system Jacobians (dominant modes only) to update the predicted states based on measurements. The method has advantages in terms of good observability and computational efficiency, as only the dominant behaviour is considered in the correction of the predicted states, resulting in well-converging state estimates. The developed method is tested using a high-fidelity simulated reality to best evaluate the convergence of the distributed system states. A model with wrong initialisation and model errors (coarser discretisation in space and time) is used as a reference simulation and serves as the basis for the observer. Only a few realistic and inexpensive sensors at the inlet and outlet of the fuel cell provide the observer with measurements. It turns out that the observer updates the simulation model correctly and quickly drives all states to their true values. The estimates of the distributed internal states converge well, allowing monitoring of critical states in the fuel cell. A pure simulation without observer correction leads to slow convergence and is not useful to improve the operation of a fuel cell. The novel fuel cell observer is ready to be implemented in real-world applications, such as the automotive industry, where critical conditions may occur due to transient and dynamic operations and highly expensive laboratory measurement equipment is not available. Currently, the observer algorithm is being extended to include parameter estimation in addition to state estimation. This means that an imperfect model will correct itself, relaxing the need for perfect initial parametrisation, which would require expensive experimental tests. In future work, the observer can be extended with additional functionalities, e.g. estimation of changing parameters due to ageing processes. CRediT authorship contribution statement Martin Vrlić: Conceptualization, Methodology, Software, Simulations, Writing - original draft. Dominik Pernsteiner: Conceptualization, Methodology, Software, Simulations, Writing - original draft, Visualisation. Alexander Schirrer: Writing - reviewing and editing, Supervision. Christoph Hametner: Supervision, Funding acquisition. Stefan Jakubek: Supervision, Funding acquisition. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Data availability No data was used for the research described in the article Acknowledgements This work was funded by the FFG project AlpeDHues (grant number 884322) and the Christian Doppler Research Association. The authors acknowledge TU Wien Bibliothek for financial support through its Open Access Funding programme. Appendix A. Supplementary data Supplementary material related to this article can be found online at https://doi.org/10.1016/j.egyr.2023.06.006. References Benner, P., Gugercin, S., Willcox, K., 2015. A survey of projection-based model re duction methods for parametric dynamical systems. SIAM Rev. 57, 483–531. http://dx.doi.org/10.1137/130932715. Besselink, B., Tabak, U., Lutowska, A., Wouw, N.V.D., Nijmeijer, H., Rixen, D.J., Hochstenbach, M.E., Schilders, W.H.A., 2013. A comparison of model reduction techniques from structural dynamics, numerical mathematics and systems and control. J. Sound Vib. 332, 4403–4422. http://dx.doi.org/10.1016/ j.jsv.2013.03.025. Brunton, S.L., Kutz, J.N., 2019. Data-Driven Science and Engineering: Machine Learning, Dynamical Systems, and Control. Cambridge University Press, Cambridge (U.K.), http://dx.doi.org/10.1017/9781108380690. Dobrokhotov, V., Larin, A., 2019. Multisensory gas chromatography for field analysis of complex gaseous mixtures. ChemEngineering 3, 1–18. http://dx. doi.org/10.3390/chemengineering3010013. Farrell, B.F., Ioannou, P.J., 2001. State estimation using a reduced-order Kalman filter. J. Atmos. Sci. 58, 3666–3680. http://dx.doi.org/10.1175/15200469(2001)058{<}3666:SEUARO{>}2.0.CO;2. Hidayat, Z., Babuska, R., De Schutter, B., Núñez, A., 2011. Observers for linear distributed-parameter systems: A survey. In: 2011 IEEE International Symposium on Robotic and Sensors Environments. ROSE, pp. 166–171. http: //dx.doi.org/10.1109/ROSE.2011.6058523. IEA, 2019. The future of hydrogen. URL: https://www.iea.org/reports/the-future of-hydrogen. (Accessed 14 January 2022). IEA, 2021. Global hydrogen review 2021. URL: https://www.iea.org/reports/ global-hydrogen-review-2021. (Accessed 14 January 2022). İnci, M., Büyük, M., Demir, M.H., İlbey, G., 2021. A review and research on fuel cell electric vehicles: Topologies, power electronic converters, energy management methods, technical challenges, marketing and future aspects. Renew. Sustain. Energy Rev. 137, http://dx.doi.org/10.1016/j.rser. 2020.110648. Jazwinski, A., 1970. Stochastic Processes and Filtering Theory. Academic Press, New York (NY, USA) and London (U.K.). Khodadadi, H., Jazayeri-Rad, H., 2011. Applying a dual extended Kalman filter for the nonlinear state and parameter estimations of a continuous stirred tank reactor. Comput. Chem. Eng. 35, 2426–2436. http://dx.doi.org/10.1016/ j.compchemeng.2010.12.010. Lee, J., Nam, O., Cho, B.H., 2007. Li-ion battery SOC estimation method based on the reduced order extended Kalman filtering. J. Power Sources 174, 9–15. http://dx.doi.org/10.1016/j.jpowsour.2007.03.072. Lee, J., Nguyen, H.D., Escribano, S., Micoud, F., Rosini, S., Tengattini, A., Atkins, D., Gebel, G., Iojoiu, C., Lyonnard, S., Morin, A., 2021. Neutron imaging of operando proton exchange membrane fuel cell with novel membrane. J. Power Sources 496, http://dx.doi.org/10.1016/j.jpowsour.2021.229836. Luna, J., Husar, A., Serra, M., 2015. Nonlinear distributed parameter observer design for fuel cell systems. Int. J. Hydrogen Energy 40, 11322–11332. http://dx.doi.org/10.1016/j.ijhydene.2015.05.132. Luna, J., Jemei, S., Yousfi-Steiner, N., Husar, A., Serra, M., Hissel, D., 2016a. Nonlinear predictive control for durability enhancement and efficiency improvement in a fuel cell power system. J. Power Sources 328, 250–261. http://dx.doi.org/10.1016/j.jpowsour.2016.08.019. Luna, J., Usai, E., Husar, A., Serra, M., 2016b. Nonlinear observation in fuel cell systems: A comparison between disturbance estimation and high-order sliding-mode techniques. Int. J. Hydrogen Energy 41, 19737–19748. http: //dx.doi.org/10.1016/j.ijhydene.2016.06.041. Luna, J., Usai, E., Husar, A., Serra, M., 2017. Enhancing the efficiency and lifetime of a proton exchange membrane fuel cell using nonlinear model-predictive control with nonlinear observation. IEEE Trans. Ind. Electron. 64, 6649–6659. http://dx.doi.org/10.1109/TIE.2017.2682787. Moore, B., 1981. Principal component analysis in linear systems: Controllability, observability, and model reduction. IEEE Trans. Automat. Control 26, 17–32. http://dx.doi.org/10.1109/TAC.1981.1102568. 13 <u>83</u> _M._ _Vrlić,_ _D._ _Pernsteiner,_ _A._ _Schirrer_ _et_ _al._ _Energy_ _Reports_ _10_ _(2023)_ _1–14_ Murschenhofer, D., Kuzdas, D., Braun, S., Jakubek, S., 2018. A real-time capable quasi-2D proton exchange membrane fuel cell model. Energy Convers. Manage. 162, 159–175. http://dx.doi.org/10.1016/j.enconman.2018.02.028. Park, B.-G., Kim, J.-M., Kim, J.-W., Lee, K.-C., Koo, D.-H., Hyun, D.-S., 2013. New approach to EKF-based sensorless control using parallel structure for nonsalient pole permanent magnet synchronous motors. In: 2013 International Conference on Electrical Machines and Systems. ICEMS, pp. 1099–1104. http://dx.doi.org/10.1109/ICEMS.2013.6754407. Pernsteiner, D., Schirrer, A., Kasper, L., Hofmann, R., Jakubek, S., 2021. State estimation concept for a nonlinear melting/solidification problem of a latent heat thermal energy storage. Comput. Chem. Eng. 153, 107444. http://dx.doi. org/10.1016/j.compchemeng.2021.107444. Sarmiento-Carnevali, M., Serra, M., Batlle, C., 2017. Distributed parameter model based control of water activity and concentration of reactants in a polymer electrolyte membrane fuel cell. Int. J. Hydrogen Energy 42, 26389–26407. http://dx.doi.org/10.1016/j.ijhydene.2017.08.191. Schmid, P.J., 2010. Dynamic mode decomposition of numerical and experimental data. J. Fluid Mech. 656, 5–28. http://dx.doi.org/10.1017/ S0022112010001217. Simon, D., 2006. Optimal State Estimation: Kalman, H∞, and Nonlinear Ap proaches. John Wiley & Sons, Hoboken (NJ, USA), http://dx.doi.org/10.1002/ 0470045345. Wang, X.R., Ma, Y., Gao, J., Li, T., Jiang, G.Z., Sun, Z.Y., 2021. Review on water management methods for proton exchange membrane fuel cells. Int. J. Hydrogen Energy 46, 12206–12229. http://dx.doi.org/10.1016/j.ijhydene. 2020.06.211. Wishner, R.P., Tabaczynski, J.A., Athans, M., 1969. A comparison of three non-linear filters. Automatica 5, 487–496. http://dx.doi.org/10.1016/00051098(69)90110-1. Yuan, H., Dai, H., Wei, X., Ming, P., 2020. Model-based observers for internal states estimation and control of proton exchange membrane fuel cell system: A review. J. Power Sources 468, http://dx.doi.org/10.1016/j.jpowsour.2020. 228376. Zaghloul, M.A.S., Mason, J.H., Wang, M., Buric, M., Peng, Z., Lee, S., Ohodnicki, P., Abernathy, H., Chen, K.P., 2021. High spatial resolution temperature profile measurements of solid-oxide fuel cells. Appl. Energy 288, http://dx.doi.org/ 10.1016/j.apenergy.2021.116633. 14 <u>84</u> <u>Curriculum</u> <u>Vitae</u> ### Curriculum Vitae Personal Information Name Martin Vrlić Date of Birth 8 March 1994 Birthplace Buenos Aires, Argentina Citizenship Croatia Education 10/2018 - TU Wien Doctoral Programme in Engineering Sciences Mechanical Engineering 10/2015 - 09/2018 University of Split, Faculty of science Master Programme: Computational Physics Pass with distinction Thesis: “Obtaining high pressure in a diamond anvil cell at the Technical University of Vienna” Advisor: Prof.dr.sc. Ante Bilušić 10/2012 - 09/2015 University of Split, Faculty of science Bachelor Programme: Engineering Physics Pass with distinction Thesis: “Rotation in special theory of relativity” Advisor: Prof.dr.sc. Franjo Sokolić 09/2008 - 06/2012 Franciscan classical gymnasium Sinj (secondary school) Pass with distinction <u>Curriculum</u> <u>Vitae</u> <u>85</u> Professional Work Experience 09/2022 - Research consultant | Founder Research centre RAQUEL 10/2018 - 07/2022 Project Assistant (Prae-Doc) TU Wien Research Unit of Control and Process Automation 03/2015 - 07/2015 Working student University of Split, Faculty of science IT Skills Operation Systems Windows, Linux Office Microsoft Office, L <sup>A</sup> TEX Programming MATLAB, Python, C, Arduino Video editing Adobe Premiere Pro, Kdenlive Languages Croatian Native language Spanish Native language English Fluent in written and spoken Italian Basics German Basics Leisure Interests Traveling, Arduino programming, Psychology, Nature <u>86</u> <u>List</u> <u>of</u> <u>Scientific</u> <u>Publications</u> ### List of Scientific Publications #### International Journals 1. 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 (2020). doi: `[10.3390/en13205353](https://doi.org/10.3390/en13205353)` 2. 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”. In: _Energies_ 14.8 (2021). doi: `[10.3390/en14082206](https://doi.org/10.3390/en14082206)` 3. M. Vrlić, D. Pernsteiner, A. Schirrer, C. Hametner, and S. Jakubek. “Reduced-dimensionality nonlinear distributed-parameter observer for fuel cell systems”. In: _Energy_ _Reports_ 10 (2023), pp. 1–14. doi: `[10.1016/j.egyr.2023.06.006](https://doi.org/10.1016/j.egyr.2023.06.006)` . url: `[https://doi.org/10.](https://doi.org/10.1016/j.egyr.2023.06.006)` ``` 1016/j.egyr.2023.06.006 #### International Conferences ``` 1. M. Vrlic, D. Ritzberger, and S. Jakubek. “Efficient and life preserving power tracking control of a proton exchange membrane fuel cell using model predictive control”. In: _Proceedings_ _of_ _2020_ _SICE_ _International_ _Symposium_ _on_ _Control_ _Systems,_ _SICE_ _ISCS_ _2020_ (2020), pp. 77–84. doi: `[10.23919/SICEISCS48470.2020.9083653](https://doi.org/10.23919/SICEISCS48470.2020.9083653)` 2. M. Vrlic and S. Jakubek. “Degradation avoiding start up and shut down of fuel cell stacks for automotive application using two plant model predictive control”. In: _2021 6th_ _International_ _Conference_ _on_ _Smart_ _and_ _Sustainable_ _Technologies,_ _SpliTech_ _2021_ (2021), pp. 1–6. doi: `[10.23919/SpliTech52315.2021.9566412](https://doi.org/10.23919/SpliTech52315.2021.9566412)`

섹션 본문

섹션 본문이 없습니다.

참고문헌

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