Next Article in Journal
Research on Wellbore Trajectory Prediction Based on a Pi-GRU Model
Previous Article in Journal
Fall Detection Using Federated Lightweight CNN Models: A Comparison of Decentralized vs. Centralized Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Sea Horse Optimization-Based Approach for PEM Fuel Cell Model Parameter Estimation

1
Hendek Vocational School, Sakarya University of Applied Sciences, Sakarya 54300, Turkey
2
Department of Electrical and Electronics Engineering, Sakarya University of Applied Sciences, Sakarya 54050, Turkey
3
Department of Chemistry, Faculty of Science, Advanced Technology Application and Research Center (ATARC), Kilis 7 Aralık University, Kilis 79000, Turkey
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2025, 15(15), 8316; https://doi.org/10.3390/app15158316
Submission received: 3 July 2025 / Revised: 21 July 2025 / Accepted: 24 July 2025 / Published: 26 July 2025
(This article belongs to the Section Energy Science and Technology)

Abstract

This study aims to determine the model parameters of proton exchange membrane fuel cells (PEMFC) by employing the Sea Horse Optimization (SHO) algorithm, a novel metaheuristic approach inspired by natural behaviors. Although conventional algorithms in the literature have achieved considerable success in parametric modeling accuracy, many of them suffer from inherent drawbacks, such as premature convergence and entrapment in local minima. The SHO algorithm, with its adaptive and dynamic nature, is designed to overcome these limitations. To further evaluate its performance, a detailed parametric sensitivity analysis is conducted on SHO-specific control parameters. In this work, experimental polarization data from a Ballard Mark V PEMFC is used as a reference to estimate the equivalent circuit model parameters ϵ 1 , ϵ 2 , ϵ 3 , ϵ 4 , β , λ , R c . The SHO algorithm achieved a mean absolute error (MAE) of 0.001079 and a coefficient of determination (R2) of 0.999791, with a model-to-experiment fit ratio of 99.92%. Compared to similar studies reported in the literature, the results indicate that the SHO algorithm offers competitive performance. Moreover, the average convergence time is recorded as 1.74 s for 5000 iteration, highlighting the algorithm’s rapid convergence and low computational cost. Overall, the SHO algorithm is demonstrated to be an efficient, robust, and promising alternative to conventional methods for parameter identification in PEMFC modeling.

1. Introduction

In recent years, fuel cells (FCs) have emerged as a key component in energy systems, owing to their high energy efficiency, low emission characteristics, and quiet operation. Among the various types, proton exchange membrane fuel cells (PEMFCs) attract significant attention due to their low operating temperature, compact structure, and rapid start-up capability. These features enable their use across a broad spectrum of applications, ranging from portable electronic devices to electric vehicles [1].
For the effective deployment of PEMFC systems, an accurate and reliable modeling approach is essential during the design and control stages. However, the modeling process is inherently complex and highly multi-variable, as these systems involve a range of interrelated physical phenomena, including electrochemical reactions, gas diffusion, humidity, and heat transfer, as well as fuel supply dynamics [2,3]. These factors underline the need for models that can accurately capture the physical behavior of fuel cells and highlight the critical balance between parametric accuracy and comprehensive system representation. The identification of accurate and reliable model design parameters plays a crucial role in both the performance prediction of PEMFCs and the overall system design process [4].
In the literature, a wide range of approaches have been developed for modeling PEMFCs. These models are generally categorized as mechanistic, empirical, semi-empirical, data-driven, and equivalent circuit models [3].
Mechanistic models represent the physical and chemical processes occurring within a fuel cell through detailed mathematical formulations. However, due to their complexity and the difficulty of obtaining precise parameter values, they are primarily used in theoretical studies. Experimental models provide straightforward estimations based on directly measured data but fail to reflect the internal dynamics of the system. Semi-empirical models combine both approaches, offering simplified yet practical solutions suitable for control-oriented applications. Data-driven models operate by learning from extensive experimental datasets; however, they are often costly and time-consuming to develop. For this reason, one of the most commonly adopted methods in engineering applications is the equivalent circuit model, which represents the electrical behavior of PEMFCs using conventional electronic components [3,5]. However, the effectiveness of this model largely depends on the accurate estimation of its parameters, which is why optimization algorithms are frequently employed. One of the most critical challenges across all modeling approaches lies in the reliable identification of these parameters. Since the required parameters are often not provided by manufacturers and can be difficult to determine experimentally, the accuracy of the model may be compromised. As a result, the use of optimization techniques becomes essential to ensure model fidelity [6].
In recent years, metaheuristic algorithms—such as Genetic Algorithms (GAs) [7], Particle Swarm Optimization (PSO) [8,9], Artificial Bee Colony (ABC) [10,11], Gazelle Optimization Algorithm (GOA) [12] and Grey Wolf Optimizer (GWO) [13]—have been widely utilized in the parameter estimation processes of PEMFC models. However, these methods do not always yield sufficient accuracy due to issues such as premature convergence or entrapment in local minima. This has increased the demand for more flexible and innovative optimization strategies. In this context, the Sea Horse Optimization (SHO) algorithm has emerged as a promising alternative, offering fast convergence, the ability to avoid local optima, low computational cost, and a high level of accuracy—making it particularly well-suited for complex engineering applications [14]. A comparison between optimization methods and the models to which they are applied from existing publications in the literature is made and is given in Table 1.
Inspired by the biological behavior of seahorses, the SHO algorithm adopts a two-phase strategy in which individuals explore the search space by drifting along environmental currents and exploit promising regions through spiral movements toward elite solutions. By effectively balancing exploration and exploitation, the SHO algorithm ensures a well-distributed search over the solution space. Evaluating the potential limitations of the SHO algorithm in practical applications is crucial, especially in terms of its scalability in large-scale systems and its effectiveness in real-time control scenarios. The literature indicates that nature-inspired metaheuristic algorithms face various challenges in high-dimensional search spaces, such as convergence stability, convergence time, and resource usage. Because of their nature, such algorithms attempt to optimize many decision variables simultaneously; convergence delays can occur due to the large size of the search space, which can limit the algorithm’s efficiency, especially in large-scale systems.
From a real-time control perspective, algorithmic latency becomes a critical factor when algorithms like SHO require fast and stable responses. In systems requiring real-time performance, such as fuel cell control or load frequency regulation, the computational burden of SHO can impact its ability to respond instantaneously to system dynamics. This creates some limitations for the algorithm’s integration into online control systems. In this context, there are studies that thoroughly address the limitations of metaheuristic algorithms in energy system applications. For example, a comprehensive analysis of the use of metaheuristic methods in energy production and management indicated that algorithm complexity, convergence time, and convergence dynamics are among the fundamental problems encountered in real-time applications [25]. Similarly, another study examining the fundamental inherent challenges of nature-inspired algorithms indicated that the scalability, parameter sensitivity, and mathematical modeling deficiencies of these approaches may limit their applicability to large-scale engineering problems [26]. Therefore, to increase the effectiveness of the SHO algorithm in large-scale and time-sensitive applications, more simplified structures or hybrid solutions should be developed to improve computational efficiency; furthermore, the algorithm’s applicability to problems of different sizes should be systematically tested.

2. Mathematical Modeling of PEMFC

