Next Article in Journal
Mathematical Modeling and Optimization of Vanadium-Titanium Black Ceramic Solar Collectors
Next Article in Special Issue
Artificial Intelligence for the Prediction of the Thermal Performance of Evaporative Cooling Systems
Previous Article in Journal
Tidal Energy Flows between the Midriff Islands in the Gulf of California
Previous Article in Special Issue
Knowledge-Based Segmentation to Improve Accuracy and Explainability in Non-Technical Losses Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improved Metaheuristic Optimization Algorithm Applied to Hydrogen Fuel Cell and Photovoltaic Cell Parameter Extraction

1
Department of Power Mechanical Engineering, National Tsing Hua University, Hsinchu 30013, Taiwan
2
Undergraduate Program of Vehicle and Energy Engineering, National Taiwan Normal University, Taipei 106, Taiwan
*
Authors to whom correspondence should be addressed.
Energies 2021, 14(3), 619; https://doi.org/10.3390/en14030619
Submission received: 24 December 2020 / Revised: 20 January 2021 / Accepted: 21 January 2021 / Published: 26 January 2021
(This article belongs to the Special Issue Advances in Artificial Intelligence Applications)

Abstract

:
As carriers of green energy, proton exchange membrane fuel cells (PEMFCs) and photovoltaic (PV) cells are complex and nonlinear multivariate systems. For simulation analysis, optimization control, efficacy prediction, and fault diagnosis, it is crucial to rapidly and accurately establish reliability modules and extract parameters from the system modules. This study employed three types of particle swarm optimization (PSO) algorithms to find the optimal parameters of two energy models by minimizing the sum squared errors (SSE) and roots mean squared errors (RMSE). The three algorithms are inertia weight PSO, constriction PSO, and momentum PSO. The obtained calculation results of these three algorithms were compared with those obtained using algorithms from other relevant studies. This study revealed that the use of momentum PSO enables rapid convergence (under 30 convergence times) and the most accurate modeling and yields the most stable parameter extraction (SSE of PEMFC is 2.0656, RMSE of PV cells is 8.839 · 10−4). In summary, momentum PSO is the algorithm that is most suitable for system parameter identification with multiple dimensions and complex modules.

1. Introduction

Since the start of the Industrial Revolution, humans began to replace animals with vehicles and ships as their primary means of transportation. However, this rapid technological development was also accompanied by numerous negative effects. In current times, the combustion of diesel and gasoline has resulted in a sharp increase in the amount of carbon dioxide and particulates worldwide. The overexploitation of oil also caused global concerns regarding the resulting economic crises. It follows that there is an utmost priority to find an alternative and cleaner energy source. One such alternative is fuel cells: devices that directly convert chemical energy into electricity. Fuel and oxygen undergo oxidation and reduction in the cell to produce energy, discharging pure water as its only byproduct. Among the numerous types of fuel cells, attention has been drawn largely to proton exchange membrane fuel cells (PEMFCs) due to their high efficiency in energy conversion, quick response time, and capability to operate at room temperature [1]. PEMFCs are complex systems that possess characteristics of high non-linearity and strong coupling, among others. During operation, their system performance is affected by numerous factors, such as system and environmental temperatures, humidity, current density, and fuel intake pressure. The crux to advancing PEMFC technology lies in the conversion of electrochemical reactions into mathematical equations. Modeling can aid users to quickly understand how to improve on the system performance. More importantly, there is a need to understand how the properties of the PEMFC can be accurately assessed. Currently, there are numerous methods of PEMFC modeling. One such method is mechanical modeling, which involves differential equations or thermal and water management on the electrochemical reactions within PEMFCs [2], as well as electrochemical reaction properties within the cells. There is also artificial neural network [3,4] and support vector machine [5] modeling, which involves designating a fuel cell as a “black box” in model recognition. However, not only is this method costly and requires a substantial amount of experimental data, it also does not thoroughly clarify the working mechanism within the cell. It is unable to analyze certain system parameters and can only represents the variable relationship between input and output—and thus, poses a hindrance to the design of an optimal system. Another method is semiempirical modeling, a mathematical model based on the PEMFC reaction mechanism [6,7,8]: studies have indicated that these mathematical models constructed by deriving experiment results are highly stable and efficient.
Photovoltaic (PV) cells are a form of alternative energy possessing mature technologies and numerous applications. Their efficacy of use is determined by their current–voltage (I–V) characteristics; therefore, the design of PV cells requires a level of precision in its modeling. PV cells are typically modelled using two steps: by creating a mathematical modeling equation, and getting an accurate estimation of every parameter value. After the parameters of a PV cell under various working conditions are acquired during the modeling process, the maximum power of the cell can then be estimated. Presently, single diode (SD) models are one of the more common models applied to simulate the equivalent electronic circuit in a PV cell [9,10]. The parameters to be determined in this model can be calculated through the fitting of the experimental data in the cell.
Generally, methods used for estimating PEMFC and PV cell parameters can be categorized in two ways: deterministic and metaheuristic. Some examples of deterministic methods include the least square method [11], Lambert W functions [12], and iterative curve fitting [13]. An advantage of such methods lies in their speed in yielding estimation results, but one disadvantage is also that their calculated solutions are highly sensitive to initial solutions and often lead to local optima.
Metaheuristic algorithm is an advanced process which guides a subordinate heuris-tic by balancing exploitation and exploration. The former assures the searching of optimal solutions within the given region, and the latter makes sure the algorithm reach different promising regions of the search space. In addition, the metaheuristic algorithm is classi-fied into four subcategories, including evolutionary algorithms [14], physics-based algorithms [15], swarm-based algorithms [16], and bio-inspired algorithms [17]. These algorithms are widely applied to solve complex problems in various domains. For example, studies that are related to online learning [18], scheduling [19], multi-objective optimization [20], vehicle routing [21], medicine [22], data classification [23], energy system [24,25], etc. can find the footage of the usage. This study, on the other hand, selected swarm-based algorithms to optimize the energy systems. Swarm Intelligence (SI) is known as “the collective behavior of decentralized, self-organized systems, natural or artificial” [26]. Several types of swarm optimization algorithms have been recently proposed for use in solving problems regarding PV cell parameters. Several types of swarm optimization algorithms have been recently proposed for use in solving problems regarding PV cell parameters. In other literatures, some swarm optimization algorithms that have been employed to estimate PV cell parameters include particle swarm optimization (PSO) [27], artificial bee colony [28], and whale optimization algorithms [29]. Such algorithms typically yield more satisfactory estimation results than deterministic methods. In particular, PSO, which is based on birds’ foraging behaviors, is highly efficient in calculation. Although the original PSO has been applied to solve various optimization problems, it possesses the problem of possible premature convergence—a common characteristic found in other basic swarm intelligence algorithms. In this study, three types of improved PSO algorithm, namely inertia weight PSO, compressed PSO, and momentum PSO, were employed in PEMFC parameter optimization.
In the following section will introduce PEMFC and photovoltaic (PV) cell mathematical modules and the used heuristic algorithms. Three algorithms are employed to find the parameter of a benchmark of PEMFC and PV cell model by minimizing the sum of squared errors (SSE) and root means square errors (RMSE) between the measured and estimated voltage. After 30 independent runs, the algorithm are compared in terms of the fitness values.

