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

A novel feature susceptibility approach for a PEMFC control system based on an improved XGBoost-Boruta algorithm

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

기본 정보

저자
  1. Xinjie Yuan — Department of Mechanical Engineering, University College London (UCL), Torrington Place, London WC1E 7JE, United Kingdom|||Shanghai Hydrogen Propulsion Technology Co., Ltd., 1788 Xiechun Road, Shanghai 201804, China
  2. Fujun Chen — State Key Laboratory of Engines, Tianjin University, 135 Yaguan Road, Tianjin 300350, China
  3. Zenggang Xia — Shanghai Hydrogen Propulsion Technology Co., Ltd., 1788 Xiechun Road, Shanghai 201804, China
  4. Linlin Zhuang — Shanghai Hydrogen Propulsion Technology Co., Ltd., 1788 Xiechun Road, Shanghai 201804, China
  5. Kui Jiao — State Key Laboratory of Engines, Tianjin University, 135 Yaguan Road, Tianjin 300350, China
  6. Zhijun Peng — State Key Laboratory of Engines, Tianjin University, 135 Yaguan Road, Tianjin 300350, China
  7. Bowen Wang — State Key Laboratory of Engines, Tianjin University, 135 Yaguan Road, Tianjin 300350, China
  8. Richard Bucknall — Department of Mechanical Engineering, University College London (UCL), Torrington Place, London WC1E 7JE, United Kingdom
  9. Konrad Yearwood — Department of Mechanical Engineering, University College London (UCL), Torrington Place, London WC1E 7JE, United Kingdom
  10. Zhongjun Hou — Shanghai Hydrogen Propulsion Technology Co., Ltd., 1788 Xiechun Road, Shanghai 201804, China
DOI
10.1016/j.egyai.2023.100229
저널
Energy and AI
발행년도
2023
발행기관
Elsevier BV
피인용수
31
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.egyai.2023.100229
토픽
Electrocatalysts for Energy Conversion
OpenAlex ID
W4313731388

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.90
근거 용어
PEMFC control system, BOP features, XGBoost-Boruta algorithm, performance prediction, stack voltage
판단 근거
본 논문은 PEMFC(고분자전해질 연료전지) 시스템의 성능 예측을 위해 BOP(Balance of Plant) 변수들을 최적화하여 선택하는 데이터 기반 제어 알고리즘을 다루고 있습니다.
R&D 활용 포인트
코오롱인더스트리의 PEMFC 관련 제품(MEA, 가습기 등)의 시스템 통합 단계에서, 센서 데이터를 활용한 성능 예측 및 실시간 상태 모니터링/제어 로직 고도화에 활용 가능합니다.
평가 입력
본문 59,681자 중 30,032자 발췌

초록

Data-driven modelling methods are being developed in the quest to achieve more accurate performance prediction of protons exchange membrane fuel cell (PEMFC) systems in response to their complicated physicochemical phenomena. However, there is little research in this field detailing the pre-processing and selection of balance of plants (BOP) features for the input layer of system performance prediction at different current densities. Furthermore, most of the previous research applies neural networks based on simulation data rather than real-time bench or vehicle operation datasets which leads to low robustness and unreliable practical results. This paper details the application of a novel algorithm denoted XGBoost-Boruta, which utilises the combination of an ensemble learning approach and a wrapping approach, to improve the robustness of feature selection and to increase the accuracy and robustness of PEMFC system performance prediction. By introduction of the Z score and shadow features to eliminate the randomness of conventional ensemble learning methods, seven key controllable BOP variables of the hydrogen anode, air cathode and cooling subsystems are selected as the original input variables to determine their dependency on the stack voltage. Two case studies are presented for verification and validation of the proposed algorithm based on the real-time dataset of bench experimental data and data obtained from heavy truck operation at current densities ranging from 100 to 1500 mA/cm2. The feature selection strategy, based on the proposed XGBoost-Boruta algorithm, largely decreases the RMSE by 23.8% and 14.1% and the R2 increases by 0.06 and 0.04 of both the bench experimental and the heavy truck validation datasets respectively.

본문 59,681자