Fuel cells are specialized electrochemical devices that convert chemical energy directly into electrical energy. These systems include a semi-permeable membrane that allows for the passage of protons while blocking electrons. Proton exchange membrane fuel cells (PEMFCs) feature a multilayered structure comprising a polymer-based membrane, anode and cathode electrodes, catalyst layers, gas diffusion layers, bipolar plates, and sealing components.
The polarization curve represents a key performance characteristic of PEMFCs, providing insight into their voltage–current behavior under various load conditions [27]. The rapid voltage drop observed at the beginning of the curve in Figure 1 is defined as the activation loss.
This phenomenon arises from the energy barrier required to initiate electrochemical reactions on the electrode surfaces. At low current densities, this effect is predominant and represents a major factor limiting cell efficiency. In the intermediate current density region, the voltage exhibits a more linear decline, which corresponds to the ohmic polarization region. This section reflects losses due to ionic and electrical resistances within the cell. Proton conduction through the membrane and the conductivity associated with the electrodes primarily influence the voltage behavior in this region. It is typically regarded as the most efficient operating range for PEMFC systems. Toward the end of the curve, a sharp voltage drop occurs at high current densities, attributed to concentration polarization. This results from insufficient transport of reactant gases (hydrogen and oxygen) to the electrode surfaces. When the gas diffusion limits are approached, the reaction rate is constrained, causing a noticeable decline in cell performance. In conclusion, the polarization curve provides a critical foundation for analyzing PEMFC performance under varying operating conditions and plays an essential role in guiding system design and control strategy development [28].
As shown in the PEMFC structure in Figure 2, hydrogen and oxygen gases undergo an electrochemical reaction, enabling them to produce electricity [29].
In the PEMFC anode (1):
H 2 H + + 2 e
In the PEMFC cathode (2):
1 2 O 2 + 2 H + + 2 e H 2 O
In the entire PEMFC (3):
H 2 + 1 2 O 2 H 2 O + W el + Q heat
reactions occur. The electrochemical and fundamental thermodynamic equations resulting from these reactions form the basis for deriving the mathematical model of the fuel cell [30]. The operating voltage of a single cell, v fc , is presented in Equation (4). It is defined as the difference between the open-circuit voltage E and the sum of various voltage losses. Specifically, the cell voltage is obtained by subtracting the activation loss v act , ohmic loss v ohm , and concentration loss v conc from E, as defined in Equation (5). These loss components are calculated using Equations (6)–(11).
v fc = E v act v ohm v conc
E = 1.229 8.5 × 10 4 ( T fc 298.15 ) + 4.308 × 10 5 T fc ln P O 2 2 + P H 2
v a = ξ 1 + ξ 2 T fc + ξ 3 T fc ln ( C O 2 ) + ξ 4 T fc ln ( I fc )
C O 2 = P O 2 5.08 × 10 6 exp 498 T fc
v ohm = I fc R m + R c
R m = ρ m · l M A
ρ m = 181.6 1 + 0.03 I fc M A + 0.062 I fc 303 2 I fc M A 2.5 λ 0.634 3 I fc M A exp 4.18 T fc 303 T fc
v conc = β ln 1 J J max
The theoretical output voltage obtained from this mathematical modeling differs significantly from the ideal behavior of the fuel cell when compared to performance losses encountered in practical applications. Although this framework is effective in describing the voltage–current relationship of PEMFC systems at a theoretical level, the accuracy and validity of the model largely depend on the precision of the parameters used and the extent to which the model reflects actual system behavior [31]. Accurate identification of parameters related to physical phenomena such as activation losses, ohmic resistances, and concentration effects is crucial for ensuring reliable model predictions under both static and dynamic operating conditions. However, direct measurement of these parameters is often impractical, and conventional methods frequently fall short due to high computational costs or convergence to local minima. In this context, optimization-based approaches provide an effective solution by enhancing parameter fitting, minimizing discrepancies between model predictions and experimental data, and yielding more reliable simulation outputs [32].
In this study, the SHO algorithm, inspired by the adaptive movements of seahorses in nature, is employed to determine the optimal values of the unknown parameters ε 1 , ε 2 , ε 3 , ε 4 , b , λ , R c in the PEMFC model.

3. Sea Horse Optimization Algorithm (SHO)

The SHO algorithm is a nature-inspired metaheuristic developed based on the movement patterns and environmental adaptability of seahorses. The algorithm’s exploration and exploitation mechanisms are fundamentally modeled after the spiral swimming behavior of seahorses and their tendency to drift with ocean currents. The spiral motion enables detailed local search around promising areas, while the drifting behavior facilitates broader exploration of the solution space. Additionally, seahorses’ ability to anchor themselves to marine structures such as seaweed and coral reflects the algorithm’s capacity to adapt and navigate efficiently within dynamic search environments [14].

3.1. Inspiration

The life cycle and behavioral patterns of seahorses are structured around three fundamental strategies: movement, hunting, and reproduction. In the initial phase, seahorses explore their surroundings through spiral motion and passive drifting with ocean currents, which enables them to identify potential food sources and investigate new regions. In the second phase, they engage in targeted feeding by carefully selecting prey and capturing it using their tubular snouts. This stage plays a critical role in minimizing external disturbances during the hunting process. In the final phase, reproductive behavior becomes dominant; male seahorses carry and nurture the eggs in their brood pouch until hatching. Through this natural cycle comprising exploration, foraging, and reproduction, seahorses demonstrate high levels of environmental adaptability and ecological sustainability [14].

3.2. Movement Behavior

  • Condition:
    In their natural habitats, seahorses demonstrate unique movement patterns to explore food sources and investigate new living areas. To mathematically simulate this natural motion, the current best solution in the search space is considered as X elite . This reference point guides the movement of the entire population toward optimal solutions within the search domain.
    X new 1 ( t + 1 ) = X i ( t ) + Levy ( λ ) X elite ( t ) X i ( t ) × x × y × z + X elite ( t ) , r 1 > 0
    This initial behavior is inspired by the spiral motion of seahorses as they create vortices while swimming in the ocean and plays a critical role in enabling local exploitation. When the standard random variable r 1 exceeds a predefined threshold, seahorses imitate spiral trajectories, progressing steadily toward the elite solution. This movement behavior is further enhanced by Lévy flight patterns [33], which dynamically adjust step sizes, allowing the algorithm to explore diverse regions in early iterations and avoid premature convergence to local optima. Simultaneously, the spiral turning angle is continuously adjusted to expand the area around local optima, thereby enabling more detailed exploration. Mathematically, this spiral motion is described by Equation (12) using the three-dimensional coordinates ( x , y , z ) that define the updated position of the seahorse. The spiral length ρ and turning angle θ define the geometry of the motion, while the Lévy flight mechanism introduces stochastic variation. Together, these components allow seahorses to dynamically adapt their positions in the search space, emulating purposeful swimming behavior and maintaining an effective balance between exploration and exploitation [33].
  • Condition:
    Among the movement behaviors exhibited by seahorses is Brownian motion, which is characterized by random drifting along with ocean currents [34]. This motion is activated when the value of r 1 is less than a predefined threshold, corresponding to the exploration phase of the algorithm. In this context, the SHO algorithm employs this behavior to prevent entrapment in local extrema and to enable a more extensive search of the solution space. Brownian motion enhances the exploration capability by simulating a new movement length for the seahorse, thereby promoting broader search dynamics. Mathematically, the updated position expression for this movement is as in Equation (13):
    X new 1 ( t + 1 ) = X i ( t ) + rand · l · β t · X i ( t ) β t · X elite for r 1 0
    • l is a constant coefficient.
    • β t is the Brownian motion random step size coefficient, which follows a standard normal distribution and represents a randomly generated value.
    In conclusion, the movement phase of the seahorse can be summarized based on two distinct behavioral models:
    • Spiral Motion: When r 1 > 0 , the seahorse moves toward the elite solution through a spiral trajectory.
    • Brownian Motion: When r 1 0 , it randomly drifts with ocean currents to explore new regions.
    These two behavior mechanisms simulate seahorses’ adaptive behavior under uncertain environmental conditions and effectively balance exploration and exploitation dynamics in the algorithm.