2. Proton Exchange Membrane Modeling and Theory

Hydrogen fuel cells are currently a very well-received form of green power system. The system operates by feeding hydrogen gas into the anode before it is broken down using a catalyst. Thereafter, the electrons form a circuit through the external circuit connection load. Hydrogen ions then travel to the cathode through proton exchange membranes, forming water with oxygen ions. This mechanism allows for low-pollution emissions:
Anode   reaction :     2 H 2 4 e + 4 H +
Cathode   reaction :   4 e + 4 H + + O 2 2 H 2 O    
Chemical   reaction :   2 H 2 + O 2 2 H 2 O    
The theoretical voltage value for system modeling is calculated using the Nernst equation in accordance to the chemical energy and battery electrode potential. The Nernst equation was first proposed by the German chemist Walther Hermann Nernst [30] to determine the electromotive force in electrochemical cells. Under the standard condition with an environmental temperature of 298.15 K and atmospheric pressure of 1 atm, the standard electrode potential is 1.229 V, with F being a Faraday constant of 96,485 As/mol, and n representing the number of electrons per unit mole during the chemical reaction in a cell [31,32,33]:
E N e r n s t = 1.229 0.85 × 10 3 ( T f c 298.15 ) + 4.31 × 10 5 T f c [ ln ( P H 2 ) + 1 2 ln ( P O 2 ) ]
In the above equation, the value of 1.229 indicates the ideal electric potential energy under the standard condition, T represents cell temperature, and PH2 and PO2 each represents the effective partial pressure of hydrogen and oxygen, respectively. If H2 and O2 are the reactants, then the partial pressure can be calculated using Equation (5) and (6); however, if the reactants are H2 and the air, the effective partial pressure of PO2 must then be calculated with Equation (7) [31]:
P H 2 = R H a P H 2 O 2 { [ exp ( 1.635 T 1.334 I A ) R H a P H 2 O P a ] 1 1 }
P O 2 = R H c P H 2 O { [ exp ( 4.192 T 1.334 I A ) R H c P H 2 O P c ] 1 }
P O 2 = P c R H c P H 2 O ( 1 + 0.79 0.21 ) exp ( 0.291 T 0.832 I A )
The variables Pa and Pc represent the inlet pressure at the anode and cathode respectively, while RHa and RHc represent the relative humidity of the steam at the anode and cathode, respectively. Next, I represents the working current of the cell and A represents the effective area of the membrane. Lastly, PH2O indicates the saturation pressure of water vapor as a function of cell temperature T, as expressed in Equation (8):
log ( P H 2 O s a t ) = 2.95 × 10 2 × ( T 273.15 ) 9.18 × 10 5 × ( T 273.15 ) 2 + 144 × 10 7 × ( T 273.15 ) 3 2.18
One must note that voltage loss can result from cell polarization, leading to a loss in potential and the inability of cells to operate at the ideal voltage. Cell polarization can occur in three ways: activation polarization, Ohmic polarization, or concentration polarization [34]. The polarization of PEMFC shown in Figure 1.
Activation polarization (Vact) is a reaction that occurs on the electrode surface—a delay in electrochemical reaction causes potential drift, largely due to catalyst adsorption and desorption. The main factor that affects activation polarization is the reaction of the cathode. Vact can be calculated using a semiempirical equation, as shown below in Equation (9):
V a c t = [ ξ 1 + ξ 2 T + ξ 3 T ln ( C O 2 ) + ξ 4 T ln ( I ) ]
In the Butler-Volmer equation, which has its basis in kinetics, thermodynamics, and electrochemistry, the semiempirical coefficients ξ1 to ξ4 bears physical significance. Also, the concentration of dissolved oxygen catalyzed at the cathode (CO2) can be calculated using Henry’s law, as expressed in Equation (10):
C O 2 = P O 2 5.08 × 10 6 exp ( 498 T )
Ohmic polarization occurs when energy is expended as the current passes through components of the fuel cell. The key reason for this is internal resistance, which is generated through multiple aspects: firstly, the resistance of hydrogen ions during their transmission through the proton exchange membrane, the resistance during the transmission of electrons, and the resistance caused by gaps in the contact surfaces between cell components. In particular, the resistance encountered by hydrogen ions during their transmission through the proton exchange membrane is the primary cause of Ohmic polarization, as denoted in Equation (11):
V o h m = I ( R m + R c )
Rc is usually regarded as a constant due to the relatively narrow range of the PEMFC working temperature. In order to encompass all the major membrane parameters, Rm is expressed in the following universal equation:
R m = ρ m × l A
l denotes the thickness of the membrane and ρm represents the specific resistivity of hydrated proton flow, which can be expressed by an empirical formula such as Equation (13). In the equation, λ is an adjustable parameter, while 181.6 ⁄ ((λ − 0.634) is the specific resistance value with no current and at the cell temperature of 30 °C. Meanwhile, the term ‘exp’ in the denominator represents the temperature correction item when the cell is not 30 °C. Following the effective water content of the exchange membrane (λ), 3(i/A) is a correction item in the experiment that represents the effects of current density and cell temperature on the average water content of the membrane.
ρ m = 181.6 [ 1 + 0.03 ( I A ) + 0.062 ( T 303 ) 2 ( I A ) 2.5 ] [ λ 0.634 3 ( I A ) ] exp [ 4.18 ( T 303 T ) ]
Concentration polarization refers to the potential loss caused by the mass transfer limitation of the reactant. This is primarily due to a high current load—when a fuel cell generates electricity, the reactants near the electrode continues to be depleted. Following that, if the reactant transfer rate is not sufficiently high enough to meet the reaction efficiency requirement, the concentration of reactants in the reaction zone will decrease and lead to a potential loss. To express this decrease in concentration (Vcon), the limiting current density corresponding to the maximal power supply speed (Jmax) and the coefficient determined by the type and working condition of the cell (B) are defined in the empirical Equation (14) below:
V c o n = B ln ( 1 J J max ) = B ln ( 1 I A J max )
In general, the voltage loss in a low current density is caused by activation polarization. However, as the current density increases, ohmic polarization becomes the primary reason for voltage loss. It follows that when there is a high current density, the main cause for the loss will due to concentration polarization instead. The value of the fuel cell’s theoretical output voltage is the same as its open circuit voltage. When the system exports a current for external work, polarization occurs. The relational equation of the cell is expressed in Equation (15), where the voltage loss caused by the three polarization effects is subtracted from the theoretical stack voltage, before multiplying it by the number of cell stacks (ncell):
V c e l l = n c e l l × ( E N e r n s t V a c t V o h m i c V c o n )

Objective Function of the Optimized PEMFC Model Parameters

In Equations (4)–(15), the measurable operation parameters T, Pa, Pc, RHa, RHc, P H 2 ,   P O 2 , and ncell are determined by the operation environment, whereas the physical parameters ξ1, ξ2, ξ3, ξ4, λ, Rc, and B are unknown parameters. Taking in consideration that the unknown parameters X = (ξ1, ξ2, ξ3, ξ4, λ, Rc, B) will considerably affect the model calculation results, these unknown values must thus be estimated as accurately as possible to fulfill the actual I–V characteristic. Nevertheless, before X = (ξ1, ξ2, ξ3, ξ4, λ, Rc, B) is identified, the objective function needs to be defined. In this study, the objective function F(X) is to find a set of optimized parameter values so as to minimize the sum of squares for errors (SSEs) between the experimental voltage (Vexp) and the estimated voltage that was calculated using the aforementioned equations (Vmod), as expressed in the equation:
F ( X ) = minimize X [ L B , U B ] R + i = 1 g j = 1 N [ V exp , i j V mod , i j ( X ) ] 2
In Equation (16), g represents the number of data sets used for parameter extraction, N represents the number of experimental I–V data in each data set, and LB and UB are the lower and upper limits of the known model parameter X, respectively.

3. Photovoltaic Cell Modeling and Theory

Photovoltaic Cell converts light into energy due to the photovoltaic effect of semiconductors. The single-diode model represents the non-ideal single-exponential diode model [13]. The equation related to this model is relatively simple and can be expressed in the form of an equivalent circuit, as shown in Figure 2. This model displays a diode used as a shunt to divert the photogenerated current (Iph), and a resistor which is connected in series to the diode.
As shown in Figure 2, the SD PV cell model has a current source that is connected in a parallel with a diode [13,35]. Under light, an actual PV cell exhibits series and shunt resistance. The terminal current (It) for the PV cell in the model can be expressed as follows:
I t = I p h I d I s h
In the above equation, Iph represents the source of photoelectric/photogenerated current, Id represents the saturation current of the diode, and Ish represents the leakage current caused by the shunt resistance, Rsh. In this study, the Shockley diode equation was adopted to produce a suitable model, where the relational equation between the current (Id) and voltage (Vt) can be expressed as follows:
I d = I s d [ exp ( q ( V t + R s e r × I t ) n × k × T ) 1 ]
Consequently, Equation (19) can be formulated:
I t = I p h I s d [ exp ( q ( V t + R s e r × I t ) n × k × T ) 1 ] V t + R s e r × I t R s h
In Equation (19), Vt represents the terminal voltage, T represents the cell temperature, the charge of the electron is q = 1.602 × 10−9 (C), and the Boltzmann constant is k = 1.380 × 10−23 J/K. It can be seen that the nonlinear Equation (19) contains several unknown parameters—accordingly, the SD model has the following five parameters to be determined: photogenerated current (Iph), reverse saturation current (Isd), ideal factor for the saturated diode (n), series resistance (Rser), and shunt resistance (Rsh). These parameters can be estimated using the I–V equation of the PV cell. To accurately obtain the unknown parameters X = (Rser, Rsh, Iph, Isd, n), IV curve of solar cell uses root mean square errors (RMSEs) Equation (20) and is identified by minimizing the errors between the experimental voltage and the estimated voltage as the optimization principle.
R M S E ( X ) = i = 1 n ( V exp V mod ) 2 n

4. PSO Algorithm

As compared to other swarm intelligence algorithms, PSO stands out as one that is not only highly efficient, but also does not require much memory space in its calculation. The algorithm, which is based on birds’ foraging behaviors, adjusts the speed of particles to alter their positions and conducts multiple searches to identify their optimal positions [36]. These equations are expressed in Equations (21) and (22), and Figure 3 depicts a schematic diagram of the particle search. A basic PSO search uses the optimal positions identified through an individual particle’s and combined particle swarm’s current search results to determine the direction of the subsequent search target, in order to quickly attain a convergent solution:
v i k + 1 = v i k + c 1 × rand ( 0 , 1 ) × ( pbest i x i k ) + c 2 × rand ( 0 , 1 ) × ( gbest x i k )  
x i k + 1 = x i k + v i k + 1 ,   i = 1 , 2 , , N particle
In Equations (21) and (22), x i and v i represent the position and speed vector of the ith particle respectively, pbesti represents the previous optimal position of the ith particle, and gbest represents the optimal position of the particle swarm Np when it evolves to the kth generation. The parameters in Equation (21) also include cognitive (c1) and social (c2) learning rate, which are generally set as c1 = c2 = 2.0.
As a result of not being able to necessarily identify the global optimal solution through referencing a current local optimal solution, it can be easy to fall into the trap of being too preoccupied by the local optimal solution found. In 1998, Shi and Eberhart proposed an improved PSO algorithm [37], in which they introduced a weight parameter (w) to control the algorithm’s search speed, thereby reinforcing its local search ability. This improved algorithm is termed inertia weight PSO and has been verified to have a greater efficacy than a genetic algorithm. Weight (w) serves as a critical parameter in the algorithm’s search for the optimal solution—the value of which can be solved linearly by setting two weight values, wmax = 0.9 and wmin = 0.4, according to the number of iterations. The inertia weight PSO is expressed as follows:
v i k + 1 = ω v i k + c 1 × rand ( 0 , 1 ) × ( pbest i x i k ) + c 2 × rand ( 0 , 1 ) × ( gbest x i k )  
x i k + 1 = x i k + v i k + 1 ,   i = 1 , 2 , , N particle
w = w max w max w min k max × k  
Furthermore, in 1999, Clerc proposed a PSO algorithm with a constriction factor (K) [37] that can effectively dampen the speed of particles to enhance their local search capacity. The improved algorithm, referred to as constriction PSO, has been verified to significantly reinforce the particles’search capability in a local spatial setting. After running a stability analysis, the method proposes that K is a function of φ = c1 + c2. When compared to the previously mentioned inertia weight PSO that was proposed by Shi and Eberhart, the constriction PSO produces better solutions and reduces the need for manual inputs with regards to the weight parameter (w). Moreover, both the cognitive learning rate (c1 and c2) can be set to the same value of 2.05. Constriction PSO can be expressed in the following equations:
v i k + 1 = K × ( v i k + c 1 × rand ( 0 , 1 ) × ( pbest i x i k ) + c 2 × rand ( 0 , 1 ) × ( gbest x i k ) )  
x i k + 1 = x i k + v i k + 1 ,   i = 1 , 2 , , N particle
K = 2 | 2 φ φ 2 4 φ |
In the equations, φ = c1 + c2, and φ > 4. The momentum PSO [38], which has been improved upon in recent years, generates the following equations in accordance with the physical characteristics of particle flight:
v i k + 1 = β × Δ v i k + c 1 × rand ( 0 , 1 ) × ( pbest i x i k ) + c 2 × rand ( 0 , 1 ) × ( gbest x i k )
x i k + 1 = x i k + α × v i k + 1 , i = 1 , 2 , , N particle  
β is a positive momentum constant (0 ≤ β < 1) that controls the rate of change in particle speed vectors, while another momentum constant, α, is used to adjust the rate of change in particle positions. These aforementioned equations grant each particle, when searching for an optimal solution at different times, the capability to dynamically adjust itself. In this study, β is set to the value 0.1 and α is set to the value of 1.0. When the entire system is in a state of equilibrium (i.e., no better particle positions are detected; x i = p b e s t i and x i = g b e s t , (29) automatically fulfills Δ v i = 0 , yielding v i = 0 ). An empirical analysis confirmed this algorithm to have satisfactory calculation efficiency and problem-solving accuracy.

5. Results

5.1. Proton Exchange Membrane NedStackPS6 Parameter Optimization

The operating data of NedStackPS6 system can be found in Reference [31], which consists of 65 cells. The structural parameters and operation environment settings are presented in Table 1.
The cell voltage Vcell of the PEMFC model can be expressed as Equation (3), which contains parameters to be determined. This study employed three types of improved PSO algorithms to solve for these unknown parameters. Table 2 lists the scope of optimization searches of the parameters to be determined in the PEMFC model [31].

5.2. PSO Parameter Optimization Results in the NedStackPS6 Model

The number of particles for the three improved PSO algorithms was set as 50, and the number of iterations per run was set as 200. In total, 30 independent runs were conducted to analyze the robustness of the algorithms. The PEMFC model calculation results obtained were compared with calculation results from other studies. Figure 4a illustrates the I–V characteristic curve analysis results of the three algorithms used in the PEMFC model, which indicate that the experiment results were considerably consistent with the calculated results of the three algorithms. Figure 4b depicts the Power–V characteristic curve analysis results of the three algorithms, which show a clear increase in the output power following a rise in the stack current, and that the experiment results were also considerably consistent with calculated results of the algorithms. Convergent solutions are divided into two types, namely, Mean Best Solution and Best Solution. Figure 5a,b present a comparison of the algorithms regarding their convergence ability, in which it can be seen that momentum PSO significantly outperforms inertia weight PSO and constriction PSO.
Table 3 and Table 4 present a comparison of the experimental and calculated values of the terminal current, which reveals consistency between the experimental values and the calculated values using the three improved PSO algorithms. The optimized parameter values calculated using the momentum PSO algorithm, which demonstrated the most efficient calculation of the three algorithms, were further compared with values acquired from other studies. Table 4 lists the optimal parameter solutions and Sum of Squares for Error (SSE) values acquired using the momentum PSO algorithm and algorithms from [37,38]. The SSE value of the momentum PSO algorithm was 2.0656, lower than that of the algorithms from [34,39,40]—this demonstrates that the momentum PSO algorithm exhibited the most satisfactory SSE value out of all the listed algorithms.

5.3. Estimating the Parameters to Be Determined in the SD Model

The terminal current (It) if the SD model for a PV cell can be expressed as Equation (19), which contains parameters to be determined. Three improved PSO algorithms were adopted in this study to solve for these parameters. The photovoltaic (PV) cells operating data of can be found in Reference [35]. Table 5 indicates the scope of the optimization search for the parameters to be determined in the SD model with the mentioned algorithms [28,35,39,40,41].
The number of particles for the three improved PSO algorithms was set as 150, and the number of iterations per run was set as 200. In total, 30 independent runs were conducted to analyze the robustness of the algorithms. The SD model calculation results obtained were also compared with the calculation results from other studies. Figure 6a illustrates the I–V characteristic curve analysis results of the three algorithms used in the SD model, which indicate considerable consistency between the experiment results and the calculated results using all the algorithms. Figure 6b depicts the Power–V characteristic curve analysis results of the three algorithms, which show that the output power was maximized at 0.3101 W when the terminal voltage was 0.459 V, and that the experiment results and the calculated results using the three algorithms were also considerably consistent. Convergent solutions are divided into two types, namely, Mean Best Solution and Best Solution. Figure 7a,b present a comparison of the algorithms regarding their convergence ability, where it can be seen that the momentum PSO algorithm significantly outperformed the inertia weight PSO and constriction PSO algorithms.
Table 6 and Table 7 present a comparison between the experimental and calculated values of the terminal current, which also includes the calculation results from the chaotic whale optimization algorithm (Chaotic WOA) proposed by Oliva et al. [17] The table indicates that the calculated values of all the three improved PSO algorithms were consistent with the experimental values. The optimized parameter values calculated using the momentum PSO, which demonstrated the most efficient calculation of the three algorithms, were further compared with those acquired in [37]. Table 7 lists the optimal parameter solutions and root mean square errors (RMSEs) acquired using the momentum PSO algorithm and the algorithms from other relevant studies. The RMSE value of the momentum PSO was 8.8389 × 10−4, which is lower than those of the 8 algorithms listed in the other referenced studies, demonstrating that the momentum PSO exhibited the most satisfactory RMSE out of all the listed algorithms.
The effect of the temperature of a PV cell on its I–V and Power–V characteristic curves was further analyzed. For comparison, the PV cell temperature was set to 25 °C, 33 °C (used in the experiment), 50 °C, and 75 °C. The optimal parameters acquired using the momentum PSO algorithm were used for calculation. As shown in Figure 8a, when the cell temperature increased, the net current increased significantly after the terminal voltage on the I–V curve exceeded 0.4 V. Similarly, as depicted in Figure 8b, when the cell temperature increased, both the net power and maximum net power increased significantly after the net voltage on the Power–V curve exceeded 0.44 V.

6. Conclusions

In this study, three advanced PSO algorithms were adopted to improve upon the search efficiency of the original PSO and the accuracy of the optimal solution. These algorithms were applied in the NedStackPS6 PEMFC and SD models to optimize the undetermined energy system parameters. The results analysis revealed that the terminal current values calculated using all three improved algorithms were considerably consistent with the experimental values. Of the three, the momentum PSO algorithm in particular significantly outperformed the inertia weight PSO and constriction PSO algorithms in terms of calculation efficacy. The analysis also revealed that the momentum PSO algorithm yielded more favorable calculation results as compared to the Chaotic WOA. Additionally, the optimized parameter and objective function values obtained using the momentum PSO algorithm were also compared with those obtained from other relevant studies, which revealed that these calculated solutions obtained using the momentum PSO algorithm were once again more satisfactory than those acquired using the algorithms adopted in other studies. To sum up, the self-adjustment mechanism of momentum PSO can substantially reduce the calculation time and the extraction of the effective data. This study makes a benchmark of PEMFC and PV cell system which expect to make a further application to the multi energy carrier and the real-time dynamic loading.

Author Contributions

Conceptualization, C.-W.H.; Methodology, Y.-H.H.; Validation, E.-J.L.; Writing—original draft, E.-J.L.; Writing—review & editing, Y.-H.H.; Supervision, C.-W.H. All authors have read and agreed to the published version of the manuscript.

Funding

The article was supported by the Ministry of Science and Technology (MOST).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Larminie, J.; Dicks, A.; McDonald, M.S. Fuel Cell Systems Explained; John Wiley and Sons: Hoboken, NJ, USA, 2003; Volume 2. [Google Scholar]
  2. Esmaili, Q.; Nimvari, M.E.; Jouybari, N.F.; Chen, Y.S. Model based water management diagnosis in polymer electrolyte membrane fuel cell. Int. J. Hydrogen Energy 2020, 45, 15618–15629. [Google Scholar] [CrossRef]
  3. Bicer, Y.; Dincer, I.; Aydin, M. Maximizing performance of fuel cell using artificial neural network approach for smart grid applications. Energy 2016, 116, 1205–1217. [Google Scholar] [CrossRef]
  4. Yu, D.M.; Wang, Y.; Liu, H.A.; Jermsittiparsert, K.; Razmjooy, N. System identification of PEM fuel cells using an improved Elman neural network and a new hybrid optimization algorithm. Energy Rep. 2019, 5, 1365–1374. [Google Scholar] [CrossRef]
  5. Han, I.S.; Chung, C.B. Performance prediction and analysis of a PEM fuel cell operating on pure oxygen using data-driven models: A comparison of artificial neural network and support vector machine. Int. J. Hydrogen Energy 2016, 41, 10202–10211. [Google Scholar] [CrossRef]
  6. El-Fergany, A.A.; Hasanien, H.M.; Agwa, A.M. Semi-empirical PEM fuel cells model using whale optimization algorithm. Energy Convers. Manag. 2019, 201, 112197. [Google Scholar] [CrossRef]
  7. Cao, Y.; Li, Y.Q.; Zhang, G.; Jermsittiparsert, K.; Razmjooy, N. Experimental modeling of PEM fuel cells using a new improved seagull optimization algorithm. Energy Rep. 2019, 5, 1616–1625. [Google Scholar] [CrossRef]
  8. Lu, X.Q.; Wu, Y.B.; Lian, J.; Zhang, Y.Y.; Chen, C.; Wang, P.S.; Meng, L.Z. Energy management of hybrid electric vehicles: A review of energy optimization of fuel cell hybrid power system based on genetic algorithm. Energy Convers. Manag. 2020, 205, 112474. [Google Scholar] [CrossRef]
  9. Gao, X.K.; Cui, Y.; Hu, J.J.; Xu, G.Y.; Wang, Z.F.; Qu, J.H.; Wang, H. Parameter extraction of solar cell models using improved shuffled complex evolution algorithm. Energy Convers. Manag. 2018, 157, 460–479. [Google Scholar] [CrossRef]
  10. Lin, P.J.; Cheng, S.Y.; Yeh, W.C.; Chen, Z.C.; Wu, L.J. Parameters extraction of solar cell models using a modified simplified swarm optimization algorithm. Sol. Energy 2017, 144, 594–603. [Google Scholar] [CrossRef]
  11. Stein, N.E.; Hamelers, H.M.V.; van Straten, G.; Keesman, K.J. On-line detection of toxic components using a microbial fuel cell-based biosensor. J. Process Control 2012, 22, 1755–1761. [Google Scholar] [CrossRef]
  12. Jain, A.; Kapoor, A. Exact analytical solutions of the parameters of real solar cells using Lambert W-function. Sol. Energy Mater. Sol. Cells 2004, 81, 269–277. [Google Scholar] [CrossRef]
  13. Hurnada, A.M.; Hojabri, M.; Mekhilef, S.; Hamada, H.M. Solar cell parameters extraction based on single and double-diode models: A review. Renew. Sustain. Energy Rev. 2016, 56, 494–509. [Google Scholar] [CrossRef] [Green Version]
  14. Whitley, D.; Rana, S.; Dzubera, J.; Mathias, K.E. Evaluating evolutionary algorithms. Artif. Intell. 1996, 85, 245–276. [Google Scholar] [CrossRef] [Green Version]
  15. Biswas, A.; Mishra, K.; Tiwari, S.; Misra, A. Physics-inspired optimization algorithms: A survey. J. Optim. 2013, 2013. [Google Scholar] [CrossRef]
  16. Kennedy, J. Swarm intelligence. In Handbook of Nature-Inspired and Innovative Computing; Springer: Cham, Switzerland, 2006; pp. 187–219. [Google Scholar]
  17. Binitha, S.; Sathya, S.S. A survey of bio inspired optimization algorithms. Int. J. Soft Comput. Eng. 2012, 2, 137–151. [Google Scholar]
  18. Zhao, H.T.; Zhang, C.S. An online-learning-based evolutionary many-objective algorithm. Inf. Sci. 2020, 509, 1–21. [Google Scholar] [CrossRef]
  19. Dulebenets, M.A. An Adaptive island evolutionary algorithm for the berth scheduling problem. Memetic Comput. 2020, 12, 51–72. [Google Scholar] [CrossRef]
  20. Liu, Z.Z.; Wang, Y.; Huang, P.Q. AnD: A many-objective evolutionary algorithm with angle-based selection and shift-based density estimation. Inf. Sci. 2020, 509, 400–419. [Google Scholar] [CrossRef] [Green Version]
  21. Pasha, J.; Dulebenets, M.A.; Kavoosi, M.; Abioye, O.F.; Wang, H.; Guo, W.H. An optimization model and solution algorithms for the vehicle routing problem with a “factory-in-a-box”. IEEE Access 2020, 8, 134743–134763. [Google Scholar] [CrossRef]
  22. D’Angelo, G.; Pilla, R.; Tascini, C.; Rampone, S. A proposal for distinguishing between bacterial and viral meningitis using genetic programming and decision trees. Soft Comput. 2019, 23, 11775–11791. [Google Scholar] [CrossRef]
  23. Panda, N.; Majhi, S.K. How effective is the salp swarm algorithm in data classification. In Computational Intelligence in Pattern Recognition; Springer: Singapore, 2020; pp. 579–588. [Google Scholar]
  24. Chen, W.H.; Chu, Y.S.; Liu, J.L.; Chang, J.S. Thermal degradation of carbohydrates, proteins and lipids in microalgae analyzed by evolutionary computation. Energy Convers. Manag. 2018, 160, 209–219. [Google Scholar] [CrossRef]
  25. Shen, W.-J.; Li, H.-X. Multi-scale parameter identification of lithium-ion battery electric models using a PSO-LM algorithm. Energies 2017, 10, 432. [Google Scholar] [CrossRef] [Green Version]
  26. Beni, G.; Wang, J. Swarm intelligence in cellular robotic systems. In Robots and Biological Systems: Towards a New Bionics? Springer: Berlin/Heidelberg, Germany, 1993; pp. 703–712. [Google Scholar]
  27. Clerc, M. The swarm and the queen: Towards a deterministic and adaptive particle swarm optimization. In Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406), Washington, DC, USA, 6–9 July 1999; pp. 1951–1957. [Google Scholar]
  28. Askarzadeh, A.; Rezazadeh, A. Artificial bee swarm optimization algorithm for parameters identification of solar cell models. Appl. Energy 2013, 102, 943–949. [Google Scholar] [CrossRef]
  29. Oliv, D.; El Aziz, M.A.; Hassanien, A.E. Parameter estimation of photovoltaic cells using an improved chaotic whale optimi-zation algorithm. Appl. Energy 2017, 200, 141–154. [Google Scholar] [CrossRef]
  30. Amphlett, J.C.; Baumert, R.M.; Mann, R.F.; Peppley, B.A.; Roberge, P.R.; Harris, T.J. Performance modeling of the Ballard Mark IV solid polymer electrolyte fuel cell: I. Mechanistic model development. J. Electrochem. Soc. 1995, 142, 1. [Google Scholar] [CrossRef]
  31. Li, J.; Gao, X.K.; Cui, Y.; Hu, J.J.; Xu, G.Y.; Zhang, Z.P. Accurate, efficient and reliable parameter extraction of PEM fuel cells using shuffled multi-simplexes search algorithm. Energy Convers. Manag. 2020, 206, 112501. [Google Scholar] [CrossRef]
  32. Serra, P.M.D.; Espirito-Santo, A.; Magrinho, M. A steady-state electrical model of a microbial fuel cell through multiple-cycle polarization curves. Renew. Sustain. Energy Rev. 2020, 117, 109439. [Google Scholar] [CrossRef]
  33. Priya, K.; Sathishkumar, K.; Rajasekar, N. A comprehensive review on parameter estimation techniques for proton exchange membrane fuel cell modelling. Renew. Sustain. Energy Rev. 2018, 93, 121–144. [Google Scholar] [CrossRef]
  34. Kandidayeni, M.; Macias, A.; Khalatbarisoltani, A.; Boulon, L.; Kelouwani, S. Benchmark of proton exchange membrane fuel cell parameters extraction with metaheuristic optimization algorithms. Energy 2019, 183, 912–925. [Google Scholar] [CrossRef]
  35. Chan, D.S.; Phang, J.C. Analytical methods for the extraction of solar-cell single-and double-diode model parameters from IV characteristics. IEEE Trans. Electron Devices 1987, 34, 286–293. [Google Scholar] [CrossRef]
  36. Poli, R.; Kennedy, J.; Blackwell, T. Particle swarm optimization. Swarm Intell. 2007, 1, 33–57. [Google Scholar] [CrossRef]
  37. Eberhart, R.C.; Shi, Y. Comparing inertia weights and constriction factors in particle swarm optimization. In Proceedings of the 2000 Congress on Evolutionary Computation. CEC00 (Cat. No. 00TH8512), La Jolla, CA, USA, 16–19 July 2000; pp. 84–88. [Google Scholar]
  38. Liu, J.L.; Lin, J.H. Evolutionary computation of unconstrained and constrained problems using a novel momentum-type particle swarm optimization. Eng. Optim. 2007, 39, 287–305. [Google Scholar] [CrossRef]
  39. El-Fergany, A.A. Extracting optimal parameters of PEM fuel cells using Salp swarm optimizer. Renew. Energy 2018, 119, 641–648. [Google Scholar] [CrossRef]
  40. El-Fergany, A.A. Electrical characterisation of proton exchange membrane fuel cells stack using grasshopper optimiser. IET Renew. Power Gener. 2018, 12, 9–17. [Google Scholar] [CrossRef]
  41. Pourmousa, N.; Ebrahimi, S.M.; Malekzadeh, M.; Alizadeh, M. Parameter estimation of photovoltaic cells using improved Lozi map based chaotic optimization algorithm. Sol. Energy 2019, 180, 180–191. [Google Scholar] [CrossRef]
  42. Tong, N.T.; Pora, W. A parameter extraction technique exploiting intrinsic properties of solar cells. Appl. Energy 2016, 176, 104–115. [Google Scholar] [CrossRef] [Green Version]
  43. Gong, W.Y.; Cai, Z.H. Parameter extraction of solar cell models using repaired adaptive differential evolution. Sol. Energy 2013, 94, 209–220. [Google Scholar] [CrossRef]
  44. AlHajri, M.F.; El-Naggar, K.M.; AlRashidi, M.R.; Al-Othman, A.K. Optimal extraction of solar cell parameters using pattern search. Renew. Energy 2012, 44, 238–245. [Google Scholar] [CrossRef]
  45. El-Naggar, K.M.; AlRashidi, M.R.; AlHajri, M.F.; Al-Othrnan, A.K. Simulated Annealing algorithm for photovoltaic parameters identification. Sol. Energy 2012, 86, 266–274. [Google Scholar] [CrossRef]