본문 펼치기
[Energy and AI 12 (2023) 100229](https://doi.org/10.1016/j.egyai.2023.100229) Contents lists available at ScienceDirect # Energy and AI [journal homepage: www.sciencedirect.com/journal/energy-and-ai](https://www.sciencedirect.com/journal/energy-and-ai) ## A novel feature susceptibility approach for a PEMFC control system based on an improved XGBoost-Boruta algorithm Xinjie Yuan <sup>a,c</sup>, Fujun Chen <sup>b</sup>, Zenggang Xia <sup>a</sup>, Linlin Zhuang <sup>a</sup>, Kui Jiao <sup>b,</sup> <sup>*</sup>, Zhijun Peng <sup>b</sup>, Bowen Wang <sup>b</sup>, Richard Bucknall <sup>c</sup>, Konrad Yearwood <sup>c</sup>, Zhongjun Hou <sup>a,*</sup> a _Shanghai Hydrogen Propulsion Technology Co., Ltd., 1788 Xiechun Road, Shanghai 201804, China_ b _State Key Laboratory of Engines, Tianjin University, 135 Yaguan Road, Tianjin 300350, China_ c _Department of Mechanical Engineering, University College London (UCL), Torrington Place, London WC1E 7JE, United Kingdom_ H I G H L I G H T G R A P H I C A L A B S T R A C T - Development of the new XGBoostBoruta algorithm to evaluate feature importance of key BOP features in a PEMFC control system at different cur­ rent densities. - Design of a self-adaptive feature selec­ tion strategy for PEMFC system perfor­ mance prediction. - Comparative analysis between the pro­ posed XGBoost-Boruta algorithm with conventional feature dropout strategy. - Verification and validation evaluation based on real-time PEMFC bench and vehicle data. A R T I C L E I N F O _Keywords:_ Boruta Extreme gradient boosting (XGBoost) Feature selection Proton exchange membrane fuel cell (PEMFC) A B S T R A C T Data-driven modelling methods are being developed in the quest to achieve more accurate performance pre­ diction of protons exchange membrane fuel cell (PEMFC) systems in response to their complicated physico­ chemical phenomena. However, there is little research in this field detailing the pre-processing and selection of balance of plants (BOP) features for the input layer of system performance prediction at different current den­ sities. Furthermore, most of the previous research applies neural networks based on simulation data rather than real-time bench or vehicle operation datasets which leads to low robustness and unreliable practical results. This paper details the application of a novel algorithm denoted XGBoost-Boruta, which utilises the combination of an ensemble learning approach and a wrapping approach, to improve the robustness of feature selection and to increase the accuracy and robustness of PEMFC system performance prediction. By introduction of the Z score and shadow features to eliminate the randomness of conventional ensemble learning methods, seven key controllable BOP variables of the hydrogen anode, air cathode and cooling subsystems are selected as the original input variables to determine their dependency on the stack voltage. Two case studies are presented for verifi­ cation and validation of the proposed algorithm based on the real-time dataset of bench experimental data and data obtained from heavy truck operation at current densities ranging from 100 to 1500 _mA/cm_ <sup>2</sup> . The feature - Corresponding authors. _E-mail addresses:_ [kjiao@tju.edu.cn (K. Jiao), hou_zhongjun@shpt.com (Z. Hou).](mailto:kjiao@tju.edu.cn) [https://doi.org/10.1016/j.egyai.2023.100229](https://doi.org/10.1016/j.egyai.2023.100229) Available online 8 January 2023 2666-5468/© 2023 The Authors. Published by Elsevier Ltd. [This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-](http://creativecommons.org/licenses/by-nc-nd/4.0/) [nc-nd/4.0/).](http://creativecommons.org/licenses/by-nc-nd/4.0/) _X. Yuan et al. Energy and AI 12 (2023) 100229_ selection strategy, based on the proposed XGBoost-Boruta algorithm, largely decreases the RMSE by 23.8% and 14.1% and the _R_ <sup>2</sup> increases by 0.06 and 0.04 of both the bench experimental and the heavy truck validation datasets respectively. 1. Introduction In line with global sustainability issues, allied to the lowering of greenhouse gas emissions [1], it is desired that the CO2 content of the atmosphere stabilises at no more than 450 parts per million in 2050 [2]. In 2019, the emissions from the transport sector accounted for about 25% of global CO2 emissions [3]. The exploitation of the proton ex­ change membrane fuel cell (PEMFC) as a promising power source that produces zero harmful emissions, is on the increase in the areas of passenger and commercial vehicles [4]. However, the complexity of the physicochemical phenomena and the need for correlation of balance of plants (BOP) in a PEMFC system leads to difficulty in controlling the system by conventional mechanistic modelling methods. Data-driven modelling methods are gradually being applied to the prediction of the PEMFC system performance to find the relationship between PEMFC system variables as input features and system perfor­ mance parameters. Novel feature evaluation methods exist for PEMFC fault diagnosis and remaining useful life (RUL) prognosis. For example, a feature evaluation method was designed for the classification of three PEMFC states, including normal, flooding and dehydration to extend PEMFC lifetime [5]. Back propagation neural network (BPNN) and adapted neural fuzzy inference system (ANFIS) were applied for PEMFC prognosis under both static and non-static conditions [6]. However, there is very little research available that provides comprehensive rea­ sons for the choice of features which further complicates the interpret­ ability of neural networks and fails to guarantee robustness. Overall, previous data-driven research into data-driven PEMFC system control strategy bears five main research gaps as illustrated in Fig. 1 [7–13] and [14], the first two of which are data-related problems and the latter three deal with the performance of the prediction algorithm. From the aspect of the selection of datasets, as illustrated by the first two points in Fig. 1, most research tends to combine uncontrollable PEMFC stack design dependant variables and controllable system BOP features based on empirical or equivalent simulation models. For example, Ding et al. applied random forest (RF) techniques to rank PEMFC stack material features and BOP features, where PEMFC stack design dependant variables, including BET surface area, mesopore ratio and micropore ratio, are selected as top features [7]. Eight structural parameters were selected as input features for electric potential [8]. Although these stack material features are critical to the performance of both the PEMFC stack and system, it is not usual to monitor and detect these features during operation for bench test and vehicle running, therefore these research efforts have limited practical value for the real-time control for vehicle applications. Another dataset-related problem is the accuracy and practicality of the empirical and mathe­ matical equivalent models. Most PEMFC system performance prediction neural networks are established based on simulation models which are derived with a significant number of assumptions that cannot be neglected in vehicle operation and therefore limited in practical values and robustness in the prediction models themselves. For example, in [9], the equivalent model of the dataset is generated by an embedded PEMFC model in MATLAB which assumes that the pressure drops across the flow channels are negligible and the cell resistance remains constant at all the conditions of operation. However, these assumptions do not accommo­ date actual bench and vehicle operation which requires intensive cali­ bration. Therefore, real-time bench and vehicle datasets are of greater importance for the training of the prediction models as compared with simulation datasets. The latter three research gaps illustrated in Fig. 1 are related to the methods of input feature selection for PEMFC performance prediction. In recent research, feature selection for a high-dimensional PEMFC system is gradually being recognised as an important data preprocessing step before deriving a data-driven neural network model for the prediction of a PEMFC system. First, most research apply the same sets of input system features in neural network prediction models, covering all the current densities from low to high. However, the per­ formance of a typical PEMFC system is largely influenced by the acti­ vation, ohmic and concentration losses at different current densities, which leads to different water transport mechanisms through the membranes with specific priorities of BOP features for real-time vehicle operation [15]. For example, Legala et al. selected current, temperature, cathode pressure, oxygen and hydrogen partial pressure and membrane hydration as input features for the prediction of voltage output [10]. Based on the relatively small semi-empirical model, including approxi­ mately 1100 data points, a random dropout technique based on a spe­ cific probability value is applied to improve the r-squared of prediction to over 0.99. However, such a neuron disconnection method, based on a fixed probability value over all the ranges of current density risks overfitting and randomness, especially lacks the analysis of prediction performance at different ranges of current density [10]. In addition, there are only two variables of the input layer for the prediction of stack voltage and current, which might lead to overfitting [11]. Furthermore, Fig. 1. Five main research gaps in the design of data-driven PEMFC system control. _X. Yuan et al. Energy and AI 12 (2023) 100229_ the selection of current density, as one of the feature inputs, would reduce the influence of other features as voltage largely correlates to current for a semi-empirical PEMFC model [12]. Second, most research tries to adjust hyperparameters of neural networks to improve the per­ formance of prediction, but few clarify the reason for feature choices. For example, Bicer et al. compared different numbers of hidden layers of a conventional neural network model for better prediction performance of the dynamic behaviour of a 6 kW PEMFC [9]. Kheirandish et al. evaluated the influence of difference combinations of the insensitivity function _ε_ and parameters _C_ and _γ_ on the performance of voltage pre­ diction [13]. However, emphasis on the choices of hyperparameters based on one specific simulation data set, rather than the auto-selection of feature inputs, might lead to low robustness, especially under real environmental conditions with changing temperature and pressure during vehicle operation. Third, conventional pre-processing methods, such as random forests, are vulnerable to hyperparameters and the re­ sults bear randomness, but vehicle control requires predicable and self-adaptive methods. For example, as a typical bagging method, RF that trains base learners in parallel to minimise variance requires sig­ nificant amounts of computational resources and the prediction is highly vulnerable to a small change in hyperparameters. Therefore, it is not applicable for a real-time PEMFC system dataset with a pre-defined set of hyperparameters and thereby lacks robustness and accuracy. In comparison, as an advanced boosting ensemble method, extreme gradient boosting (XGBoost) requires limited hyperparameters, including depth and number of trees to train a weak learner and adjust itself iteratively, but still exhibits randomness for each forest [14]. Based on the literature review on the research gaps in the design of data-driven PEMFC system control, the main contribution of this paper is to address the database-related and input feature pre-processing related research gaps for data-driven PEMFC system performance pre­ diction. An innovative data pre-processing algorithm, named XGBoostBoruta algorithm, is designed to determine the influence of system BOP control features on the performance of an anode self-humidification PEMFC system under different ranges of current density. Boruta is first applied as an ensemble learning method with XGBoost to investigate the influence of controllable BOP features on stack voltage in an anode selfhumidification PEMFC system. A one-dimensional convolutional neural network (1DCNN) with fixed hyperparameters to connect the selected key BOP features and voltage output is then applied to verify and vali­ date the accuracy and robustness of the proposed algorithm in an objective, steady and automatic manner based on the real-time data from a hardware-in-loop bench test and the operation of a heavy truck. This paper is organised as follows. The PEMFC system structure is presented in Section 2. In Section 3, the novel application of the XGBoost-Boruta algorithm for PEMFC system feature selection process is detailed. Section 4 provides key data for the case studies, including specifications of the PEMFC stack and system, bench tests and dataset pre-processing. In Section 5, the proposed algorithm is successfully verified and validated based on the hardware-in-loop (HIL) bench test platform and real-time vehicle data. The proposed XGBoost-Boruta al­ gorithm is compared with the conventional feature dropout strategy, ranking the algorithm as it pertains to accuracy and robustness based on 1DCNN with fixed hyperparameters, followed by the conclusions in Section 6. 2. System illustration The proposed anode self-humidification PEMFC system is composed of four main parts: a high-power PEMFC stack, independently developed by Shanghai Hydrogen Propulsion Technology Co. Ltd., an air cathode subsystem, a cooling subsystem and a hydrogen anode subsystem, as illustrated in Fig. 2. BOPs are designed to regulate the temperature, pressure and mass flow rate of air, hydrogen and coolant to deliver high performance of the PEMFC stack. Based on the application of ultra-thin proton exchange membrane technology (8 _μm_ ) and the design of efficient hydrogen recirculation, the development of the anode self-humidification system eliminates the requirement for membrane humidifiers and simplifies the system ar­ chitecture, increases the power density and reduces the total cost [16, 17,18]. The mass flow rate, pressure, and temperature of the inlet air, represented by Nodes 1 to 3 respectively in Fig. 2, are controlled by the air compressor, an intercooler, a combination valve and a back pressure relief valve. Hydrogen passes through an injector to regulate the hydrogen inlet pressure before entering the PEMFC stack at Node 5. A hydrogen circulation pump (HCP), with a water-gas separator, is used to Fig. 2. Schematic diagram of the proposed anode self-humidification PEMFC system. _X. Yuan et al. Energy and AI 12 (2023) 100229_ recirculate the wet exhaust, including unreacted hydrogen enriched with the inlet hydrogen, to maintain the relative humidity of the membrane. The key controllable feature of this recirculation process is the HCP rotation speed, monitored and controlled at Node 4. The cooling sub-system consists of a cooling pump, an electronic thermostat, de-ionizers and a heat exchanger module. As thermal energy of the PEMFC stack is generated from the electrochemical reactions, an elec­ tronic thermostat, a heat exchange module and a radiator are used in conjunction to maintain the stack operating temperature [19]. The inlet and outlet temperatures of coolant are critical features in the cooling subsystem monitored at Nodes 6 and 7. Although there are more BOP features in the proposed PEMFC system, the seven features listed above have direct impact on the operation of the PEMFC stack. For example, the electronic thermostat, the coolant pump and the radiator of the coolant subsystem are controlled to attain the required temperature of the coolant and the air and then affect the voltage output indirectly. Restricted by the characteristics of the tightly coupled subsystems, conventional physical modelling methods are unable to reveal the relationship between the seven critical controllable features and the technical performance of the PEMFC system during the operation of the PEMFC system at different current densities. Therefore, a novel feature susceptibility approach is introduced in Section 3 for the proposed anode self-humidification PEMFC system and other PEMFC systems with similar characteristics of tightly coupled subsystems. 3. XGBoost-Boruta algorithm In this section, the application of the XGBoost algorithm with Boruta is explained in detail. Generally, the aim of the proposed wrapping method is to evaluate the impact and importance of seven features on the PEMFC stack voltage and select the more relevant features for the PEMFC voltage prediction as presented in Fig. 2. _3.1._ _Conventional feature selection methods_ Conventional ensemble learning methods train multiple weak feature selection learners to further enhance the performance of a single learner [20]. Random forest (RF) and extreme gradient boosting (XGBoost) are two typical bagging and boosting ensemble learning methods used to reduce variance and bias [21] and [22]. Compared with the XGBoost, the RF creates more trees in parallel and as a consequence requires more computational resource, which influences the real-time capability for a large PEMFC system dataset [23]. Besides, the perfor­ mance of the RF is largely influenced by hyperparameters. However, due to the characteristics of PEMFC degradation, the hyperparameters defined for the training dataset are not applicable during the operation of the system. Furthermore, in a PEMFC system where the correlation between features is high, some key features tend to be removed as they may be deemed to be of low importance leading to errors of judgement. In comparison, the XGBoost algorithm requires a smaller number of Fig. 3. Flow chart of the application of the proposed XGBoost-Boruta for PEMFC system feature selection. _X. Yuan et al. Energy and AI 12 (2023) 100229_ hyperparameters and has the capability to adjust itself as iteration progresses. Since the self-adapting iteration with different residuals leads to randomness for each forest, wrapping methods are innovatively combined with the ensemble learning method in ranking BOP features of a PEMFC system in this paper. Differing from recursive feature elimi­ nation (RFE), which is largely dependant on the performance of XGBoost, Boruta is a fully correlated feature selection method which is able to go through all features that carry key information for prediction instead of focusing on a particular compact subset of features [24] and [25]. Therefore, XGBoost is combined with Boruta to determine the importance of the seven key controllable BOP features of the PEMFC system as illustrated in Fig. 3. _3.2._ _Mechanism and application of the XGBoost-Boruta algorithm_ The XGBoost-Boruta algorithm on the PEMFC system is designed to determine feature importance with high interpretability. The proposed application of the algorithm can be divided into three parts, as presented in Fig. 3: building shadow features, training XGBoost models, and obtaining feature importance iteratively. 1) Building shadow features. The original feature matrix _R_, is composed of _N_ samples with the seven BOP features, is permuted randomly to form a shadow feature matrix _S_ . By appending these two matrices, a new matrix _Q_ ( _N_ × 14) is created as the input feature matrix for the XGBoost model. 2) Training XGBoost models. The training process of the XGBoost model follows the principle of the gradient boosting method by minimising the loss and the objective functions [24]. each split. 1) Obtaining feature importance iteratively. Boruta applies shadow features and a Z score to enhance the steadiness of a single XGBoost model, the latter of which is defined in Eq. (6), slightly different from the statistical definition [26]. _Z_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> = <sup>_<u>Gain</u>_</sup> _μGain_ (6) ( ̂ _Obj_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> = _L_ _yi,_ ̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> ) + Ω( _fK_ ) (1) ̂ _i_ ( ̂ )2 (2) where _~~Gain~~_ and _μGain_ are the average value and standard variance of the gains at the _K_ <sup>_th_</sup> tree. Original features with Z scores that are smaller than the maximum Z score of the shadow features _Zs,max_ are removed. These three steps are repeated iteratively until the iteration reaches maximum _mmax_ which has been set as 50, The pseudo code is given below. Algo­ rithm. 1 The features selected by the proposed XGBoost-Boruta algorithm are set as the input features for the prediction of the PEMFC voltage per­ formance. As the novel contribution of this paper is the feature preprocessing approach, a neural network is required to evaluate the improvement in prediction accuracy. To ensure the repeatability of the results for verification and validation of the proposed XGBoost-Boruta algorithm, a simple one-dimensional convolutional neural network (1DCNN) with fixed hyperparameters is designed as presented in Fig. 4. The 1DCNN includes layers nominated Conv1D, MaxPooling, Flatten, Dense and Dropout. The 1DCNN is set with the number of four dimen­ sion kernels to 30, the number of pooling layers to 2, two fully connected layers with 20 neurons and 1 neuron, the dropout rate to 0.5, the number of epochs to 100, the batch size to 32, and the activation function as RELU. The description of the conventional 1DCNN can be found in [27] but are not detailed here. 4. Case study This section provides the setup information and input data for the verification and validation process for the proposed XGBoost-Boruta algorithm to be applied to the proposed PEMFC system detailed in Sections 2 and 3. The signal transmission for the bench and vehicle tests, as denoted by the blue and the red paths in Fig. 5, demonstrates the verification and the validation processes for the accuracy and robustness of the proposed XGBoost-Boruta algorithm for an anode selfhumidification PEMFC system. The hardware-in-the-loop (HIL) bench test platform (shown by the blue path in Fig. 5) illustrates the signal transmission between the bench and the host server. The fuel cell unit (FCU) receives the system control features through CAN from the PEMFC system and sends them to the proposed algorithm as input feature datasets. The host server with the XGBoost-Boruta algorithm automatically ranks and selects key features for accurate system performance prediction at the different current densities. The results of feature ranking and system performance pre­ diction are used to enhance the command of the influence of the complicated PEMFC system BOP components on the PEMFC system and to further provide the guidance for system calibration at different cur­ rent densities. Similarly, the red path in Fig. 5 represents the real-time signal transmission for vehicle applications. The telematics-box (Tbox) is applied to collect the vehicle dynamic data and upload them to the host server through CAN and ethernet. The hyperparameters of the XGBoost and the 1DCNN remain the same for both the verification and validation processes. The number of trees of the XGBoost is set to 50. The input dataset for the 1DCNN is split into two parts with a ratio of 0.7:0.3, of which the first 70% is used for training while the rest is used for validation. Sections 4.1 and 4.2 detail the required test information, including the constraints of the input features, the real-time input feature datasets, ∑ _N_ _i_ =1 ) ( ̂ _L_ _yi,_ ̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> ̂ _i_ _yi_ −̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> ̂ _i_ = _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> = ∑ _K_ _k_ =1 _fk_ ( _xi_ ) (3) where _K_ is the number of trees set as 50, _Obj_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup>, _L_ ( _yi,_ ̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> ̂ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> ), ̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> where _K_ is the number of trees set as 50, _Obj_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup>, _L_ ( _yi,_ ̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> ), ̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>)</sup> and Ω( _fK_ )are the objective function, the loss function, the prediction value for the _K_ <sup>_th_</sup> tree respectively, _fk_ ( _xi_ ) are the penalty term and the predicted value for the _K_ <sup>_th_</sup> tree, _N_ is the number of samples, _yi_ is the real value from the original target _Y_, _T_ is the number of leaf nodes, _ωj_ is the weight of the _j_ <sup>_th_</sup> leaf node. With the aim being to minimise the objective function, the XGBoost model uses the second-order Taylor expansion to expand Eq. (1) to Eq. (4) to evaluate the performance of the _K_ <sup>_th_</sup> tree. _Obj_ <sup>(</sup> <sup>_K_</sup> <sup>)</sup> = − <sup><u>1</u></sup> 2 ∑ _T_ _j_ =1 _G_ <sup>2</sup> _<u>j</u>_ (4) _Hj_ + _λ_ <sup>+</sup> <sup>_γT_</sup> _G_ <sup>2</sup> _<u>j</u>_ where _Gj_ and _Hj_ are the first and second derivative of the loss function _L_ ( _yi,_ ̂ _y_ <sup>(</sup> _i_ <sup>_K_</sup> <sup>−</sup> <sup>1)</sup> _<u>G</u>_ <sup>2</sup> _<u>j</u>_ _~~H~~_ _<u>Gj</u>_ + <sup>2</sup> _<u>j</u>_ _λ_ <sup>is the gain value of the</sup> <sup>_jth_</sup> <sup>leaf node</sup> ̂ <sup>(</sup> _i_ <sup>_K_</sup> <sup>−</sup> <sup>1)</sup> ) for the _j_ <sup>_th_</sup> leaf node, ̂ to determine the split of the tree, and _γ_ is the hyperparameter defaulted to 0 in this paper. Feature importance is determined by the gains of the leaf nodes before and after the split as shown in Eq. (5). [ _<u>G</u>_ <sup>2</sup> _<u>L</u>_ _HRG_ + <sup>2</sup> _<u>R</u>_ _λ_ <sup>−</sup> _H_ ( _<u>GL</u>_ + _<u>L</u>_ + _H GR_ + _<u>R</u>_ ) _λ_ <sup>2</sup> _HL_ + _HR_ + _λ_ ] _Gain_ = <sup><u>1</u></sup> 2 _HLG_ + <sup>2</sup> _<u>L</u>_ _λ_ <sup>+</sup> _HRG_ + <sup>2</sup> _<u>R</u>_ - _γ_ (5) where _GL_, _HL_, _GR_ and _HR_ represent gains of left and right nodes after _X. Yuan et al. Energy and AI 12 (2023) 100229_ Algorithm 1 <u>XGBoost-Boruta feature ranking algorithm.</u> Fig. 4. Visualized structure of the proposed XGBoost-Boruta algorithm and the 1DCNN. the parameters required for the algorithm and the 1DCNN, and the setup information of the test platform for the HIL and vehicle operation separately. The bench datasets and dynamic vehicle running datasets for verification and validation in Section 4.1 and 4.2 are obtained during normal operation mode without the cold start process. The core strategy for the cold start is rapid ice breaking and heat management to reach the required stack temperature by correction between the desired setpoints and measured process values. Under the fixed control strategy of the cold start process, the proposed feature selection process is not applicable. _4.1._ _Bench test setup for verification_ The PEMFC system is equipped with a high-power FC stack with a stack peak power output and power density of 198 _kW_ and 5.1 _kW /L_ . Each cell of the stack is composed of ultra-thin proton exchange mem­ branes (8 _μm_ ), high-activity Platinum-Cobalt (Pt-Co) catalyst (mass ac­ tivity _>_ 150 _mA/mg_ ( _Pt_ ) _at_ 0 _._ 9 _V_ ), and ultra-thin metal bipolar plates (0.93 _mm_ ). Following the schematic diagram in Fig. 5, the hardware of the HIL test platform is set up as illustrated in Fig. 6(a). The real-time bench test dataset in Fig. 6(b) includes approximately 23,754 data points covering current densities from 104.0 to 1496.0 _mA/cm_ <sup>2</sup> and stack voltages from 275.5 to 382.8 V. As the ambient temperature and pressure are set as constant values in the bench test, these two features provide no information for the PEMFC system prediction and thus are not included in the input features for the algorithm. Therefore, the seven BOP features of the hydrogen, air and coolant subsystem, as described in Section 2, are regarded as input features, the constraints of which are given in Table 1. _X. Yuan et al. Energy and AI 12 (2023) 100229_ Fig. 5. Schematic diagram of signal transmission of the proposed anode self-humidification PEMFC system with the proposed XGBoost-Boruta algorithm. _4.2._ _Vehicle test setup for validation_ In addition to the verification test setup for the accuracy of the XGBoost-Boruta algorithm, this subsection provides the running infor­ mation of a heavy truck that will be used for the validation of the robustness of the proposed approach. The heavy truck running in Inner Mongolia province at about 40.8 <sup>◦</sup> N, 111.8 <sup>◦</sup> E in China (shown in Fig. 7 (a)) is equipped with a PEMFC system with rated stack power output and power density at 140 _kW_ and 3.7 _kW/L_ . The vehicle running dataset includes approximately 5720 data points, all of which are sent to the host server and sampled each sampling period of one second as illus­ trated in Fig. 7(b). Considering the limited temporal and spatial influ­ ence, the variations of these two features are small and are maintained constant for most data points and thus have low influence on the PEMFC performance prediction based on the proposed dataset. Therefore, the seven BOP features, the change of temperature and pressure are taken into consideration for the vehicle validation test. The vehicle validation test is conducted with an increase of current density from 1000.0 to 1485.0 _mA/cm_ <sup>2</sup> and stack voltage from 205.3 to 264.6 V and stack voltage from 205. to 264.6 V. The constraints of inputs are given in Table 2. 5. Results and discussion This section analyses the details of the verification and validation results based on the real-time bench and vehicle running data detailed in Section 4. Section 5.1 provides a comparative analysis, focusing on the difference of conventional random forest (RF), XGBoost and the pro­ posed XGBoost-Boruta algorithm applied on the bench data. Based on the ranking and selection of key BOP features, another comparative analysis is conducted to demonstrate the accuracy of the system per­ formance prediction with the features selected by the proposed algo­ rithm. In Section 5.2, following the same feature pre-processing strategy, a similar comparative analysis is performed for the robust­ ness of the system performance prediction based on the vehicle running data. _5.1._ _Verification results and analysis on bench test dataset_ The importance heat map obtained for the seven BOP features is based on the RF and the XGBoost algorithm in Fig. 8(a) and (b) respectively. The importance values at current density values of between 100 and 1500 _mA/cm_ <sup>2</sup> shows similar trends. For example, at low current density below 200 _mA/cm_ <sup>2</sup>, the hydrogen inlet pressure _PH_ 2 _,in_ ranks highest mainly because of its significant influence on water distribution in the membrane and thus has a positive effect on the stack voltage output. The heat map indicates that between 200 and 1100 _mA/cm_ <sup>2</sup>, the coolant outlet temperature _Tcool,out_, representing the stack operating temperature, is far more significant when compared with the other features. When the current density increases further, the air inlet mass flow rate _m_ ˙ _air_, the air inlet pressure _Pair,in_, and the air inlet temperature _Tair,in_ become the more significant features whilst the coolant outlet temperature is less significant, which is caused by there being relatively stable operating temperature at high current density. The importance values of the rotation speed of the HCP _ωHCP_ are low at all the operating conditions, indicating little influence on the output voltage. This is mainly caused by the proposed anode self-humidification system structure. Without using a humidifier at the cathode, the HCP at the anode transports the moisture generated during the stack operation to ensure the desirable humidity of the membrane electrolyte assembly (MEA) [28]. In addition, the HCP affects the hydrogen stoichiometry, but the hydrogen excess coefficient has a smaller impact on the output voltage when compared with the cathode [29,30]. The impact is much smaller when the water uptake is maintained within a reasonable range for the anode self-humidification PEMFC system bench test with appropriate energy and heat management. However, compared with the ranking result based on the XGBoost approach in Fig. 8(b), the RF approach provides the same trends but different importance rankings in Fig. 8(a). For example, the importance values of coolant outlet temperature in Fig. 8(a) are overall higher than the values in Fig. 8(b) across all current densities, which exposes the common disadvantage of conventional feature selection methods offer­ ing imbalanced preferences to related features and may lead to over­ fitting of the data. In comparison, weightings are allocated from top _X. Yuan et al. Energy and AI 12 (2023) 100229_ Fig. 6. Photo of the bench setup and the real-time dataset for verification: (a) Photo of the bench setup (b) Bench test data for the seven selected features and the stack voltage. Table 1 <u>Details of the seven key features for PEMFC system control features.</u> <u>Node</u> <u>Feature</u> <u>Symbol</u> <u>Unit</u> <u>Range</u> 1 Air flow rate _m_ ˙ _air_ _g/s_ [15.6, 133.8] 2 Air inlet pressure _Pair,_ _in_ _kPa_ [124.4, 267.1] 3 Air inlet temperature _Tair,_ _in_ _oC_ [55.3, 69.7] 4 HCP rotation speed _ωHCP_ _rpm_ [954.0, 7009.0] 5 Hydrogen inlet pressure _PH_ 2 _,_ _in_ _kPa_ [131.8, 282.4] 6 Coolant inlet temperature _Tcool,_ _in_ _oC_ [51.9, 75.8] 6 Coolant inlet temperature _Tcool,_ _in_ _oC_ [51.9, 75.8] <u>7</u> <u>Coolant outlet temperature</u> _<u>Tcool,</u>_ _<u>out</u>_ _oC_ <u>[66.8, 89.3]</u> _oC_ <u>[66.8, 89.3]</u> features to related features in an objective manner by the XGBoost approach. In addition to differing from the RF algorithm, which requires repeated attempts to obtain appropriate hyperparameters, the XGBoost algorithm only needs a small number of hyperparameters, which is preferable during dynamic PEMFC vehicle operation. Therefore, considering the difference amongst each PEMFC system and vehicle running conditions, the XGBoost algorithm is more appropriate where the requirement is for high robustness with less impact caused by human judgement. Furthermore, the large variation of Z scores of the seven features and the maximum Z score of shadow features at each iteration at the current density between 300 and 400 _mA/cm_ <sup>2</sup> in Fig. 9 illustrates that the conventional XGBoost algorithm delivers high randomness, low robustness and low accuracy, which is not acceptable for real-time vehicle control. As shown in Fig. 9, all the upper limits of the Z scores of the seven features are higher than the maximum Z score of the shadow features except HCP rotation speed _ωHCP_, which demonstrates that in this case, all the other features are marked as important for voltage prediction by the 1DCNN approach. The feature selection strategy is illustrated in Fig. 10 by comparing the Z scores of the seven real BOP features and the maximum value of the shadow features. The definition of Z score and shadow feature are introduced to minimise the influence of randomness of the conventional XGBoost and the difficulty in the selection of input features. In Fig. 10, all the Z scores in red are higher than the maximum value of the shadow features in blue except the HCP rotation speed. Therefore, the HCP _X. Yuan et al. Energy and AI 12 (2023) 100229_ Fig. 7. Heavy truck running in Inner Mongolia Province, China: (a) Photo of the heavy truck; (b) Real-time data for the seven selected features and stack voltage. Table 2 <u>Details of the seven key features for PEMFC system control features.</u> <u>Node</u> <u>Feature</u> <u>Symbol</u> <u>Unit</u> <u>Range</u> 1 Air flow rate _m_ ˙ _air_ _g/s_ [71.9, 102.5] 2 Air inlet pressure _Pair,_ _in_ _kPa_ [230.3, 255.7] 3 Air inlet temperature _Tair,_ _in_ _oC_ [51.1, 78.2] 4 HCP rotation speed _ωHCP_ _rpm_ [4980.0, 6920.0] 5 Hydrogen inlet pressure _PH_ 2 _,_ _in_ _kPa_ [213.0, 256.4] 6 Coolant inlet temperature _Tcool,_ _in_ _oC_ [52.1, 77.1] 6 Coolant inlet temperature _Tcool,_ _in_ _oC_ [52.1, 77.1] <u>7</u> <u>Coolant outlet temperature</u> _<u>Tcool,</u>_ _<u>out</u>_ _oC_ <u>[59.9, 90.5]</u> _oC_ <u>[59.9, 90.5]</u> rotation speed is automatically removed in accordance with the pro­ posed XGBoost-Boruta pre-processing strategy. To verify the accuracy of the feature removal strategy, three cases are compared. These cases are as follows: keeping all the features, removing the most important feature manually and following the proposed XGBoost-Boruta algorithm at the current density between 300 and 400 _mA/cm_ <sup>2</sup> . A repeatability experiment of 1DCNN based on the proposed XGBoost-Boruta algorithm is conducted to ensure the fair comparison. The ten repeatability results illustrated in Fig. 11 demonstrate that the proposed 1DCNN provides reasonably consistent results and can be used for the comparative analysis of different strategies. The accuracy of the voltage prediction performance by the three strategies varies markedly as visualised in Fig. 12(a) to (c) successively. The difference between keeping all the features and removing the feature by the XGBoost-Boruta algorithm is illustrated in the black dotted rectangular region in Fig. 12 (a) and (b). It is obvious that the degree of coincidence between pre­ dicted and experimental datasets in the black dotted oval region in Fig. 12(c) is higher than that in Fig. 12(a). Specific evaluation values are detailed in Table 3. The RMSE of voltage predictions by the proposed XGBoost-Boruta algorithm (1.31), is decreased by 23.8% compared with the RMSE values of 1.72 obtained by keeping all the features. Although the _R_ <sup>2</sup> values of voltage predictions are the same at 0.94 for the training dataset between keeping all the features and removing the feature by the proposed algorithm, the _R_ <sup>2</sup> difference of the validation dataset is approximately 23.8% between 0.92 and 0.86. From Fig. 10, the weighting of the coolant outlet temperature _Tcool,out_ is much higher than the values of the other features, so the second strategy is to remove the coolant outlet temperature from the input feature layer of the 1DCNN. It is obvious that the prediction voltage curve in blue is quite different from the experimental voltage data, especially in the black dotted region in Fig. 12(b). The values of RMSE and _R_ <sup>2</sup> get worse at 4.61 and even 0.02 for the validation dataset. Following the proposed XGBoost-Boruta al­ gorithm, the HCP rotation speed is automatically removed by the com­ parison of the real features and shadow features. The PEMFC voltage prediction performance improves, especially for the validation data where the _R_ <sup>2</sup> increases from 0.86 to 0.92 without human judgement. _5.2._ _Validation results and analysis on vehicle operation dataset_ Based on the verification of the proposed XGBoost-Boruta feature pre-processing strategy on the HIL bench test dataset, the algorithm is _X. Yuan et al. Energy and AI 12 (2023) 100229_ Fig. 8. Comparison of the importance values of the seven features based on XGBoost and RF algorithm: (a) RF algorithm; (b) XGBoost algorithm. Fig. 9. Box plot of the Z scores of seven features and the maximum Z score of shadow features at each iteration at the current density between 300 and 400 _mA /cm_ <sup>2</sup> . _X. Yuan et al. Energy and AI 12 (2023) 100229_ Fig. 10. Bar chart of the Z scores of the seven BOP real features and the maximum shadow feature based on the bench data at the current density between 300 and 400 _mA/cm_ <sup>2</sup> . Fig. 11. Ten repeatability results of 1DCNN based on the proposed XGBoost-Boruta algorithm. Fig. 12. Part of the validation data prediction visualisation by the XGBoost-Boruta and the 1DCNN algorithm based on the bench verification dataset at the current density between 300 and 400 _mA/cm_ <sup>2</sup> : (a) Keep all the features; (b) Remove the most important feature; (c) Remove the features by XGBoost-Boruta. validated in this subsection utilising the real-time vehicle running dataset to demonstrate the robustness and practical value. Following the real-time signal transmission for PEMFC heavy trucks as illustrated in Fig. 5 in Section 4, the T-box transfers dynamic signals, including the seven BOP features from the FCU to the host server. The seven real BOP features are input into the XGBoost-Boruta algorithm, the Z scores of _X. Yuan et al. Energy and AI 12 (2023) 100229_ Table 3 Comparative results amongst different feature removal strategy based on the HIL <u>bench data at the current density between 300 and 400</u> _<u>mA /cm</u>_ <sup>2</sup> <u>.</u> Category RMSE RMSE _R_ <sup>2</sup> _R_ <sup>2</sup> <u>(Train)</u> <u>(Validation)</u> <u>(Train)</u> <u>(Validation)</u> Keep all the features 1.10 1.72 0.94 0.86 Remove the most important 2.36 4.61 0.71 0.02 feature Remove the features by 2.36 4.61 0.71 0.02 1.03 1.31 0.94 0.92 <u>XGBoost-Boruta</u> which are compared with the maximum Z score of the shadow features as shown in Fig. 13. From Fig. 13, the Z scores of the HCP rotation speed and the air inlet temperature are lower than those of the other five features and the maximum value of the shadow features. These two features are removed by the algorithm as the input features of the 1DCNN. In comparison, the air mass flow rate and air inlet pressure obtain more weighting at high current density between 1000 and 1485 _mA/cm_ <sup>2</sup> than at low current density between 300 and 400 _mA /cm_ <sup>2</sup>, as detailed in the verification case study due to relatively stable operating temperature at high current density. The predicted voltage data (in blue) and experimental voltage data (in red) are partly visualised in Fig. 14. Compared with the strategy of keeping all the features, illustrated in Fig. 14(a), the degree of coinci­ dence between the predicted and experimental data following the pro­ posed XGBoost-Boruta method in Fig. 14(c) is higher, especially when the voltage is over 250 V in the black dotted rectangular regions. As visualised in the black dotted oval regions in Fig. 14(b) and (c), the prediction accuracy obtained at voltages between 220 and 245 V by removing the most important feature further demonstrates that the proposed strategy performs better than the other two strategies at different voltages. From the specific evaluation values in Table 4, the RMSE value of the validation dataset, after removing the HCP rotation speed and air mass flow rate, is only 3.95, approximately 14.1% and 37.7% lower by than the values obtained under the other two strategies. The _R_ <sup>2</sup> value of the validation dataset obtained by the proposed algo­ rithm is 0.04 and 0.20 higher as well. Overall, the proposed XGBoostBoruta algorithm performs well for both the relatively steady bench test dataset and the dynamic vehicle running dataset at different ranges of voltage. It demonstrates high accuracy and robustness of the proposed feature selection algorithm. 6. Conclusions In this paper, a novel application of the combination of an ensemble learning method and a wrapping method named XGBoost-Boruta is proposed to evaluate feature importance of the seven key BOP features in a PEMFC control system, including the air mass flow rate, the air inlet pressure, the air inlet temperature, the HCP rotation speed, the hydrogen inlet pressure, and the coolant inlet and the outlet tempera­ ture. First, the proposed algorithm provides stabilised feature ranking at different current densities with low randomness compared with con­ ventional wrapping approaches. The introduction of the definition of the Z score eliminates the randomness of the conventional XGBoost model Fig. 13. Z scores of seven BOP features and the maximum shadow feature based on the vehicle dataset at the current density between 1000 and 1485 _mA /cm_ <sup>2</sup> . Fig. 14. Part of the validation data prediction visualisation by the XGBoost-Boruta and the 1DCNN algorithm based on the vehicle validation dataset at the current density between 1000 and 1485 _mA/cm_ <sup>2</sup> : (a) Keep all the features; (b) Remove the most important feature; (c) Remove the feature by XGBoost-Boruta. _X. Yuan et al. Energy and AI 12 (2023) 100229_ Table 4 Comparative results amongst different feature removal strategy based on the <u>vehicle running data at the current density between 1000 and 1485</u> _<u>mA /cm</u>_ <sup>2</sup> <u>.</u> Category RMSE RMSE _R_ <sup>2</sup> _R_ <sup>2</sup> <u>(Train)</u> <u>(Validation)</u> <u>(Train)</u> <u>(Validation)</u> [6] [He K, Zhang C, He Q, Wu Q, Jackson L, Mao L. Effectiveness of PEMFC historical](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0006) [state and operating mode in PEMFC prognosis. Int J Hydrogen Energy 2020;45](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0006) [(56):32355–66.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0006) [7] [Ding R, Wang R, Ding Y, Yin W, Liu J. Designing AI-aided analysis and prediction](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0007) [models for nonprecious metal electrocatalyst-based proton-exchange membrane](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0007) [fuel cells. Angew Chem Int Ed 2020.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0007) [8] [Khajeh-Hosseini-Dalasm N, Ahadian S, Fushinobu K, Okazaki K, Kawazoe Y.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0008) [Prediction and analysis of the cathode catalyst layer performance of proton](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0008) [exchange membrane fuel cells using artificial neural network and statistical](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0008) [methods. J Power Sources 2011;196(8):3750–6.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0008) [9] [Bicer Y, Dincer I, Aydin M. Maximizing performance of fuel cell using artificial](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0009) Keep all the features 4.30 4.60 0.82 0.81 Remove the most important 5.56 6.34 0.71 0.65 feature Remove the features by 5.56 6.34 0.71 0.65 3.86 3.95 0.86 0.85 <u>XGBoost-Boruta</u> reducing the impact of human judgement error. At low current density below 200 _mA/cm_ <sup>2</sup>, the hydrogen inlet pressure has a significant effect on stack voltage output. When the current density ranges between 200 and 1100 _mA/cm_ <sup>2</sup>, the coolant outlet temperature is much more sig­ nificant. With further increase of current density, the inlet mass flow rate, pressure and temperature of the air are then the significant fea­ tures. Furthermore, two case studies were conducted for verification and validation based on bench test data and vehicle running data to demonstrate the accuracy and robustness of the proposed XGBoostBoruta algorithm. By the introduction of the Z score and shadow fea­ tures to eliminate the randomness of conventional ensemble learning methods, the RMSE values of the voltage validation dataset are 1.31 and 3.95 based on the bench test data and vehicle running data and 23.8% and 14.1% lower than the conventional feature selection approach. The _R_ <sup>2</sup> values also increase from 0.06 to 0.04 to 0.92 and 0.85. The results demonstrate that the proposed XGBoost-Boruta algorithm delivers high accuracy, high robustness and low randomness for both steady bench datasets and dynamic vehicle running datasets. In future work, the hyperparameters of the 1DCNN could be further determined to enhance the prediction performance of the PEMFC voltage output. 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 The authors do not have permission to share data. References [neural network approach for smart grid applications. Energy 2016;116:1205–17.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0009) [10] [Legala A, Zhao J, Li X. Machine learning modeling for proton exchange membrane](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0010) [fuel cell performance. Energy AI 2022;10:100183.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0010) [11] [Saengrung A, Abtahi A, Zilouchian A. Neural network model for a commercial PEM](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0011) [fuel cell system. J Power Sources 2007;172(2):749–59.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0011) [12] [Chavez-Ramírez AU, et al. High power fuel cell simulator based on artificial neural ´](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0012) [network. Int J Hydrogen Energy 2010;35(21):12125–33.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0012) [13] [Kheirandish A, Shafiabady N, Dahari M, Kazemi MS, Isa D. Modeling of commercial](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0013) [proton exchange membrane fuel cell using support vector machine. Int J Hydrogen](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0013) [Energy 2016;41(26):11351–8.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0013) [14] [Huo W, Li W, Zhang Z, Sun C, Zhou F, Gong G. Performance prediction of proton-](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0014) [exchange membrane fuel cell based on convolutional neural network and random](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0014) [forest feature selection. Energy Convers Manag 2021;243:114367.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0014) [15] [Wang Y, et al. Degradation prediction of proton exchange membrane fuel cell stack](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0015) [enhanced steam methane reforming products from machine learning based soft-](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0021) [sensor models. Energy AI 2020;2:100037.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0021) [22] [Li J, Ziehm W, Kimball J, Landers R, Park J. Physical-based training data collection](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0022) [approach for data-driven lithium-ion battery state-of-charge prediction. Energy AI](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0022) [2021;5:100094.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0022) [23] [Kiangala SK, Wang Z. An effective adaptive customization framework for small](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0023) [manufacturing plants using extreme gradient boosting-XGBoost and random forest](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0023) [ensemble learning algorithms in an Industry 4.0 environment. Mach Learn Appl](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0023) [2021;4(December 2020):100024.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0023) [24] [Albashish D, Hammouri AI, Braik M, Atwan J, Sahran S. Binary biogeography-](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0024) [based optimization based SVM-RFE for feature selection. Appl Soft Comput 2021;](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0024) [101:107026.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0024) [25] [Masrur Ahmed AA, et al. Deep learning hybrid model with Boruta-Random forest](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0025) [optimizer algorithm for streamflow forecasting with climate mode indices, rainfall,](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0025) [and periodicity. J Hydrol 2021;599(August 2020):126350.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0025) [26] [Kursa MB, Rudnicki WR. Feature selection with the Boruta package. J Stat Softw](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0026) [using semi-empirical and data-driven methods. Energy AI 2022;11(September](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0015) [2022):100205.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0015) [16] [Cahalan T, Rehfeldt S, Bauer M, Becker M, Klein H. Experimental set-up for](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0016) [analysis of membranes used in external membrane humidification of PEM fuel](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0016) [cells. Int J Hydrogen Energy 2016;41(31):13666–77.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0016) [17] [Huang KJ, Hwang SJ, Lai WH. The influence of humidification and temperature](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0017) [differences between inlet gases on water transport through the membrane of a](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0017) [proton exchange membrane fuel cell. J Power Sources 2015;284:77–85.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0017) [18] [Wang G, et al. Progress on design and development of polymer electrolyte](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0018) [membrane fuel cell systems for vehicle applications: a review. Fuel Process Technol](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0018) [2018;179(September 2017):203–28.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0018) [19] [Daud WRW, Rosli RE, Majlan EH, Hamid SAA, Mohamed R, Husaini T. PEM fuel](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0019) [cell system control: a review. Renew Energy 2017;113:620–38.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0019) [20] [Baradaran R, Amirkhani H. Ensemble learning-based approach for improving](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0020) [generalization capability of machine reading comprehension systems.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0020) [Neurocomputing 2021;466:229–42.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0020) [21] [Nkulikiyinka P, Yan Y, Güleç F, Manovic V, Clough PT. Prediction of sorption](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0021) [1] Inci M, Büyük M, Demir MH, <sup>˙</sup> [Ilbey G. A review and research on fuel cell electric](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0001) <sup>˙</sup> [vehicles: topologies, power electronic converters, energy management methods,](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0001) [technical challenges, marketing and future aspects. Renew Sustain Energy Rev](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0001) [2020;137:2021.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0001) [2] G. Reverdiau, A. Le, T. Alleau, T. Aribart, and C.C.E.A. Saclay, “ScienceDirect Will there be enough platinum for a large deployment of fuel cell electric vehicles ?,” no. xxxx, pp. 1–13, 2021. [3] [de Almeida SCA, Kruczan R. Effects of drivetrain hybridization on fuel economy,](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0003) [performance and costs of a fuel cell hybrid electric vehicle. Int J Hydrogen Energy](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0003) [2021. no. xxxx.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0003) [4] [Lü X, Qu Y, Wang Y, Qin C, Liu G. A comprehensive review on hybrid power system](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0004) [for PEMFC-HEV: issues and strategies. Energy Convers Manag 2018;171:1273–91.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0004) [5] [Mao L, et al. Evaluation method for feature selection in proton exchange membrane](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0005) [fuel cell fault diagnosis. IEEE Trans Ind Electron 2022;69(5):5277–86.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0005) [2010;36(11):1–13.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0026) [27] [Liu X, Zhou S, Yan Z, Zhong Z, Shikazono N, Hara S. Correlation between](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0027) [microstructures and macroscopic properties of nickel/yttria-stabilized zirconia (Ni-](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0027) [YSZ) anodes: meso-scale modeling and deep learning with convolutional neural](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0027) [networks. Energy AI 2022;7:100122.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0027) [28] [Wang B, et al. Numerical analysis of operating conditions effects on PEMFC with](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0028) [anode recirculation. Energy 2019;173:844–56.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0028) [29] [Yuan H, Dai H, Ming P, Wang X, Wei X. Quantitative analysis of internal](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0029) [polarization dynamics for polymer electrolyte membrane fuel cell by distribution](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0029) [of relaxation times of impedance. Appl Energy 2021;303:117640.](http://refhub.elsevier.com/S2666-5468%0x2823%0x2900001-0/sbref0029) [30] Yuan H, Dai H, Ming P, Zhao L, Tang W, Wei X. Understanding dynamic behavior of proton exchange membrane fuel cell in the view of internal dynamics based on [impedance. Chem Eng J 2022;431(P2). https://doi.org/10.1016/j.](https://doi.org/10.1016/j.cej.2021.134035) [cej.2021.134035. 134035.](https://doi.org/10.1016/j.cej.2021.134035)

섹션 본문 37문단 · 38,935자

(제목 없음)

1Development of the new XGBoost-Boruta algorithm to evaluate feature importance of key BOP features in a PEMFC control system at different current densities.• Design of a self-adaptive feature selection strategy for PEMFC system performance prediction. • Comparative analysis between the proposed XGBoost-Boruta algorithm with conventional feature dropout strategy. • Verification and validation evaluation based on real-time PEMFC bench and vehicle data.A B S T R A C TData-driven modelling methods are being developed in the quest to achieve more accurate performance prediction of protons exchange membrane fuel cell (PEMFC) systems in response to their complicated physicochemical phenomena. However, there is little research in this field detailing the pre-processing and selection of balance of plants (BOP) features for the input layer of system performance prediction at different current densities. Furthermore, most of the previous research applies neural networks based on simulation data rather than real-time bench or vehicle operation datasets which leads to low robustness and unreliable practical results. This paper details the application of a novel algorithm denoted XGBoost-Boruta, which utilises the combination of an ensemble learning approach and a wrapping approach, to improve the robustness of feature selection and to increase the accuracy and robustness of PEMFC system performance prediction. By introduction of the Z score and shadow features to eliminate the randomness of conventional ensemble learning methods, seven key controllable BOP variables of the hydrogen anode, air cathode and cooling subsystems are selected as the original input variables to determine their dependency on the stack voltage. Two case studies are presented for verification and validation of the proposed algorithm based on the real-time dataset of bench experimental data and data obtained from heavy truck operation at current densities ranging from 100 to 1500 mA/cm 2 . The feature * Corresponding authors.Energy and AI 12(2023) 1002292 selection strategy, based on the proposed XGBoost-Boruta algorithm, largely decreases the RMSE by 23.8% and 14.1% and the R 2 increases by 0.06 and 0.04 of both the bench experimental and the heavy truck validation datasets respectively.

H I G H L I G H T G R A P H I C A L A B S T R A C T

2• Development of the new XGBoost-Boruta algorithm to evaluate feature importance of key BOP features in a PEMFC control system at different current densities. • Design of a self-adaptive feature selection strategy for PEMFC system performance prediction. • Comparative analysis between the proposed XGBoost-Boruta algorithm with conventional feature dropout strategy. Data-driven modelling methods are being developed in the quest to achieve more accurate performance prediction of protons exchange membrane fuel cell (PEMFC) systems in response to their complicated physicochemical phenomena. However, there is little research in this field detailing the pre-processing and selection of balance of plants (BOP) features for the input layer of system performance prediction at different current densities. Furthermore, most of the previous research applies neural networks based on simulation data rather than real-time bench or vehicle operation datasets which leads to low robustness and unreliable practical results. This paper details the application of a novel algorithm denoted XGBoost-Boruta, which utilises the combination of an ensemble learning approach and a wrapping approach, to improve the robustness of feature selection and to increase the accuracy and robustness of PEMFC system performance prediction. By introduction of the Z score and shadow features to eliminate the randomness of conventional ensemble learning methods, seven key controllable BOP variables of the hydrogen anode, air cathode and cooling subsystems are selected as the original input variables to determine their dependency on the stack voltage. Two case studies are presented for verification and validation of the proposed algorithm based on the real-time dataset of bench experimental data and data obtained from heavy truck operation at current densities ranging from 100 to 1500 mA/cm 2 . The feature selection strategy, based on the proposed XGBoost-Boruta algorithm, largely decreases the RMSE by 23.8% and 14.1% and the R 2 increases by 0.06 and 0.04 of both the bench experimental and the heavy truck validation datasets respectively.

Introduction

3In line with global sustainability issues, allied to the lowering of greenhouse gas emissions [1], it is desired that the CO 2 content of the atmosphere stabilises at no more than 450 parts per million in 2050 [2]. In 2019, the emissions from the transport sector accounted for about 25% of global CO 2 emissions [3]. The exploitation of the proton exchange membrane fuel cell (PEMFC) as a promising power source that produces zero harmful emissions, is on the increase in the areas of passenger and commercial vehicles [4]. However, the complexity of the physicochemical phenomena and the need for correlation of balance of plants (BOP) in a PEMFC system leads to difficulty in controlling the system by conventional mechanistic modelling methods.

4Data-driven modelling methods are gradually being applied to the prediction of the PEMFC system performance to find the relationship between PEMFC system variables as input features and system performance parameters. Novel feature evaluation methods exist for PEMFC fault diagnosis and remaining useful life (RUL) prognosis. For example, a feature evaluation method was designed for the classification of three PEMFC states, including normal, flooding and dehydration to extend PEMFC lifetime [5]. Back propagation neural network (BPNN) and adapted neural fuzzy inference system (ANFIS) were applied for PEMFC prognosis under both static and non-static conditions [6]. However, there is very little research available that provides comprehensive reasons for the choice of features which further complicates the interpretability of neural networks and fails to guarantee robustness. Overall, previous data-driven research into data-driven PEMFC system control strategy bears five main research gaps as illustrated in Fig. 1 [7][8][9][10][11][12][13] and [14], the first two of which are data-related problems and the latter three deal with the performance of the prediction algorithm.

5From the aspect of the selection of datasets, as illustrated by the first two points in Fig. 1, most research tends to combine uncontrollable PEMFC stack design dependant variables and controllable system BOP features based on empirical or equivalent simulation models. For example, Ding et al. applied random forest (RF) techniques to rank PEMFC stack material features and BOP features, where PEMFC stack design dependant variables, including BET surface area, mesopore ratio and micropore ratio, are selected as top features [7]. Eight structural parameters were selected as input features for electric potential [8]. Although these stack material features are critical to the performance of both the PEMFC stack and system, it is not usual to monitor and detect these features during operation for bench test and vehicle running, therefore these research efforts have limited practical value for the real-time control for vehicle applications. Another dataset-related problem is the accuracy and practicality of the empirical and mathematical equivalent models. Most PEMFC system performance prediction neural networks are established based on simulation models which are derived with a significant number of assumptions that cannot be neglected in vehicle operation and therefore limited in practical values and robustness in the prediction models themselves. For example, in [9], the equivalent model of the dataset is generated by an embedded PEMFC model in MATLAB which assumes that the pressure drops across the flow channels are negligible and the cell resistance remains constant at all the conditions of operation. However, these assumptions do not accommodate actual bench and vehicle operation which requires intensive calibration. Therefore, real-time bench and vehicle datasets are of greater importance for the training of the prediction models as compared with simulation datasets.

6The latter three research gaps illustrated in Fig. 1 are related to the methods of input feature selection for PEMFC performance prediction. In recent research, feature selection for a high-dimensional PEMFC system is gradually being recognised as an important data preprocessing step before deriving a data-driven neural network model for the prediction of a PEMFC system. First, most research apply the same sets of input system features in neural network prediction models, covering all the current densities from low to high. However, the performance of a typical PEMFC system is largely influenced by the activation, ohmic and concentration losses at different current densities, which leads to different water transport mechanisms through the membranes with specific priorities of BOP features for real-time vehicle operation [15]. For example, Legala et al. selected current, temperature, cathode pressure, oxygen and hydrogen partial pressure and membrane hydration as input features for the prediction of voltage output [10]. Based on the relatively small semi-empirical model, including approximately 1100 data points, a random dropout technique based on a specific probability value is applied to improve the r-squared of prediction to over 0.99. However, such a neuron disconnection method, based on a fixed probability value over all the ranges of current density risks overfitting and randomness, especially lacks the analysis of prediction performance at different ranges of current density [10]. In addition, there are only two variables of the input layer for the prediction of stack voltage and current, which might lead to overfitting [11]. Furthermore, Fig. 1. Five main research gaps in the design of data-driven PEMFC system control. the selection of current density, as one of the feature inputs, would reduce the influence of other features as voltage largely correlates to current for a semi-empirical PEMFC model [12]. Second, most research tries to adjust hyperparameters of neural networks to improve the performance of prediction, but few clarify the reason for feature choices. For example, Bicer et al. compared different numbers of hidden layers of a conventional neural network model for better prediction performance of the dynamic behaviour of a 6 kW PEMFC [9]. Kheirandish et al. evaluated the influence of difference combinations of the insensitivity function ε and parameters C and γ on the performance of voltage prediction [13]. However, emphasis on the choices of hyperparameters based on one specific simulation data set, rather than the auto-selection of feature inputs, might lead to low robustness, especially under real environmental conditions with changing temperature and pressure during vehicle operation. Third, conventional pre-processing methods, such as random forests, are vulnerable to hyperparameters and the results bear randomness, but vehicle control requires predicable and self-adaptive methods. For example, as a typical bagging method, RF that trains base learners in parallel to minimise variance requires significant amounts of computational resources and the prediction is highly vulnerable to a small change in hyperparameters. Therefore, it is not applicable for a real-time PEMFC system dataset with a pre-defined set of hyperparameters and thereby lacks robustness and accuracy. In comparison, as an advanced boosting ensemble method, extreme gradient boosting (XGBoost) requires limited hyperparameters, including depth and number of trees to train a weak learner and adjust itself iteratively, but still exhibits randomness for each forest [14].

7Based on the literature review on the research gaps in the design of data-driven PEMFC system control, the main contribution of this paper is to address the database-related and input feature pre-processing related research gaps for data-driven PEMFC system performance prediction. An innovative data pre-processing algorithm, named XGBoost-Boruta algorithm, is designed to determine the influence of system BOP control features on the performance of an anode self-humidification PEMFC system under different ranges of current density. Boruta is first applied as an ensemble learning method with XGBoost to investigate the influence of controllable BOP features on stack voltage in an anode selfhumidification PEMFC system. A one-dimensional convolutional neural network (1DCNN) with fixed hyperparameters to connect the selected key BOP features and voltage output is then applied to verify and validate the accuracy and robustness of the proposed algorithm in an objective, steady and automatic manner based on the real-time data from a hardware-in-loop bench test and the operation of a heavy truck. This paper is organised as follows. The PEMFC system structure is presented in Section 2. In Section 3, the novel application of the XGBoost-Boruta algorithm for PEMFC system feature selection process is detailed. Section 4 provides key data for the case studies, including specifications of the PEMFC stack and system, bench tests and dataset pre-processing. In Section 5, the proposed algorithm is successfully verified and validated based on the hardware-in-loop (HIL) bench test platform and real-time vehicle data. The proposed XGBoost-Boruta algorithm is compared with the conventional feature dropout strategy, ranking the algorithm as it pertains to accuracy and robustness based on 1DCNN with fixed hyperparameters, followed by the conclusions in Section 6.

System illustration

8The proposed anode self-humidification PEMFC system is composed of four main parts: a high-power PEMFC stack, independently developed by Shanghai Hydrogen Propulsion Technology Co. Ltd., an air cathode subsystem, a cooling subsystem and a hydrogen anode subsystem, as illustrated in Fig. 2. BOPs are designed to regulate the temperature, pressure and mass flow rate of air, hydrogen and coolant to deliver high performance of the PEMFC stack.

9Based on the application of ultra-thin proton exchange membrane technology (8 μm) and the design of efficient hydrogen recirculation, the development of the anode self-humidification system eliminates the requirement for membrane humidifiers and simplifies the system architecture, increases the power density and reduces the total cost [16,17,18]. The mass flow rate, pressure, and temperature of the inlet air, represented by Nodes 1 to 3 respectively in Fig. 2, are controlled by the air compressor, an intercooler, a combination valve and a back pressure relief valve. Hydrogen passes through an injector to regulate the hydrogen inlet pressure before entering the PEMFC stack at Node 5. A hydrogen circulation pump (HCP), with a water-gas separator, is used to Fig. 2. Schematic diagram of the proposed anode self-humidification PEMFC system. recirculate the wet exhaust, including unreacted hydrogen enriched with the inlet hydrogen, to maintain the relative humidity of the membrane. The key controllable feature of this recirculation process is the HCP rotation speed, monitored and controlled at Node 4. The cooling sub-system consists of a cooling pump, an electronic thermostat, de-ionizers and a heat exchanger module. As thermal energy of the PEMFC stack is generated from the electrochemical reactions, an electronic thermostat, a heat exchange module and a radiator are used in conjunction to maintain the stack operating temperature [19]. The inlet and outlet temperatures of coolant are critical features in the cooling subsystem monitored at Nodes 6 and 7. Although there are more BOP features in the proposed PEMFC system, the seven features listed above have direct impact on the operation of the PEMFC stack. For example, the electronic thermostat, the coolant pump and the radiator of the coolant subsystem are controlled to attain the required temperature of the coolant and the air and then affect the voltage output indirectly.

10Restricted by the characteristics of the tightly coupled subsystems, conventional physical modelling methods are unable to reveal the relationship between the seven critical controllable features and the technical performance of the PEMFC system during the operation of the PEMFC system at different current densities. Therefore, a novel feature susceptibility approach is introduced in Section 3 for the proposed anode self-humidification PEMFC system and other PEMFC systems with similar characteristics of tightly coupled subsystems.

XGBoost-Boruta algorithm

11In this section, the application of the XGBoost algorithm with Boruta is explained in detail. Generally, the aim of the proposed wrapping method is to evaluate the impact and importance of seven features on the PEMFC stack voltage and select the more relevant features for the PEMFC voltage prediction as presented in Fig. 2.

Conventional feature selection methods

12Conventional ensemble learning methods train multiple weak feature selection learners to further enhance the performance of a single learner [20]. Random forest (RF) and extreme gradient boosting (XGBoost) are two typical bagging and boosting ensemble learning methods used to reduce variance and bias [21] and [22]. Compared with the XGBoost, the RF creates more trees in parallel and as a consequence requires more computational resource, which influences the real-time capability for a large PEMFC system dataset [23]. Besides, the performance of the RF is largely influenced by hyperparameters. However, due to the characteristics of PEMFC degradation, the hyperparameters defined for the training dataset are not applicable during the operation of the system. Furthermore, in a PEMFC system where the correlation between features is high, some key features tend to be removed as they may be deemed to be of low importance leading to errors of judgement. In comparison, the XGBoost algorithm requires a smaller number of hyperparameters and has the capability to adjust itself as iteration progresses. Since the self-adapting iteration with different residuals leads to randomness for each forest, wrapping methods are innovatively combined with the ensemble learning method in ranking BOP features of a PEMFC system in this paper. Differing from recursive feature elimination (RFE), which is largely dependant on the performance of XGBoost, Boruta is a fully correlated feature selection method which is able to go through all features that carry key information for prediction instead of focusing on a particular compact subset of features [24] and [25]. Therefore, XGBoost is combined with Boruta to determine the importance of the seven key controllable BOP features of the PEMFC system as illustrated in Fig. 3.

Mechanism and application of the XGBoost-Boruta algorithm

13The XGBoost-Boruta algorithm on the PEMFC system is designed to determine feature importance with high interpretability. The proposed application of the algorithm can be divided into three parts, as presented in Fig. 3: building shadow features, training XGBoost models, and obtaining feature importance iteratively. 1) Building shadow features. The original feature matrix R, is composed of N samples with the seven BOP features, is permuted randomly to form a shadow feature matrix S. By appending these two matrices, a new matrix Q (N × 14) is created as the input feature matrix for the XGBoost model. 2) Training XGBoost models. The training process of the XGBoost model follows the principle of the gradient boosting method by minimising the loss and the objective functions [24].