3.3. Hunting Behavior

The hunting behavior of seahorses is a biologically efficient process, and observational studies indicate prey capture success rates exceeding 90%. In the SHO algorithm, this natural strategy is mathematically modeled to regulate the balance between exploration and exploitation. A randomly generated number r 2 is used as a key parameter to determine the success of the hunting attempt, with a threshold value set at 0.1 in the literature [14]. The change in this value is also analyzed within the scope of the study.
  • When r 2 > 0.1 , the hunting behavior is considered successful. In this case, the seahorse moves towards the prey (i.e., the elite solution X elite ), leading to faster and more stable convergence. This enhances the exploitation capability of the SHO algorithm by intensifying the search around the elite region.
  • When r 2 0.1 , the hunting attempt fails, indicating that the seahorse is in an exploratory state. Under this condition, the algorithm adjusts the movement direction based on the distance between the current individual and the elite solution, redirecting the search toward new areas. This mechanism helps prevent entrapment in local minima and facilitates a more effective global search across the solution space.
The mathematical representation of this hunting behavior is expressed in Equation (14):
X new 2 ( t + 1 ) = α X elite rand · X new 1 ( t ) + ( 1 α ) X elite , if r 2 > 0.1 ( 1 α ) X new 1 ( t ) rand · X elite + α X new 1 ( t ) , if r 2 0.1
Here, X new 1 ( t ) represents the updated position of the seahorse at a given iteration, and r 2 denotes a random number within the interval [ 0 , 1 ] . The parameter α linearly decreases with iterations to adjust the step size of the seahorse during prey capture. This mechanism ensures that the hunting behavior contributes to both exploitation and exploration, thereby enhancing the overall performance of the algorithm [14].

3.4. Reproductive Behavior

The reproductive behavior of seahorses constitutes a critical phase in the SHO algorithm, enabling the generation of new candidate solutions. During this process, the population is divided into two groups based on their fitness values: male and female seahorses. Considering the biological role of male seahorses in reproduction, the SHO algorithm designates the top half of the population (in terms of fitness) as fathers, while the remaining individuals are considered mothers. This selection strategy facilitates the transfer of favorable genetic traits between parents and helps prevent the offspring from being trapped in local optima. The mathematical representation of this behavior is given in Equations (15) and (16):
  • The top 50% of individuals based on fitness form the father population:
    fathers = X sort 2 1 : pop 2
  • The remaining 50% of individuals constitute the mother population:
    mothers = X sort 2 pop 2 + 1 : pop
Here, X sort 2 denotes the sorted list of all X new 2 individuals in ascending order based on their fitness values. The sets fathers and mothers represent the male and female seahorses, respectively. Each male–female pair is randomly selected to generate offspring. For simplicity in computation, each seahorse pair produces only a single offspring. The mathematical model for production of the i th new offspring is given in Equation (17):
X i offspring = r 3 X i father + ( 1 r 3 ) X i mother
In Equation (17), r 3 is a randomly generated number in the range [ 0 , 1 ] . The index i denotes a positive integer within the range [ 1 , pop / 2 ] , where X i father and X i mother represent randomly selected individuals from the male and female populations, respectively.
Through this reproductive phase, the SHO algorithm preserves genetic diversity and promotes the generation of new candidate solutions, thereby enhancing its ability to reach the global optimum.
The basic flowchart of the SHO algorithm is given in Figure 3. The algorithm consists of creating an initial population, updating individuals using spiral or Brownian motion, generating new solutions through hunting and breeding steps, and evaluating their fitness. These steps are repeated until a predefined number of iterations are reached.

4. Simulation Study and Results

4.1. Parametric Analysis of SHO

The Sea Horse Optimization (SHO) algorithm is an metaheuristic optimization method inspired by the natural swimming behavior of seahorses and models the exploration–exploitation balance based on biological movements. In this algorithm, the solution search process is guided by two fundamental behavior mechanisms: Lévy flight and Brownian motion. Both behavior types are controlled by different parameters, and the selection of these parameters directly impacts the overall performance of the algorithm. In this study, to more clearly demonstrate the effects of the SHO algorithm on convergence behavior and solution accuracy, the lambda ( λ ) for Lévy flight, the Brownian motion step coefficient (l), the random step size ( β t ), and the deciding parameter r 1 and r 2 are analyzed in detail. Sensitivity analyses conducted for each parameter separately provide comprehensive insights into the search performance of SHO. In the Sea Horse Optimization (SHO) algorithm, when mathematically modeling the natural motion behavior of seahorses, Lévy flight stands out as a particularly important exploration mechanism. This movement pattern allows the algorithm to scan the solution space more broadly and directionally, increasing its ability to avoid local minima. The characteristics of Lévy flight are determined by a parameter called λ . In this study, a parametric analysis for λ is conducted to examine the effect on the solution accuracy and convergence time of the SHO algorithm. The λ parameter is generally defined between 0 and 2. The λ value used in analysis is determined between 0.5 and 1.9, and the SSE (sum of squared error), convergence time, and R 2 (coefficient of determination) corresponding to each value are summarized in Table 2:
The results show that a value of λ = 1.5 provides the most balanced results in terms of both solution accuracy and convergence time. A value of λ = 0.5 limited both exploration and exploitation capabilities due to excessively short jumps. λ = 1.1 and 1.3 also produced successful results, but the solution quality was slightly lower than 1.5 . On the other hand, λ = 1.7 and 1.9 caused the algorithm to perform more exploration, which increased the convergence time and decreased the solution quality. Experimental analysis of the l parameter, which controls the step length of Brownian motion in the SHO algorithm, reveals that the algorithm’s convergence behavior is highly sensitive to this parameter. A value of l = 0.05 provided optimal performance with both the lowest error value and the highest agreement coefficient; larger values of l were observed to increase exploration capability but delay convergence. These findings are given in Table 3.
The effect of the β t coefficient—which is included in the Brownian motion of the Sea Horse Optimization (SHO) algorithm and governs the jump behavior in the solution space—on the algorithm’s performance is analyzed. The β t parameter directly determines the exploration capacity by affecting the direction and amplitude of the solution and plays a significant role in the convergence process. In the experimental evaluation, the algorithm was run under the same initial conditions using different β t values (0.2, 0.5, 0.8, 1.0, 1.2), and the results were evaluated based on three key metrics (SSE, time, R 2 ). The lowest SSE = 0.000012 and the highest R 2 = 0.999733 were obtained with a value of β t = 0.8 . This indicates that medium-sized random jumps balance both the exploration capacity and the convergence stability of SHO. While solution quality decreases with lower β t values (e.g., 0.2) due to limited movement, higher β t values (1.2) result in deterioration in convergence stability and increased error values due to excessive jump growth. The findings in Table 4 demonstrate that, within the framework of the exploration–exploitation balance emphasized in the literature, careful tuning of the β t parameter is critical to the performance of the SHO algorithm.
Another important parameter is the r 1 parameter in the algorithm. This parameter is a random number and determines which movement pattern an individual will adopt in a given situation. In this study, the effects of different distributions of the r 1 parameter on the SSE, R 2 , and convergence time is investigated. The results of tests conducted with different distributions are summarized below:
  • r 1 = randn ( ) : Spiral and Brownian motions are balanced. In this reference case, SSE = 0.00001 and R 2 = 0.9998 are achieved.
  • r 1 = rand ( ) : Because all individuals demonstrate spiral motion, the algorithm converges quickly, but its exploration capability is somewhat reduced. Nevertheless, high accuracy and a quick solution are achieved.
  • r 1 = 0 : In this case, where all individuals explored only with Brownian motion, solution quality decreases significantly (SSE = 0.00409, R 2 = 0.912 ). This result demonstrates that excessive exploration bias can limit solution accuracy.
  • r 1 Beta ( 2 , 5 ) : In this distribution with a higher exploration bias, a slight increase in the SSE value is observed, while the convergence time is extended. This demonstrates that increasing exploration provides a more stable result despite the longer time requirements.
  • r 1 Beta ( 5 , 2 ) : When exploitation bias is dominant, higher accuracy is achieved in a shorter time; however, because exploration is limited, the algorithm’s ability to provide diversity in a large solution space is reduced.