Figure 1. Fuel cell polarization curve.
Figure 1. Fuel cell polarization curve.
Energies 14 00619 g001
Figure 2. SD PV cell model.
Figure 2. SD PV cell model.
Energies 14 00619 g002
Figure 3. Particles changing positions through adjustment of their speed.
Figure 3. Particles changing positions through adjustment of their speed.
Energies 14 00619 g003
Figure 4. Calculation results of the PEMFC model: (a) I–V characteristic; (b) Power–V characteristic.
Figure 4. Calculation results of the PEMFC model: (a) I–V characteristic; (b) Power–V characteristic.
Energies 14 00619 g004
Figure 5. Convergent solutions: (a) Mean best solution convergence; (b) best solution convergence of the three improved PSO algorithms in the PEMFC model.
Figure 5. Convergent solutions: (a) Mean best solution convergence; (b) best solution convergence of the three improved PSO algorithms in the PEMFC model.
Energies 14 00619 g005
Figure 6. Curve analysis results of the three algorithms: (a) I–V characteristic; (b) Power–V characteristic calculation results of the SD model.
Figure 6. Curve analysis results of the three algorithms: (a) I–V characteristic; (b) Power–V characteristic calculation results of the SD model.
Energies 14 00619 g006
Figure 7. Convergent solutions of the three improved PSO algorithms in the SD model: (a) Mean best solution convergence; (b) best solution convergence.
Figure 7. Convergent solutions of the three improved PSO algorithms in the SD model: (a) Mean best solution convergence; (b) best solution convergence.
Energies 14 00619 g007
Figure 8. Effect of cell temperature on: (a) I–V characteristics; (b) Power-V characteristics in the SD model.
Figure 8. Effect of cell temperature on: (a) I–V characteristics; (b) Power-V characteristics in the SD model.
Energies 14 00619 g008
Table 1. Structural parameters and operation environment setting of the NedStack PS6 model.
Table 1. Structural parameters and operation environment setting of the NedStack PS6 model.
Fuel Cell Stack (NedStackPS6)
Condition N c e l l A   ( cm 2 ) l   ( μ m ) J m a x ( A cm 2 ) P H 2 ( atm ) P O 2 ( atm )
Value65240178511
Table 2. Search scope of the parameter to be determined in the PEMFC model.
Table 2. Search scope of the parameter to be determined in the PEMFC model.
Parameterξ1ξ2 × 10−3ξ3 × 10−5ξ4 × 10−4λRc × 10−4B(V)
Upper Bound−0.853259.80.9542480.5
Lower Bound−1.1996913.6−2.601010.0136
Table 3. Calculated and experimental values of cells stack voltage.
Table 3. Calculated and experimental values of cells stack voltage.
Experimental DataInertia Weight PSOConstriction PSOMomentum-Type PSO
It (V)Vt (A)Computed Vt (V)
2.250061.640062.370462.355262.3558
6.750059.570059.791159.781159.7818
9.000058.940059.057159.049759.0504
15.750057.540057.497557.497657.4982
20.250056.800056.714056.718956.7195
24.750056.130056.036056.045656.0462
31.500055.230055.142155.158455.1589
36.000054.660054.601254.621754.6222
45.000053.610053.605553.634053.6345
51.750052.860052.910852.944852.9453
67.500051.910051.395051.440051.4403
72.000051.220050.979751.027351.0277
90.000049.660049.362349.418149.4184
99.000049.000048.568548.626848.6270
105.800048.150047.971348.030648.0308
110.300047.520047.576347.636047.6361
117.000047.100046.987747.047247.0473
126.000046.480046.193846.252146.2521
135.000045.660045.394045.449445.4494
141.800044.850044.784344.836544.8364
150.800044.240043.968244.014744.0146
162.000042.450042.935342.972342.9721
171.000041.660042.089042.116042.1157
182.300040.680041.002741.014141.0137
189.000040.090040.344640.345140.3446
195.800039.510039.665139.653039.6526
204.800038.730038.746338.715438.7149
211.500038.150038.047038.000237.9996
220.500037.380037.085437.014637.0139
Table 4. Comparison between the momentum PSO algorithm and algorithms used in other studies regarding the optimal solutions of parameters to be determined in the PEMFC model.
Table 4. Comparison between the momentum PSO algorithm and algorithms used in other studies regarding the optimal solutions of parameters to be determined in the PEMFC model.
Parameterξ1ξ2 × 10−3ξ3 × 10−5ξ4 × 10−4λRc × 10−4B(V)SSE
Momentum-type PSO−1.19654.26689.8000−9.540012.57431.00000.01362.0656
Proposed SMS [31]−0.95252.90865.1762−9.540012.57431.00000.01362.0656
Constriction PSO−1.01043.53328.2481−9.540012.57331.00160.01362.0662
SFLA [34]−1.02313.47607.7883−9.540015.03231.62000.01362.1671
SSO [39]−0.97193.34877.9111−9.543513.00001.00000.05342.1807
Inertia Weight PSO−0.99473.30695.2445−9.540313.23211.00000.08292.2171
GA [40]−1.19973.41723.6000−9.540013.00001.37600.03592.4089
Table 5. Search scope of parameters to be determined in the SD model.
Table 5. Search scope of parameters to be determined in the SD model.
ParameterRser (Ω)Rsh (Ω)Iph (A)Isd (μA)N
Upper Bound0.5100112
Lower Bound00001
Table 6. Calculated and experimental terminal current values of three improved PSO algorithms in the SD model.
Table 6. Calculated and experimental terminal current values of three improved PSO algorithms in the SD model.
Experimental DataInertia Weight PSOConstriction PSOMomentum-
Type PSO
Vt (V)It (A)Computed It (A)
−0.20570.7640.76420.76430.7641
−0.12910.7620.76270.76280.7627
−0.05880.76050.76140.76140.7614
0.00570.76050.76020.76020.7602
0.06460.760.7590.7590.7591
0.11850.7590.7580.7580.7580
0.16780.7570.7570.7570.7571
0.21320.7570.7560.7560.7561
0.25450.75550.7550.75490.7551
0.29240.7540.75360.75350.7537
0.32690.75050.75130.75120.7514
0.35850.74650.74730.74720.7474
0.38730.73850.74010.74010.7401
0.41370.7280.72750.72750.7274
0.43730.70650.70720.70720.7070
0.4590.67550.67550.67560.6753
0.47840.6320.6310.63110.6307
0.4960.5730.5720.57210.5719
0.51190.4990.49950.49960.4996
0.52650.4130.41340.41340.4136
0.53980.31650.31720.31720.3175
0.55210.2120.21190.21180.2122
0.56330.10350.10220.10210.1023
0.5736−0.01−0.0083−0.0083−0.0087
0.5833−0.123−0.1243−0.1243−0.1255
0.59−0.21−0.2065−0.2063−0.2085
Table 7. Comparison between the momentum PSO and algorithm used in other studies on the optimal solutions of parameter determined in the SD model.
Table 7. Comparison between the momentum PSO and algorithm used in other studies on the optimal solutions of parameter determined in the SD model.
ParameterRser (Ω)Rsh (Ω)Iph (A)Isd (μA)nRMSE
Momentum-type PSO0.037151.16490.76080.28241.46918.839 × 10−4
Inertia Weight PSO0.037151.02480.76080.28011.46828.849 × 10−4
Constriction PSO0.037349.8080.76080.26651.46338.971 × 10−4
CWOA [17]0.036453.97870.76080.32391.48129.860 × 10−4
ABC [28]0.036453.64330.76080.32511.48179.862 × 10−4
ILCOA [41]0.036453.71870.76080.32301.48119.860 × 10−4
BMO [42]0.036453.87160.76080.32481.48189.861 × 10−4
STBLO [42]0.363853.71870.76080.32301.48119.860 × 10−4
DE [43]0.036453.71850.76080.32301.48062.342 × 10−3
PS [44]0.031364.10260.76170.99801.60001.494 × 10−2
SA [45]0.034543.10340.76200.47981.51721.900 × 10−2
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liu, E.-J.; Hung, Y.-H.; Hong, C.-W. Improved Metaheuristic Optimization Algorithm Applied to Hydrogen Fuel Cell and Photovoltaic Cell Parameter Extraction. Energies 2021, 14, 619. https://doi.org/10.3390/en14030619

AMA Style

Liu E-J, Hung Y-H, Hong C-W. Improved Metaheuristic Optimization Algorithm Applied to Hydrogen Fuel Cell and Photovoltaic Cell Parameter Extraction. Energies. 2021; 14(3):619. https://doi.org/10.3390/en14030619

Chicago/Turabian Style

Liu, En-Jui, Yi-Hsuan Hung, and Che-Wun Hong. 2021. "Improved Metaheuristic Optimization Algorithm Applied to Hydrogen Fuel Cell and Photovoltaic Cell Parameter Extraction" Energies 14, no. 3: 619. https://doi.org/10.3390/en14030619

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop