Introduction

The depletion of fossil fuels, caused by the increasing consumption of energy, as well as increased awareness of environmental conservation, has led individuals and governments to focus on alternative energy sources. As a result, researchers have presented significant interest in exploring other energy sources that are more environmentally friendly, such as wind, solar and wave energy1,2. These sources have gained considerable attention because of their potential to mitigate the negative impacts of traditional energy production methods on the environment. Therefore, various studies and investigations have been conducted to assess the feasibility and efficiency of these greener energy sources. The main obstacles associated with the sources mentioned are their unpredictable characteristics and dependence on climatic factors. However, these constraints have clearly highlighted the crucial need for energy storage. Hydrogen, a topic of current interest, has the potential to serve as an energy storage medium to effectively store renewable energy until it can be converted to electricity by an energy conversion device3. A fuel cell (FC) is a very important technology for converting energy, usually generating electricity, by employing a chemical reaction between hydrogen as well as oxygen. The PEMFC has become popular in many fields, including automotive, on-site generation, as well as portable electronic devices, because of its advantages, which include high power density, low operating temperature, and solid electrolyte4.

Enhancing the efficiency as well as performance of PEMFCs has become an important area of study. The mechanical model incorporates the internal dynamics of cells through mass and heat conservation laws, alongside chemical reaction equations, whereas the empirical model represents the external properties of cells using empirical formulas derived from experimentation, which are less complex than those of the mechanical model. The precise identification of the model’s parameters remains to be a considerable challenge5,6. This paper utilises a semi-empirical model that integrates a mechanism model with empirical components, presenting a voltage model that thoroughly addresses active polarisation loss, ohmic polarisation loss, and concentration polarisation loss7,8. A precise mathematical model is essential to accurately represent the actual behavior of the system under various operating scenarios9,10. Identifying the optimal values of the unknown parameters results in a mathematical model that exhibits a high level of precision11. As a result of the related non-linearity of the FC, the modeling procedure becomes complex due to the presence of certain unknown parameters in the manufacturer’s datasheet12.

In recent decades, extensive research has been done on estimating unknown parameters in the literature, categorising studies into two primary areas, such as MH as well as deterministic optimization techniques. Deterministic optimization methods, including derivative-based optimization as well as linear programming, depend on precise mathematical principles. MH and deterministic methods offer unique advantages that depend on the specific characteristics of the problem at hand13,14. Deterministic techniques provide efficient and accurate solutions for small-scale and linear problems, ensuring optimal results. These methods may be insufficient for complex problems characterised by multiple variables and non-linear relationships, as they are prone to convergence on suboptimal solutions. The MH optimization algorithms have gained significant popularity for addressing various optimisation problems due to their flexibility, derivation-free approach, and simplicity15,16,17. The complicated nature of the PEMFC parameter identification challenge has resulted in the inadequate performance of conventional search strategies in accurately determining the best possible solutions18,19. In addition, various other MHA have been implemented to improve both the accuracy and the effectiveness of the model, including Dimension Learning-based Modified Grey Wolf Optimizer (DLHMGWO)5, Improved Heap-based optimizer (IHBO)20, Lightning Search Algorithm (LSA)21, Artificial Hummingbird Algorithm (AHA)22, Repairable Grey Wolf Optimization (RGWO)23, Shark Smell Optimizer (ShSO)24, Manta Rays Foraging Optimizer (MRFO)25, Flower Grey INFO Naked (FGIN)26, Hybrid Vortex Search Differential Evolution (VSDE)27, Honey Badger Optimization Algorithm (HBA)28, Improved Artificial Bee Colony (IABC)29, Imperialist Competitive Algorithm (ICA)30, Flower Pollination Algorithm (FPA)31, Pathfinder Algorithm (PFA)32, Transient Search Optimization (TSO)33, Dandelion Optimize (DO)34, Hunger Games Search Marine Predator Algorithm (HGS-MPA)35, Aquila Optimizer Arithmetic Algorithm Optimization (AOAAO)36, Parrot Optimizer (PO)37, Hybrid Artificial Bee Colony Differential Evolution Optimizer (ABC-DE)38, Chaotically based-bonobo optimizer (CBO)39, Enhanced Salp Swarm Algorithm (ESSA)40, Honey Badger Optimizer (HBO)9, Autonomous Groups Particle Swarm Optimization (AGPSO)8, Gorilla Troops Optimizer (GTO)41, Enhanced Walrus Optimization (EWO)42, Improved Artificial Ecosystem Optimizer (IAEO)43, Combined Owl Search Algorithm (COSA)44, War Strategy Optimization (WSO)45, Improved Fish Migration Optimizer (IFMO)46, Ali Baba and forty thieves (ABFT)47, Puma Optimizer (PuO)48, Kepler Red Meerkat Grey (KRMG)49 and so on. Also, a comparative literature table has been included in order to clarify existing research on PEMFC parameter estimation, summarizing essential elements such as optimization algorithm, PEMFC stack utilization, objective functions, and the use of statistical analysis is given in Table 1.

Table 1 Overview of existing works on PEMFC parameter estimation.

Now, there is the shortage of a dependable and efficient method for getting an accurate estimating procedure that can serve as a unique reference for research objectives. In addition, the no-free lunch (NLF) theorem motivates researchers to create novel optimization techniques or enhance/hybrid existing ones to address the real-world challenges across several domains50. Thus, a research gap needs to be addressed by determining the most appropriate algorithm for PEMFC and exploring other algorithms that have not been utilized in the PEMFC area. These MHAs provide several approaches to optimize the parameters of PEMFC systems and enhance their performance. However, it is possible for them to get trapped in local minima while performing the search, resulting in a gradual decline in their efficiency with every repetition. This paper presents a novel hybrid optimization (GPC) algorithm to optimally estimate the unknown parameters of PEMFC. Furthermore, Eleven MH optimization algorithms consisting of the Zebra Optimization Algorithm (ZOA)51, sinh cosh optimizer (SCHO)52, Propagation Search Algorithm (PSA)53, SABO54, Young’s Double-Slit Experiment (YDSE)55, exponential distribution optimizer (EDO)56, RIME57, Chernobyl Disaster Optimizer (CDO)58, Coati Optimization Algorithm (COA)59, Harris Hawks Optimizer (HHO)60, and GWO61,62, and the results obtained through these eleven algorithms are also compared with GPC algorithm. To further validate the GPC algorithm, it has been tested on CEC 2019 benchmark challenges63,64 and compared to some of the well-known and recently presented algorithms including, BWOA65, CDO58, COA59, flower pollination algorithm (FPA)66, HHO60, YDSE55, ZOA51, ARNMRA67, FROBLGJO68, as well as jDE10069.

Fig. 1
figure 1

Graphical outline of the article.

This paper’s main contributions can be summarized as follows.

  • To precisely estimate the parameters of the PEMFC, a hybridized algorithm known as the Grey Particle Cuckoo (GPC) algorithm has been presented and validated.

  • The GPC algorithm has been tested with CEC 2019 challenges and compared to BWOA65, CDO58, COA59, FPA66, HHO60, YDSE55, ZOA51, ARNMRA67, FROBLGJO68, and jDE10069. Also, non-parametric test (Friedman and Wilcoxon signed rank test) analysis, as well as the box plot, have been conducted to verify the precision as well as reliability of the GPC algorithm in comparison to existing MH algorithms.

  • Four different commercial FC stacks (NedStack PS6, Ballard Mark V, Temasek, as well as the BCS 500 W PEMFC model) have been evaluated to assess the accuracy as well as reliability of the GPC algorithm.

  • Comparing the PEMFC results obtained from the proposed GPC algorithm with other MH algorithms (ZOA51, SCHO52, PSA53, SABO54, YDSE55, EDO56, RIME57, CDO58, COA59, HHO60, and GWO61), it was evident that the GPC algorithm performed significantly.

  • In addition, the GPC algorithm is applied for an optimal analysis of the PEMFC stacks with changing pressure (\(P_{H2}\) / \(P_{O2}\)) and temperature levels.

  • Statistical studies such as SSE, IAE, MBE, MAE, MSE and RMSE, as well as nonparametric test (Friedman and Wilcoxon signed rank test) have been performed to demonstrate the superiority of the GPC algorithm compared to the other eleven MH optimization algorithms.

The structure of the paper is as follows. Section II outlines the mathematical concept of a PEMFC and the optimization challenge of identifying the unknown parameters of a PEMFC. The details of the proposed approach are presented in Section III. Section IV presents the experimental results as well as a related discussion. The conclusion and future scope of the presented work are given in Section V. The graphical outline of the article is given in Fig. 1.

Mathematical modeling of PEMFC

A PEMFC is made up of two electrodes, an anode as well as a cathode, with a thin solid membrane that conducts protons placed between them70,71, as illustrated in Fig. 2. In addition, Fig. 2 illustrates the reactions that take place at two electrodes. In the catalyst layer of the cathode, the oxygen reacts with the electrons and protons, resulting in the production of water and electricity. The overall reaction is given below:

$$\begin{aligned} H_{2}+\frac{1}{2}O_{_{2}}\overset{pt}{\rightarrow }H_{2}O+electricity+heat \end{aligned}$$
(1)

The electrochemical model is utilized to mathematically show the behaviour of the electrolyzer. Also, the PEMFC equivalent circuit diagram is presented in Fig. 3. The mathematical representation for the output voltage (\(V_{STAC}\)) of the stack, as shown in Equation 2, consists of many cells connected in series (\(N_{num}\))72,73.