The findings are presented in Table 5, and each distribution case is summerized.
Parametric analysis of r 2 is conducted to evaluate the impact. This parameter governs the effects of the predation behavior of the Sea Horse Optimization (SHO) algorithm on convergence stability and solution quality. The r 2 parameter plays a critical role in determining whether the solution update will be exploration–exploitation oriented. Although the literature commonly adopts r 2 U ( 0 , 1 ) (uniform distribution), this study aims to systematically investigate the effect of different distribution types on algorithm performance. The findings are reported in Table 6. Four different distributions were applied in the experimental evaluation:
  • Fixed value: r 2 = 0.5
  • Exploration-biased distribution: r 2 Beta ( 2 , 5 )
  • Exploitation-biased distribution: r 2 Beta ( 5 , 2 )
  • Uniform distribution: r 2 U ( 0 , 1 )
The obtained results show that the performance of the SHO algorithm is directly affected by the distribution of r 2 . When a uniform distribution is used, the algorithm achieves a very low SSE = 0.000010 in 1.74 s, and the highest R 2 = 0.999791 is observed. These results indicate that the natural balance between exploration and exploitation behaviors in the original design of SHO is positively reflected in the algorithm’s performance. The algorithm performed a more comprehensive exploration in the solution space for the Beta(2,5). In this case, the SSE value was recorded as approximately 0.000029, but the algorithm’s convergence time extended to approximately 4.28 s. Nevertheless, a high R 2 = 0.999375 was obtained. This indicates that broad search capability has a positive effect on accuracy, although it increases convergence time. On the other hand, when the exploitation-biased Beta(5,2) distribution was used, the algorithm exhibited a faster convergence process 4.15 s, but the SSE = 0.009850 and R 2 = 0.789031 remained relatively weak. These results show that the algorithm concentrated on elite regions, but the overall search efficiency decreased, and the risk of being trapped in local minima increased. In the case where a fixed r 2 = 0.5 value was used, both exploration and exploitation capabilities remained limited, resulting in the highest SSE = 0.020477 and the lowest R 2 = 0.562087 . In this case, due to the algorithm’s limited adaptation capability, it is understood that the overall performance level is low.

4.2. PEM Fuel Cell Model Parameter Estimation

In this study, for PEMFC modeling, the Ballard Mark V model is employed. The model parameters and operating conditions are set as follows: N = 1 , T = 343 K , P O 2 = 1 bar , P H 2 = 1 bar , J max = 1.5 A / cm 2 , l = 0.0178 cm , A = 50.6 cm 2 . Reference experimental measurements were obtained from the polarization curve in [28].
For the Ballard Mark V model, experimental measurements reported in the literature are used. The population size is set to 30, and the maximum number of iterations is limited to 5000. Since the performance of an optimization method is limited by parameter limits, The search area of the Ballard Mark V PEMFC model is limited, using the limit values available in the literature for the parameters to be optimized [1,2,6,12,23,35,36,37]. Boundary limits for unknown parameters in the PEMFC model are given in Table 7.
The following results were obtained from the optimization process: RMSE = 0.001322, MAE = 0.001079, R 2 = 0.999791, true/model ratio = 0.9992 (seahorse success rate), convergence time: 1.74 s, best SSE = 0.000010. Best Parameters (ObjectivePosition): ε 1 = 0.853200 , ε 2 = 0.003250 , ε 3 = 0.000036 , ε 4 = 0.000095 , λ = 12.068511 , R c = 0.000293 , β = 0.013642 .
To assess the impact of varying the parameter search limits on model accuracy, sensitivity analysis was performed using limits narrowed and expanded by ± 10 % in addition to the literature limits. The results obtained with ± 10 % narrowing or expanding of the limit values are shown in Table 8.
According to the results obtained, when the limits in the literature were used, the lowest error value was obtained, RMSE was 0.001322, and the best SSE was 0.00001. In cases where the boundaries were narrowed and expanded, model accuracy remained acceptable, with RMSEs of 0.002709 and 0.002629, respectively. These findings indicate that the SHO algorithm has low sensitivity to small changes in parameter boundary values, thus achieving high solution stability and identification reliability.
The comparison between the simulated model and the experimental data and while the SHO algorithm converges over 5000 iterations is depicted in Figure 4. A gradual decrease in the error value is observed, and finally, the best SSE of 0.000010 is reached.

5. Discussion

