TY - JOUR AU - Qin, Yan AB - 1 Introduction With the advancement of high-power fuel cell systems, mechanical failures leading to gas leakage may occur due to their large size. Additionally, non-uniform distribution of gases within internal reactions may result in poor voltage consistency among individual cells within the stack, thereby increasing operational complexities of the system [1]. In this context, multi-stack fuel cell systems (MFCS), as a viable solution for high-power applications, have a good performance in terms of space flexibility, system efficiency, and system energy consumption [2]. In addition, the use of MFCS helps to delay the degradation of fuel cells and enhance the stability of the system; When the fuel cell subsystem fails, the faulty system can be disconnected to form a degraded system to increase the reliability of the MFC system. In 2020, Daimler Trucks AG [3] launched the Mercedes-Benz GenH2 hydrogen fuel cell truck, which uses two 150 kW fuel cells as power source and is equipped with two 40 kg liquid hydrogen storage tanks, with a total endurance of 1,000 kilometers. Coupled with a 72 kWh battery pack, it provides power support for the fuel cell in some vehicle scenarios. French Arles [4] built the world’s first low-floor passenger train driven by fuel cells, the train can reach a maximum speed of 140km per hour, a one-time run of 1000 km, the kinetic energy generated during braking and excess fuel cell energy are stored in lithium batteries. Each car is equipped with a fuel cell and a hydrogen tank, and is equipped with a responsive intelligent energy management system and energy storage technology. In 2019, East Japan Railway Corporation (JR) [5] developed a new hybrid train, the FV-E991 series, consisting of two 180 kW fuel cell stacks and two 25 kWh lithium batteries, with an operating range of 140 km and a top speed of 100 km/h [6]. In order to realize the optimal energy management scheme of dual-pile fuel cell system and energy storage device, it is necessary to consider the fuel cell operating state and the SOC influence of supercapacitor. There is an "efficient operation zone" [7] in the efficiency diagram of the fuel cell system. Maintaining the output power of the fuel cell in this zone can optimize the efficiency and performance of the system. However, with the accumulation of fuel cell operating time, the dynamic characteristics of the fuel cell will change, and the range of efficient operating areas will also change. Therefore, real-time tracking of efficient operation area is one of the core issues of hybrid energy management system. As an energy storage device, ultracapacitors can cooperate with fuel cells through the charge/discharge process to make the fuel cells run sustainably and efficiently. In order to avoid overcharge and overdischarge of supercapacitors, constraints such as SOC boundary conditions and charge and discharge current need to be added to supercapacitors. The strategy of minimum equivalent hydrogen consumption can minimize the hydrogen consumption of the system while meeting the power demand of the hybrid energy system [8], but this method cannot maintain the fuel cell system in the high-efficiency operation zone. As a rule control method, the state machine strategy can maintain the output power of supercapacitor SOC and fuel cell in the best state by making rules, but it relies too much on the designer’s engineering experience, and the hydrogen consumption of the system cannot reach the optimal state. In order to solve the above problems, the work of this paper is divided into two stages: The general expression of maximum efficiency is obtained by first order derivation of multi-pile fuel cell efficiency expression. The expression is reversely verified and the optimal efficiency of non-homogeneous multi-pile fuel cells is modified, and the maximum efficiency of multi-pile fuel cells is estimated. The degradation experiment of fuel cell is predicted by grey prediction theory, and the characteristic value of the degradation curve is extracted, and then the degradation equation of fuel cell is established. Through the above two steps, the efficient operation area of the fuel cell can be obtained; The obtained maximum efficiency interval is applied to the equivalent hydrogen consumption minimum strategy and the state machine strategy as constraint conditions. In order to synthesize the advantages of the two strategies, the state machine optimization method of the minimum hydrogen consumption strategy is proposed. The equivalent hydrogen consumption minimum strategy gives priority to the energy management results aiming at the minimum hydrogen consumption, and then the state machine modifies the results according to the maximum efficiency constraint, so that the multi-stack fuel cell system can run in the high efficiency operation zone. 2 The energy management strategy for fuel cell hybrid power systems 2.1 The strategy of minimizing equivalent hydrogen consumption The Equivalent Consumption Minimization Strategy (ECMS) was proposed by Xu Liangfei and others in 2002 and applied in fuel cell/hybrid electric buses. ECMS aims to reduce the instantaneous hydrogen consumption of fuel cell/hybrid electric systems. This method offers advantages such as effective control and minimal algorithm resource consumption. When the energy storage unit provides power compensation, the energy consumption of the hybrid energy system increases. However, during the charging of the energy storage unit, a portion of hydrogen is converted into electrical energy, leading to an overall reduction in the hydrogen consumption of the system.The algorithm is simplified by introducing the Rint model of the power battery into the equivalent hydrogen consumption model. Therefore, from the perspective of total hydrogen consumption, the total instantaneous hydrogen consumption of the fuel cell / supercapacitor hybrid system of Csys is composed of CFC of the fuel cell and CSC of the supercapacitor. The objective function is: (1) (2) In the above equation, PFC,max is the maximum output power of the fuel cell, is the power variation of the fuel cell, Isc,max and Isc,min are the maximum charge/discharge current limits for the supercapacitor. SOC represents the ratio of the remaining capacity to the rated capacity of the energy storage device at a certain discharge rate, commonly expressed as a percentage, with a range of 0 to 1. When SOC = 0, it means the supercapacitor is fully discharged, and when SOC = 1, it means the supercapacitor is fully charged. SOCmax is the upper limit of the supercapacitor’s SOC, and SOCmin is the lower limit of the supercapacitor’s SOC, which is set to avoid overcharging or overdischarging of the supercapacitor, with an upper and lower limit of [0.3, 0.7]. λSC is the penalty factor that is used to adjust the equivalent hydrogen consumption of the battery to minimize the deviation from the battery’s target SOC. The penalty factor λSC can be expressed as: (3) λSC is limited by the coefficient μ to keep the SOC of the supercapacitor within the range [SOCmin, SOCmax] under certain operating conditions. The equivalent hydrogen consumption of the supercapacitor CSC is calculated as follows: (4) In the above equation, PSC represents the output power of the supercapacitor, with positive and negative values indicating the charging and discharging states of the supercapacitor; Cfcs,avg represents the average hydrogen consumption of the fuel cell; Pfcs,avg represents the average power of the fuel cell system; represents the reciprocal of the fuel cell system’s average efficiency , which is considered a constant in the actual calculation process; and are the average charging and discharging efficiency of the supercapacitor, respectively. In this paper, a first-order RC model is used as the efficiency model for the supercapacitor system, which can be analogized with the Rint model of the battery. In the first-order RC model, the resistance value of the supercapacitor is small and can be regarded as a constant, therefore, the charging and discharging efficiency of the supercapacitor can be simplified as follows: (5) In the above equation, PSC is the charging and discharging power of the supercapacitor, RSC is the internal resistance of the supercapacitor, and Uocv is the terminal voltage of the supercapacitor. The relationship between the power of the supercapacitor and the power of the fuel cell is as follows: (6) According to Eq (4), the simplified expression for the equivalent hydrogen consumption of the supercapacitor is as follows: (7) In the equation, LHV represents the lower heating value of hydrogen (120 MJ/kg),ηFC_avg represents the average efficiency of the fuel cell, where σ is defined a s follows: (8) Based on Eqs (4) and (7), further simplification is made for CSC by defining the variable K. (9) The energy consumption function of each fuel cell stack in a multiple stack fuel cell system is given by: (10) In the equation, CFCsn represents the hydrogen consumption of the stack, PFCSn represents the real-time power of the stack, and an、bn、cn are the second-order fitting parameters for the hydrogen consumption and power of the stack. By using Eqs (1), (7) and (9), the relationship between the total instantaneous hydrogen consumption of the hybrid power system CMFC,SC and the net output power of the fuel cell PMFC can be obtained. (11) Through Eq (11), the second-order partial derivative of CMFC,SC with respect to PMFC is satisfied. (12) Therefore, Eq (10) has a minimum value, which is the optimal output power of the fuel cell system PMFC,opt. The expression is: (13) In summary, the optimal power allocation strategy for fuel cells and supercapacitors is as follows: (14) 2.2 Optimization of power allocation strategy for fuel cell hybrid energy system in high-efficiency area The efficiency chart of the fuel cell system is shown in Fig 1. It demonstrates the variation of efficiency with load power and is one of the key characteristics of the fuel cell system. The system efficiency gradually increases with an increase in load power after system startup, reaching a maximum value. It then slightly decreases until the system reaches its maximum output power. The system operation is typically divided into two stages: the "inefficient region" and the "high-efficiency operation region" (also known as the "Safe Operating Zone"). The "inefficient region" refers to the initial stage after the fuel cell system starts, where the "parasitic power consumption" of auxiliary devices accounts for a significant proportion of the stack power, resulting in lower overall system efficiency. Therefore, this region should be avoided as much as possible when designing energy management strategies. As the load power increases, the fuel cell output power exceeds the parasitic power consumption, leading to a decrease in its proportion in the stack power. This stage is referred to as the "high-efficiency operation region." In the efficiency chart, the point corresponding to the maximum efficiency is denoted as ηmax, and the load power at this point is referred to as the maximum efficiency operating point, denoted as Peff,max. The maximum power point of the system is denoted as Pfcs,max. The two operating regions are divided by the maximum efficiency point (ηmax). The "inefficient region" ranges from load power "0" to the maximum efficiency operating point Peff,max, inclusive ([0,Peff,max]). The "high-efficiency operation region" is determined by Peff,max and Pfcs,max and ranges from Peff,max to Pfcs,max, inclusive [Peff,max,Pfcs,max]. As the fuel cell degrades during operation, Pfcs,max and Peff,max also change, requiring real-time updates during system operation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. Map of PEMFC system efficiency zones. https://doi.org/10.1371/journal.pone.0305332.g001 Feroldi [9] proposed using a state machine policy to ensure that the fuel cell in the hybrid energy system operates in the high-efficiency region, as shown in Fig 2. In consideration of the fuel cell efficiency range and the SOC (state of charge) status of the supercapacitor, the hydrogen consumption is minimized to ensure that the fuel cell system operates in the optimal efficiency range. Pfcs,lo and Pfcs,max represent the lower and upper bounds of the power in the "high-efficiency operation region" of the fuel cell, respectively. As for the energy storage device, its SOC is divided into four regions, including SOCmin, SOCmax, SOChi, and SOClo, SOCmin and SOCmax denote the upper and lower bounds of the energy storage device, while SOChi and SOClo represent higher and lower states of charge, respectively.[SOCmin, SOClo] and [SOChi, SOCmax] are used as critical buffer regions in the energy storage device to avoid frequent power charging and discharging caused by a single critical value. In [SOCmin, SOClo] the energy storage device has a lower state of charge and should not output power, while the fuel cell should charge it. In [SOChi, SOCmax], the energy storage device can output power together with the fuel cell due to its high SOC. In [SOClo, SOChi], the energy storage device can reduce its workload appropriately. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. Power allocation strategy for fuel cell hybrid systems based on efficiency maps. https://doi.org/10.1371/journal.pone.0305332.g002 Focus on investigating the power allocation strategy in partial startup mod, as this mode transitions to full startup mode when the load power exceeds the inflection point. Conducting research on the partial startup mode allows for a comprehensive calculation of efficiency optima in multi-stack fuel cell systems [10]. The efficiency chart of multi-stack fuel cell systems exhibits multiple peaks due to the presence of the inflection point. Consequently, the ’safe operating region’ for a dual-stack fuel cell will also be divided into two, as depicted in Fig 3. Thus, within this efficiency range, it is essential to consider the two highest efficiency points, their corresponding power levels, the inflection point, and the maximum power point as parameters for the state-machine control strategy. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. Distribution of "high efficiency zones" for dual stack fuel cells. https://doi.org/10.1371/journal.pone.0305332.g003 In a hybrid energy system, to ensure that the fuel cell operates in the "high-efficiency region", it is also necessary to maintain the SOC of the supercapacitor. In consideration of these factors, the improved state machine policy is shown in Fig 4. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. MFC improvement strategies based on efficiency diagrams. https://doi.org/10.1371/journal.pone.0305332.g004 Pfc,opt1 represents the system power corresponding to the highest efficiency point of the partial start-up mode in a multi-stack fuel cell system, and Pfc,opt2 represents the system power corresponding to the maximum efficiency point of the full start-up mode. Pfc,inter represents the intersection point of the partial start-up mode and the full start-up mode, at which both modes have the same efficiency and hydrogen consumption rate. [0, Pfc,opt1] represents the start-up stage of the fuel cell, during which the power mainly supplies the auxiliary consumption (control, fans, etc.). The efficiency in this region is relatively low, so it should be avoided during system operation [11]. The modified state machine policy is as follows: When , where the supercapacitor SOC is relatively high and can be used as the primary power source for output. Therefore, the power allocation strategy is as follows: (15) When , the power output of the supercapacitor and fuel cell should be determined based on the load demand. (16) When the , the supercapacitor SOC is low. The supercapacitor does not work, and the fuel cell serves as the main power source. To meet the load power demand, it is necessary to charge the supercapacitor, taking into account the maximum charging current of the supercapacitor and the maximum power fluctuation ΔPMFC of the fuel cell. The efficiency map is revised again, and the state machine partition results are as follows. (17) 2.3 Power allocation strategy based on equivalent minimum hydrogen consumption-state machine The core steps of ECMS involve converting the electrical energy consumption of energy storage elements into equivalent hydrogen consumption [12]. The primary aim is to reduce the hydrogen consumption of hybrid power systems while providing reference values for the optimal charge and discharge power of supercapacitors. However, the equivalent minimal hydrogen consumption strategy introduces constraints to accommodate fuel cell transient changes. Consequently, when the load power is high, ECMS calculations may conflict with constraint conditions, leading to the ineffectiveness of ECMS. The purpose of the state machine is to determine the reference power of the fuel cell when there is a change in state. It possesses advantages such as high reliability, ease of implementation, and robustness. However, in practical system operation, due to the inability to adjust predefined rules online, the dynamic characteristics of the fuel cell change as the system operates, resulting in a deterioration of control strategy performance. Additionally, insufficient designer experience may lead to control logic errors, causing equipment to malfunction.The ECMS is combined with the state machine method to form a hierarchical energy management strategy. The upper layer strategy solves the energy management problem between the multi-reactor fuel cell system and the ultracapacitors based on the state machine strategy with equivalent minimum hydrogen consumption. In this layer policy, Multi-stack fuel cell system is seen as a high-power fuel cell system, The calculation result is the optimized power Pdual,sys of the two-reactor fuel cell system, Pdual,sys is entered into the lower-level policy, The lower layer strategy is the power allocation strategy for the multi-reactor fuel cell system, Multi-stack fuel cell power distribution strategy for Pdual,sys for the power distribution, By collecting parameters such as the fuel cell system power and hydrogen consumption, Update the parameters of the power consumption model in the power allocation strategy after calculation, The strategy architecture diagram is shown in Fig 5, The updated system efficiency maximum value and the corresponding power value are transmitted into the upper layer policy for parameter update. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Architecture diagram of a hybrid fuel cell/supercapacitor system based on minimisation of equivalent consumption. https://doi.org/10.1371/journal.pone.0305332.g005 The reference power PMFC,ref of a multi-stack fuel cell system depends on the power demand, the SOC of the supercapacitor, and PMFC,opt and is defined according to the SOC state as follows: (1) State 1: When the supercapacitor SOC > SOChi, the supercapacitor has a higher discharge power, making the fuel cell system more concentrated in the high-efficiency operating zone. (18) (2) State 2: When the SOC of the supercapacitor is in the range of [SOClo,SOChi]. (19) (3) State 3: When the SOC of the supercapacitor is in the range of [SOCmin,SOClo]. (20) Eqs (1)–(20) form an equivalent minimum hydrogen consumption-state machine power allocation strategy, as shown in Fig 6. The ECM calculates the instantaneous minimum hydrogen consumption power PMFC,opt of the MFC based on the load power and the SOC of the supercapacitor. The SMC modifies PMFC,opt based on the SOC state of the supercapacitor, the maximum efficiency point PMFC,MEPn and the maximum power point PMFC,max as reference values, and calculates the power reference values PMFC,ref and PSC,ref for the multi-stack fuel cell system and the supercapacitor. PMFC,ref is used to distribute power to the fuel cell subsystem through a multi-stack fuel cell power allocation strategy. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. Equivalent minimum hydrogen consumption ‐ state machine power allocation strategy. https://doi.org/10.1371/journal.pone.0305332.g006 2.1 The strategy of minimizing equivalent hydrogen consumption The Equivalent Consumption Minimization Strategy (ECMS) was proposed by Xu Liangfei and others in 2002 and applied in fuel cell/hybrid electric buses. ECMS aims to reduce the instantaneous hydrogen consumption of fuel cell/hybrid electric systems. This method offers advantages such as effective control and minimal algorithm resource consumption. When the energy storage unit provides power compensation, the energy consumption of the hybrid energy system increases. However, during the charging of the energy storage unit, a portion of hydrogen is converted into electrical energy, leading to an overall reduction in the hydrogen consumption of the system.The algorithm is simplified by introducing the Rint model of the power battery into the equivalent hydrogen consumption model. Therefore, from the perspective of total hydrogen consumption, the total instantaneous hydrogen consumption of the fuel cell / supercapacitor hybrid system of Csys is composed of CFC of the fuel cell and CSC of the supercapacitor. The objective function is: (1) (2) In the above equation, PFC,max is the maximum output power of the fuel cell, is the power variation of the fuel cell, Isc,max and Isc,min are the maximum charge/discharge current limits for the supercapacitor. SOC represents the ratio of the remaining capacity to the rated capacity of the energy storage device at a certain discharge rate, commonly expressed as a percentage, with a range of 0 to 1. When SOC = 0, it means the supercapacitor is fully discharged, and when SOC = 1, it means the supercapacitor is fully charged. SOCmax is the upper limit of the supercapacitor’s SOC, and SOCmin is the lower limit of the supercapacitor’s SOC, which is set to avoid overcharging or overdischarging of the supercapacitor, with an upper and lower limit of [0.3, 0.7]. λSC is the penalty factor that is used to adjust the equivalent hydrogen consumption of the battery to minimize the deviation from the battery’s target SOC. The penalty factor λSC can be expressed as: (3) λSC is limited by the coefficient μ to keep the SOC of the supercapacitor within the range [SOCmin, SOCmax] under certain operating conditions. The equivalent hydrogen consumption of the supercapacitor CSC is calculated as follows: (4) In the above equation, PSC represents the output power of the supercapacitor, with positive and negative values indicating the charging and discharging states of the supercapacitor; Cfcs,avg represents the average hydrogen consumption of the fuel cell; Pfcs,avg represents the average power of the fuel cell system; represents the reciprocal of the fuel cell system’s average efficiency , which is considered a constant in the actual calculation process; and are the average charging and discharging efficiency of the supercapacitor, respectively. In this paper, a first-order RC model is used as the efficiency model for the supercapacitor system, which can be analogized with the Rint model of the battery. In the first-order RC model, the resistance value of the supercapacitor is small and can be regarded as a constant, therefore, the charging and discharging efficiency of the supercapacitor can be simplified as follows: (5) In the above equation, PSC is the charging and discharging power of the supercapacitor, RSC is the internal resistance of the supercapacitor, and Uocv is the terminal voltage of the supercapacitor. The relationship between the power of the supercapacitor and the power of the fuel cell is as follows: (6) According to Eq (4), the simplified expression for the equivalent hydrogen consumption of the supercapacitor is as follows: (7) In the equation, LHV represents the lower heating value of hydrogen (120 MJ/kg),ηFC_avg represents the average efficiency of the fuel cell, where σ is defined a s follows: (8) Based on Eqs (4) and (7), further simplification is made for CSC by defining the variable K. (9) The energy consumption function of each fuel cell stack in a multiple stack fuel cell system is given by: (10) In the equation, CFCsn represents the hydrogen consumption of the stack, PFCSn represents the real-time power of the stack, and an、bn、cn are the second-order fitting parameters for the hydrogen consumption and power of the stack. By using Eqs (1), (7) and (9), the relationship between the total instantaneous hydrogen consumption of the hybrid power system CMFC,SC and the net output power of the fuel cell PMFC can be obtained. (11) Through Eq (11), the second-order partial derivative of CMFC,SC with respect to PMFC is satisfied. (12) Therefore, Eq (10) has a minimum value, which is the optimal output power of the fuel cell system PMFC,opt. The expression is: (13) In summary, the optimal power allocation strategy for fuel cells and supercapacitors is as follows: (14) 2.2 Optimization of power allocation strategy for fuel cell hybrid energy system in high-efficiency area The efficiency chart of the fuel cell system is shown in Fig 1. It demonstrates the variation of efficiency with load power and is one of the key characteristics of the fuel cell system. The system efficiency gradually increases with an increase in load power after system startup, reaching a maximum value. It then slightly decreases until the system reaches its maximum output power. The system operation is typically divided into two stages: the "inefficient region" and the "high-efficiency operation region" (also known as the "Safe Operating Zone"). The "inefficient region" refers to the initial stage after the fuel cell system starts, where the "parasitic power consumption" of auxiliary devices accounts for a significant proportion of the stack power, resulting in lower overall system efficiency. Therefore, this region should be avoided as much as possible when designing energy management strategies. As the load power increases, the fuel cell output power exceeds the parasitic power consumption, leading to a decrease in its proportion in the stack power. This stage is referred to as the "high-efficiency operation region." In the efficiency chart, the point corresponding to the maximum efficiency is denoted as ηmax, and the load power at this point is referred to as the maximum efficiency operating point, denoted as Peff,max. The maximum power point of the system is denoted as Pfcs,max. The two operating regions are divided by the maximum efficiency point (ηmax). The "inefficient region" ranges from load power "0" to the maximum efficiency operating point Peff,max, inclusive ([0,Peff,max]). The "high-efficiency operation region" is determined by Peff,max and Pfcs,max and ranges from Peff,max to Pfcs,max, inclusive [Peff,max,Pfcs,max]. As the fuel cell degrades during operation, Pfcs,max and Peff,max also change, requiring real-time updates during system operation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. Map of PEMFC system efficiency zones. https://doi.org/10.1371/journal.pone.0305332.g001 Feroldi [9] proposed using a state machine policy to ensure that the fuel cell in the hybrid energy system operates in the high-efficiency region, as shown in Fig 2. In consideration of the fuel cell efficiency range and the SOC (state of charge) status of the supercapacitor, the hydrogen consumption is minimized to ensure that the fuel cell system operates in the optimal efficiency range. Pfcs,lo and Pfcs,max represent the lower and upper bounds of the power in the "high-efficiency operation region" of the fuel cell, respectively. As for the energy storage device, its SOC is divided into four regions, including SOCmin, SOCmax, SOChi, and SOClo, SOCmin and SOCmax denote the upper and lower bounds of the energy storage device, while SOChi and SOClo represent higher and lower states of charge, respectively.[SOCmin, SOClo] and [SOChi, SOCmax] are used as critical buffer regions in the energy storage device to avoid frequent power charging and discharging caused by a single critical value. In [SOCmin, SOClo] the energy storage device has a lower state of charge and should not output power, while the fuel cell should charge it. In [SOChi, SOCmax], the energy storage device can output power together with the fuel cell due to its high SOC. In [SOClo, SOChi], the energy storage device can reduce its workload appropriately. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. Power allocation strategy for fuel cell hybrid systems based on efficiency maps. https://doi.org/10.1371/journal.pone.0305332.g002 Focus on investigating the power allocation strategy in partial startup mod, as this mode transitions to full startup mode when the load power exceeds the inflection point. Conducting research on the partial startup mode allows for a comprehensive calculation of efficiency optima in multi-stack fuel cell systems [10]. The efficiency chart of multi-stack fuel cell systems exhibits multiple peaks due to the presence of the inflection point. Consequently, the ’safe operating region’ for a dual-stack fuel cell will also be divided into two, as depicted in Fig 3. Thus, within this efficiency range, it is essential to consider the two highest efficiency points, their corresponding power levels, the inflection point, and the maximum power point as parameters for the state-machine control strategy. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. Distribution of "high efficiency zones" for dual stack fuel cells. https://doi.org/10.1371/journal.pone.0305332.g003 In a hybrid energy system, to ensure that the fuel cell operates in the "high-efficiency region", it is also necessary to maintain the SOC of the supercapacitor. In consideration of these factors, the improved state machine policy is shown in Fig 4. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. MFC improvement strategies based on efficiency diagrams. https://doi.org/10.1371/journal.pone.0305332.g004 Pfc,opt1 represents the system power corresponding to the highest efficiency point of the partial start-up mode in a multi-stack fuel cell system, and Pfc,opt2 represents the system power corresponding to the maximum efficiency point of the full start-up mode. Pfc,inter represents the intersection point of the partial start-up mode and the full start-up mode, at which both modes have the same efficiency and hydrogen consumption rate. [0, Pfc,opt1] represents the start-up stage of the fuel cell, during which the power mainly supplies the auxiliary consumption (control, fans, etc.). The efficiency in this region is relatively low, so it should be avoided during system operation [11]. The modified state machine policy is as follows: When , where the supercapacitor SOC is relatively high and can be used as the primary power source for output. Therefore, the power allocation strategy is as follows: (15) When , the power output of the supercapacitor and fuel cell should be determined based on the load demand. (16) When the , the supercapacitor SOC is low. The supercapacitor does not work, and the fuel cell serves as the main power source. To meet the load power demand, it is necessary to charge the supercapacitor, taking into account the maximum charging current of the supercapacitor and the maximum power fluctuation ΔPMFC of the fuel cell. The efficiency map is revised again, and the state machine partition results are as follows. (17) 2.3 Power allocation strategy based on equivalent minimum hydrogen consumption-state machine The core steps of ECMS involve converting the electrical energy consumption of energy storage elements into equivalent hydrogen consumption [12]. The primary aim is to reduce the hydrogen consumption of hybrid power systems while providing reference values for the optimal charge and discharge power of supercapacitors. However, the equivalent minimal hydrogen consumption strategy introduces constraints to accommodate fuel cell transient changes. Consequently, when the load power is high, ECMS calculations may conflict with constraint conditions, leading to the ineffectiveness of ECMS. The purpose of the state machine is to determine the reference power of the fuel cell when there is a change in state. It possesses advantages such as high reliability, ease of implementation, and robustness. However, in practical system operation, due to the inability to adjust predefined rules online, the dynamic characteristics of the fuel cell change as the system operates, resulting in a deterioration of control strategy performance. Additionally, insufficient designer experience may lead to control logic errors, causing equipment to malfunction.The ECMS is combined with the state machine method to form a hierarchical energy management strategy. The upper layer strategy solves the energy management problem between the multi-reactor fuel cell system and the ultracapacitors based on the state machine strategy with equivalent minimum hydrogen consumption. In this layer policy, Multi-stack fuel cell system is seen as a high-power fuel cell system, The calculation result is the optimized power Pdual,sys of the two-reactor fuel cell system, Pdual,sys is entered into the lower-level policy, The lower layer strategy is the power allocation strategy for the multi-reactor fuel cell system, Multi-stack fuel cell power distribution strategy for Pdual,sys for the power distribution, By collecting parameters such as the fuel cell system power and hydrogen consumption, Update the parameters of the power consumption model in the power allocation strategy after calculation, The strategy architecture diagram is shown in Fig 5, The updated system efficiency maximum value and the corresponding power value are transmitted into the upper layer policy for parameter update. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Architecture diagram of a hybrid fuel cell/supercapacitor system based on minimisation of equivalent consumption. https://doi.org/10.1371/journal.pone.0305332.g005 The reference power PMFC,ref of a multi-stack fuel cell system depends on the power demand, the SOC of the supercapacitor, and PMFC,opt and is defined according to the SOC state as follows: (1) State 1: When the supercapacitor SOC > SOChi, the supercapacitor has a higher discharge power, making the fuel cell system more concentrated in the high-efficiency operating zone. (18) (2) State 2: When the SOC of the supercapacitor is in the range of [SOClo,SOChi]. (19) (3) State 3: When the SOC of the supercapacitor is in the range of [SOCmin,SOClo]. (20) Eqs (1)–(20) form an equivalent minimum hydrogen consumption-state machine power allocation strategy, as shown in Fig 6. The ECM calculates the instantaneous minimum hydrogen consumption power PMFC,opt of the MFC based on the load power and the SOC of the supercapacitor. The SMC modifies PMFC,opt based on the SOC state of the supercapacitor, the maximum efficiency point PMFC,MEPn and the maximum power point PMFC,max as reference values, and calculates the power reference values PMFC,ref and PSC,ref for the multi-stack fuel cell system and the supercapacitor. PMFC,ref is used to distribute power to the fuel cell subsystem through a multi-stack fuel cell power allocation strategy. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. Equivalent minimum hydrogen consumption ‐ state machine power allocation strategy. https://doi.org/10.1371/journal.pone.0305332.g006 3 Maximum efficiency estimation for dual-stack fuel cell systems According to Eqs (18) to (20), in order to maintain the output power of the fuel cell system within the high-efficiency operating range, real-time tracking of the fuel cell system’s maximum efficiency point is necessary [13]. 3.1 Calculation of efficiency extremes for dual-stack fuel cell systems In partial load modes of power allocation strategies for multi-stack fuel cell systems, when the load power doesn’t exceed the inflection power, the system will activate fewer subsystems to respond to the load power [14]. Therefore, during the calculation of efficiency extremes, efficiency calculations are still based on the inflection power. The inflection power for dual-stack fuel cells is denoted as: (21) When Pload > Pinter, both fuel cell subsystems will start up, and the power allocation strategy and hydrogen consumption of the dual-stack system are shown in Eq (22). (22) Based on the fuel cell energy consumption function (10) and the general expression for hydrogen consumption in the dual-stack fuel cell system (22), the efficiency expression of the dual-stack fuel cell system is as follows. (23) Using Eqs (21) and (23), the efficiency of the system at the crossover power Pinter is 56.26%. According to the system efficiency characteristics of the multi-stack fuel cell, there are two other load power points in the efficiency graph that have the same efficiency as the crossover power, denoted as P1 and P2. Fig 7 represents the distribution of P1,P2, and their corresponding efficiency points in the efficiency graph of the dual-stack fuel cell system. In both the partial startup mode and the full startup mode of the multi-stack fuel cell, it is observed that and . According to the Rolle’s theorem, there must exist ) and within this range, such that . Therefore, the maximum efficiency point is derivable. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. Fuel cell system efficiency versus power curve. https://doi.org/10.1371/journal.pone.0305332.g007 (24) Solving Eqs (23) and (24), it obtains the maximum efficiency result of the dual-stack fuel cell system: (25) 3.2 The estimation result of maximum efficiency Solving Eq (25) gives the maximum efficiency and the estimated maximum efficiency values of the PEMFC1 and PEMFC2 subsystems of the dual-stack fuel cell system, as shown in Fig 8. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Max Efficiency points for dual stack fuel cell systems. https://doi.org/10.1371/journal.pone.0305332.g008 The maximum efficiency point and the corresponding power point of the partial startup mode of the dual-stack fuel cell system are The maximum efficiency point and the corresponding power point of the full startup mode are . After power allocation, the efficiency points and corresponding power loads of PEMFC1 and PEMFC2 at the maximum efficiency point in the full startup mode are and . In the partial startup mode, the dual-stack fuel cell system activates only one fuel cell stack, which results in the system’s maximum efficiency point being the same as that of a single-stack fuel cell. However, in the full startup mode, when the dual-stack fuel cell system operates within the high-efficiency region, it is essential to calculate and compare the maximum efficiency points of both the multi-stack fuel cell system and its subsystems. This comparison helps verify whether the subsystems also operate within the high-efficiency region when the entire system is in high-efficiency operation. When the dual-stack fuel cell system operates at the maximum efficiency point in the full startup mode, the comparison results of power points and corresponding maximum efficiency points of the subsystems in the efficiency map are shown in Figs 9 and 10. The red dashed line represents the subsystem power and efficiency corresponding to the maximum efficiency point PMFC,opt2 in the full startup mode, while the black dashed line represents the maximum efficiency point and corresponding power of a single fuel cell. From the figure, it can be seen that when the dual-stack fuel cell system operates at the maximum efficiency point, the subsystems are not operating at their optimal states. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. ME comparison in FC1. https://doi.org/10.1371/journal.pone.0305332.g009 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 10. ME comparison in FC2. https://doi.org/10.1371/journal.pone.0305332.g010 In order to ensure that the operating states of all subsystems in the multi-stack fuel cell system can be maintained within the "high-efficiency operating region", the corresponding powers PMFC,opt2,1and PMFC,opt2,2 of the PEMFC1 and PEMFC2 subsystems at their respective maximum efficiency operating points are derived in reverse using [15] Eq (26). The calculation process is as follows: (26) The calculation of ηMEP2, based on Eqs (24) and (26) confirms the estimation of the maximum efficiency points for the MFC system, PEMFC1, and PEMFC2 using PMEP2,PMEP2, and PMFC,opt2,2. The results indicate that even after applying power allocation strategies, the fuel cell subsystems do not operate entirely within the high-efficiency operating region. This is because the multi-stack allocation strategy used in the fuel cell paper does not result in uniform distribution, and the significant degradation differences between fuel cells cause a deviation from the actual optimal efficiency point. The efficiency comparison results of the dual-stack fuel cell system and subsystems can be calculated using PMFC,ME2,PFC2,MEP and PFC2,MEP as follows: The data in groups 1–3 of Table 1 represent the net output power and system efficiency of the multi-stack fuel cell and its subsystems when the MFC, PEMFC1, and PEMFC2 operate at their respective maximum efficiency power points. The results indicate that when the fuel cell subsystem FC2 operates at its maximum efficiency point, both the multi-stack fuel cell system and its subsystems operate within the high-efficiency range. Given the performance differences between PEMFC2 and PEMFC1 in practice, the maximum efficiency of the dual-stack fuel cell should be determined by the lower-performing stack.Through reverse engineering via the PFC2,MEP method, the power corresponding to the maximum efficiency of the MFC system is determined to be (499.34, 57.30%). Although the directly derived system efficiency for the multi-stack fuel cell is slightly lower, this method ensures that all subsystems can operate at their optimal power levels, contributing to the overall efficient power output of the fuel cell. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. Comparison of results of maximum efficiency points. https://doi.org/10.1371/journal.pone.0305332.t001 3.1 Calculation of efficiency extremes for dual-stack fuel cell systems In partial load modes of power allocation strategies for multi-stack fuel cell systems, when the load power doesn’t exceed the inflection power, the system will activate fewer subsystems to respond to the load power [14]. Therefore, during the calculation of efficiency extremes, efficiency calculations are still based on the inflection power. The inflection power for dual-stack fuel cells is denoted as: (21) When Pload > Pinter, both fuel cell subsystems will start up, and the power allocation strategy and hydrogen consumption of the dual-stack system are shown in Eq (22). (22) Based on the fuel cell energy consumption function (10) and the general expression for hydrogen consumption in the dual-stack fuel cell system (22), the efficiency expression of the dual-stack fuel cell system is as follows. (23) Using Eqs (21) and (23), the efficiency of the system at the crossover power Pinter is 56.26%. According to the system efficiency characteristics of the multi-stack fuel cell, there are two other load power points in the efficiency graph that have the same efficiency as the crossover power, denoted as P1 and P2. Fig 7 represents the distribution of P1,P2, and their corresponding efficiency points in the efficiency graph of the dual-stack fuel cell system. In both the partial startup mode and the full startup mode of the multi-stack fuel cell, it is observed that and . According to the Rolle’s theorem, there must exist ) and within this range, such that . Therefore, the maximum efficiency point is derivable. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. Fuel cell system efficiency versus power curve. https://doi.org/10.1371/journal.pone.0305332.g007 (24) Solving Eqs (23) and (24), it obtains the maximum efficiency result of the dual-stack fuel cell system: (25) 3.2 The estimation result of maximum efficiency Solving Eq (25) gives the maximum efficiency and the estimated maximum efficiency values of the PEMFC1 and PEMFC2 subsystems of the dual-stack fuel cell system, as shown in Fig 8. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Max Efficiency points for dual stack fuel cell systems. https://doi.org/10.1371/journal.pone.0305332.g008 The maximum efficiency point and the corresponding power point of the partial startup mode of the dual-stack fuel cell system are The maximum efficiency point and the corresponding power point of the full startup mode are . After power allocation, the efficiency points and corresponding power loads of PEMFC1 and PEMFC2 at the maximum efficiency point in the full startup mode are and . In the partial startup mode, the dual-stack fuel cell system activates only one fuel cell stack, which results in the system’s maximum efficiency point being the same as that of a single-stack fuel cell. However, in the full startup mode, when the dual-stack fuel cell system operates within the high-efficiency region, it is essential to calculate and compare the maximum efficiency points of both the multi-stack fuel cell system and its subsystems. This comparison helps verify whether the subsystems also operate within the high-efficiency region when the entire system is in high-efficiency operation. When the dual-stack fuel cell system operates at the maximum efficiency point in the full startup mode, the comparison results of power points and corresponding maximum efficiency points of the subsystems in the efficiency map are shown in Figs 9 and 10. The red dashed line represents the subsystem power and efficiency corresponding to the maximum efficiency point PMFC,opt2 in the full startup mode, while the black dashed line represents the maximum efficiency point and corresponding power of a single fuel cell. From the figure, it can be seen that when the dual-stack fuel cell system operates at the maximum efficiency point, the subsystems are not operating at their optimal states. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. ME comparison in FC1. https://doi.org/10.1371/journal.pone.0305332.g009 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 10. ME comparison in FC2. https://doi.org/10.1371/journal.pone.0305332.g010 In order to ensure that the operating states of all subsystems in the multi-stack fuel cell system can be maintained within the "high-efficiency operating region", the corresponding powers PMFC,opt2,1and PMFC,opt2,2 of the PEMFC1 and PEMFC2 subsystems at their respective maximum efficiency operating points are derived in reverse using [15] Eq (26). The calculation process is as follows: (26) The calculation of ηMEP2, based on Eqs (24) and (26) confirms the estimation of the maximum efficiency points for the MFC system, PEMFC1, and PEMFC2 using PMEP2,PMEP2, and PMFC,opt2,2. The results indicate that even after applying power allocation strategies, the fuel cell subsystems do not operate entirely within the high-efficiency operating region. This is because the multi-stack allocation strategy used in the fuel cell paper does not result in uniform distribution, and the significant degradation differences between fuel cells cause a deviation from the actual optimal efficiency point. The efficiency comparison results of the dual-stack fuel cell system and subsystems can be calculated using PMFC,ME2,PFC2,MEP and PFC2,MEP as follows: The data in groups 1–3 of Table 1 represent the net output power and system efficiency of the multi-stack fuel cell and its subsystems when the MFC, PEMFC1, and PEMFC2 operate at their respective maximum efficiency power points. The results indicate that when the fuel cell subsystem FC2 operates at its maximum efficiency point, both the multi-stack fuel cell system and its subsystems operate within the high-efficiency range. Given the performance differences between PEMFC2 and PEMFC1 in practice, the maximum efficiency of the dual-stack fuel cell should be determined by the lower-performing stack.Through reverse engineering via the PFC2,MEP method, the power corresponding to the maximum efficiency of the MFC system is determined to be (499.34, 57.30%). Although the directly derived system efficiency for the multi-stack fuel cell is slightly lower, this method ensures that all subsystems can operate at their optimal power levels, contributing to the overall efficient power output of the fuel cell. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. Comparison of results of maximum efficiency points. https://doi.org/10.1371/journal.pone.0305332.t001 4 Analysis of simulation results Fig 11 represents the test load curve, with a continuous load duration of approximately 400 seconds and a load power range of 0-1100W. It consists of three repetitive load cycles, used to test the three power allocation strategies mentioned in this paper. Table 2 outlines the various constraint conditions within the energy management strategy. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 11. Power load curves. https://doi.org/10.1371/journal.pone.0305332.g011 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. Constraints in hybrid energy systems. https://doi.org/10.1371/journal.pone.0305332.t002 4.1 Power allocation results As shown in Figs 12–14, all three power allocation strategies are capable of meeting the power requirements of the load. During system operation, the dual-stack fuel cell can provide stable power to the system. The supercapacitor, serving as an auxiliary energy source, can accommodate the frequent fluctuations in load demand, compensate for power shortages during operation, and recover excess power. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 12. Equivalent hydrogen consumption energy allocation results. https://doi.org/10.1371/journal.pone.0305332.g012 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 13. State machine control energy allocation results. https://doi.org/10.1371/journal.pone.0305332.g013 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 14. A state machine strategy based on minimisation of equivalent hydrogen consumption. https://doi.org/10.1371/journal.pone.0305332.g014 Three power allocation strategies were implemented with a minimum output power set for the fuel cell. Even when there was no power load at the beginning of system operation, the fuel cell still operated at the minimum power. Therefore, in the first 25 seconds, the fuel cell output power was 100W, and the supercapacitor power was negative. In the SMC strategy, the supercapacitor served as the primary output with a high SOC exceeding SOChi, as shown in Fig 13, and as the supercapacitor SOC decreased, the fuel cell would take on the load power as the main power source. In the ECM and ECM+SMC strategies, the first half of the strategies were consistent. As the supercapacitor SOC decreased, in order to ensure the SOC of the supercapacitor, when there was no load output, the fuel cell would operate at the maximum efficiency corresponding to the power P_opt1 by correcting its state with the state machine strategy, as shown in Figs 12 and 14. 4.2 Efficiency comparison of dual-stack systems Under different control strategies, the efficiency curve of the dual-stack fuel cell system is shown in Figs 15–17, where the system efficiency ηdual,sys is calculated according to Eq (3). The green area represents the high-efficiency range in which the dual-stack fuel cell system operates, in order to display the optimization results [16]. Under all three strategies, the system efficiency drops abruptly to different degrees due to the sudden increase in fuel cell system power,As evident from the load curve in Fig 11, peak values in the efficiency curve occur simultaneously with moments of sudden load increase or decrease. The generation of these peaks is closely related to the output power of the fuel cell. Particularly within the low-power range, the system efficiency increases with increasing power, hence the occurrence of multiple peaks in the efficiency curve. Among the three power allocation strategies, the ECM-SMC strategy has the largest area under the high-efficiency operating region, and the average efficiency is the highest at 53.83%. This indicates that the proposed optimization scheme can enable the dual-stack fuel cell system to operate as much as possible within the high-efficiency operating region and improve the performance of the fuel cell power loss optimization system. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 15. Equivalent hydrogen consumption system efficiency. https://doi.org/10.1371/journal.pone.0305332.g015 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 16. State machine control system efficiency. https://doi.org/10.1371/journal.pone.0305332.g016 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 17. A state machine strategy based on minimisation of equivalent hydrogen consumption. https://doi.org/10.1371/journal.pone.0305332.g017 4.3 Comparison of hydrogen consumption and SOC The results for the supercapacitor state of charge (SOC) and hydrogen consumption are illustrated in Figs 18 and 19, respectively. The initial SOC of the supercapacitor was set at 86%. During the operation, the SMC energy management strategy primarily considers the SOC status. At the beginning of the system operation, the SOC of the supercapacitor decreases the fastest, but the hydrogen consumption by the fuel cell is at its lowest. As the system power operation continues, the working time of the supercapacitor decreases, and the fuel cell becomes the primary power source, leading to an increase in hydrogen consumption. Compared to the ECM strategy, the ECM-SMC power allocation strategy exhibits a similar hydrogen consumption pattern, with an increase in the fuel cell’s charging of the supercapacitor. This results in a rise in the SOC of the supercapacitor. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 18. Change curve of supercapacitor’ SOC. https://doi.org/10.1371/journal.pone.0305332.g018 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 19. Hydrogen consumption curve of the system. https://doi.org/10.1371/journal.pone.0305332.g019 4.4 Analysis of operating stresses in fuel cell subsystems and statistical distribution of operational points Frequent load fluctuations can elevate the operational pressure of fuel cells, consequently impacting their efficiency [17]. This is because fuel cells may experience increased resistance to electron and proton transfer when operating under high pressure, resulting in augmented energy losses, thereby influencing both the efficiency and lifespan of fuel cells. To quantify the operational stress of fuel cells and its impact on their service life, there are currently two commonly used methods. The first method involves decomposing the fuel cell load signal through the Haar wavelet transformation, separating the high-frequency load power, and subjecting the fuel cell to stress analysis. The standard deviation of the high-frequency component σ reflects the frequency at which the fuel cell system is requested, with smaller values indicating a more stable fuel cell output power and smaller system power fluctuations and operational stresses [18]. The second method involves statistical power fluctuations and by tracking the changes in fuel cell power ΔP, the operational stress of the fuel cell can be evaluated. When the majority of the ΔP values fall into the small range near "0," it indicates low operational stress on the fuel cell. Figs 20–31 show the operational stress analysis of the fuel cell subsystem under the three power allocation strategies. The fuel cell adaptation frequency is [10–6,10–2]and anything beyond this range is considered a high-frequency part. The operational stress is highest under the state machine-based power allocation strategy because the upper and lower bounds of fuel cell power variations were not considered during the operation process. The operational stress of the PEMFC subsystem under the ECM and ECM-SMC strategies is similar, with PEMFC1 being lower in ECMs than in ECM-SMC, while the operational stress of PEMFC2 is slightly higher. This indicates that in the power allocation strategy of ECM-SMC, PEMFC1 bears more operational stress. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 20. ECMs Operating pressure analysis(σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g020 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 21. ECMs Operating pressure analysis results (σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g021 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 22. ECMs Operating pressure analysis(σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g022 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 23. ECMs Operating pressure analysis results (σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g023 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 24. SMC operating pressure analysis(σ = 5.60). https://doi.org/10.1371/journal.pone.0305332.g024 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 25. SMC operating pressure analysis results (σ = 5.60). https://doi.org/10.1371/journal.pone.0305332.g025 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 26. SMC operating pressure analysis(σ = 7.28). https://doi.org/10.1371/journal.pone.0305332.g026 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 27. SMC operating pressure analysis results (σ = 7.28). https://doi.org/10.1371/journal.pone.0305332.g027 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 28. SMC operating pressure analysis(σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g028 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 29. SMC operating pressure analysis results (σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g029 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 30. SMC operating pressure analysis(σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g030 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 31. SMC operating pressure analysis results (σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g031 In Fig 32, the distribution of operational points for the MFC system in three different scenarios is depicted. All three scenarios ensure that the MFC system operates primarily within the high-efficiency region. In the initial phase of system operation, the SMC system relies on the supercapacitor to handle a portion of the output, with the highest proportion occurring in the non-efficient region. To further analyze the operation of the MFC system and its subsystems within the high-efficiency region, the operational points within this region were statistically analyzed and converted to percentages, as shown in Fig 33. Overall, the proposed approach in this paper enhances the operational lifespan of the MFC system and its subsystems within the high-efficiency region. The MFC system accounts for 77% of the total operational time (12% higher than ECM, and 24% higher than SMC). Subsystem FC1 and FC2 have operational periods of 82% (21% higher than ECM, and 30% higher than SMC) and 58% (1% higher than ECM, and 7% higher than SMC), respectively. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 32. Distribution of MFC operating points. https://doi.org/10.1371/journal.pone.0305332.g032 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 33. Three methods of efficient zone occupancy. https://doi.org/10.1371/journal.pone.0305332.g033 Through a comparative analysis of the performance indicators for each scenario, the ECM-SMC method employed in this paper effectively reduces the working pressure of the PEMFC system. This reduction is beneficial in minimizing the disturbance in the output power of the PEMFC system and ultimately leads to improved system performance, as indicated in Table 3. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Comparative analysis of performance of different control strategies. https://doi.org/10.1371/journal.pone.0305332.t003 4.1 Power allocation results As shown in Figs 12–14, all three power allocation strategies are capable of meeting the power requirements of the load. During system operation, the dual-stack fuel cell can provide stable power to the system. The supercapacitor, serving as an auxiliary energy source, can accommodate the frequent fluctuations in load demand, compensate for power shortages during operation, and recover excess power. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 12. Equivalent hydrogen consumption energy allocation results. https://doi.org/10.1371/journal.pone.0305332.g012 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 13. State machine control energy allocation results. https://doi.org/10.1371/journal.pone.0305332.g013 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 14. A state machine strategy based on minimisation of equivalent hydrogen consumption. https://doi.org/10.1371/journal.pone.0305332.g014 Three power allocation strategies were implemented with a minimum output power set for the fuel cell. Even when there was no power load at the beginning of system operation, the fuel cell still operated at the minimum power. Therefore, in the first 25 seconds, the fuel cell output power was 100W, and the supercapacitor power was negative. In the SMC strategy, the supercapacitor served as the primary output with a high SOC exceeding SOChi, as shown in Fig 13, and as the supercapacitor SOC decreased, the fuel cell would take on the load power as the main power source. In the ECM and ECM+SMC strategies, the first half of the strategies were consistent. As the supercapacitor SOC decreased, in order to ensure the SOC of the supercapacitor, when there was no load output, the fuel cell would operate at the maximum efficiency corresponding to the power P_opt1 by correcting its state with the state machine strategy, as shown in Figs 12 and 14. 4.2 Efficiency comparison of dual-stack systems Under different control strategies, the efficiency curve of the dual-stack fuel cell system is shown in Figs 15–17, where the system efficiency ηdual,sys is calculated according to Eq (3). The green area represents the high-efficiency range in which the dual-stack fuel cell system operates, in order to display the optimization results [16]. Under all three strategies, the system efficiency drops abruptly to different degrees due to the sudden increase in fuel cell system power,As evident from the load curve in Fig 11, peak values in the efficiency curve occur simultaneously with moments of sudden load increase or decrease. The generation of these peaks is closely related to the output power of the fuel cell. Particularly within the low-power range, the system efficiency increases with increasing power, hence the occurrence of multiple peaks in the efficiency curve. Among the three power allocation strategies, the ECM-SMC strategy has the largest area under the high-efficiency operating region, and the average efficiency is the highest at 53.83%. This indicates that the proposed optimization scheme can enable the dual-stack fuel cell system to operate as much as possible within the high-efficiency operating region and improve the performance of the fuel cell power loss optimization system. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 15. Equivalent hydrogen consumption system efficiency. https://doi.org/10.1371/journal.pone.0305332.g015 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 16. State machine control system efficiency. https://doi.org/10.1371/journal.pone.0305332.g016 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 17. A state machine strategy based on minimisation of equivalent hydrogen consumption. https://doi.org/10.1371/journal.pone.0305332.g017 4.3 Comparison of hydrogen consumption and SOC The results for the supercapacitor state of charge (SOC) and hydrogen consumption are illustrated in Figs 18 and 19, respectively. The initial SOC of the supercapacitor was set at 86%. During the operation, the SMC energy management strategy primarily considers the SOC status. At the beginning of the system operation, the SOC of the supercapacitor decreases the fastest, but the hydrogen consumption by the fuel cell is at its lowest. As the system power operation continues, the working time of the supercapacitor decreases, and the fuel cell becomes the primary power source, leading to an increase in hydrogen consumption. Compared to the ECM strategy, the ECM-SMC power allocation strategy exhibits a similar hydrogen consumption pattern, with an increase in the fuel cell’s charging of the supercapacitor. This results in a rise in the SOC of the supercapacitor. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 18. Change curve of supercapacitor’ SOC. https://doi.org/10.1371/journal.pone.0305332.g018 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 19. Hydrogen consumption curve of the system. https://doi.org/10.1371/journal.pone.0305332.g019 4.4 Analysis of operating stresses in fuel cell subsystems and statistical distribution of operational points Frequent load fluctuations can elevate the operational pressure of fuel cells, consequently impacting their efficiency [17]. This is because fuel cells may experience increased resistance to electron and proton transfer when operating under high pressure, resulting in augmented energy losses, thereby influencing both the efficiency and lifespan of fuel cells. To quantify the operational stress of fuel cells and its impact on their service life, there are currently two commonly used methods. The first method involves decomposing the fuel cell load signal through the Haar wavelet transformation, separating the high-frequency load power, and subjecting the fuel cell to stress analysis. The standard deviation of the high-frequency component σ reflects the frequency at which the fuel cell system is requested, with smaller values indicating a more stable fuel cell output power and smaller system power fluctuations and operational stresses [18]. The second method involves statistical power fluctuations and by tracking the changes in fuel cell power ΔP, the operational stress of the fuel cell can be evaluated. When the majority of the ΔP values fall into the small range near "0," it indicates low operational stress on the fuel cell. Figs 20–31 show the operational stress analysis of the fuel cell subsystem under the three power allocation strategies. The fuel cell adaptation frequency is [10–6,10–2]and anything beyond this range is considered a high-frequency part. The operational stress is highest under the state machine-based power allocation strategy because the upper and lower bounds of fuel cell power variations were not considered during the operation process. The operational stress of the PEMFC subsystem under the ECM and ECM-SMC strategies is similar, with PEMFC1 being lower in ECMs than in ECM-SMC, while the operational stress of PEMFC2 is slightly higher. This indicates that in the power allocation strategy of ECM-SMC, PEMFC1 bears more operational stress. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 20. ECMs Operating pressure analysis(σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g020 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 21. ECMs Operating pressure analysis results (σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g021 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 22. ECMs Operating pressure analysis(σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g022 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 23. ECMs Operating pressure analysis results (σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g023 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 24. SMC operating pressure analysis(σ = 5.60). https://doi.org/10.1371/journal.pone.0305332.g024 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 25. SMC operating pressure analysis results (σ = 5.60). https://doi.org/10.1371/journal.pone.0305332.g025 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 26. SMC operating pressure analysis(σ = 7.28). https://doi.org/10.1371/journal.pone.0305332.g026 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 27. SMC operating pressure analysis results (σ = 7.28). https://doi.org/10.1371/journal.pone.0305332.g027 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 28. SMC operating pressure analysis(σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g028 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 29. SMC operating pressure analysis results (σ = 6.88). https://doi.org/10.1371/journal.pone.0305332.g029 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 30. SMC operating pressure analysis(σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g030 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 31. SMC operating pressure analysis results (σ = 4.27). https://doi.org/10.1371/journal.pone.0305332.g031 In Fig 32, the distribution of operational points for the MFC system in three different scenarios is depicted. All three scenarios ensure that the MFC system operates primarily within the high-efficiency region. In the initial phase of system operation, the SMC system relies on the supercapacitor to handle a portion of the output, with the highest proportion occurring in the non-efficient region. To further analyze the operation of the MFC system and its subsystems within the high-efficiency region, the operational points within this region were statistically analyzed and converted to percentages, as shown in Fig 33. Overall, the proposed approach in this paper enhances the operational lifespan of the MFC system and its subsystems within the high-efficiency region. The MFC system accounts for 77% of the total operational time (12% higher than ECM, and 24% higher than SMC). Subsystem FC1 and FC2 have operational periods of 82% (21% higher than ECM, and 30% higher than SMC) and 58% (1% higher than ECM, and 7% higher than SMC), respectively. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 32. Distribution of MFC operating points. https://doi.org/10.1371/journal.pone.0305332.g032 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 33. Three methods of efficient zone occupancy. https://doi.org/10.1371/journal.pone.0305332.g033 Through a comparative analysis of the performance indicators for each scenario, the ECM-SMC method employed in this paper effectively reduces the working pressure of the PEMFC system. This reduction is beneficial in minimizing the disturbance in the output power of the PEMFC system and ultimately leads to improved system performance, as indicated in Table 3. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Comparative analysis of performance of different control strategies. https://doi.org/10.1371/journal.pone.0305332.t003 5 Conclusion Propose an energy management strategy for a dual-stack fuel cell/supercapacitor hybrid system that combines Equivalent Consumption Minimization (ECM) and a state machine approach. This strategy is based on the real-time power allocation policy for multi-stack fuel cell systems while considering the maximum efficiency of the fuel cell system. Reverse verification reveals that in full startup mode, the maximum efficiency of the dual-stack fuel cell system is determined by the poorest-performing fuel cell system. By reverse deducing from the least efficient fuel cell system, the optimal efficiency point for the dual-stack fuel cell system and its corresponding power level can be determined. Aim to develop an energy management strategy for a multi-source hybrid system with the goal of operating the system with lower energy consumption while increasing the operating time of the fuel cell in its high-efficiency range. This strategy calculates the optimal output power of supercapacitors at the current State of Charge (SOC) in real-time and then controls the output power of the fuel cell system using a designed state machine. Simulation results indicate that this method provides more stable power fluctuations, a slight increase in hydrogen consumption compared to the ECM strategy, but an improvement in SOC. Furthermore, it results in lower hydrogen consumption compared to the State Machine Control (SMC) strategy, increased average efficiency, and a higher proportion of operation in the high-efficiency zone for the fuel cell system and its subsystems. This approach not only effectively identifies the high-efficiency zone of fuel cells but also enhances the system’s high-efficiency operating range, reduces hydrogen consumption, and improves system stability. Supporting information S1 Data. https://doi.org/10.1371/journal.pone.0305332.s001 (XLSX) TI - Research on state machine control optimization of double-stack fuel cell/super capacitor hybrid system JF - PLoS ONE DO - 10.1371/journal.pone.0305332 DA - 2024-11-27 UR - https://www.deepdyve.com/lp/public-library-of-science-plos-journal/research-on-state-machine-control-optimization-of-double-stack-fuel-NvpyPy4sX7 SP - e0305332 VL - 19 IS - 11 DP - DeepDyve ER -