14where K is the number of trees set as 50, Obj (K) , L(y i ,ŷ

15and Ω(f K )are the objective function, the loss function, the prediction value for the K th tree respectively, f k (x i ) are the penalty term and the predicted value for the K th tree, N is the number of samples, y i is the real value from the original target Y, T is the number of leaf nodes, ω j is the weight of the j th leaf node.

16With the aim being to minimise the objective function, the XGBoost model uses the second-order Taylor expansion to expand Eq. (1) to Eq. (4) to evaluate the performance of the K th tree.

17where G j and H j are the first and second derivative of the loss function

18Hj+λ is the gain value of the j th leaf node to determine the split of the tree, and γ is the hyperparameter defaulted to 0 in this paper.

19Feature importance is determined by the gains of the leaf nodes before and after the split as shown in Eq. (5).

20where G L , H L , G R and H R represent gains of left and right nodes after each split.

211) Obtaining feature importance iteratively. Boruta applies shadow features and a Z score to enhance the steadiness of a single XGBoost model, the latter of which is defined in Eq. (6), slightly different from the statistical definition [26].

22where Gain and μ Gain are the average value and standard variance of the gains at the K th tree. Original features with Z scores that are smaller than the maximum Z score of the shadow features Z s,max are removed. These three steps are repeated iteratively until the iteration reaches maximum m max which has been set as 50, The pseudo code is given below. Algorithm. 1 The features selected by the proposed XGBoost-Boruta algorithm are set as the input features for the prediction of the PEMFC voltage performance. As the novel contribution of this paper is the feature preprocessing approach, a neural network is required to evaluate the improvement in prediction accuracy. To ensure the repeatability of the results for verification and validation of the proposed XGBoost-Boruta algorithm, a simple one-dimensional convolutional neural network (1DCNN) with fixed hyperparameters is designed as presented in Fig. 4. The 1DCNN includes layers nominated Conv1D, MaxPooling, Flatten, Dense and Dropout. The 1DCNN is set with the number of four dimension kernels to 30, the number of pooling layers to 2, two fully connected layers with 20 neurons and 1 neuron, the dropout rate to 0.5, the number of epochs to 100, the batch size to 32, and the activation function as RELU. The description of the conventional 1DCNN can be found in [27] but are not detailed here.