In this study, the SHO algorithm is applied for the first time to determine the PEMFC model parameters. Unlike techniques such as genetic algorithms, particle swarm optimization (PSO), and genetic algorithms (GAs), which are frequently used in the literature, the multi-stage exploration–exploitation strategy of SHO, based on seahorse behaviors, provides more flexible and balanced navigation in the solution space. While the spiral and Brownian motion-based search mechanisms allow for extensive exploration in the early iterations, hunting and reproductive behaviors prevent the model from getting stuck in local minima. Parametric analyses demonstrate in detail how the parametric changes of the SHO algorithm affect these situations.
The parametric analyses revealed that control parameters such as λ , l, β t , r 1 , and r 2 used in the SHO algorithm are not only technical settings but also play a decisive role in the algorithm’s exploration–exploitation balance, convergence time, and solution quality. It was observed that λ = 1.5 , l = 0.05 , and β t = 0.8 values enable SHO to perform extensive searches and find solutions with high accuracy. Furthermore, the choice of r 1 and r 2 distribution fundamentally affects the algorithm’s behavior, as it determines whether individuals exhibit spiral or Brownian movements, or it affects the exploration–exploitation balance. These findings demonstrate that conducting a preliminary analysis of the SHO algorithm at the parameter level before applying it to different problem types is critical to its performance. This study contributes to the literature by clearly demonstrating how the structural flexibility of SHO can be optimized with correct parameter selections.
The modeling process yielded a Mean Absolute Error (MAE) of 0.001079 and a coefficient of determination R 2 of 0.999791, which indicates a satisfactory level of accuracy. Furthermore, the developed model, using the optimal parameter set, demonstrated a 99.92% agreement with experimental data, underscoring the high-resolution optimization capability of the SHO algorithm.
With an average convergence time of only 1.74 s, SHO exhibits low computational demand, suggesting its suitability for real-time applications. This renders it particularly promising for embedded systems or time-sensitive applications, such as in automotive systems or portable fuel cell devices.
As seen in Table 9, the use of Brownian motion and Lévy flights in SHO leads to a unique balance between exhaustive local search and long-distance exploratory leaps. This structure allows the algorithm to escape local optima more effectively than traditional metaheuristics that lack such movement diversity. SHO’s hybrid structure, which includes Brownian motion and Lévy flights, appears to provide a natural balance between exploration and convergence without the need for parameter tuning. This structure provides strong resistance to avoiding local minima while also supporting the algorithm’s convergence stability. While algorithms such as GWO or PSO are typically based on fixed leadership or social components, direction updates in SHO occur stochastically and adaptively. This structure is one of the main reasons for SHO’s high performance in complex solution spaces. The resulting improvement in convergence stability and solution quality is supported both theoretically and experimentally in the presented results. The experimental results are compared with other studies in the literature in Table 10.
The SSE metric used in this study is calculated using the polarization curve obtained under a constant temperature of 70 °C and pressure of 1 bar, conditions commonly adopted in the literature [9]. This approach, as in previous studies, is generally based on optimization only for a specific operating condition. The main reason for this is that the current–voltage characteristics of the PEMFC are highly sensitive to temperature and pressure changes. Since changes in these parameters significantly alter the current–voltage curve, direct comparison of SSE values calculated under different conditions is not meaningful in the evaluation of model performance [17]. Therefore, the vast majority of studies in the literature perform SSE calculations only using a standard polarization curve to make performance evaluations meaningful and comparable. Furthermore, even if the model is optimized for different conditions in some studies, the reported SSE values are calculated only using the polarization curve for a fixed reference condition (usually 70 °C and 1 bar) [21,24]. The same method is adopted in this study. Although the evaluation in this study is conducted under fixed conditions (70 °C and 1 bar), which are widely adopted in the literature, PEMFC model parameters, such as membrane conductance, contact resistance, and exchange current density, are known to be sensitive to environmental variations. Such dynamic variations are a fundamental challenge inherent in PEMFC modeling. The direction-adaptive and balanced search structure of the SHO algorithm stands out for its flexibility in nonlinear and time-varying optimization problems, offering advantages over fixed-structure metaheuristic methods. This feature creates promising potential for future research under different operating conditions.

6. Conclusions

In the literature, there is no study in which this algorithm is directly used in determining the equivalent circuit model parameters for proton exchange membrane fuel cells (PEMFC). In this paper, the SHO algorithm is applied to PEMFC model parameter optimization for the first time, and this gap in the literature is filled by evaluating the potential of the algorithm. In the modeling process, the experimental polarization data of the Ballard Mark V type cell are taken as reference, and the seven basic ( ε 1 , ε 2 , ε 3 , ε 4 , b, λ , R c ) parameters of the equivalent circuit model are optimized with the SHO algorithm. The SHO algorithm stands out with its high accuracy (MAE = 0.001079), strong convergence performance, and low convergence time (1.74 s); it offers a solution method that is resilient to the problems of premature convergence and getting stuck in local minimum. The high accuracy level and low convergence time offered by SHO make it a remarkable alternative in terms of PEMFC parameter estimation. Recent studies [38,39] have proposed improved versions of the original seahorse optimization algorithm by adding chaotic arrays, adaptive update rules, and improved search direction mechanisms to further improve its performance on global optimization tasks. In particular, Hashim et al. [38] introduced the Modified Seahorse Optimizer (MSHO) and demonstrated its superiority in benchmarking and engineering problems through numerous enhancements. These studies demonstrate the original SHO framework’s modular and flexible structure, which can be extended. As a result, it can be seen that the SHO-based optimization approach presented in this study is not only limited to PEMFC modeling but has also been effectively used in various applications in the energy systems literature. The SHO algorithm provides successful results in a wide range of applications, such as real-time power management optimization and range estimation in electric vehicles [44], economical load allocation and power ripple reduction in photovoltaic microgrids [45], increasing energy efficiency in hybrid systems based on solid oxide fuel cells [46], improving system stability by providing faster settlement and lower overshoot values in load–frequency control [47], and improving transient performance in PSS settings by combining it with chaotic maps [48]. In particular, thanks to its hybrid direction updates based on Brownian motion and Lévy flight, SHO offers more balanced exploration–exploitation properties and more stable convergence behavior compared to traditional metaheuristic algorithms in both nonlinear and time-sensitive systems. In this context, the SHO algorithm is considered to be an effective and flexible tool not only for fuel cell modeling but also for the optimization of larger-scale energy systems. For future research, it is recommended to explore hybrid configurations to enhance its performance in more complex systems. Moreover, extending the application of the SHO algorithm to multi-objective optimization problems and other fuel cell technologies—such as Solid Oxide Fuel Cells (SOFC) and Direct Methanol Fuel Cells (DMFC)—may further broaden its utility.

Author Contributions

Conceptualization, G.H.; methodology, A.E. and E.B.A.; software, G.H.; investigation, G.H.; writing—original draft preparation, G.H.; writing—review and editing, G.H.; supervision, A.E. and E.B.A.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PEMFCsProton Exchange Membrane Fuel Cells
DMFCDirect Methanol Fuel Cells
SOFCSolid Oxide Fuel Cells
GAGenetic Algorithm
PSOParticle Swarm Optimization
ABCArtificial Bee Colony
GOAGazelle Optimization Algorithm
GWOGrey Wolf Optimizer
MSHOModified Seahorse Optimizer
SHOSea Horse Optimization
v fc Operating voltage of a single cell
EOpen-circuit
v act Activation loss
v ohm Ohmic loss
v conc Concentration loss
T fc Fuel cell temperature
P O 2 Partial pressure of oxygen
P H 2 Partial pressure of hydrogen
C O 2 Concentration of oxygen
I fc Fuel cell current
R c Contact resistance
R m Membrane resistance
ρ m Membrane resistivity
M A Active area of the membrane electrode assembly
J max Maximum current density
NNumber of cells
MSEMean Squared Error
MAEMean Absolute Error
R2Determination coefficient
λ Characteristic of Lévy flight
lBrownian motion step coefficient
β t Step size
r 1 and r 2 Deciding parameters