$$\begin{aligned} {{V}_{STAC}}={{N}_{num}}\left[ {{E}_{NERS}}-{{V}_{ACTI}}-{{V}_{OHM}}-{{V}_{CONCENT}} \right] \end{aligned}$$
(2)

Where, reversible open circuit voltage (\({E}_{NERS}\)), activation voltage loss (\({V}_{ACTI}\)) due to the activation of both the anode and cathode, concentration over-potential (\({V}_{CONCENT}\)), and ohmic voltage loss (\({V}_{OHM}\)). The \({E}_{NERS}\) is determined using the Nernst equation, as shown in Eq. (3)29.

$$\begin{aligned} {{E}_{ner}}=1.229-8.5*{{10}^{-04}}\left[ {T_{ot}}-298.15 \right] + 4.3085*{{10}^{-05}}* {T_{ot}}\left[ \ln \left( P_{H2}+\sqrt{P_{O2}} \right) \right] \end{aligned}$$
(3)

where the cell operating temperature (\({T_{ot}}\)), partial pressure (atm) of hydrogen and oxygen (\(P_{H2}\) as well as \(P_{O2}\)), can be calculated using Eq. (4), as well as (5)74,75.

$$\begin{aligned} & P_{H2}=0.5\times {RH}_a\times P_{{H_2}O}\left[ \left( exp\left( \frac{1.635\left( \frac{I_{oc}}{A}\right) }{{T_{ot}}^{1.334}}\right) \times \frac{{RH}_a\times P_{{H_2}O}}{P^a}\right) ^{-1} -1\right] \end{aligned}$$
(4)
$$\begin{aligned} & P_{O2}={RH}_c\times P_{{H_2}O}\left[ \left( exp\left( \frac{4.192\left( \frac{I_{oc}}{A}\right) }{{T_{ot}}^{1.334}}\right) \times \frac{{RH}_a\times P_{{H_2}O}}{P^c}\right) ^{-1}-1\right] -1 \end{aligned}$$
(5)

Where, the inlet pressure of the cathode as well as the anode (\(P^c\) and \(P^a\)), saturation pressure of water vapor (\(P_{{H_2}O}\)), operating current (\(I_{oc}\)), and PEM area (A).

The \(V_{ACTI}\), which is the \(2^{nd}\) term on the right side of Eq. (2), can be computed utilizing the Eq. (6)71.

$$\begin{aligned} V_{ACTI}=-\left[ \xi _a+\xi _b*T_{ot}+\xi _c*T_{ot}*l\ n\left( C_{O2}\right) + \xi _d*T_{ot}*l\ n\left( I_c\right) \right] \end{aligned}$$
(6)

Where, semi-empirical coefficients (\(\xi _a\), \(\xi _b\), \(\xi _c\), and \(\xi _d\)), the concentration of oxygen (\(C_{O2}\)) and is defined as Eq. (7)40,76.

$$\begin{aligned} C_{O2}= \frac{P_{O2}}{5.08\times {10}^6\times exp(\frac{-498}{T_{ot}})} \end{aligned}$$
(7)

The \(V_{OHM}\), which is the term \(3^{rd}\) on the right side of Eq. (2), can be mathematically represented in Eq. (8)77,78.

$$\begin{aligned} V_{OHM}=I_{oc}\left[ R_{memb}+R_{con}\right] \end{aligned}$$
(8)

Where, the resistance of the connections (\(R_{con}\)), as well as the membrane resistance (\(R_{memb}\)), that can be obtained by utilizing Eq. (9).

$$\begin{aligned} R_{memb}= \rho _{memb}\left( \frac{l_{thic}}{A} \right) \end{aligned}$$
(9)
Fig. 2
figure 2

PEMFC model.

Fig. 3
figure 3

PEMFC equivalent circuit.

where, the thickness of the membrane (\(l_{thic}\)), as well as the specific resistivity of the membrane (\(\rho _{memb}\)), can be calculated using Eq. (10).

$$\begin{aligned} \rho _{memb}= \frac{\left( 181.6000\left[ 1+ 0.0620\left( \frac{T_{ot}}{303} \right) ^{2}*J^{2.500}+0.0300* J ^{2} \right] \right) }{\left( \left[ \lambda - 3.0000*J-0.6340 ) \right] exp\left( 4.1800\left( \frac{T_{ot}-303}{T_{ot}} \right) \right) \right) } \end{aligned}$$
(10)

Where, actual current density (J), and parameter \(\lambda\) are adjustable and are associated with the water content of the membrane.

The drop in concentration voltage (\(V_{CONCENT}\)) is caused by changes in the concentration of reactants on the electrode surface and can be mathematically expressed in Eq. (11):

$$\begin{aligned} V_{CONCENT}= -\beta *ln\left[ 1-\left( \frac{J}{J_{max}} \right) \right] \end{aligned}$$
(11)

Where, the symbol \(\beta\) serves to represent the semi-empirical coefficient.

The main objective of our investigation is to determine the most optimal values for the parameters (\(\xi _a\), \(\xi _b\), \(\xi _c\), \(\xi _d\), \(R_{con}\), \(\lambda\) and \(\beta\)) through the application of the GPC algorithm. This helps ensure that the output voltage of the model aligns with the experimental data.

Objective Function

The Eqs. (211), present a set of equations where the operation parameters \(T_{ot}\), \(RH_c\), \(P^c\), \(RH_a\), \(P_{H2}\), \(P^a\), as well as \(P_{O2}\) are measurable and their values depend on the specific operating conditions. Additionally, the physical parameters (\(\xi _a\), \(\xi _b\), \(\xi _c\), \(\xi _d\), \(R_{con}\), \(\lambda\), and \(\beta\)) are unknown. Due to the significant impact of the unknown parameter on the model outcomes, it is essential to extract them with the greatest accuracy to be precisely matched with the actual voltage-current (V-I) characteristic of the PEMFC.

Before determining the unknown parameter (\(\xi _a\), \(\xi _b\), \(\xi _c\), \(\xi _d\), \(R_{con}\), \(\lambda\), and \(\beta\)), it is imperative to determine an objective function. In order to compare with previous literature, the objective of optimization in this study is to determine a set of parameter values that will reduce the SSE between the experimental voltage (\(V_{exper}\)) as well as the model-estimated voltage (\(V_{estimat}\)) as determined by Eq. (12).

$$\begin{aligned} Minimize (OF): F_{obj} (SSE) = \sum _{k=1}^{N_{volt}}[V_{exper} - V_{estimat}]^{2} \end{aligned}$$
(12)

Where, the number of voltage data samples (\(N_{volt}\)), and the proposed constraints are presented as.