Case study

23This section provides the setup information and input data for the verification and validation process for the proposed XGBoost-Boruta algorithm to be applied to the proposed PEMFC system detailed in Sections 2 and 3. The signal transmission for the bench and vehicle tests, as denoted by the blue and the red paths in Fig. 5, demonstrates the verification and the validation processes for the accuracy and robustness of the proposed XGBoost-Boruta algorithm for an anode selfhumidification PEMFC system.

24The hardware-in-the-loop (HIL) bench test platform (shown by the blue path in Fig. 5) illustrates the signal transmission between the bench and the host server. The fuel cell unit (FCU) receives the system control features through CAN from the PEMFC system and sends them to the proposed algorithm as input feature datasets. The host server with the XGBoost-Boruta algorithm automatically ranks and selects key features for accurate system performance prediction at the different current densities. The results of feature ranking and system performance prediction are used to enhance the command of the influence of the complicated PEMFC system BOP components on the PEMFC system and to further provide the guidance for system calibration at different current densities. Similarly, the red path in Fig. 5 represents the real-time signal transmission for vehicle applications. The telematics-box (Tbox) is applied to collect the vehicle dynamic data and upload them to the host server through CAN and ethernet. The hyperparameters of the XGBoost and the 1DCNN remain the same for both the verification and validation processes. The number of trees of the XGBoost is set to 50. The input dataset for the 1DCNN is split into two parts with a ratio of 0.7:0.3, of which the first 70% is used for training while the rest is used for validation.