References

  1. Mitra, U.; Arya, A.; Gupta, S. A comprehensive and comparative review on parameter estimation methods for modelling proton exchange membrane fuel cell. Fuel 2023, 335, 127080. [Google Scholar] [CrossRef]
  2. Qais, M.H.; Hasanien, H.M.; Turky, R.A.; Alghuwainem, S.; Loo, K.H.; Elgendy, M. Optimal PEM fuel cell model using a novel circle search algorithm. Electronics 2022, 11, 1808. [Google Scholar] [CrossRef]
  3. Zhao, X.; Zhou, Y.; Wang, L.; Pan, B.; Wang, R.; Wang, L. Classification, summarization and perspective on modeling techniques for polymer electrolyte membrane fuel cell. Int. J. Hydrogen Energy 2023, 48, 21864–21885. [Google Scholar] [CrossRef]
  4. Ashraf, H.; Elkholy, M.M.; Abdellatif, S.O.; El-Fergany, A.A. Accurate emulation of steady-state and dynamic performances of PEM fuel cells using simplified models. Sci. Rep. 2023, 13, 19532. [Google Scholar] [CrossRef] [PubMed]
  5. Wang, Y.; Yang, X.; Sun, Z.; Chen, Z. A systematic review of system modeling and control strategy of proton exchange membrane fuel cell. Energy Rev. 2024, 3, 100054. [Google Scholar] [CrossRef]
  6. Priya, K.; Selvaraj, V.; Ramachandra, N.; Rajasekar, N. Modelling of PEM fuel cell for parameter estimation utilizing clan co-operative based spotted hyena optimizer. Energy Convers. Manag. 2024, 309, 118371. [Google Scholar] [CrossRef]
  7. Priya, K.; Babu, T.S.; Balasubramanian, K.; Kumar, K.S.; Rajasekar, N. A novel approach for fuel cell parameter estimation using simple genetic algorithm. Sustain. Energy Technol. Assessments 2015, 12, 46–52. [Google Scholar] [CrossRef]
  8. Chen, K.; Laghrouche, S.; Djerdir, A. Degradation prediction of proton exchange membrane fuel cell based on grey neural network model and particle swarm optimization. Energy Convers. Manag. 2019, 195, 810–818. [Google Scholar] [CrossRef]
  9. Ye, M.; Wang, X.; Xu, Y. Parameter identification for proton exchange membrane fuel cell model using particle swarm optimization. Int. J. Hydrogen Energy 2009, 34, 981–989. [Google Scholar] [CrossRef]
  10. Askarzadeh, A.; Rezazadeh, A. A new artificial bee swarm algorithm for optimization of proton exchange membrane fuel cell model parameters. J. Zhejiang Univ. Sci. C 2011, 12, 638–646. [Google Scholar] [CrossRef]
  11. Zhang, W.; Wang, N.; Yang, S. Hybrid artificial bee colony algorithm for parameter estimation of proton exchange membrane fuel cell. Int. J. Hydrogen Energy 2013, 38, 5796–5806. [Google Scholar] [CrossRef]
  12. Haddad, S.; Benghanem, M.; Hassan, B.; Soukkou, A.; Lekouaghet, B.; Soukkou, Y. Parameters optimization of PEMFC model based on gazelle optimization algorithm. Int. J. Hydrogen Energy 2024, 87, 214–226. [Google Scholar] [CrossRef]
  13. Ali, M.; El-Hameed, M.A.; Farahat, M.A. Effective parameters’ identification for polymer electrolyte membrane fuel cell models using grey wolf optimizer. Renew. Energy 2017, 111, 455–462. [Google Scholar] [CrossRef]
  14. Zhao, S.; Zhang, T.; Ma, S.; Wang, M. Sea-horse optimizer: A novel nature-inspired meta-heuristic for global optimization problems. Appl. Intell. 2023, 53, 11833–11860. [Google Scholar] [CrossRef]
  15. Priya, K.; Rajasekar, N. Application of flower pollination algorithm for enhanced proton exchange membrane fuel cell modelling. Int. J. Hydrogen Energy 2019, 44, 18438–18449. [Google Scholar] [CrossRef]
  16. 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]
  17. Chen, Y.; Wang, N. Cuckoo search algorithm with explosion operator for modeling proton exchange membrane fuel cells. Int. J. Hydrogen Energy 2019, 44, 3075–3087. [Google Scholar] [CrossRef]
  18. Bao, S.; Ebadi, A.; Toughani, M.; Dalle, J.; Maseleno, A.; Yıldızbası, A. A new method for optimal parameters identification of a PEMFC using an improved version of Monarch Butterfly Optimization Algorithm. Int. J. Hydrogen Energy 2020, 45, 17882–17892. [Google Scholar] [CrossRef]
  19. El-Fergany, A.A. Extracting optimal parameters of PEM fuel cells using Salp Swarm Optimizer. Renew. Energy 2018, 119, 641–648. [Google Scholar] [CrossRef]
  20. Yuan, Z.; Wang, W.; Wang, H.; Razmjooy, N. A new technique for optimal estimation of the circuit-based PEMFCs using developed sunflower optimization algorithm. Energy Rep. 2020, 6, 662–671. [Google Scholar] [CrossRef]
  21. 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]
  22. Gupta, J.; Nijhawan, P.; Ganguli, S. Optimal parameter estimation of PEM fuel cell using slime mould algorithm. Int. J. Energy Res. 2021, 45, 14732–14744. [Google Scholar] [CrossRef]
  23. Fawzi, M.; El-Fergany, A.A.; Hasanien, H.M. Effective methodology based on neural network optimizer for extracting model parameters of PEM fuel cells. Int. J. Energy Res. 2019, 43, 8136–8147. [Google Scholar] [CrossRef]
  24. Alsaidan, I.; Shaheen, M.A.; Hasanien, H.M.; Alaraj, M.; Alnafisah, A.S. Proton exchange membrane fuel cells modeling using chaos game optimization technique. Sustainability 2021, 13, 7911. [Google Scholar] [CrossRef]
  25. Yang, X.S. Nature-inspired optimization algorithms: Challenges and open problems. J. Comput. Sci. 2020, 46, 101104. [Google Scholar] [CrossRef]
  26. Chicco, G.; Mazza, A. Metaheuristic optimization of power and energy systems: Underlying principles and main issues of the ‘rush to heuristics. Energies 2020, 13, 5097. [Google Scholar] [CrossRef]
  27. Barbir, F. PEM Fuel Cells: Theory and Practice; Academic Press: Cambridge, MA, USA, 2012. [Google Scholar]
  28. Pukrushpan, J.T.; Stefanopoulou, A.G.; Peng, H. Control of Fuel Cell Power Systems: Principles, Modeling, Analysis and Feedback Design; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2004. [Google Scholar]
  29. Gao, F.; Blunier, B.; Miraoui, A. Proton Exchange Membrane Fuel Cells Modeling; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  30. Pukrushpan, J.T. Modeling and Control of Fuel Cell Systems and Fuel Processors; University of Michigan: Ann Arbor, MI, USA, 2003. [Google Scholar]
  31. Jangir, P.; Ezugwu, A.E.; Arpita; Agrawal, S.P.; Pandya, S.B.; Parmar, A.; Abualigah, L. Precision parameter estimation in Proton Exchange Membrane Fuel Cells using depth information enhanced Differential Evolution. Sci. Rep. 2024, 14, 29591. [Google Scholar] [CrossRef] [PubMed]
  32. Vujošević, S.; Micev, M.; Ćalasan, M. Enhancing PEMFC parameter estimation: A comparative literature review and application of the Walrus optimization algorithm and its hybrid variants. J. Renew. Sustain. Energy 2025, 17, 024103. [Google Scholar] [CrossRef]
  33. Mantegna, R.N. Fast, accurate algorithm for numerical simulation of Levy stable stochastic processes. Phys. Rev. E 1994, 49, 4677. [Google Scholar] [CrossRef] [PubMed]
  34. Einstein, A. Investigations on the Theory of the Brownian Movement; Dover Publications: Mineola, NY, USA, 1956. [Google Scholar]
  35. Cheng, J.; Zhang, G. Parameter fitting of PEMFC models based on adaptive differential evolution. Int. J. Electr. Power Energy Syst. 2014, 62, 189–198. [Google Scholar] [CrossRef]
  36. 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]
  37. Danoune, M.B.; Djafour, A.; Wang, Y.; Gougui, A. The Whale Optimization Algorithm for efficient PEM fuel cells modeling. Int. J. Hydrogen Energy 2021, 46, 37599–37611. [Google Scholar] [CrossRef]
  38. Hashim, F.A.; Mostafa, R.R.; Khurma, R.A.; Qaddoura, R.; Castillo, P.A. A new approach for solving global optimization and engineering problems based on modified sea horse optimizer. J. Comput. Des. Eng. 2024, 11, 73–98. [Google Scholar] [CrossRef]
  39. Özbay, F.A. A modified seahorse optimization algorithm based on chaotic maps for solving global optimization and engineering problems. Eng. Sci. Technol. Int. J. 2023, 41, 101408. [Google Scholar] [CrossRef]
  40. Aribowo, W. A novel improved sea-horse optimizer for tuning parameter power system stabilizer. J. Robot. Control (JRC) 2023, 4, 12–22. [Google Scholar] [CrossRef]
  41. Eberhart, R.; Kennedy, J. A new optimizer using particle swarm theory. In Proceedings of the MHS’95. Proceedings of the Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, 4–6 October 1995; pp. 39–43. [Google Scholar]
  42. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  43. Karaboga, D. An Idea Based on Honey Bee Swarm for Numerical Optimization; Tech Report-TR06; Computer Engineering Department, Engineering Faculty, Erciyes University: Kayseri, Turkey, 2005; p. 10. [Google Scholar]
  44. Sivaramkrishnan, M.; Kathirvel, N.; Kumar, C.; Barua, S. Power management for fuel-cell electric vehicle using Hybrid SHO-CSGNN approach. Energy Rep. 2024, 11, 6069–6082. [Google Scholar] [CrossRef]
  45. Kumar, S.S.; Iruthayarajan, M.W.; Saravanan, R. Hybrid technique for optimizing charging-discharging behaviour of EVs and demand response for cost-effective PV microgrid system. J. Energy Storage 2024, 96, 112667. [Google Scholar] [CrossRef]
  46. Ahuja, A.; Waghole, D.; Ramdasi, S.S. Fuel Consumption Optimization in Solid Oxide Fuel Cell Based Hybrid Electric Tractor Using Multihead Cross Attention and Sea-Horse Optimization. Optim. Control Appl. Methods 2025, 46, 1759–1776. [Google Scholar] [CrossRef]
  47. Andic, C.; Ozumcan, S.; Varan, M.; Ozturk, A. A novel sea horse optimizer based load frequency controller for two-area power system with PV and thermal units. Int. J. Robot. Control Syst. 2024, 4, 606–627. [Google Scholar] [CrossRef]
  48. Karaboga, D.; Basturk, B. A powerful and efficient algorithm for numerical function optimization: Artificial bee colony (ABC) algorithm. J. Glob. Optim. 2007, 39, 459–471. [Google Scholar] [CrossRef]