$$\begin{aligned} S.t\left\{ \begin{matrix} {{\xi }_{i,\min }}\le {{\xi }_{i}}\le {{\xi }_{i,\max }}{{\forall }_{i}}\in \left\{ a,b,c,d \right\} \\ {{\lambda }_{\min }}\le \lambda \le {{\lambda }_{\max }} \\ {{\beta }_{\min }}\le \beta \le {{\beta }_{\max }} \\ {{R}_{con,\min }}\le {{R}_{con}}\le {{R}_{con,\max }} \\ \end{matrix} \right. \end{aligned}$$
(13)

In the next section, we present the basics of nature-inspired algorithms and proposed methodology used to optimize the objective function discussed above.

Basics of nature-inspired algorithms

This section presents the fundamental principles underlying the algorithms utilized to develop a novel GPC optimization algorithm. This is an outline of the recently employed algorithms, including GWO, PSO, and CS optimization algorithms:

Grey Wolf Optimizer

In 2014, Mirjalili et al. proposed the GWO algorithm, inspired by the social behaviour as well as hunting strategies of wild grey wolves, scientifically known as Canis lupus61. These wolves reveal social behaviour and maintain a rigid social hierarchy, categorised into four distinct ranks: alpha (\(\alpha\)), beta (\(\beta\)), delta (\(\delta\)), as well as omega (\(\omega\)). The mathematical framework of GWO depends on the social structure and hunting techniques of grey wolves. The fundamental aspects of hunting involve tracking, encircling, and subsequently attacking the prey79.

Social hierarchy

In the development of the GWO, the social hierarchy of wolves is mathematically expressed by identifying the optimal solution as the \(\alpha\). Therefore, the \(2^{nd}\) and \(3^{rd}\) most efficient solutions are designated as \(\beta\) as well as \(\delta\) accordingly. The remaining candidate solutions have been assumed to be \(\omega\). The optimization process of the GWO algorithm is governed by \(\alpha\), \(\beta\), and \(\delta\). The \(\omega\) wolves follow the group of 3 wolves (\(\alpha\), \(\beta\), and \(\delta\)).

Encircling prey

Grey wolves encircle their prey while hunting, as mentioned earlier. In order to represent encirclement behaviour numerically, the following equations are given.

$$\begin{aligned} & \overset{\rightarrow }{\mathop {R}}\,=\left| \overset{\rightarrow }{\mathop {E}}.\overset{\rightarrow }{\mathop {{{T}_{p}}}}\,(t)-\overset{\rightarrow }{\mathop {T}}\,(t) \right| \end{aligned}$$
(14)
$$\begin{aligned} & \overset{\rightarrow }{\mathop {T}}\,(t+1)={{\overset{\rightarrow }{\mathop {T}}\,}_{p}}(t)-\overset{\rightarrow }{\mathop {Q}}.\overset{\rightarrow }{\mathop {R}}\ \end{aligned}$$
(15)

where variables \(\overset{\rightarrow }{\mathop {T}}\,(t+1)\), t, and \(\overset{\rightarrow }{\mathop {T}}\,_{p}(t)\) denote the position of the \(i^{th}\) grey wolf, the current iteration, and the location of the prey, respectively. The vectors \(\overset{\rightarrow }{\mathop {Q}}\) and \(\overset{\rightarrow }{\mathop {E}}\) acting as control parameters are computed using Eqs. (16) and (17).

$$\begin{aligned} & \overset{\rightarrow }{\mathop {Q}}\,=2\overset{\rightarrow }{\mathop {b}}.\overset{\rightarrow }{\mathop {{{r}_{1}}}}\,-\overset{\rightarrow }{\mathop {b}} \end{aligned}$$
(16)
$$\begin{aligned} & \overset{\rightarrow }{\mathop {E}}\,=2.\overset{\rightarrow }{\mathop {{{r}_{2}}}} \end{aligned}$$
(17)

where components \(\overset{\rightarrow }{\mathop {b}}\) are linearly decreased from 2 to 0 throughout the iterations, while \(\overset{\rightarrow }{\mathop {{{r}_{1}}}}\) and \(\overset{\rightarrow }{\mathop {{{r}_{2}}}}\) are random vectors within the interval [0, 1].

Hunting

Grey wolves identify the location of prey and encircle it, with direction from the \(\alpha\). The \(\beta\) and \(\delta\) may also engage in the hunt. The optimum location (prey) remains unknown. To model wolf hunting behaviour, it is assumed that the \(\alpha\), \(\beta\), and \(\delta\) possess superior knowledge regarding potential prey locations. Retain the three best solutions and adjust the positions of other search agents based on the positions of the top-performing agents.

$$\begin{aligned} & \overset{\rightarrow }{\mathop {{{R}_{\alpha }}}}\,=\left| \overset{\rightarrow }{\mathop {{{E}_{1}}.}}\,\overset{\rightarrow }{\mathop {{{T}_{\alpha }}}}\,-\overset{\rightarrow }{\mathop {T}}\, \right| ;\overset{\rightarrow }{\mathop {{{R}_{\beta }}}}\,=\left| \overset{\rightarrow }{\mathop {{{E}_{2}}.}}\,\overset{\rightarrow }{\mathop {{{T}_{\beta }}}}\,-\overset{\rightarrow }{\mathop {T}}\, \right| ;\overset{\rightarrow }{\mathop {{{R}_{\delta }}}}\,=\left| \overset{\rightarrow }{\mathop {{{E}_{3}}.}}\,\overset{\rightarrow }{\mathop {{{T}_{\delta }}}}\,-\overset{\rightarrow }{\mathop {T}}\, \right| \end{aligned}$$
(18)
$$\begin{aligned} & \overset{\rightarrow }{\mathop {{{T}_{1}}}}\,=\overset{\rightarrow }{\mathop {{{T}_{\alpha }}}}\,-\overset{\rightarrow }{\mathop {{{Q}_{1}}}}.(\overset{\rightarrow }{\mathop {{{R}_{\alpha }}}}\,);\overset{\rightarrow }{\mathop {{{T}_{2}}}}\,=\overset{\rightarrow }{\mathop {{{T}_{\beta }}}}\,-\overset{\rightarrow }{\mathop {{{Q}_{2}}}}.(\overset{\rightarrow }{\mathop {{{R}_{\beta }}}}\,);\overset{\rightarrow }{\mathop {{{T}_{3}}}}\,=\overset{\rightarrow }{\mathop {{{T}_{\delta }}}}\,-\overset{\rightarrow }{\mathop {{{Q}_{3}}}}.(\overset{\rightarrow }{\mathop {{{R}_{\delta }}}}\,) \end{aligned}$$
(19)
$$\begin{aligned} & \overset{\rightarrow }{\mathop {T}}\,(t+1)=\frac{\overset{\rightarrow }{\mathop {{{T}_{1}}}}\,+\overset{\rightarrow }{\mathop {{{T}_{2}}}}\,+\overset{\rightarrow }{\mathop {{{T}_{3}}}}\,}{3} \end{aligned}$$
(20)

Attacking the prey

Grey wolves finalise the hunt by focussing on the prey once it becomes stationary. To build a mathematical model of the hunter advancing towards its prey, decrease the value of \(\overset{\rightarrow }{\mathop {b}}\). The range of \(\overset{\rightarrow }{\mathop {{{Q}}}}\) decreases by the effect of \(\overset{\rightarrow }{\mathop {b}}\). \(\overset{\rightarrow }{\mathop {{{Q}}}}\) is a randomly chosen value within the interval of -2b to 2b, where \(\overset{\rightarrow }{\mathop {b}}\) is progressively decreased from 2 to 0 during the repetitions. When random values of \(\overset{\rightarrow }{\mathop {{{Q}}}}\) range from [-1,1], the subsequent location of a search agent may lie anywhere between its current location and the location of the prey. The coefficient\(\overset{\rightarrow }{\mathop {T}}\) additionally regulates the exploratory phase of the algorithm. This component allocates arbitrary weights to prey to avoid stagnation at local optima, enabling the algorithm to incorporate randomization during the optimization process. In doing so, grey wolves engage in a hunting process characterized by repetitive behaviors of encircling and pursuing, as mentioned above.

Particle Swarm Optimization

The PSO is a stochastic optimization method based on population dynamics. It was \(I^{st}\) proposed by Kennedy and Eberhart in 1995, drawing inspiration from the social behaviours exhibited in bird flocking and fish schooling80.

Mathematical formulation

In PSO, a particle is characterised by its location as well as velocity within a d-dimensional search space. Let \(T_i(t)= (T_{i1 },T_{i2}..........T_{id})\) be the location of particle i at iteration (t), and velocity \(U_i(t)= (u_{i1 },u_{i2}..........u_{id})\). The individual optimal location of the particle is \(k_i(t)= (k_{i1 },k_{i2}..........k_{id})\), while the global best location identified by the entire swarm is \(k_g(t)= (k_{g1 },k_{g2}..........k_{gd})\). The Eqs. (21), and (22) determine the updates for velocity as well as location:

$$\begin{aligned} & u_{i,t+1}^{d}=u_{i,t}^{d}+L1*rand*\left( k_{i,t}^{d}-t_{i,t}^{d} \right) +L2*rand*\left( k_{g,t}^{d}-t_{i,t}^{d} \right) \end{aligned}$$
(21)
$$\begin{aligned} & t_{i,t+1}^{d}=t_{i,t}^{d}+u_{i,t+1}^{d} \end{aligned}$$
(22)

The formulation of a new velocity update equation follows from the addition of inertia weight (S) to the velocity update formula.

$$\begin{aligned} & u_{i,t+1}^{d}=S*u_{i,t}^{d}+L1*rand*\left( k_{i,t}^{d}-t_{i,t}^{d} \right) +L2*rand*\left( k_{g,t}^{d}-t_{i,t}^{d} \right) \end{aligned}$$
(23)
$$\begin{aligned} & S(t)=S_{max}-\frac{t}{T_{max}}\left( S_{max}-S_{min} \right) \end{aligned}$$
(24)

where, t and \(T_{max}\) are the current iteration as well as maximum iteration. The \(S_{max}\) and \(S_{min}\) indicate the maximum as well as lower limits of the range of inertia weight (S(t)) parameter.

Cuckoo search algorithm

The CS algorithm has been motivated by the obligatory brood behavior of cuckoos as well as relies on three fundamental principles such as.

  • Each cuckoo lays one egg at a time, depositing it in a randomly selected nest.

  • The nests with the best quality eggs (i.e., best fitness solutions) are carried over to the next generation.

  • There are a fixed number of host nests, and there is a probability that the worst nests will be replaced by new ones, representing the discovery of alien eggs by host birds.

The CS algorithm primarily focuses on exploration as well as exploitation of cuckoo species, as outlined by these three principles. The process is divided into two main stages: a local search stage that addresses exploitation and a global search stage that deals withexploration. Another parameter functions as the governing element of the CS algorithm. The parameter selected randomly from a uniform distribution is referred to as the switch probability, denoted as p. The subsequent subsections provide an expanded discussion of each of the previously covered stages.

Global search phase

The cuckoo search has been executed in accordance with the three rules. A Lévy flight is executed to provide a new solution Y for the ith cuckoo. This process is referred to as a global random walk and is outlined in Eq. (25)

$$\begin{aligned} T_{i}^{p+1}=T_i^p+\alpha \otimes {L(\lambda )}(T_{best}-T_i^p) \end{aligned}$$
(25)

where as \(T_i^p\) denotes the previous solution, while \(T_{i}^{p+1}\) is current soloution. This step follows the newly generated solutions using Lévy flights (\(L(\lambda )\)). The main reason for using such this mechanism is the longer tail and better flight trajectory of the Lévy flight mechanism, which helps to provide better search capabilities to the algorithm. Apart from that, the Lévy flight mechanism is given in Eq. (26).

$$\begin{aligned} \ L(\lambda )\sim \frac{\lambda \Gamma (\lambda )\sin (\pi \lambda /2)}{\pi }\frac{1}{s^{1+\lambda }} \hspace{10pt}(s\gg s_0\gg 0) \end{aligned}$$
(26)

where \(\hspace{5pt} s=\frac{U}{|V|^1/\lambda }\hspace{10pt} U\sim N(0,\sigma ^2), \hspace{10pt}V\sim N(0,1)\) and \(\sigma ^2=\bigg \{\frac{\Gamma (1+\lambda )}{\lambda \Gamma [(1+\lambda )/2]}. \frac{\sin (\pi \lambda /2)}{2^{(\lambda -1)/2}}\). Also, \(\Gamma (\lambda )\) is a gamma function and the value of \(\lambda\) is equal to 1.5. During this exploration phase, the parameter N is sampled from a standard Gaussian distribution with a mean of 0 and a variance of \(\sigma ^2\). This process is designed to explore the solution space effectively. To generate a new solution, the current best solution (\(T_{best}\)) is utilised in conjunction with the sample parameter.

Local search phase

The \(2^{nd}\) phase of CS algorithm is the local random-walk mechanism, which aligns with the exploitation process. This phase involves the generation of a new solution (\(T_i^{p+1}\)) through a local search using two randomly selected solutions from the search pool.The local random walk is presented in Eq. (27).

$$\begin{aligned} T_{i}^{p+1}=T_i^p+\alpha \otimes (\epsilon )\otimes (T_j^p-T_k^p) \end{aligned}$$
(27)

where \(T_j^p\) and \(T_k^p\) correspond to two random solutions, \(\epsilon \in [0, 1]\) is a uniformly distributed random number.

The proposed approach

This section deals with the proposal of the GPC algorithm, starting with the motivation behind the proposal, the details of the proposal and finally the computational complexity of the proposed approach.

Motivation behind the proposal

In optimization, the trade-off between searching for new, potentially better solutions (exploration) and refining known good solutions (exploitation) is a critical determinant of algorithmic success. Exploration enables coverage of diverse and unexplored regions in the search space, increasing the likelihood of escaping local optima, while exploitation ensures refinement of promising solutions for accelerated convergence81. Striking an effective balance between these two processes is essential, as overemphasis on either may lead to an inefficient search or premature convergence. Addressing this, the proposed GPC algorithm adopts a modular, phase-wise hybridization strategy to enforce a temporal and spatial balance between exploration and exploitation.

The algorithm utilizes CS-based L’evy flight updates in the early stages to ensure a wide exploratory radius, leveraging the heavy-tailed distribution to traverse far-reaching regions of the search space. As the algorithm progresses, the leadership-driven model of GWO is introduced to promote guided, yet diverse, exploitation through hierarchical decision-making. To further intensify convergence in later iterations, PSO-based velocity updates are incorporated with adaptively tuned inertia weights. This phase-wise hybridization is not a simple combination, but a role-specific assignment, where each component algorithm governs a particular aspect of the search. Unlike traditional hybrids that apply all components uniformly or in a static blend, GPC dynamically partitions the population and allocates algorithms temporally, allowing each strategy to dominate in its optimal phase. This role-based hybridization not only enhances search efficiency, but also reduces algorithmic bias. The adaptability of the framework ensures resilience in diverse problem landscapes, in accordance with the No Free Lunch Theorem50. Thus, the novelty of GPC lies in the structured orchestration and transition of exploration–exploitation roles, rather than merely the selection of constituent algorithms.

The Grey Particle Cuckoo Algorithm

Although individual metaheuristic algorithms such as PSO80, GWO61 and CS82 have demonstrated merit in solving complex optimization problems, each suffers from specific limitations. PSO is prone to premature convergence due to loss of diversity and stagnation in local optima. GWO lacks exploratory capabilities in the early stages and tends to focus narrowly on leader-driven search. CS, despite its exploratory strength through Lévy flights, exhibits instability in convergence and often fails to fine-tune solutions effectively. An inherent limitation of these basic algorithms lies in their suboptimal exploration capability, given their tendency to follow smaller step sizes. This behavior leads to the clustering of new solutions, impeding the exploration process. Consequently, the algorithm tends to confine its search to specific regions within the search space, resulting in an inefficient approach to exploration and an overall sub-par operational performance. Although there are problems with basic algorithms, the organizational structure of CS has been found to be very efficient and can be used as a benchmark to propose new algorithms81.

To counter these deficiencies, GPC proposes a layered hybridization model that restructures both global and local search dynamics. The global search capability is enhanced by embedding new movement equations that encourage distant but purposeful solution updates. Gleichzeitig, the local exploitation phase is improved through mechanisms that capitalize on the proximity of current best solutions, continuously benchmarking new candidates against elite ones, and accelerating convergence toward global optima. The GPC architecture is designed to preserve the useful traits of its constituents (GWO, PSO, and CS) while mitigating their drawbacks. Retain the organizational efficiency of CS, refine the hierarchical strategy of GWO for better guidance, and incorporate the adaptive velocity control of PSO for convergence tightening. These elements are integrated without disrupting the structural integrity of the parent algorithms, making GPC an inherently robust and versatile optimization framework. We now formally define the algorithmic steps, population management, and GPC control parameters.

The algorithm begins by setting N within a constrained search space, as defined by (29)

$$\begin{aligned} y_{i,0}^j=y_{min}^j+ a(y_{max}^j-y_{min}^j)\hspace{10pt} j=1,2,...,D \end{aligned}$$
(28)

for the \(i^{th}\) member of the search space, j is the D dimensional problem, \(a \in [0, 1]\) \(y_{min}\) and \(y_{max}\) are the lower bound and upper bounds of the \(D^{th}\) problem. After initialization, we divide the population into two iterative halves.

Stage I : \(p = 1: \frac{p_{maximum}}{2}\)

In the first step, we follow the basic search equations of CS algorithm. This step follows the newly generated solutions using Lévy flights. The main reason for utilizing this mechanism is the longer tail and better flight trajectory of the Lévy flight mechanism, which helps to provide better search capabilities to the algorithm. The general equation for this stage is given by

$$\begin{aligned} z_{i}^{p+1}=z_i^p+\alpha \otimes {L(\lambda )}(z_{best}-z_i^p) \end{aligned}$$
(29)

where

Apart from that, the Lévy flight mechanism is given by

$$\begin{aligned} \ L(\lambda )\sim \frac{\lambda \Gamma (\lambda )\sin (\pi \lambda /2)}{\pi }\frac{1}{s^{1+\lambda }} \hspace{10pt}(s\gg s_0\gg 0) \end{aligned}$$
(30)

The local search phase is the local random-walk mechanism, which aligns with the exploitation process. This phase involves the generation of a new solution (\(z_i^{p+1}\)) through a local search using two randomly selected solutions from the search pool. The overarching equation for the local search phase is provided as follows:

$$\begin{aligned} z_{i}^{p+1}=x_i^p+\alpha \otimes (\epsilon )\otimes (z_j^p-x_k^p) \end{aligned}$$
(31)

where \(z_j^p\) and \(z_k^p\) correspond to two random solutions, \(\epsilon \in [0, 1]\) is a uniformly distributed random number.

The local search phase is activated only for a certain fraction of iterations and depends on the probability switch parameter (sp). In the current scenario, this parameter is adjusted using an exponential decreasing inertia weight operator. This phase helps to decide the extent of exploration and exploitation. The general equation is thus given by

$$\begin{aligned} sp(p)=\eta _{min}+(\eta _{max}-\eta _{min})exp\left[ -\frac{p}{(\frac{p_{max}}{10})}\right] \end{aligned}$$
(32)

where \(\eta _{max}\) as well as \(\eta _{min}\) are maximum and minimum random values [0,1].

Stage II : \(p = \frac{p_{maximum}}{2}+ 1: p_{maximum}\)

In this phase, the main concern is to have lower exploration and more exploitation. During this phase, the global search phase is divided into two parts, and here also the first half of the population follows a similar approach as used in the generalized algorithm. This is done to make the algorithm perform intensive exploration along with some exploitation operation. For the second half of the population, GWO based equations are used. These equations are meant for the initialization of new solutions within the search space, are generally generated using three new solutions, and are formulated as

$$\begin{aligned} & f_{Cauchy(0,h)}(\delta )=\frac{1}{\pi } \frac{h}{({h^2}+{\delta ^2})} \end{aligned}$$
(33)
$$\begin{aligned} & y=\frac{1}{2}+\frac{1}{\pi }arctan(\frac{\delta }{h}) \end{aligned}$$
(34)
$$\begin{aligned} & \delta =tan(\pi (y-\frac{1}{2})) \end{aligned}$$
(35)
$$\begin{aligned} & z_i^{p+1}=z_i^p+\alpha \times {D(\delta )}(z_{best}-z_i^p) \end{aligned}$$
(36)
$$\begin{aligned} & \begin{aligned} z_1=z_i-J_1(H_1.z_{new}-z_i^p);\\ z_2=z_i-J_2(H_2.z_{new}-z_i^p);\\ z_3=z_i-J_3(H_3.z_{new}-z_i^p) \end{aligned} \end{aligned}$$
(37)
$$\begin{aligned} & z_i^{p+1}=\frac{z_1+z_2+z_3}{3} \end{aligned}$$
(38)
$$\begin{aligned} & N=2b.r_1-b; \hspace{5pt} N=2.r_2 \end{aligned}$$
(39)

During this phase, the local search equation is further categorized into two distinct population segments. For the \(I^{st}\) half of the population, again CS based local search is followed, but for the second half of the population, a more rigorous approach is used. Here we are using a PSO-based equation as given by

$$\begin{aligned} z_{i}^{t+1}=z_i^t + F \times (z_{best}-z_i^t) + I \times (g_{best}^t-z_i^t) \end{aligned}$$
(40)

where \(g_{best}\) is the personal best solution, \(z_{best}\) is the current best solution, \(F = c_1.r_1\) is a random number initialized using simulated annealing inertia weight and is given by

$$\begin{aligned} c_1= \eta _{min}+(\eta _{max}-\eta _{min})\times a^{(T-1)} \end{aligned}$$
(41)

where, the variables T, \(r_1\) \(\eta _{max}\), and \(\eta _{min}\) are uniformly distributed in the range [0,1]. Furthermore, the value of a is set to 0.95.

\(I = c_2.r_2\) is another random number initialized using the sigmoid inertia weight operation as given by

$$\begin{aligned} & c_2= \frac{\eta _{min}-\eta _{max}}{1+e^{-u\times (p-h\times gen)}}+\eta _{max} \end{aligned}$$
(42)
$$\begin{aligned} u=10^{\log (gen)-2} \end{aligned}$$
(43)

where, \(\eta _{max}=0.9, \eta _{min}=0.5\), \(gen=51\), \(r_2\) and \(h, k \in [0, 1].\)

Population adaptation

To address a reduction in population size, a strategy outlined in82 is followed. The proposed approach involves modifying the population size during algorithm iterations, emphasizing greater exploration initially and transitioning towards adaptive exploitation later. The reduction in population size as iterations progress aims to optimize the algorithm by efficiently utilizing search agents. In simpler terms, the algorithm employs a larger population during exploration to thoroughly cover the search space, while exploitation, focused on specific areas, is achieved with a smaller population. This adaptive population adjustment ensures effective exploration in the early stages and targeted exploitation in the later stages, striking a balance between resource utilization and optimization.

In this study, a proportional population reduction phenomenon is employed, inspired by the ideas presented in82. This method involves reducing the population size in proportion to the increase in fitness. The rationale behind adopting this approach lies in its suitability for addressing multimodal problems, where solutions need to explore extensive areas. When confronted with a large initial population size, it becomes possible for new solutions to explore the entire search space. As the iterations progress, these solutions may converge toward the global best solution, which lies in a specific direction. Consequently, the size of the population can decrease. This reduction in population size facilitates improved genetic drift, allowing the discovery of new solutions without compromising the retention of the best solution. Toward the conclusion of the process, each member of the population is given an equal opportunity to potentially become the best global solution. In a more general context, the equation governing population reduction is expressed as

$$\begin{aligned} Q_{p+1}= {\left\{ \begin{array}{ll} (1-\sigma f_p^{best})n_p, \hspace{10pt} if \hspace{5pt} \sigma f_p^{best}\le \sigma f_{max}^{best}\\ (1-\sigma f_{max}^{best})n_p, \hspace{10pt} if \hspace{5pt} \sigma f_p^{best}> \sigma f_{max}^{best}\\ {min}_{n}, \hspace{48pt} if \hspace{5pt} Q_{p+1} <{min}_{n} \end{array}\right. } \end{aligned}$$
(44)

Where, \(Q_{p+1}\) represents the population at generation p, \(\sigma f_p^{best}\) is stated by \((\frac{f_{p-1}^{best}-f_{p-2}^{best}}{|f_{p-2}^{best}|})\) indicates the change in the best fitness, and \(\sigma f_{max}^{best}\) presents the threshold value.

Selection operation

In the last phase, it is important to carefully select the individuals who are the most appropriate from both the candidates generated in the current iteration and those from previous iterations. The selection technique is determined by comparing the fitness of the new solution, indicated as \(f(z_{new})\), with the fitness of the previously known solution, represented as \(f(z_i^p)\).If the fitness of the new solution, denoted as (\(f(z_{new}\))), is found to be superior to the fitness of the previous known solution, denoted as (\(f(z_i^p)\)), then the new solution replaces the original solution as the one selected. However, if the previous solution (\(z_i\)) has a higher level of fitness, it will be retained as the selected solution for the subsequent stages of the process.

$$\begin{aligned} z_{new}^{p+1}= {\left\{ \begin{array}{ll} z_{new} \hspace{20pt}if \hspace{5pt} f(z_{new})<f(z_i^p) \\ z_i^p \hspace{35pt} otherwise \end{array}\right. } \end{aligned}$$
(45)

This selection mechanism ensures that the most suitable individuals remain in the population, encouraging improved fitness and ultimately leading to a more optimal and efficient solution for the problems under consideration. The pseudocode of the GPC algorithm is presented in Algorithm 1. The pseudocode of the proposed algorithm is shown in Fig. 4.

Algorithm 1
figure a

Pseudocode of proposed GPC algorithm.

Fig. 4
figure 4

Flowchart of GPC algorithm.

Complexity of the proposed GPC algorithm

The computational complexity of the proposed GPC algorithm is governed by the operations performed during initialization and across each iteration of the main loop. Let N be the population size, D be the dimensionality of the optimization problem, and \(t_{\text {max}}\) be the maximum number of iterations.

  • Initialization: Each of the N individuals is initialized in a D-dimensional space. This step requires \(\mathscr {O}(N \cdot D)\) operations.

  • Stage I (\(t = 1\) to \(t_{\text {max}}/2\)): Each individual undergoes a global update based on Lévy flights and, with some probability, a local search using two random solutions. Both operations are \(\mathscr {O}(D)\) per individual per iteration, resulting in \(\mathscr {O}(N \cdot D)\) per iteration.

  • Stage II (\(t = t_{\text {max}}/2 + 1\) to \(t_{\text {max}}\)): The population is divided into two segments. One-half uses GWO-based updates (involving three directional updates and averaging), while the other-half uses a PSO-based update with adaptive inertia weights. Each of these update mechanisms requires \(\mathscr {O}(D)\) operations per individual per iteration.

Combining all stages, the total computational complexity of the GPC algorithm is as follows.

$$\begin{aligned} \mathscr {O}(N \cdot D + \frac{t_{\text {max}}}{2} \cdot N \cdot D + \frac{t_{\text {max}}}{2} \cdot N \cdot D) = \mathscr {O}(t_{\text {max}} \cdot N \cdot D) \end{aligned}$$
(46)

Comparison with baseline algorithms

To contextualize the computational efficiency of the proposed GPC algorithm, we compare its complexity with those of the canonical CS, PSO and GWO, as

  • CS involves Lévy flight-based position updates and optional random walk-based local search, both operating in D dimensions. The total complexity is:

    $$\begin{aligned} \mathscr {O}(t_{\text {max}} \cdot N \cdot D) \end{aligned}$$
    (47)
  • PSO updates each particle’s velocity and position based on personal and global best positions. Each update involves D-dimensional operations:

    $$\begin{aligned} \mathscr {O}(t_{\text {max}} \cdot N \cdot D) \end{aligned}$$
    (48)
  • GWO updates the position of each individual based on three leading solutions (\(\alpha\), \(\beta\), \(\delta\)), requiring three vector operations per update:

    $$\begin{aligned} \mathscr {O}(t_{\text {max}} \cdot N \cdot D) \end{aligned}$$
    (49)

Although all four algorithms share the same asymptotic complexity of \(\mathscr {O}(t_{\text {max}} \cdot N \cdot D)\), the proposed GPC algorithm incurs higher constant factors due to its dual-phase architecture and hybridization strategy. Specifically, GPC integrates the Lévy flight exploration of CS, the leader-based exploitation of GWO, and the adaptive velocity-driven convergence of PSO. This structured combination leads to increased per-iteration operations, but significantly improves the algorithm’s ability to balance exploration and exploitation. Therefore, despite similar theoretical complexity, GPC achieves superior performance in diverse and complex optimization scenarios leveraging richer update dynamics.

Results and discussion

This section demonstrates the experimental results to show the effectiveness of the hybrid algorithm (GPC) proposed in this paper. This section is divided into three subsections. In the \(I^{st}\) subsection, details of the test suite and parameter settings of all MH algorithms used for comparative analysis are discussed. In the next subsection, the performance of the GPC algorithm is determined by performing experiments on the numerical optimization challenges of CEC 2019. The results of the GPC optimization algorithm are compared with the other MH optimization such as BWOA65, CDO58, COA59, FPA66, HHO60, YDSE55, ZOA51, ARNMRA67, FROBLGJO68, and jDE10069. In the third subsection, GPC is applied for parameter extraction of PEMFC models (Temasek, NedStack PS6, Ballard MarkV, and BCS 500W PEMFC model). The effectiveness of the GPC algorithm is compared with various well-recognized MH algorithms, including ZOA51, SCHO52, PSA53, SABO54, YDSE55, EDO56, RIME57, CDO58, COA59, HHO60, and GWO61.

Test suite and parameter settings

The implemented Algorithm (GPC) has been executed using the MATLAB R2023b software environment. The computational experiments have been conducted on a laptop equipped with an Intel\(\text{\textregistered}\) Core (TM) i5-12500H operating system at a clock speed of 2.50 GHz, x64-based processor, 64-bit operating system, along with 16 GB of RAM with the Windows 11 operating system. In this subsection, the effectiveness of the proposed GPC algorithm in relation to the benchmark challenges of CEC 2019, and real-world challenge (Parameter Extraction of PEMFC models) is evaluated. The present study tests the effectiveness of the proposed GPC algorithm compared to several MH algorithms such as BWOA65, CDO58, COA59, FPA66, HHO60, YDSE55, and ZOA51 on benchmark challenges (CEC 2019). For real-world challenges (parameter extraction of PEMFC models), the GPC algorithm is tested and compared with several MH algorithms, including ZOA51, SCHO52, PSA53, SABO54, YDSE55, EDO56, RIME57, CDO58, COA59, HHO60, and GWO61. The parameter settings for all algorithms were obtained from their respective papers and are displayed in Table 2.

The CEC 2019 benchmark challenges

The effectiveness and efficiency of the proposed GPC optimization algorithm are tested on CEC 2019 benchmark challenges by statistically measuring the mean values, as well as standard deviation (Std), and comparing them with those obtained with other MH algorithms. Seven MH optimization algorithms such as CDO58, COA59, BWOA65, FPA66, HHO60, YDSE55 and ZOA51 were utilized to evaluate and compare the outcomes achieved by the proposed GPC optimization algorithm. To ensure a fair comparison between GPC and other algorithms, all are subjected to population size of 50 as well as the maximum number of iterations = 500 with 51 runs.

Table 2 Parametric details of different algorithms.

The results presented in Table 3 show that, for challenge \(GPC_{1}\), the FROBLGJO algorithm exhibits outstanding results compared to other MH algorithms. The results for challenges \(GPC_{2}\), \(GPC_{3}\), \(GPC_{4}\), \(GPC_{5}\), \(GPC_{7}\), and \(GPC_{9}\), the outcomes obtained from the GPC algorithm demonstrate superior results compared to other MH techniques in terms of mean as well as Std values. The outcomes obtained for challenges \(GPC_{6}\), \(GPC_{8}\), and \(GPC_{10}\), the ZOA algorithm shows outstanding performance compared to the other MH methods. Therefore, based on the results obtained from the experimentation, it can be observed that of the 10 numerical test challenges, the GPC algorithm shows effectiveness in solving 6 challenges. The ZOA algorithm has shown competence in addressing three challenges, but the FROBLGJO method has been successful in addressing only one challenge. The analysis indicates that the GPC algorithm has superior performance in addressing the numerical challenges of CEC 2019. Therefore, it can be concluded that the GPC optimization algorithm is generally the most effective algorithm to address these challenges.

Statistical testing:

Furthermore, two statistical tests, the Friedman rank test and the Wilcoxon rank sum test, have been employed in statistical analysis. The statistical results for each test challenge are presented as loss(l), win(w), or tie(t). Here, “win” (w) is used to represent a scenario in which the test algorithm outperforms the GPC algorithm and is denoted by the symbol “+”. On the other hand,, the term “loss” (l) refers to a scenario in which the test algorithm performs worse than the GPC algorithm and is denoted by the symbol “-”. The symbol “=” is used to indicate a tie (t), indicating that both algorithms are statistically similar in relation to each other. The ranking of all algorithms is shown in the third row of Table 3 for every challenge, denoted by w/l/t. Furthermore, the f-rank is determined for every function, and subsequently, the mean of all rankings is given. Every algorithm has received a distinct ranking according to its performance. The mean rank of each algorithm is shown in the \(2^{nd}\) last row of Table 3. In addition, an overall f-rank has been computed based on the outcomes of all challenges, displayed in Table 3. The table indicates that the GPC technique has been the most effective, achieving the highest rank (\(1^{st}\)) among all tested MH algorithms.

Convergence profile, Boxplot and Radar profile Analysis: This subsection displays the convergence, boxplot, and radar profiles of eight MH optimization algorithms such as ZOA, CDO, COA, FPA, BWOA, HHO, YDSE, and GPC. Figures 5, 6, and 7 demonstrate graphic representations. The GPC algorithm exhibits faster convergence for challenges, \(GPC_{2}\), \(GPC_{3}\), \(GPC_{4}\), \(GPC_{5}\), \(GPC_{7}\), and \(GPC_{9}\), and are shown in Fig. 5a–i, as well as 5j, respectively. Figure 6 shows the box plot that represents the fitness values of the COA, YDSE, CDO, HHO, ZOA, FPA, BWOA, and GPC optimization algorithms. The findings indicate that the proposed GPC algorithm is economically efficient regarding fitness values, shown by its significantly low median fitness value. This can be observed from the box plots presented in Fig. 6a–j, respectively. Furthermore, the radar plot in Fig. 7 shows the ranking of the 12 MH optimization algorithms on the CEC2019 test function. The GPC exhibits a smaller darkening area in comparison to the other MH optimization algorithms. This is visible from the radar charts Fig. 7a–k, respectively. The above outcomes demonstrate the performance of the GPC algorithm.

Table 3 Statistical outcomes for the 100-digit challenge (CEC 2019) numerical problems.
Fig. 5
figure 5

Convergence profiles for the CEC 2019 numerical challenges of FPA, ZOA, COA, BWOA, YDSE, HHO, CDO, and GPC MH algorithms.

Fig. 6
figure 6

Boxplot profiles for the CEC 2019 numerical challenges for FPA, ZOA, COA, BWOA, YDSE, HHO, CDO, and GPC MH algorithms.

Fig. 7
figure 7

Radar plot for the CEC 2019 numerical challenges of FPA, ZOA, COA, BWOA, YDSE, HHO, CDO, and GPC MH optimization algorithms.

Quantative analysis of GPC algorithm

In this section, we perform a qualitative and quantitative analysis of the GPC algorithm. We are using a set of seven classical benchmark problems62, as given in Table 4.

Table 4 Classical benchmark functions (F1–F14).

The evaluation of the proposed algorithm uses a set of informative visualization graphs that collectively provide a comprehensive understanding of its search behavior and performance. The exploration–exploitation balance plot tracks how the algorithm transitions from global exploration to local exploitation over the course of iterations. The convergence graph (on a logarithmic fitness scale) illustrates how quickly and effectively the algorithm minimizes the objective function, offering insight into its optimization speed and stability. The fitness distribution plot captures the spread and concentration of fitness values throughout the population, revealing how diversity evolves during the search. Principal Component Analysis (PCA) trajectories visualize the movement of the population in the reduced-dimensional solution space, highlighting patterns in search directionality and convergence. Lastly, the agent-wise fitness plot shows the performance of the individual agents in iterations, indicating how the population collectively approaches optimal solutions.

From the results in Fig. 8, the proposed GPC algorithm shows robust and adaptive performance. The exploration–exploitation plots confirm that GPC maintains diversity early on and shifts to focused search later, preventing premature convergence. The convergence curves show a consistent reduction in fitness values, suggesting effective optimization over time. The fitness distribution plots reveal that GPC encourages both competition and refinement within the population, with the spread narrowing as better solutions dominate. The PCA trajectories exhibit structured movement toward specific regions in the search space, reflecting guided and non-random exploration. Finally, agent-wise fitness trends indicate population-level improvement and strong convergence toward high-quality solutions. Together, these observations affirm that GPC is well-equipped to handle complex, high-dimensional optimization problems with both efficiency and stability.

Fig. 8
figure 8

Quantitative analysis of GPC.

Results on parameter extraction of PEMFC models

In this section, we address the parameter extraction challenges of four distinct PEMFC models utilizing the GPC algorithm to perform a comprehensive performance analysis of the proposed GPC algorithm. The decision to integrate these three algorithms was driven by their complementary strengths in addressing the two-fold challenge inherent in PEMFC parameter estimation: (1) Navigating a complex, high-dimensional and multimodal error surface and (2) achieving precise convergence to the true parameters while avoiding premature stagnation. The parameters that require extraction in the model mentioned above have been listed in Table 5 74li2020accurate84,85. In addition, this table clearly represents the upper as well as lower limits for each parameter. The traditional Ballard Mark V, NedStack PS6 PEMFC model, Temasek, and the BCS 500 W PEMFC model, with their datasheets shown in Table 625,83,84,85. The other Statistical error tests such as SSE (Minimum , mean, and standard deviation (Std)), IAE, MBE, MAE, MSE, and RMSE values for all four PEMFC stacks are presented in Table 7.

To evaluate the performance of the GPC algorithm, several well-recognized MHA are compared, including ZOA51, SCHO52, PSA53, SABO54, YDSE55, EDO56, RIME57, CDO58, COA59, HHO60, and GWO61. To ensure a fair comparison between GPC and other algorithms, all are subjected to the population size (P= 50) and the maximum number of iterations (T = 400) with 30 runs.

Table 5 Practical upper and lower limits for the parameters’ estimation.
Table 6 Specifications of, Temasek, Ballard_Mark-V, BCS500-W as well as NedStack PS6.
Table 7 Statistical error tests for all four PEMFC stack.

NedStack PS6 PEMFC model

The effectiveness of the GPC algorithm is demonstrated using a commonly highlighted PEMFC (NedSstack PS6) in existing literature, with a rated power of 6kW. The data specifications and upper and lower limits are presented in Tables 6 and 5. The experimental Power (\(P_{exper}\)), experimental voltage (\(V_{exper}\)), estimated voltage (\(V_{estimat}\)), model-estimated power (\(P_{estimat}\)), and IAE values obtained by the GPC algorithm for NedStack PS6 PEMFC 8. The optimal parameter outcomes determined by different algorithms for the NedSstack PS6 stack are presented in Table 9. Table 9 show that when considering the same function evaluations, certain methods, such as ZOA51, SCHO52, PSA53, SABO54, YDSE55, EDO56, RIME57, CDO58, COA59, HHO60, and GWO61, achieve a range of optimal SSE values. However, the GPC algorithm obtains the lowest SSE value (2.26768E + 00) for the NedSstack PS6 PEMFC stacks. This gives further confirmation that the parameter values obtained by the proposed GPC algorithm are very precise and reliable. Figure 9a clearly shows that the model curves (IV) closely align with the experimental data for NedStack PS6, and there is little variation between them.

Furthermore, the curves of the PEMFC model (PI) are shown in Fig. 9b, which provides additional evidence that the GPC algorithm is accurate in analyzing the parameters of the NedStack PS6 PEMFC. Temperature variations are simulated at four different temperatures: 303, 323, 343, and 353K are presented in Fig. 10a and b for the I-P and I-V curves, respectively. These simulations are carried out under constant partial pressures (that is, \(P_{H2}\) / \(P_{O2}\) = 1.000 / 1.000 (bar)). It has been observed that as the temperature rises, there is an increase in the output voltage of the stack. Figure 11a and b illustrate the model curves stated in terms of the I-P and I-V curves. Initially, the I-P and I-V curves are graphed at pressures (\(P_{H2}\)/ \(P_{O2}\)) of 1.000/1.000, 2.000/1.500, 3.000/2.000 and 4.000/2.500 bar, respectively. These measurements were taken at a constant stack temperature of 343 K and are shown in Figure 11a and b respectively. When the supply pressures of the (\(P_{H2}\)/ \(P_{O2}\)) increase, there is an observed enhancement in the output voltage of the stack. Using a similar simulation environment, Figure 12, illustrates the average convergence curves of 400 iterations of the proposed GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO, and GWO for the NedStack PS6 PEMFCs stack. Figure 13 shows the ranges of the final objective function values after 30 runs of the GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO, and GWO algorithms for the extraction of parameters from the NedStack PS6 PEMFCs stack. Based on the size of the box and the number of outliers, it is evident from Fig. 13 that the proposed GPC algorithm outperforms the other 11 algorithms. The results of the Friedman ranking test are given in Table 10. The Friedman test assesses algorithms based on their overall performance, with GPC achieving the highest average rank of 2.103926. Table 10, clearly indicates that the GPC algorithm has achieved the highest ranking (\(I^{st}\) rank). The Wilcoxon ranking test results indicate that GPC significantly outperforms the others, evidenced by 465 winner, no losses, and minimal p-values ranging from 2.03E–07 to 3.02E–11. The Friedman and Wilcoxon ranking test clearly demonstrates that the GPC algorithm is superior in terms of precision as well as accuracy compared to the MH algorithms.

Table 8 The \(V_{estimat}\), \(P_{estimat}\), and IAE values obtained by the GPC algorithm for NedStackPS6 PEMFC.
Table 9 Parameter estimation and statistical measures comparison of various MH algorithms for NedStackPS6 PEMFC.
Fig. 9
figure 9

Model curves of NedStack PS6 PEMFC stack.

Fig. 10
figure 10

NedStack PS6 stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 11
figure 11

NedStack PS6 stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 12
figure 12

The convergence curves obtained from 400 iterations and 30 runs of 12 algorithms utilized to NedStackPS6 PEMFC stack parameter extraction.

Fig. 13
figure 13

The boxplot curves obtained 30 runs of 12 algorithms utilized to NedStackPS6 PEMFC stack parameter extraction.

Table 10 Friedman and Wilcoxon rank test of various MH algorithms for NedStackPS6 PEMFC.

Ballard Mark V

The Ballard mark V PEMFC stack comprises 35 individual cells that are connected in series with a membrane thickness of 178 \(\mu\)m. The upper and lower limits and data specifications and are presented in Tables 5 and 6. The experimental Power (\(P_{exper}\)), experimental voltage (\(V_{exper}\)), estimated voltage (\(V_{estimat}\)), model-estimated power (\(P_{estimat}\)), and IAE values obtained by the GPC algorithm for Ballard Mark V PEMFC 11. The GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO, and GWO, MH optimization algorithms have been utilized in order to achieve optimal parameter extraction for this model. The resulting values, which have been found to be the best according to the SSE objective, have been organized and presented in Table 15. From this table, the GPC shows superior performance along with the lowest objective function (SSE) value of 0.813912 compared to other MH algorithms. Figure 14a and b clearly demonstrate that the model curves (I-V as well as I-P curves) closely align with the experimental data for the Ballard Mark V PEMFC stack and there is little variation between them. This gives further confirmation that the parameter values obtained by the proposed GPC algorithm are very precise and reliable.

Table 11 The \(V_{estimat}\), \(P_{estimat}\), and IAE values obtained by the GPC algorithm for Ballard Mark V PEMFC.

Furthermore, the temperature variations are simulated at four different temperatures: 303, 323, 343, and 353K with constant partial pressures (that is, \(P_{H2}\) / \(P_{O2}\) = 1.000 / 1.000 (bar)) are shown in Fig. 15a and b for the I-P and I-V curves, respectively Table 12. It has been observed that as the temperature rises, there is an increase in the output voltage of the stack. The pressure variations are then simulated at four different temperatures: (\(P_{H2}\)/ \(P_{O2}\)) of 1.000/1.000, 2.000/1.500, 3.000/2.000 and 4.000/2.500 bar with constant temperature (ie 343K) are shown in Fig. 16 (16a and b) for I-P and I-V curves, respectively. When the supply pressures of the (\(P_{H2}\)/ \(P_{O2}\)) increase, an enhancement is observed in the output voltage of the stack. Using the same simulation environment, Fig. 17, shows the convergence curves obtained from 400 iterations and 30 runs of 12 algorithms (GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO and GWO) used to extract the parameters of the Ballard Mark V PEMFC stack. Figure 18 illustrates the box plot curves obtained from 30 runs of the GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO and GWO algorithms utilized to extract the parameters from the Ballard Mark V PEMFC stack. Based on the size of the box and the number of outliers, it is evident from Fig. 18 that the proposed GPC algorithm outperforms the other 11 algorithms. Table 13 presents the Friedman and Wilcoxon rank test of various MH algorithms for the Ballard Mark V PEMFC stack. The Friedman test assesses algorithms based on their overall performance, with GPC achieving the highest average rank of 1.856791. From Table 13, it is clearly observed that the GPC algorithm has achieved the highest rank (\(I^{st}\)). The Wilcoxon ranking test results indicate that GPC significantly outperforms the others, evidenced by 465 winner, no losses, and minimal p-values 3.02E–11. The Friedman and Wilcoxon ranking test clearly demonstrates that the GPC algorithm is superior in terms of precision and accuracy compared to the MH algorithms.

Table 12 Parameter estimation and statistical measures comparison of various MH algorithms for Ballard Mark V PEMFC.
Fig. 14
figure 14

Model curves of Ballard Mark V PEMFC stack.

Fig. 15
figure 15

Ballard Mark V stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 16
figure 16

Ballard Mark V stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 17
figure 17

The convergence curves obtained from 400 iterations and 30 runs of 12 algorithms utilized to Ballard Mark V PEMFC stack parameter extraction.

Table 13 Friedman and Wilcoxon rank test of various MH algorithms for Ballard Mark V PEMFC.
Fig. 18
figure 18

The boxplot curves obtained from 30 runs of 12 algorithms utilized to Ballard Mark V PEMFC stack parameter extraction.

BCS 500 W

The BCS 500-W PEMFC stack operates at a power output of 500 watts as well as current of 30 amperes. The specifications of the BCS 500-W PEMFC stack are presented in Table 6 and can be found in90,91. The experimental Power (\(P_{exper}\)), experimental voltage (\(V_{exper}\)), the estimated voltage (\(V_{estimat}\)), model-estimated power (\(P_{estimat}\)), and IAE values obtained by the GPC algorithm for the BCS500-W PEMFC 14. In addition, Table ?? presents the optimal values of the unknown parameters of the BCS 500-W PEMFC stack obtained by the GPC algorithm and compared to the other MH optimization algorithm. Also, the GPC algorithm obtained the lowest objective function (SSE) value (0.011699). This clearly shows its significant superiority compared to the other MH optimization algorithms reported in the literature. This illustrates that an accurate representation of the BCS 500-W PEMFC stack has been achieved. Figure 19a and b clearly illustrate that the model curves (I-V and I-P curves) closely align with the experimental data for the BCS500-W PEMFC stack, and there is little variation between them. The convergence curves have been obtained from 400 iterations and 30 runs of 12 algorithms utilized to extract parameter values from the BCS500-W PEMFC stack. Figure 22 illustrates the convergence curve of the objective function. Here, it is clear that the convergence curve is continuous and rapidly reaches its final value.

Table 14 The \(V_{estimat}\), \(P_{estimat}\), and IAE values obtained by the GPC algorithm for BCS500-W PEMFC.

Furthermore, the simulation results of the GPC algorithm-based PEMFC model have been obtained in varying temperature and pressure scenarios. Figure 20a and b display the I-P and I-V characteristics of this PEMFC model at different temperatures (303, 323, 333, and 353 K). The pressures \(P_{H2}\)/ \(P_{O2}\) have been kept constant (1.000/0.2075 (bar)). It is clear that the voltage as well as the power of the PEMFC increase as the temperature of the PEMFC increases. Furthermore, Fig. 21a and b show the PI and PI characteristics of this PEMFC model at different pressures (1.000 / 0.21075, 1.5 / 1, and 2.5 / 1.000 bar) and maintained constant temperature (333K). It is significant to note that an increase in the \(P_{H2}\) / \(P_{O2}\), results in an increase in the voltage and power output of the PEMFC. As a result, these pressures can be precisely adjusted to achieve the desired output power from the PEMFC according to particular environmental conditions. Friedman and Wilcoxon rank tests of various MH algorithms for BCS500-W PEMFC are given in Table 16. From Table 16 and box plots in Fig. 23, it is clearly seen that the GPC algorithm obtained the lowest Friedman rank (1.970593), and based on the Friedman rank, the GPC algorithm achieved \(\hbox {I}^{st}\) rank. The Wilcoxon ranking test results indicate that GPC significantly outperforms the others, evidenced by 465 winner, no losses, and minimal p-values ranging from 3.02E–11 to 4.50E–11. The Friedman and Wilcoxon ranking test clearly demonstrates that the GPC algorithm is superior in terms of precision and accuracy compared to the MH algorithms.

Table 15 Parameter estimation and statistical measures comparison of various MH algorithms for BCS 500 W PEMFC.
Fig. 19
figure 19

Model curves of BCS500-W PEMFC stack.

Fig. 20
figure 20

BCS 500 W stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 21
figure 21

BCS 500 W stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 22
figure 22

The convergence curves corresponding to BCS500-W PEMFC stack parameter extraction.

Table 16 Friedman and Wilcoxon rank test of various MH algorithms for BCS500-W PEMFC.
Fig. 23
figure 23

The boxplot curves obtained from 30 runs of 12 algorithms utilized to BCS500-W PEMFC stack parameter extraction.

Temasek Stack

The Temasek Stack PEMFC stack comprises 20 individual cells that are connected in series with a membrane thickness of 51 \(\mu\)m85. The upper and lower limits and data specifications and are given in Tables 5 and 6. The experimental Power (\(P_{exper}\)), experimental voltage (\(V_{exper}\)), estimated voltage (\(V_{estimat}\)), model-estimated power (\(P_{estimat}\)), and IAE values obtained by the GPC algorithm for Temasek PEMFC are displayed in Table 17. The GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO, and GWO, MH optimization algorithms have been used in order to achieve optimal parameter extraction for this model. The resulting values, which have been found to be the best according to the SSE objective, have been organized and displayed in Table 18. From this table, the GPC shows superior performance along with the lowest objective function (SSE) value of 0.12327677 compared to other MH algorithms. Figure 24a and b clearly illustrate that the model curves (I-V as well as I-P curves) closely align with the experimental data for the Temasek Stack PEMFC stack and there is little variation between them. This gives further confirmation that the parameter values obtained by the proposed GPC algorithm are very precise and reliable.

Furthermore, temperature variations are simulated at four different temperatures: 303, 323, 333, and 353K are shown in Fig. 25a and b for I-P and I-V curves, respectively. These simulations are carried out under constant partial pressures (that is, \(P_{H2}\) / \(P_{O2}\) = 0.5 / 0.5 (bar)). It has been observed that as the temperature rises, there is an increase in the output voltage of the stack. Initially, the I-P and I-V curves are graphed at pressures (\(P_{H2}\)/ \(P_{O2}\)) of 1.000/0.2075, 1.5/1.000, and 2.500/1.500 bar, respectively. These measurements were taken at a constant stack temperature of 323 K and are presented in Fig. 26a and b respectively. When the supply pressures of the (\(P_{H2}\)/ \(P_{O2}\)) increase, there is an observed increase in the output voltage of the stack. Using the same simulation environment, Fig. 27, shows the convergence curves obtained from 400 iterations and 30 runs of 12 algorithms (GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO and GWO) used to extract the parameters of the Temasek PEMFC stack.

Table 17 The \(V_{estimat}\), \(P_{estimat}\), and IAE values obtained by the GPC algorithm for Temasek Stack PEMFC.
Table 18 Parameter estimation and statistical measures comparison of various MH algorithms for Temasek Stack PEMFC.
Fig. 24
figure 24

Model curves of Temasek PEMFC stack.

Fig. 25
figure 25

Temasek PEMFC stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 26
figure 26

Temasek PEMFC stack performance plots based on GPC algorithm parameters extraction under different operating conditions.

Fig. 27
figure 27

The convergence curves obtained from 400 iterations and 30 runs of 12 algorithms utilized to Temasek PEMFC stack parameter extraction.

Figure 28 shows the box plot curves obtained from 30 runs of the GPC, ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO and GWO algorithms used to extract the parameters from the Temasek PEMFC stack. Based on the size of the box and the number of outliers, it is clear from Fig. 28 that the proposed GPC algorithm outperforms the other 11 algorithms. Table 19 presents the Friedman and Wilcoxon rank test of various MH algorithms for the Temasek PEMFC stack. From Table 16 it is clearly seen that the GPC algorithm obtained the lowest Friedman rank (2.503926), and based on the Friedman rank, the GPC algorithm achieved \(\hbox {I}^{st}\) rank. The Wilcoxon ranking test results indicate that GPC significantly outperforms the others, evidenced by 465 winner, no losses, and minimal p-values < 0.05 in all cases. The Friedman and Wilcoxon ranking test clearly demonstrates that the GPC algorithm is superior in terms of precision and accuracy compared to the MH algorithms.

Table 19 Friedman and Wilcoxon rank test of various MH algorithms for Temasek PEMFC.
Fig. 28
figure 28

The boxplot curves obtained from 30 runs of 12 algorithms utilized to Temasek PEMFC stack parameter extraction.

Conclusions

This paper presents a novel multi-hybrid optimization algorithm, known as the hybrid Gray Particle Cuckoo (GPC) algorithm, to identify unknown parameters of the PEMFC stack. Determining the values of the unknown model parameters (\(\xi _a\), \(\xi _b\), \(\xi _c\), \(\xi _d\), \(R_{con}\), \(\lambda\), and \(\beta\)) is a crucial subject in the discipline of PEMFC research. However, the complex nature of the PEMFC system makes it a very difficult challenge. Four different commercial PEMFCs (BCS500-W, Ballard Mark V, NedStack PS6, and Temasek Stack) were examined to determine their unknown parameters utilizing the GPC algorithm. The precision of the GPC algorithm was validated by the precise correlation between the results derived from the estimated and experimentally observed results. Statistical analysis, such as SSE (minimum, mean, and std.), IAE, MBE, MAE, MSE, and RMSE has been performed to demonstrate the superiority of the GPC algorithm compared to the other 11 MH optimization algorithms (ZOA, SCHO, PSA, SABO, YDSE, EDO, RIME, CDO, COA, HHO, and GWO). The objective function has been implemented as the SSE between the estimated and experimental voltage values, and the fitness values for the four PEMFC stacks (BCS500-W, Ballard Mark V, NedStack PS6 and Temasek) are 0.011699, 0.813912, 2.267687, and 0.123276775, respectively, using the GPC algorithm. In addition, all test cases undergo a thorough evaluation of the effects of altering the input operating parameters of the PEMFCs, such as temperature and supply pressures. In addition to the PEMFC extraction challenges, the performance of the proposed algorithm has been tested using the CEC 2019 challenges, and the results achieved by the GPC algorithm have been compared with other MH optimization algorithms (FPA, BWOA, FROBLGJO, CDO, COA, HHO, ZOA, ARNMRA, YDSE, as well as jDE100) to demonstrate its superiority. Additionally, a nonparametric test analysis (Friedman and Wilcoxon signed rank test), as well as the box plot, has been performed to verify the precision and reliability of the GPC algorithm compared to existing algorithms, and it is clear that the GPC algorithm is superior.

The performance variability of GPC in different benchmarks and PEMFC datasets can be attributed to the interaction between the internal dynamics of the algorithm and the inherent characteristics of the datasets themselves. In cases where the landscape of the underlying parameters is highly multimodal, with numerous local optima, GPC tends to outperform standalone algorithms due to its phase-wise integration of exploration and exploitation strategies. Early stage Lévy flights from CS help escape deceptive basins, while the guided search of GWO and the convergence strength of PSO allow for effective refinement. This layered adaptability is particularly effective in data sets with non-linear interdependencies and irregular error surfaces. However, in scenarios where the optimization landscape is relatively smooth or low-dimensional, simpler algorithms with fewer control parameters, such as standard PSO or GWO, may yield comparable or better results due to their lower overhead and faster convergence. Thus, the advantage of GPC becomes more pronounced in complex, noisy, or ill-conditioned datasets, while its performance may converge to baseline methods in well-behaved or low-complexity data sets. This suggests a potential avenue for future work, adapting the degree of hybridization dynamically based on landscape analysis or preliminary fitness landscape sampling.

Future studies should prioritize the validation of the proposed GPC algorithm for different fuel cell technologies, solar photovoltaic parameter extraction, smart grids, and other real-world applications. The GPC algorithm can also be improved for better solution quality by using new equations for exploration and exploitation operations. Other important factors can be the introduction of population size reduction, a memory bank to store previous solutions, and the reduction of computational time for better performance of the proposed GPC algorithm.