25Sections 4.1 and 4.2 detail the required test information, including the constraints of the input features, the real-time input feature datasets, the parameters required for the algorithm and the 1DCNN, and the setup information of the test platform for the HIL and vehicle operation separately. The bench datasets and dynamic vehicle running datasets for verification and validation in Section 4.1 and 4.2 are obtained during normal operation mode without the cold start process. The core strategy for the cold start is rapid ice breaking and heat management to reach the required stack temperature by correction between the desired setpoints and measured process values. Under the fixed control strategy of the cold start process, the proposed feature selection process is not applicable.

Bench test setup for verification

26The PEMFC system is equipped with a high-power FC stack with a stack peak power output and power density of 198 kW and 5.1 kW /L.

27Each cell of the stack is composed of ultra-thin proton exchange membranes (8 μm), high-activity Platinum-Cobalt (Pt-Co) catalyst (mass activity > 150 mA/mg(Pt) at 0.9V), and ultra-thin metal bipolar plates (0.93 mm). Following the schematic diagram in Fig. 5, the hardware of the HIL test platform is set up as illustrated in Fig. 6(a). The real-time bench test dataset in Fig. 6(b) includes approximately 23,754 data points covering current densities from 104.0 to 1496.0 mA/cm 2 and stack voltages from 275.5 to 382.8 V. As the ambient temperature and pressure are set as constant values in the bench test, these two features provide no information for the PEMFC system prediction and thus are not included in the input features for the algorithm. Therefore, the seven BOP features of the hydrogen, air and coolant subsystem, as described in Section 2, are regarded as input features, the constraints of which are given in Table 1.