Figure 1. Typical polarization curve for PEMFC.
Figure 1. Typical polarization curve for PEMFC.
Applsci 15 08316 g001
Figure 2. Structural components and electrochemical reaction flow of a PEM fuel cell.
Figure 2. Structural components and electrochemical reaction flow of a PEM fuel cell.
Applsci 15 08316 g002
Figure 3. Flowchart of the SHO algorithm.
Figure 3. Flowchart of the SHO algorithm.
Applsci 15 08316 g003
Figure 4. Simulation graphic results. (a) Comparison of model and experimental data. (b) Convergence curve.
Figure 4. Simulation graphic results. (a) Comparison of model and experimental data. (b) Convergence curve.
Applsci 15 08316 g004
Table 1. Optimization methods and descriptions of the adopted models in literature.
Table 1. Optimization methods and descriptions of the adopted models in literature.
Ref.Optimization MethodsDescription of the Adopted Model
Ballard Mark VBCSNedstack PS6TemasekWNsSR-12
[15]Flower Pollination AlgorithmYesYesYesYesYesYes
[16]Whale Optimization AlgorithmYes-----
[10]Bee Colony Algorithm----Yes-
[17]Cuckoo Search AlgorithmYesYes--YesYes
[18]Monarch Butterfly Optimization Algorithm--Yes---
[13]Grey Wolf Optimization AlgorithmYesYes-YesYesYes
[19]Salp Swarm Optimization Algorithm-YesYes---
[20]Sunflower Optimization Algorithm--Yes---
[21]Grasshopper Optimization AlgorithmYes---YesYes
[22]Slime Mould AlgorithmYes----Yes
[6]Spotted Hyena Optimization AlgorithmYesYesYesYesYes-
[23]Neural Network AlgorithmYesYesYes---
[24]Chaos Game Optimization TechniqueYes-Yes--Yes
SHOSea Horse OptimizationYes-----
Table 2. The effect of the λ parameter on the SHO algorithm’s performance.
Table 2. The effect of the λ parameter on the SHO algorithm’s performance.
λ Time (s)SSE R 2 Explanation
0.51.600.0000540.998852Exploitation dominant. The step length is very short, so the algorithm searches more around the current region. Exploration is limited; the solution is stable, but the probability of reaching the global minimum is low.
1.11.700.0000310.999346Near balance. Exploration ability has increased, but exploitation remains strong. Solution quality is high and time is acceptable.
1.31.720.0000190.999498Exploration-oriented balance. Step lengths are longer, enabling broader search and better solution quality. Slight increase in convergence time.
1.51.740.0000100.999791Optimal balance. Perfect harmony between exploration and exploitation. Best results in both accuracy and convergence. Most recommended value in the literature.
1.71.830.0000370.999213Exploration dominant. Longer jumps enable broad search but delay convergence and increase error.
1.91.850.0000630.998640Over-exploration. Very long jumps cause unstable roaming in the solution space. Exploitation is reduced, solution quality decreases.
Table 3. Effect of Brownian step coefficient l on the SHO algorithm’s performance.
Table 3. Effect of Brownian step coefficient l on the SHO algorithm’s performance.
lTime (s)SSE R 2 Explanation
0.011.670.0000360.999220Small steps, faster but limited exploration. Good solution quality, but not optimal.
0.031.650.0000150.999688Optimal exploration–exploitation balance. Excellent performance in both time and SSE.
0.051.740.0000100.999791Lowest SSE and highest R 2 . Ideal l value for the original SHO.
0.071.920.0000170.999629Increased exploration, but also longer duration. Slight SSE increase, stability maintained.
0.101.970.0000270.999425Over-exploration led to delayed convergence. SSE increased. Local stability may have weakened.
Table 4. The effect of the β t parameter on the SHO performance algorithm.
Table 4. The effect of the β t parameter on the SHO performance algorithm.
β t Time (s)SSE R 2 Explanation
0.21.660.0000550.998830Low β t , narrower movement, shorter time but moderate solution quality
0.51.710.0000330.999302Improvement starts with increasing β t
0.81.820.0000120.999733Best performance: strong exploration, good
 convergence