Algorithm 1

28XGBoost-Boruta feature ranking algorithm.

Vehicle test setup for validation

29In addition to the verification test setup for the accuracy of the XGBoost-Boruta algorithm, this subsection provides the running information of a heavy truck that will be used for the validation of the robustness of the proposed approach. The heavy truck running in Inner Mongolia province at about 40.8 • N, 111.8 • E in China (shown in Fig. 7 (a)) is equipped with a PEMFC system with rated stack power output and power density at 140 kW and 3.7 kW/L. The vehicle running dataset includes approximately 5720 data points, all of which are sent to the host server and sampled each sampling period of one second as illustrated in Fig. 7(b). Considering the limited temporal and spatial influence, the variations of these two features are small and are maintained constant for most data points and thus have low influence on the PEMFC performance prediction based on the proposed dataset. Therefore, the seven BOP features, the change of temperature and pressure are taken into consideration for the vehicle validation test. The vehicle validation test is conducted with an increase of current density from 1000.0 to 1485.0 mA/cm 2 and stack voltage from 205.3 to 264.6 V and stack voltage from 205. to 264.6 V. The constraints of inputs are given in Table 2.

Results and discussion

30This section analyses the details of the verification and validation results based on the real-time bench and vehicle running data detailed in Section 4. Section 5.1 provides a comparative analysis, focusing on the difference of conventional random forest (RF), XGBoost and the proposed XGBoost-Boruta algorithm applied on the bench data. Based on the ranking and selection of key BOP features, another comparative analysis is conducted to demonstrate the accuracy of the system performance prediction with the features selected by the proposed algorithm. In Section 5.2, following the same feature pre-processing strategy, a similar comparative analysis is performed for the robustness of the system performance prediction based on the vehicle running data.

Verification results and analysis on bench test dataset

31The importance heat map obtained for the seven BOP features is based on the RF and the XGBoost algorithm in Fig. 8(a) and (b) respectively. The importance values at current density values of between 100 and 1500 mA/cm 2 shows similar trends. For example, at low current density below 200 mA/cm 2 , the hydrogen inlet pressure P H2,in ranks highest mainly because of its significant influence on water distribution in the membrane and thus has a positive effect on the stack voltage output. The heat map indicates that between 200 and 1100 mA/cm 2 , the coolant outlet temperature T cool,out , representing the stack operating temperature, is far more significant when compared with the other features. When the current density increases further, the air inlet mass flow rate ṁ air , the air inlet pressure P air,in , and the air inlet temperature T air,in become the more significant features whilst the coolant outlet temperature is less significant, which is caused by there being relatively stable operating temperature at high current density. The importance values of the rotation speed of the HCP ω HCP are low at all the operating conditions, indicating little influence on the output voltage. This is mainly caused by the proposed anode self-humidification system structure. Without using a humidifier at the cathode, the HCP at the anode transports the moisture generated during the stack operation to ensure the desirable humidity of the membrane electrolyte assembly (MEA) [28]. In addition, the HCP affects the hydrogen stoichiometry, but the hydrogen excess coefficient has a smaller impact on the output voltage when compared with the cathode [29,30]. The impact is much smaller when the water uptake is maintained within a reasonable range for the anode self-humidification PEMFC system bench test with appropriate energy and heat management.

32However, compared with the ranking result based on the XGBoost approach in Fig. 8(b), the RF approach provides the same trends but different importance rankings in Fig. 8(a). For example, the importance values of coolant outlet temperature in Fig. 8(a) are overall higher than the values in Fig. 8(b) across all current densities, which exposes the common disadvantage of conventional feature selection methods offering imbalanced preferences to related features and may lead to overfitting of the data. In comparison, weightings are allocated from top features to related features in an objective manner by the XGBoost approach. In addition to differing from the RF algorithm, which requires repeated attempts to obtain appropriate hyperparameters, the XGBoost algorithm only needs a small number of hyperparameters, which is preferable during dynamic PEMFC vehicle operation. Therefore, considering the difference amongst each PEMFC system and vehicle running conditions, the XGBoost algorithm is more appropriate where the requirement is for high robustness with less impact caused by human judgement.

33Furthermore, the large variation of Z scores of the seven features and the maximum Z score of shadow features at each iteration at the current density between 300 and 400 mA/cm 2 in Fig. 9 illustrates that the conventional XGBoost algorithm delivers high randomness, low robustness and low accuracy, which is not acceptable for real-time vehicle control. As shown in Fig. 9, all the upper limits of the Z scores of the seven features are higher than the maximum Z score of the shadow features except HCP rotation speed ω HCP , which demonstrates that in this case, all the other features are marked as important for voltage prediction by the 1DCNN approach.