1.01.790.0000400.999147Slight degradation begins, not too high
1.21.800.0000510.998914Excessive jumps, performance degradation
 observed
Table 5. The effect of the r 1 distribution on the SHO algorithm’s performance.
Table 5. The effect of the r 1 distribution on the SHO algorithm’s performance.
r 1 DistributionBest SSETime (s) R 2 Explanation
r 1 = randn ( ) 0.000011.740.999791Exploration–exploitation balance. Reference case. Combination of spiral and Brownian motion. Both behaviors are active.
r 1 = rand ( ) 0.0000181.640.999621Only spiral motion: all individuals have r 1 > 0 , leading to exploitation-only behavior. Fast convergence and high accuracy.
r 1 = 0 0.0040901.800.912408Only Brownian motion: all individuals have r 1 0 , leading to exploration-only behavior. Lower solution quality, but acceptable runtime.
r 1 Beta ( 2 , 5 ) 0.0000441.970.999053Mostly small r 1 values: exploration-biased. Longer runtime, moderate accuracy.
r 1 Beta ( 5 , 2 ) 0.0000321.770.999317Mostly large r 1 values: exploitation-biased. Short runtime, high accuracy.
Table 6. Effect of r 2 distribution on SHO algorithm performance.
Table 6. Effect of r 2 distribution on SHO algorithm performance.
r 2 DistributionBest SSETime (s) R 2 Explanation
Fixed ( r 2 = 0.5 )0.0204771.610.562087Low accuracy, fast runtime, but weak exploration–exploitation balance.
Beta(5,2) (exploitation-biased)0.0098504.150.789031Better accuracy, but high exploitation increases the risk of local minima.
Beta(2,5) (exploration-biased)0.0000294.280.999375Very high accuracy with best balance, but the longest runtime.
Uniform U ( 0 , 1 ) 0.0000101.740.999791Most balanced structure, high accuracy and short runtime, recommended default setting.
Table 7. Boundary limits for unknown parameters in PEMFC model [1,2,6,12,23,35,36,37].
Table 7. Boundary limits for unknown parameters in PEMFC model [1,2,6,12,23,35,36,37].
Model Parameter ε 1 ε 2 ε 3 ε 4 λ R c β
Lower Bound−1.19970.0010.000036−0.00026100.00010.0136
Upper Bound−0.85320.0050.000098−0.0000954240.00080.5
Table 8. Boundary limits for unknown parameters in PEMFC model.
Table 8. Boundary limits for unknown parameters in PEMFC model.
Limit RangeRMSEBest SSE
Literature values in Table 70.0013220.00001
10 % Narrowed0.0027090.000044
10 % Expanded0.0026290.000041
Table 9. Feature and algorithm comparison for SHO, PSO, GWO, and ABC.
Table 9. Feature and algorithm comparison for SHO, PSO, GWO, and ABC.
Feature/AlgorithmSHO (Sea Horse Optimization) [38,39,40]PSO (Particle Swarm Optimization) [8,9,41]GWO (Grey Wolf Optimizer) [13,42]ABC (Artificial Bee Colony) [11,12,43,44]
Biological InspirationSeahorse swarm behaviorBird/fish swarm movementHunting and social leadership structure of gray wolvesTask-distributed search behavior within a bee colony
Exploration MechanismDirectional and extensive search with Lévy flight and Brownian motionExtensive search with speed and position updatesRandom guidance with alpha, beta, and delta leadershipRandom search for new resources with scout bees
Exploitation MechanismLocal scanning with Brownian motion, directional position optimizationOrientation to the best positionPosition updating based on α , β , δ wolvesConcentration around the successful resource
Local Minima AvoidanceHigh (with Lévy flight and Brownian movement)Medium (risk of early convergence)Medium (fixed leader structure can be limiting)Low–medium (high randomness may cause local stagnation)
Mathematical StructurePosition updates via motion, distance scaling, and stochastic jumpsSpeed and position model with fixed parametersweighted average of positions and nonlinear distance modulationStochastic position updates
Exploration, Exploration and Search Behavior BalanceBalanced (Lévy and Brownian movement)Balance depends on user parametersExploration/exploitation rate generally fixedExploration is dominant, exploitation is limited
AdaptnessMedium–high (movement type effective)Low–medium (parameters fixed)Low (static leadership hierarchy)Low (roles unchanged)
Convergence StabilityHigh (controlled convergence)Medium (rapid but may be unstable)Medium–high (may converge early)Low (fluctuating solution quality)
Table 10. Unknown parameter and SSE comparison for Ballard Mark V PEMFC with other methods.
Table 10. Unknown parameter and SSE comparison for Ballard Mark V PEMFC with other methods.
StudyBest SSE ε 1 ε 2 ε 3 ε 4 λ R c β
[15]0.2872−0.87750.00250.000064439−0.0001253112.0160.00063690.0198
[16]0.8537−1.19780.00441830.000097214−0.0001627323.00.00010020.0136
[17]0.0023765−0.97280.00344800.000083832−0.0001132821.69950.00080.0136
[11]0.002067−1.18270.00370800.0000936−0.0001192511.76030.000787730.0136
[21]0.8710−0.85320.00341730.000098−0.0001595522.84580.00010.0136
[22]0.000017729−1.19420.0010.000041234−0.0001680715.33110.00020.2083
[6]0.0000104−1.19930.003620.000036704−0.000178419.68620.00030390.0665
[23]0.85361−0.979970.00369460.000090871−0.0001628223.00.00010.0136
[24]0.85361−1.1920420.00361240.000040797−0.0001628230.00010.0136
SHO0.00001−0.85320.0032500.000036−0.00009512.06850.0002930.0136
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Erduman, A.; Hazar, G.; Aydın, E.B. A Sea Horse Optimization-Based Approach for PEM Fuel Cell Model Parameter Estimation. Appl. Sci. 2025, 15, 8316. https://doi.org/10.3390/app15158316

AMA Style

Erduman A, Hazar G, Aydın EB. A Sea Horse Optimization-Based Approach for PEM Fuel Cell Model Parameter Estimation. Applied Sciences. 2025; 15(15):8316. https://doi.org/10.3390/app15158316

Chicago/Turabian Style

Erduman, Ali, Gizem Hazar, and Evrim Baran Aydın. 2025. "A Sea Horse Optimization-Based Approach for PEM Fuel Cell Model Parameter Estimation" Applied Sciences 15, no. 15: 8316. https://doi.org/10.3390/app15158316

APA Style

Erduman, A., Hazar, G., & Aydın, E. B. (2025). A Sea Horse Optimization-Based Approach for PEM Fuel Cell Model Parameter Estimation. Applied Sciences, 15(15), 8316. https://doi.org/10.3390/app15158316

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