34The feature selection strategy is illustrated in Fig. 10 by comparing the Z scores of the seven real BOP features and the maximum value of the shadow features. The definition of Z score and shadow feature are introduced to minimise the influence of randomness of the conventional XGBoost and the difficulty in the selection of input features. In Fig. 10, all the Z scores in red are higher than the maximum value of the shadow features in blue except the HCP rotation speed. Therefore, the HCP rotation speed is automatically removed in accordance with the proposed XGBoost-Boruta pre-processing strategy.

35To verify the accuracy of the feature removal strategy, three cases are compared. These cases are as follows: keeping all the features, removing the most important feature manually and following the proposed XGBoost-Boruta algorithm at the current density between 300 and 400 mA/cm 2 . A repeatability experiment of 1DCNN based on the proposed XGBoost-Boruta algorithm is conducted to ensure the fair comparison. The ten repeatability results illustrated in Fig. 11 demonstrate that the proposed 1DCNN provides reasonably consistent results and can be used for the comparative analysis of different strategies. The accuracy of the voltage prediction performance by the three strategies varies markedly as visualised in Fig. 12(a) to (c) successively. The difference between keeping all the features and removing the feature by the XGBoost-Boruta algorithm is illustrated in the black dotted rectangular region in Fig. 12 (a) and (b). It is obvious that the degree of coincidence between predicted and experimental datasets in the black dotted oval region in Fig. 12(c) is higher than that in Fig. 12(a). Specific evaluation values are detailed in Table 3. The RMSE of voltage predictions by the proposed XGBoost-Boruta algorithm (1.31), is decreased by 23.8% compared with the RMSE values of 1.72 obtained by keeping all the features. Although the R 2 values of voltage predictions are the same at 0.94 for the training dataset between keeping all the features and removing the feature by the proposed algorithm, the R 2 difference of the validation dataset is approximately 23.8% between 0.92 and 0.86. From Fig. 10, the weighting of the coolant outlet temperature T cool,out is much higher than the values of the other features, so the second strategy is to remove the coolant outlet temperature from the input feature layer of the 1DCNN. It is obvious that the prediction voltage curve in blue is quite different from the experimental voltage data, especially in the black dotted region in Fig. 12(b). The values of RMSE and R 2 get worse at 4.61 and even 0.02 for the validation dataset. Following the proposed XGBoost-Boruta algorithm, the HCP rotation speed is automatically removed by the comparison of the real features and shadow features. The PEMFC voltage prediction performance improves, especially for the validation data where the R 2 increases from 0.86 to 0.92 without human judgement.

Validation results and analysis on vehicle operation dataset

36Based on the verification of the proposed XGBoost-Boruta feature pre-processing strategy on the HIL bench test dataset, the algorithm is which are compared with the maximum Z score of the shadow features as shown in Fig. 13. From Fig. 13, the Z scores of the HCP rotation speed and the air inlet temperature are lower than those of the other five features and the maximum value of the shadow features. These two features are removed by the algorithm as the input features of the 1DCNN. In comparison, the air mass flow rate and air inlet pressure obtain more weighting at high current density between 1000 and 1485 mA/cm 2 than at low current density between 300 and 400 mA /cm 2 , as detailed in the verification case study due to relatively stable operating temperature at high current density. The predicted voltage data (in blue) and experimental voltage data (in red) are partly visualised in Fig. 14. Compared with the strategy of keeping all the features, illustrated in Fig. 14(a), the degree of coincidence between the predicted and experimental data following the proposed XGBoost-Boruta method in Fig. 14(c) is higher, especially when the voltage is over 250 V in the black dotted rectangular regions. As visualised in the black dotted oval regions in Fig. 14(b) and (c), the prediction accuracy obtained at voltages between 220 and 245 V by removing the most important feature further demonstrates that the proposed strategy performs better than the other two strategies at different voltages. From the specific evaluation values in Table 4, the RMSE value of the validation dataset, after removing the HCP rotation speed and air mass flow rate, is only 3.95, approximately 14.1% and 37.7% lower by than the values obtained under the other two strategies. The R 2 value of the validation dataset obtained by the proposed algorithm is 0.04 and 0.20 higher as well. Overall, the proposed XGBoost-Boruta algorithm performs well for both the relatively steady bench test dataset and the dynamic vehicle running dataset at different ranges of voltage. It demonstrates high accuracy and robustness of the proposed feature selection algorithm.

Conclusions

37In this paper, a novel application of the combination of an ensemble learning method and a wrapping method named XGBoost-Boruta is proposed to evaluate feature importance of the seven key BOP features in a PEMFC control system, including the air mass flow rate, the air inlet pressure, the air inlet temperature, the HCP rotation speed, the hydrogen inlet pressure, and the coolant inlet and the outlet temperature. First, the proposed algorithm provides stabilised feature ranking at different current densities with low randomness compared with conventional wrapping approaches. The introduction of the definition of the Z score eliminates the randomness of the conventional XGBoost model Table 3 Comparative results amongst different feature removal strategy based on the HIL bench data at the current density between 300 and 400 mA /cm 2 . reducing the impact of human judgement error. At low current density below 200 mA/cm 2 , the hydrogen inlet pressure has a significant effect on stack voltage output. When the current density ranges between 200 and 1100 mA/cm 2 , the coolant outlet temperature is much more significant. With further increase of current density, the inlet mass flow rate, pressure and temperature of the air are then the significant features. Furthermore, two case studies were conducted for verification and validation based on bench test data and vehicle running data to demonstrate the accuracy and robustness of the proposed XGBoost-Boruta algorithm. By the introduction of the Z score and shadow features to eliminate the randomness of conventional ensemble learning methods, the RMSE values of the voltage validation dataset are 1.31 and 3.95 based on the bench test data and vehicle running data and 23.8% and 14.1% lower than the conventional feature selection approach. The R 2 values also increase from 0.06 to 0.04 to 0.92 and 0.85. The results demonstrate that the proposed XGBoost-Boruta algorithm delivers high accuracy, high robustness and low randomness for both steady bench datasets and dynamic vehicle running datasets. In future work, the hyperparameters of the 1DCNN could be further determined to enhance the prediction performance of the PEMFC voltage output.

참고문헌 29건

  1. Prediction and analysis of the cathode catalyst layer performance of proton exchange membrane fuel cells using artificial neural network and statistical methods Journal of Power Sources · Elsevier BV · 2010 10.1016/j.jpowsour.2010.12.061
  2. Neural network model for a commercial PEM fuel cell system Journal of Power Sources · Elsevier BV · 2007 10.1016/j.jpowsour.2007.05.039
  3. The influence of humidification and temperature differences between inlet gases on water transport through the membrane of a proton exchange membrane fuel cell Journal of Power Sources · Elsevier BV · 2015 10.1016/j.jpowsour.2015.02.132
  4. High power fuel cell simulator based on artificial neural network International Journal of Hydrogen Energy · Elsevier BV · 2009 10.1016/j.ijhydene.2009.09.071
  5. Feature Selection with the<b>Boruta</b>Package Journal of Statistical Software · Foundation for Open Access Statistics · 2010 10.18637/jss.v036.i11
  6. Modeling of commercial proton exchange membrane fuel cell using support vector machine International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.04.043
  7. Experimental set-up for analysis of membranes used in external membrane humidification of PEM fuel cells International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.05.281
  8. Maximizing performance of fuel cell using artificial neural network approach for smart grid applications Energy · Elsevier BV · 2016 10.1016/j.energy.2016.10.050
  9. PEM fuel cell system control: A review Renewable Energy · Elsevier BV · 2017 10.1016/j.renene.2017.06.027
  10. A comprehensive review on hybrid power system for PEMFC-HEV: Issues and strategies Energy Conversion and Management · Elsevier BV · 2018 10.1016/j.enconman.2018.06.065
  11. Progress on design and development of polymer electrolyte membrane fuel cell systems for vehicle applications: A review Fuel Processing Technology · Elsevier BV · 2018 10.1016/j.fuproc.2018.06.013
  12. Numerical analysis of operating conditions effects on PEMFC with anode recirculation Energy · Elsevier BV · 2019 10.1016/j.energy.2019.02.115
  13. Effectiveness of PEMFC historical state and operating mode in PEMFC prognosis International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.08.149
  14. Prediction of sorption enhanced steam methane reforming products from machine learning based soft-sensor models Energy and AI · Elsevier BV · 2020 10.1016/j.egyai.2020.100037
  15. A review and research on fuel cell electric vehicles: Topologies, power electronic converters, energy management methods, technical challenges, marketing and future aspects Renewable and Sustainable Energy Reviews · Elsevier BV · 2020 10.1016/j.rser.2020.110648
  16. Binary biogeography-based optimization based SVM-RFE for feature selection Applied Soft Computing · Elsevier BV · 2020 10.1016/j.asoc.2020.107026
  17. An effective adaptive customization framework for small manufacturing plants using extreme gradient boosting-XGBoost and random forest ensemble learning algorithms in an Industry 4.0 environment Machine Learning with Applications · Elsevier BV · 2021 10.1016/j.mlwa.2021.100024
  18. Evaluation Method for Feature Selection in Proton Exchange Membrane Fuel Cell Fault Diagnosis IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tie.2021.3078395
  19. Performance prediction of proton-exchange membrane fuel cell based on convolutional neural network and random forest feature selection Energy Conversion and Management · Elsevier BV · 2021 10.1016/j.enconman.2021.114367
  20. Physical-based training data collection approach for data-driven lithium-ion battery state-of-charge prediction Energy and AI · Elsevier BV · 2021 10.1016/j.egyai.2021.100094
  21. Ensemble learning-based approach for improving generalization capability of machine reading comprehension systems Neurocomputing · Elsevier BV · 2021 10.1016/j.neucom.2021.08.095
  22. Quantitative analysis of internal polarization dynamics for polymer electrolyte membrane fuel cell by distribution of relaxation times of impedance Applied Energy · Elsevier BV · 2021 10.1016/j.apenergy.2021.117640
  23. Will there be enough platinum for a large deployment of fuel cell electric vehicles? International Journal of Hydrogen Energy · Elsevier BV · 2021 10.1016/j.ijhydene.2021.09.149
  24. Correlation between microstructures and macroscopic properties of nickel/yttria-stabilized zirconia (Ni-YSZ) anodes: Meso-scale modeling and deep learning with convolutional neural networks Energy and AI · Elsevier BV · 2021 10.1016/j.egyai.2021.100122
  25. Effects of drivetrain hybridization on fuel economy, performance and costs of a fuel cell hybrid electric vehicle International Journal of Hydrogen Energy · Elsevier BV · 2021 10.1016/j.ijhydene.2021.09.144
  26. Understanding dynamic behavior of proton exchange membrane fuel cell in the view of internal dynamics based on impedance Chemical Engineering Journal · Elsevier BV · 2021 10.1016/j.cej.2021.134035
  27. Designing AI‐Aided Analysis and Prediction Models for Nonprecious Metal Electrocatalyst‐Based Proton‐Exchange Membrane Fuel Cells Angewandte Chemie · Wiley · 2020 10.1002/ange.202006928
  28. Machine learning modeling for proton exchange membrane fuel cell performance Energy and AI · Elsevier BV · 2022 10.1016/j.egyai.2022.100183
  29. Degradation prediction of proton exchange membrane fuel cell stack using semi-empirical and data-driven methods Energy and AI · Elsevier BV · 2022 10.1016/j.egyai.2022.100205