Red-tailed Hawk Algorithm
Red-tailed Hawk Algorithm
com/scientificreports
This study suggests a new nature-inspired metaheuristic optimization algorithm called the red-tailed
hawk algorithm (RTH). As a predator, the red-tailed hawk has a hunting strategy from detecting the
prey until the swoop stage. There are three stages during the hunting process. In the high soaring
stage, the red-tailed hawk explores the search space and determines the area with the prey location.
In the low soaring stage, the red-tailed moves inside the selected area around the prey to choose
the best position for the hunt. Then, the red-tailed swings and hits its target in the stooping and
swooping stages. The proposed algorithm mimics the prey-hunting method of the red-tailed hawk
for solving real-world optimization problems. The performance of the proposed RTH algorithm
has been evaluated on three classes of problems. The first class includes three specific kinds of
optimization problems: 22 standard benchmark functions, including unimodal, multimodal, and fixed-
dimensional multimodal functions, IEEE Congress on Evolutionary Computation 2020 (CEC2020),
and IEEE CEC2022. The proposed algorithm is compared with eight recent algorithms to confirm its
contribution to solving these problems. The considered algorithms are Farmland Fertility Optimizer
(FO), African Vultures Optimization Algorithm (AVOA), Mountain Gazelle Optimizer (MGO), Gorilla
Troops Optimizer (GTO), COOT algorithm, Hunger Games Search (HGS), Aquila Optimizer (AO), and
Harris Hawks optimization (HHO). The results are compared regarding the accuracy, robustness,
and convergence speed. The second class includes seven real-world engineering problems that will
be considered to investigate the RTH performance compared to other published results profoundly.
Finally, the proton exchange membrane fuel cell (PEMFC) extraction parameters will be performed
to evaluate the algorithm with a complex problem. The proposed algorithm will be compared with
several published papers to approve its performance. The ultimate results for each class confirm the
ability of the proposed RTH algorithm to provide higher performance for most cases. For the first
class, the RTH mostly got the optimal solutions for most functions with faster convergence speed.
The RTH provided better performance for the second and third classes when resolving the real word
engineering problems or extracting the PEMFC parameters.
Optimization algorithms have played a vital role in recent decades in assisting engineers and designers in find-
ing improved solutions for saving time, money, and e nergy1. Numerical optimization methods often employ
simple and widely used models2. Nevertheless, these algorithms require several gradient information to find
superior solutions circling a specific point in a small space3. Furthermore, they are sensitive to starting points,
mainly when the issues under consideration include multiple local solutions. Inappropriate initial point selection
makes searching for the global optimum solution complex and inconsistent4. In recent years, many complicated
optimization problems have evolved in various disciplines. These problems frequently involve several choices of
optimization variables, complex nonlinear constraints, and objective f unctions5. These algorithms have been used
for civil e ngineering6, electrical engineering, image p
rocessing7, medical and biological applications, and others.
As a result, existing numerical approaches cannot address these complicated problems promptly and precisely.
On the other hand, nature inspiration can provide concepts to develop artificial intelligence algorithms to solve
these complex problems.
1
Institut de Recherche en Énergie Électrique de Nantes Atlantique, IREENA, Nantes University, Saint‑Nazaire,
France. 2Laboratoire de Génie Electrique, Dept. of Electrical Engineering, University of M’sila, M’sila,
Algeria. 3College of Engineering at Wadi Addawaser, Prince Sattam Bin Abdulaziz University, Al‑Kharj, Saudi
Arabia. 4ENSA, University of Sidi Mohamed Ben Abdellah, Fez, Morocco. *email: [email protected]
Vol.:(0123456789)
www.nature.com/scientificreports/
Recently, various nature-inspired metaheuristic algorithms (MAs) have been developed. These MAs mimic
the motions of live beings or natural events. These MAs have been elaborated and employed for solving many
optimization issues as competitive alternative solvers8. However, these MAs have a common drawback; they
frequently exhibit an extra sensitivity to adjusting user-defined parameters. Another disadvantage is that MAs
may not always reach the global optimum solution9. MAs are divided into two types8: single solution-based
and population-based. A single solution is processed during optimization in the single solution-based type. In
contrast, in the population-based type, solutions are developed in each optimization iteration. Population-based
MAs initiate the optimization process by producing a set of random individuals. Each of them represents a pos-
sible optimal solution. Iteratively, the population will be developed by substituting the actual population with a
recently created one based on certain stochastic operators10,11.
Regardless of how diverse these algorithms are, they always have one common characteristic: the searching
operations are divided into two phases: exploration and exploitation12. As a result, during the early stages of
the search process, a well-designed optimizer’s exploratory behaviors must have an enriched-enough random
character to distribute more random solutions effectively13. Hence, it enhanced diverse parts of the search space.
After the exploration phase, the exploitation phase is carried out. The optimizer accelerates the search process
in a narrow area instead of the whole search space by concentrating on the neighborhood of the best-obtained
solutions. An efficient optimizer must strike an acceptable and precise balance between the exploration and
exploitation phases. Otherwise, the risk of becoming locked in local optima (local solutions) and having imma-
ture convergence downsides grows. According to the No Free Lunc (NFL) theorem [36], all the proposed MAs
show a comparable average performance when resolving all possible optimization problems. In other words,
no algorithm can be considered a general best algorithm. As a result, the NFL theorem promotes creating and
developing more new efficient optimizers. Technically, each MA employs unique evolution mechanisms. Accord-
ing to14, several fundamental concepts can be used to characterize them. Among these concepts:
• Parallelism is utilized in population-based algorithms such as SA and HA. Different individuals are sent out
at once to complete a task, and the results are compared. According to the comparison, additional ideas are
utilized to assess the population evolution or to create new individuals.
• Acceptance is utilized in three cases: 1. Admit temporary solutions that weaken objective function due to
search space expansion, 2. Handling the cost function’s constraints. There are two ways to cope with the
constraints. The first way excludes any solutions if they match the start conditions. The second procedure is
used if any solution can be allocated a numerical value. In this case, all solutions must participate, and the
initial conditions may match infeasible solutions. 3. Adding restrictions to allowed solutions that improve
the optimal solution by, at minimum, the limiting level. When comparing values produced from previous
calculations, this strategy aids in avoiding numerical issues.
• Elitism: the best solution must be kept from one iteration to the next in repeating population-based algo-
rithms. The elitism principle is utilized to accomplish this by retaining the individual who outlined the best
solution and utilizing it as a reference for the following iteration or upgrading it if a better solution is located.
The notion of elitism may also be applied to many individuals, directing an élite group of them to the next
iteration.
• Selection is a probability-based method that generates new individuals from a pool of available ones. This
approach may incorporate weights into the probabilistic selection process, in which random individuals are
chosen to produce new ones.
• Decay or Reinforcement: Decay allows for more initial freedom, followed by incremental flexibility constraints.
This approach is based on a decremental updating factor (< 1) used at each iteration. Reinforcement is
employed similarly in some cases by applying an incremental factor higher (> 1).
• Immunity is gained through finding characteristics of solutions that lead to appropriate settings. Immunity
prefers solutions with characteristics similar to those attributes.
• Self-Adaptation is a process that allows the parameters of algorithms to be updated in response to the progress
of optimization.
A novel high-efficiency SA optimization algorithm is suggested in this study to compete with existing opti-
mizers. The basic concept of the suggested optimizer is based on the hunting skills of Red-tailed Hawks, one of
the most intelligent birds of prey. The benefits of evolutionary and swarm approaches have been included in the
RTH algorithm’s design to outperform the existing optimization algorithms. The proposed RTH contains three
stages: high soaring, low soaring, and stooping and swooping stages. The high soaring stage is quite similar to
evolutionary approaches’ search behavior. The RTH algorithm relays and gathers all search points, beginning
with the original position and progressing to the best position. The second and third phases imitate SA’s behavior
while moving to the best position, using the information of the preceding site for each point.
Despite the availability of metaheuristic algorithms, there is a continuous need for developing and creating
new algorithms that may provide better performance for such problems than the actual ones. The NFL theory
confirms this need for new optimizers. To this end, this paper suggests this novel algorithm. The main contribu-
tion of this paper is to propose a novel nature-inspired metaheuristic optimization algorithm for better solving
optimization issues. The proposed algorithm benefit from the unique hunting strategy of the red-tailed hawk
and applies it to tackle various optimization problems. The suggested RTH algorithm’s performance has been
examined on three optimization problem classes. The first class contains three types of optimization functions:
Vol:.(1234567890)
www.nature.com/scientificreports/
• IEEE Congress on Evolutionary Computation 2020 (CEC2020) with 15 and 20 search space dimensions.
• IEEE Congress on Evolutionary Computation 2022 (CEC2022) with 10 and 20 search space dimensions.
The proposed algorithm is compared with eight recent algorithms to confirm its contribution to solving the
problems of this class. The considered algorithms in the comparison are Farmland fertility Optimizer (FO)15,
African Vultures Optimization Algorithm (AVOA)16, Mountain Gazelle Optimizer (MGO)17, Artificial Gorilla
Troops Optimizer (GTO)18, COOT a lgorithm19, Hunger Games Search (HGS)20, Aquila Optimizer (AO)21, and
Harris Hawks optimization (HHO)22. The findings’ accuracy (mean value), robustness (standard deviation), and
convergence speed are compared. The second class consists of seven real-world engineering problems that will
be thoroughly investigated compared to previously published solutions. These problems include the optimal
design of an I-shaped beam, a three-bar truss Design, design of a tubular column, a piston lever, a corrugated
design, and design tension/compression spring. The third class provides the parameters extraction for proton
exchange membrane fuel cell (PEMFC), which will be used to assess the suggested algorithm with a difficult
task. To validate its performance, the proposed algorithm will be compared to numerous published articles for
three types of PRMFC: BSC 500W, NedStack PS6, and SR-12 500W.
The rest of this paper is organized as follows: Section “Related works” presents a related works part that
shows and explains a set of related works. Section “Red-tailed hawk algorithm” reviews the hunting behavior of
red-tailed, gives the inspiration source, and describes each stage of the proposed RTH algorithm. This section
includes the mathematical model of the proposed algorithm. Section “Results and discussion” presents the out-
comes of RTH in solving the considered problems. This paper ends with a conclusion in Section “Engineering
optimization problems”.
Related works
In recent decades, there has been a rise in the assessment and application of metaheuristic algorithms to tackle
optimization problems. In the literature, the population-based MAs may be divided into four categories based on
their inspiration23,24: evolutionary (EA), Physics-based (PA), Human-based (HA), and swarm-based MAs (SA).
EAs imitate biological evolutionary processes, including recombination, mutation, and selection. The Genetic
Algorithm (GA)25,26, Differential Evolution (DE)27, Biogeography-Based Optimizer (BBO)28, and Mind evolu-
tionary algorithm optimization (MEDA)29 are the most well-known EAs. Physical phenomena-inspired algo-
rithms are based on physical laws such as gravity, magnetic force, etc. Gravitational Search Algorithm (GSA)30,
Gradient-based optimizer31, and Energy Valley Optimizer (EVO)32 are a few examples. Human-based MAs
imitate some human activities and behaviors. Socio Evolution and Learning Optimization (SELO)33, Social
Network Search (SNS)34, and Human Felicity Algorithm (HFA)35 are some examples of this category. Swarm-
based MAs mimic the social behaviors of animals or organisms living in swarms, communities, or p acks36.
Particle Swarm Optimization (PSO)37, Salp Swarm Algorithm (SSA)38, and Jellyfish Search algorithm (JSA)39
are the most well-known MAs in this category. The swarm-based MAs have been getting more attention in
the last years due to the availability of inspiration sources and their efficacy in resolving various optimization
problems. New papers propose or review this category of optimization algorithms, such as Mountain Gazelle
Optimizer (MGO)17, Advances in Spotted Hyena Optimizer40, Advances in Tree Seed A lgorithm41, Advances
in Sparrow Search A lgorithm42, Butterfly Optimization Algorithm (BOA)43, Advanced Butterfly Optimization
Algorithm (ABOA)44, Modified Butterfly Optimization Algorithm with Lagrange Interpolation (MBOALI)45,
African Vultures Optimization Algorithm (AVOA)16, Whale optimization algorithm (WOA)46, Artificial Gorilla
Troops Optimizer (GTO)18, COOT a lgorithm19, Weibull Flight based Moth Flame Optimization (WF-MFO)47,
Hunger Games Search (HGS)20, Aquila Optimizer (AO)21 and so on. On the other hand, Quantum-inspired
metaheuristic algorithms developed by combining Quantum Computing (QC) principles into metaheuristic
algorithms are gaining more i nterest48. The performance of these algorithms is considerably enhanced by using
the QC for boost exploration and exploitation and faster convergence.
Inspiration and behavior during hunting. The red-tailed hawk (Buteo jamaicensis) is a bird of prey
that breeds over much of North America, from Alaska’s interior and northern Canada to Panama and the West
Indies. The red-tailed hawk lives in various environments and elevations, such as deserts, grasslands, forests,
agricultural fields, and cities. The red-tailed hawk is a predatory, carnivorous eater. Almost every little animal
they come upon may be seen as possible prey49. Small mammals, such as rodents, are their most common prey,
although they also eat birds, fish, reptiles, invertebrates, and amphibians. Prey varies greatly depending on geo-
graphical and seasonal availability; however, rodents comprise 85 percent of a hawk’s d iet50.
The red-tailed hawk soars with its wings in a mild dihedral, flapping as little as possible to save energy. Unlike
other hawks, the red-tails can fly for long distances thanks to this feature. Because soaring is the most efficient
flying mode for these hawks, it is utilized more f requently51. It moves between 32 and 64 km/h (20–40 mph)
when soaring or flapping its wings. The large wings allow the red-tailed to reach 190 km/h (120 mph) when
plunging52. Red-tailed hawks can fly fast and powerfully while repeatedly diving at perceived threats during nest
protection53. As illustrated in Fig. 1, the red-tailed has three types of flying:
Vol.:(0123456789)
www.nature.com/scientificreports/
• High soaring (Fig. 1a): It flies highly with its wings in a mild dihedral, flapping as little as possible to save
energy to explore the selected area.
• Low soaring (Fig. 1b): after selecting the target position, the red-tailed fly with a low soaring in a spiral move-
ment around the prey. This movement allows it to detect the best location and time to hit the target.
• Stooping and swooping (Fig. 1c): after selecting the best location and moment in the previous step, the
red-tailed swooped its prey by stooping and raising its acceleration (from 32–64 to 190 km/h) in a curved
direction.
Mathematical model. The suggested red-tailed hawk (RTH) algorithm mimics the red-tailed hawk’s hunt-
ing behavior. The actions taken at each hunt stage are presented and modeled. This algorithm includes three
stages, high soaring, low soaring, and stooping and swooping.
1 High soaring: the red-tailed hawk will soar far into the sky, looking for the best location in terms of food
availability. Figure 2 illustrates the behavior of the red-tailed hawks during the high soaring stage, and Eq. (1)
represents the mathematical model of this stage :
X(t) = Xbest + (Xmean − X(t − 1)) · Levy(dim) · TF(t) (1)
where X(t) represents the red-tailed hawk position at the iteration t, Xbest is the best-obtained position, Xmean
is the positions’ mean, Levy represents the levy flight distribution function that can be calculated accord-
ing to Eq. (2), and TF(t) denotes the transition factor function that can be calculated according to Eq. (3).
Vol:.(1234567890)
www.nature.com/scientificreports/
µ·σ
Levy(dim) = s −1
|υ|β
� � �
Ŵ(1 + β) · sin πβ
2 (2)
σ = � �
1 − β/2
1 + β
�
Ŵ( 2) · β · 2
where s is a constant (0.01), dim is the problem dimension, β is a constant (1.5), u, and υ are random num-
bers [0 to 1].
TF(t) = 1 + sin 2.5 + t Tmax (3)
where R0 represents the initial value of the radius [0.5–3], A denotes the angel gain [5–15], rand is a random
gain [0–1], and r is a control gain [1, 2]. These parameters help the hawk fly around the prey with spiral
movements, as explained in Fig. 4.
3 Stooping and Swooping: In this stage, the hawk suddenly stoops and attacks the prey from the best-obtained
position in the low soaring stage. Figure 2 explains the behavior of the red-tailed hawks during this stage.
This stage can be modeled as follows:
X(t) = α(t) · Xbest + x(t) · StepSize1(t) + y(t) · StepSize2(t) (6)
where each step size can be calculated as follows
StepSize1(t) = X(t) − TF(t) · Xmean
(7)
StepSize2(t) = G(t) · X(t) − TF(t) · Xbest
X(t)
X(t+1)
Xbest
Figure 3. Behavior of red-tailed hawk during low soaring stage.
Vol.:(0123456789)
www.nature.com/scientificreports/
0.5
y 0
-0.5
-1
0 1
5 0.5
10 0
15 -0.5
20 -1 x
iterations
where α and G are the acceleration and the gravity factors, respectively, they can be defined as follows:
α(t) = sin2 2.5 − t Tmax
(8)
G(t) = 2 · 1 − t Tmax
where α represents the hawk’s acceleration that increases with the increase of t to enhance the convergence
speed, and G is the gravity effect that decreases to reduce the exploitation diversity when the hawk is much
near the prey. This phase is explained in Fig. 5.
X(t)
G(t)
X(t+1)
Xbest
Figure 5. Behavior of red-tailed hawk during stooping and swooping stages.
Vol:.(1234567890)
www.nature.com/scientificreports/
Figure 6 presents the evolution of the solutions of a 2-dimensional problem as a function of the iterations.
During the first iterations, the hawk explored the search space (exploration phase). It took significant steps to
detect the prey position. The length of these steps decreases as the hawk is near the prey position. The hawk
spent a small number of iterations in the exploration due to the hybrid evolutionary-swarm updating mecha-
nism. It avoided attempting on the local minim thanks to the high soaring stage based on the Levy function. The
low soaring enhances the convergence speed in the exploitation phase, where the stooping and the swooping
stages strengthen the RTH algorithm’s accuracy. Figure 7 presents the hunting behavior for 2-dimensional and
3-dimensional problems. The hawk explores the whole search space from these figures to avoid attempting local
Howk' position
-31.97033
Prey' position
-31.970332
-31.970334
60
-31.970336
40 -31.970338 70
-15.98644
-15.98642 80
-15.9864 90
20 -15.98638
-15.98636 100
dim2
-20
-40
0
-60 10
-60 20
-40 30
-20 40
50
0
60
20
70
40 80
60 90 iteration
dim1
80 100
Vol.:(0123456789)
www.nature.com/scientificreports/
solutions. Due to its unique updating mechanism gets closer to the optimal solution without falling into local
ones with a fast convergence rate.
To better understand the characteristics of the proposed RTH and its basics, the RTH concepts are presented
in Table 1.
ALGORITHM 1:RTHPSEUDOCODE
1 Initialization: random generation within the search space.
2 While t<Tmax do
3 High soaring stage: for i=1:Npop do
4 Calculate Levy flight distribution Eq(2)
5 Calculate the transition factor TF Eq(3)
6 Update positions Eq(1)
7 end
8 Low soaring stage: for i=1:Npop do
9 Calculate direction coordinates Eq(5)
10 Update positions Eq(4)
11 end
12 Stooping and Swooping stage: for i=1:Npop do
13 Calculate the acceleration and the gravity factors Eq(8)
14 Calculate the step size Eq(7)
15 Update positions Eq(6)
16 end
17 end
Standard test functions. Unimodal, multimodal, and fixed-dimension multimodal test functions are
used to evaluate the RTH p erformance54. Unimodal test functions (F1-F7) are used to put an algorithm’s exploi-
tation abilities to the test, whereas multimodal test functions (F8-F13) are used to experiment with the algo-
rithm’s exploration performance. The fixed dimension test functions (TF14-TF23) demonstrate the algorithm
exploration capability57. These functions are provided in Table A1 (appendix). For all the tests, the population
size for each algorithm has been set at 30 with max iterations of 1000.
This study ran RTH 30 times and reported the findings, including the average and standard deviation values of
the best-so-far solutions obtained in each run to provide statistically significant results. The test is carried out for
six other algorithms to underline the effectiveness and superiority of RTH to that of different methods: Particle
Swarm Optimization (PSO)37 as the best-known optimization method, Salp Swarm Algorithm (SSA)38 as one of
the most used algorithms, Hunger Games Search (HGS)20, COOT a lgorithm19, Artificial Eco-system Optimizer
(AEO)4, and Aquila Optimizer (AO)21 as recently developed metaheuristics. Table 2 summarizes the parameter
setting for the RTH algorithm, where the parameters are set by the try-and-error method. The other algorithms
are based on their default parameters. Table 3 shows the results of RTH and the other used algorithms on these
standard test functions using the best, average, and standard deviation (StD) values.
Vol:.(1234567890)
www.nature.com/scientificreports/
Unimodal functions results (F 01–07) because unimodal test functions have just one global optimum solution,
they may be used to assess an algorithm’s convergence speed (exploitation phase). From Table 3 results and the
curves illustrated in Fig. 8 (fnc 05 curves are not included due to the exact similarity in the results), the RTH
outperformed all algorithms in all test functions in terms of accuracy and convergence speed. These results
demonstrate RTH’s capabilities in quick exploitation, which can enable RTH in fast convergence. This capacity
is derived from the high soaring phase that uses the adaptive transition factor (TF) and Lévy distribution.
Multimodal functions results (F 08–13) Multimodal test functions include multiple local solutions. Their num-
ber grows exponentially as the number of search space dimensions grows (optimization variables). Having
more than one optimal is beneficial if the purpose is to test an algorithm’s exploration capabilities. As a result,
they are well-suited for assessing optimization algorithms’ local optima avoidance and exploratory behavior.
The obtained results in Table 3 and Fig. 9 demonstrated that RTH has superior exploration capabilities to
other methods for five of six functions in terms of finding the optimal solution with the lowest number of
iterations. These functions approve the ability of the RTH to handle complicated problems.
Fixed-dimensional multimodal function (F 14–23) similar to the multimodal test functions, these functions
include a lot of local optima with more complexity due to the minimization of the negative cost function.
Hence, they are suitable for evaluating the accuracy of the algorithm. As illustrated in Fig. 10 and reported
in Table 3, the proposed RTH has reached the global optimum for all the considered functions. However, its
robustness, represented by the standard deviation (StD), has been reduced to the increased complexity. RTH’s
exploration is due to its different optimization phases and the acceleration and gravity effects.
IEEE CEC 2020. The IEEE Congress on Evolutionary Computation (CEC) offers yearly benchmark func-
tions to test and evaluate optimization algorithms’ ability to identify optimal solutions (minimization problems).
This collection of functions is commonly recognized by the year as standard functions established by the IEEE
Congress on Evolutionary Computation, for example, CEC 2020 and CEC 2022. These test functions include
unimodal, basic multimodal, hybrid, and composition functions. First, the proposed RTH will be compared
with the considered algorithms using the ten functions of the IEEE CEC 202055. The characteristics of CEC 2020
functions are presented in Table A2. Their 3D maps are shown in Fig. 11 for the unimodal function (F1), Fig. 12
for the basic functions (F2-F4), and Fig. 13 for the composition functions (F8–F10).
All the algorithms are run 30 times for each function. The results for these functions for D = 15 are presented
in Table 4 and. These include the best, the main, and the standard deviation (StD). The fitness evolutions during
the optimization process for each function are presented in Fig. 14.
The three last rows show the scores of each algorithm. It can be seen from the L1 row that the proposed
RTH can find the optimal solution for five functions from ten, followed by MGO by three functions, then HGS,
AVOA, and GTO by two functions, where the other algorithms achieved only one optimal solution. From the
penultimate row, the proposed RTG can accomplish the best mean results for five problems, followed by MGO
by four, then HGS by two. The last row presents the StD results that confirm the algorithm’s robustness. Based
on these results, the proposed RTH provided the best results in this criterion four times. The evolution of the
average cost function is presented in Fig. 13. From this figure, the proposed RTH has fast convergence speed
compared to the other algorithms. This can be explained by the unique exploitation and exploitation strategies
of the proposed RTH algorithm.
The functions of the CEC 2020 benchmark will be tested with increased search space dimension where D
is equal to 20. This allows us to investigate the performance with more complex cases. The results are provided
in Table 5.
It can be seen from the L1 row that the proposed RTH can find the optimal solution for six functions, followed
by MGO by three, then HGS, AVOA, and GTO by two functions. From the penultimate row, the proposed RTG
has got the best mean results for five problems, followed by MGO by three, then HGS by two. From the last row,
the StD results of the RTH is the bet by five times, which confirms the algorithm’s robustness. Based on these
results, the proposed RTH provided the best results in this criterion four times. The evolution of the average
cost function is presented in Fig. 15. Similar to the previous case, the proposed RTH has fast convergence speed
compared to the other algorithms.
ANOVA is the abbreviation for analysis of variance. ANOVA is frequently used to evaluate equality across
different means by comparing variance between groups with variation within groups. This test will be used to
assess the results between the optimizers for both D = 15 and D = 20 cases. The best outcome for each case is
marked in red.
For the unimodal function (function 01), the ANOVA ranking is presented in Fig. 16. From this figure; the
RTH generates the best solutions in terms of accuracy with the lowest variation range. On the other hand, the
FO and the HHO cannot find any solution.
Vol.:(0123456789)
www.nature.com/scientificreports/
Vol:.(1234567890)
www.nature.com/scientificreports/
Table 3. standard test functions results. The best results are marked in bold.
fnc 01 fnc 02
0
10 0 10
Average Best So-far
10 -200 10 -200
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 03 fnc 04
10 0 10 0
Average Best So-far
10 -200 10 -200
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 06 fnc 07
10 0 10 0
Average Best So-far
10 -20
10 -40 10 -5
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
iterations iterations
HGS COOT MGO FO AO HHO GTO AVOA RTH
Vol.:(0123456789)
www.nature.com/scientificreports/
fnc 08 fnc 09
-1000
-4000
0 200 400 600 800 1000 0 2 4 6 8 10
-1
-1.5
-2
10-20
0 200 400 600 800 1000 0 200 400 600 800 1000
fnc 12 fnc 13
Average Best So-far
0 200 400 600 800 1000 0 200 400 600 800 1000
iterations iterations
HGS COOT MGO FO AO HHO GTO AVOA RTH
1 1
For the basic functions (fnc 02–04), their results are presented in Fig. 17. For fnc 02 for both cases (D = 15
and D = 20), all the optimizers except for the F and the HHO got the optimal solution where the COOT provided
the lower variation range and the MGO include the set of the best result. The results of function 03 are similar
to those of function 02, with slight superiority to the HGS in precision and stability. For function 04, the RTH
provided identical results for both cases (D = 15 and D = 20). This confirms its ability to resolve this problem
effectively.
Hybrid functions (fnc 05–07) ANOVA results are presented in Fig. 18. The results of function 06 are not
included because of the exact similarity of the results. These figures confirm the outperformance of the proposed
RTH for the three functions compared to the other considered algorithms. The MGO and GTO algorithms
performed the second best after the RTH.
Composition functions (fnc 08–10) ANOVA results are presented in Fig. 19. For function 08; the MGO pro-
vided the best performance where the proposed RTH for the best result, but its variation range is higher due to
some ultimate results far from the best. The performance of the algorithms is much closer to each other except
for the FO and the HHO for function 09, with light superiority for the MGO. The RTH provides more stable
performance and higher accuracy for function 10, followed by the MGO.
IEEE CEC 2022. In this case, the proposed RTH will be compared with the considered algorithms using the 12
functions of the IEEE CEC 202256. The characteristics of CEC 2022 functions are presented in Table A3. Their
3D maps are illustrated in Fig. 20 for the unimodal function (F1), Fig. 21 for the basic functions (F2-F5), and
Fig. 22 for the composition functions (F9-F12).
Similar to the CEC 2020 cases, all the algorithms are run 30 times for each function for D = 10 and D = 20.
The obtained results for these functions for D = 21 are presented in Table 6.
From the L1 row, the proposed RTH can find the optimal solution for eight from twelve functions, followed
by GTO by six functions, then the HGS by five functions, then AVOA by four. This can approve its ability to get
the optimal solution and escape from the local solutions. In comparison, FO, AO, and HHO cannot provide any
best solution. From the penultimate row, the MGO achieved the best mean results by six functions, followed by
the proposed RTH by five functions, then the HGS and GTO by two. This approves the accuracy of the proposed
RTH. FO, COOT, AO, HHO, and AVOA algorithms didn’t get any mean best results for all the tests. From the
last row, the proposed RTH provided the best results by five functions, followed by the proposed MGO by four
times. This can approve its robustness. Figure 23 presents the fitness evolution for each function of the CEC
2022 with D = 10. These figures support the findings of the CEC 2020, where the proposed RTH gives an excel-
lent convergence speed.
For D = 20 case, the results are provided in Table 7.
Vol:.(1234567890)
www.nature.com/scientificreports/
102
100
100 10-5
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
Max iterations Max iterations
Average Best So-far
2
1
0 100
-1
2 4 6 8 10 12 14 16 18 20 100 200 300 400 500 600 700 800 900 1000
Max iterations Max iterations
Average Best So-far
-3
0 -4
10
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
Max iterations Max iterations
Average Best So-far
-2 -5
-4 -10
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
Max iterations Max iterations
Average Best So-far
fnc 22 fnc 23
0 0
-5 -5
-10 -10
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
From the L1, the proposed RTH can find the optimal solution for six from twelve functions, followed by GTO
by only three functions, then the HGS by two functions. The increased complexity can explain the decreased
number of optimal solutions due to increased search space dimensions. These results approve the RTH’s ability
to get the optimal solution better and escape from the local solutions even in complicated problems. From L2,
the MGO achieved the best mean results by five functions, followed by the proposed RTH by four. This approves
the accuracy of the proposed RTH compared to the MGO algorithm. From L3, the proposed RTH provided the
best results by five functions, followed by the proposed MGO by three times. This can approve its robustness.
Compared to D = 10, the RTH can generally handle problems that include optimization variables better. Figure 24
presents the fitness evolution for each function of the CEC 2022 with D = 20. These figures approve the findings
of the CEC 2020 and CEC 2022 with D = 10, where the proposed RTH presents a faster convergence speed.
Figure 25 shows the ANOVA ranking results for unimodal functions for both cases. From this figure, the
RTH and the MGO generate the best solutions in terms of accuracy with the lowest variation range for D = 10.
However, when the search space dimensions increased, the performance of the MGO decreased where the RTH
performance was constant.
The basic functions (fnc 02–05) results are presented in Fig. 26. For fnc 02 for both cases (D = 15 and D = 20),
all the optimizers except for the FO and the HHO got the optimal solution where the MGO and RTH provided the
lower variation range for both cases. The results of fnc 03 show that the proposed RTH cannot resolve this prob-
lem effectively. The MGO and the HGS provide the best performance for this case. For fnc 04, all the optimizers
provided near performance with a slight advantage to the MGO. The same comments can be extracted for fnc 05.
Hybrid functions (fnc 06–08) ANOVA results are presented in Fig. 27. The results of the fnc 06 confirm the
outperformance of the proposed RTH. All the optimizers provide similar performance for the other two func-
tions with an advantage to the MGO, HGS, and RTH algorithms.
Composition functions (fnc 09–12) ANOVA results are presented in Fig. 28. For function 09, the MGO
and the RTH provided the best performance for both cases. For the other functions, the performance of the
Vol.:(0123456789)
www.nature.com/scientificreports/
10 10
4.5
3.5
2.5
1.5
0.5
0
-100
-50
-80 -100
50 -40 -60
0 -20
40 20
100 80 60
100
Vol:.(1234567890)
www.nature.com/scientificreports/
algorithms is much closer to each other, with light superiority for the FO and the HGS for fnc 10, the GTO and
the RTH for fnc 11, and the MGO and the COOT for fnc 12.
These mathematical test functions are used to elaborate the performance of the proposed RTH algorithm
compared to other new and robust algorithms. The statistical results are summarized in Fig. 29.
From the results obtained, the RTH algorithm can provide very competitive performance for solving vari-
ous optimization problems. The accuracy and stability of this proposed algorithm have been tested compared to
the prementioned algorithms. The convergence speed has been checked and confirmed. After mathematically
approving its performance, the proposed RTH algorithm will be tested with some published papers for several
engineering tests.
(a) Optimal design of I-Shaped beam: this issue, which tries to reduce the vertical deflection of the beam,
is another common engineering optimization p roblem34. It satisfies the cross-sectional area and stress
restrictions simultaneously under specific loads, as explained in Fig. 30. This optimization problem can be
expressed as follows:
5000
f (x) = 3
x3
2
(x − 2x ) x x
x3 2 4
12 + 1 4 6 + 2bx4 x2 − 4 2
g1 (x) = 2x1 x3 + x3 (x2 − 2x4 ) ≤ 300
(9)
18x2 × 104 15x1 × 103
g2 (x) = 3
+ ≤ 56
(x2 − 2x4 )x32 + 2x3 x13
2
x3 (x2 − 2x4 ) + 2x1 x3 4x4 + 3x2 (x2 − 2x4 )
10 ≤ x1 ≤ 50, 10 ≤ x2 ≤ 80, 0.9 ≤ x3 ≤ 5, 0.9 ≤ x4 ≤ 5
where the optimization variables are: the width of the flange (x1), the height of the section (x2), the thick-
ness of the web (x3), and the thickness of the flange (x4).
From Table 8, the proposed RTH obtains the best solutions for solving this optimization problem compared
to other published algorithms. In addition, the PFOA provided similar performance to the proposed RTH, but
the RTH achieved the stop criteria after 300 iterations, proving better convergence speed and accuracy.
Vol.:(0123456789)
www.nature.com/scientificreports/
Table 4. CEC 2020 benchmark test function results with D = 15. The best results are marked in bold.
(b) Three-bar truss design: In this example, a 3-bar planar truss is c onsidered34, as represented in Fig. 31. The
objective function and its constraints are presented as follows
√
f (x) = 2 2x1 + x2 × l
√
2x1 + x2
g1 (x) = P √ 2 −σ ≤0
2x1 + 2x2 x1
x2
g2 (x) = P √ 2 −σ ≤0 (10)
2x1 + 2x2 x1
x2
g3 (x) = P √ −σ ≤0
2x2 + x1
l = 100cm, P = 2kN cm3 , σ = 2kN cm3 , 0 ≤ x1 , x2 ≤ 1
Table 9 provides the statistical results of these algorithms. It is clear that the best results are obtained using
the proposed RTH algorithm and the AHA optimizer. However, the required number of iterations is only 670,
Vol:.(1234567890)
www.nature.com/scientificreports/
fnc 01 fnc 02
3000
2000
200 400 600 800 1000 200 400 600 800 1000
fnc 03 fnc 04
Average Best So-far
800
200 400 600 800 1000 200 400 600 800 1000
fnc 05 fnc 06
Average Best So-far
105 2325
2320
200 400 600 800 1000 200 400 600 800 1000
fnc 07 fnc 08
Average Best So-far
200 400 600 800 1000 200 400 600 800 1000
fnc 09 fnc 10
Average Best So-far
3800
3600 8000
3400 6000
3200
3000 4000
200 400 600 800 1000 200 400 600 800 1000
Iterations Iterations
HGS COOT MGO FO AO HHO GTO AVOA RTH
much lower than the other reported algorithms, including the AHA, which requires 15,000 iterations to achieve
the optimal value.
(c) Design of a tubular column: this problem illustrates the structure of a uniform column with a tubular
cross-section that can support a compressive load at the lowest possible c ost34, as explained in Fig. 32.
The two design variables in this issue are the mean diameter of the column (x1) and the thickness of the
tube (x2). The column is constructed from a material having a yield stress of y and an elasticity modulus
of E. The following equation represents this optimization problem:
Vol.:(0123456789)
www.nature.com/scientificreports/
Table 5. CEC 2020 benchmark test function results with D = 15. The best results are marked in bold.
This problem has already been tackled using several algorithms. The best results of these algorithms, as well
as the suggested RTH, are shown in Table 10. Based on these results, the proposed RTH achieved the best results
with the lowest number of iterations (300).
Vol:.(1234567890)
www.nature.com/scientificreports/
fnc 01 fnc 02
4000
2000
200 400 600 800 1000 200 400 600 800 1000
fnc 03 fnc 04
Average Best So-far
1500
105
1000
200 400 600 800 1000 200 400 600 800 1000
fnc 05 fnc 06
Average Best So-far
105
102
200 400 600 800 1000 200 400 600 800 1000
fnc 07 fnc 08
Average Best So-far
4000
105
200 400 600 800 1000 200 400 600 800 1000
fnc 09 fnc 10
Average Best So-far
3800 12000
3600 10000
8000
3400
6000
3200
3000 4000
200 400 600 800 1000 200 400 600 800 1000
Iterations Iterations
HGS COOT MGO FO AO HHO GTO AVOA RTH
(d) Speed Reducer Design: speed reducer is an essential part of the gearbox in mechanical systems. It may be
used for a variety of purposes71. As shown in Fig. 33, the weight of the speed reducer must be reduced
under 11 restrictions in this optimization problem. Face width (x1), the module of teeth (x2), number of
teeth in the pinion (x3), length of the first shaft between bearings (x4), length of the second shaft between
bearings (x5), the diameter of first shafts (x6), and diameter of the second shafts (x7) are the seven variables
in this issue. This problem can be modeled as
Vol.:(0123456789)
www.nature.com/scientificreports/
Vol:.(1234567890)
www.nature.com/scientificreports/
107 D = 15 106 D = 20
6 14
105 104 2700
2.5 3400 3000 12
5 3200
12
2600
2800 10
2
3000
10 2500
4 2800 8
1.5 2600
2400
8
fnc 05
2600
6
3 1 2400 2300
2400
6 4
2200 2200
2 0.5 2200
2000 4 2 2100
1 0 1800 2000
2 0 2000
0 0
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
106 106
14 14
3200 2600 12000 2400
12 12
3000 2500
10000
10 10 2300
2800 2400
8000
8 8
fnc 07
6000
6 2200
6
2400
2100
4 2200 2100 4 4000
0 0
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
D = 15 D = 20
6000 2302.5 2308 2313 2335 8000 2312 2335
2301.5
2330
2307
2302 2312 2311
2330
5000 2325
2306 6000 2301
2310
2301.5 2311 2320
fnc 08
2305 2325
4000 2301 2310
2315 2309
2304 2300.5
2310 4000 2320
2308
2300.5 2309
3000 2303 2305
3800
3400
3600
3200 3400
fnc 09
3200
3000
3000
2800
2800
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
5000 5000
4500 4500
4000 4000
fnc 10
3500 3500
3000 3000
2500 2500
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
Vol.:(0123456789)
www.nature.com/scientificreports/
10 8
10
2
100
50
0
100 0
80 60 40 20 0 -50
-20 -40 -60 -80 -100 -100
Vol:.(1234567890)
www.nature.com/scientificreports/
27 397.5
g1 (x) = − 1 ≤ 0, g2 (x) = −1≤0
x1 x3 x22 x1 x3 x22
1.93 1.93x53
g3 (x) = 4
− 1 ≤ 0, g4 (x) = −1≤0
x2 x3 x6 x2 x3 x74
2
745x4
6
x2 x3 + 16.9 × 10
g5 (x) = −1≤0
110x63 (12)
2
745x5
6
x2 x3 + 157.5 × 10
g6 (x) = −1≤0
85x73
x2 x3 5x2 x1
g7 (x) = − 1 ≤ 0, g8 (x) = − 1 ≤ 0, g9 (x) = −1≤0
40 x1 12x2
1.5x6 + 1.9 1.1x7 + 1.9
g10 (x) = − 1 ≤ 0, g9 (x) = −1≤0
x4 x5
2.6 ≤ x1 ≤ 3.6, 0.7 ≤ x2 ≤ 0.8, x3 ∈ [17, 18, · · · 28], x4 ≥ 7.3
x5 ≤ 8.3, 2.9 ≤ x6 ≤ 3.9, 5 ≤ x7 ≤ 5.5
The results of RTH and other published algorithms are reported in Table 11. Among these algorithms, the
RTH has the lowest number of iterations, while its metrics in terms of best, mean, and StD are better than those
other algorithms.
(e) Piston lever: the essential goal of this problem is to identify the piston components (x1), (x2), (x3), and (x4)
by reducing the oil volume when the piston’s lever is raised from 0° to 45°34. This problem is presented in
Fig. 34, and it can be modeled as follows:
Vol.:(0123456789)
www.nature.com/scientificreports/
Table 6. CEC 2022 benchmark test function results for D = 10. The best results are marked in bold.
Vol:.(1234567890)
www.nature.com/scientificreports/
fnc 01 fnc 02
Average Best
Average Best
105
103
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 03 fnc 04
700 920
Average Best
Average Best
680 900
660 880
640 860
620 840
820
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 05 fnc 06
1010
Average Best
Average Best
4000
2000
105
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 07 fnc 08
2300 7000
Average Best
Average Best
6000
2200 5000
4000
2100 3000
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 09 fnc 10
3200
Average Best
Average Best
4000
3000
3500
2800
3000
2600
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 11 fnc 12
Average Best
Average Best
5000
3200
4000
3000
3000
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
Iterations Iterations
HGS COOT MGO FO AO HHO GTO AVOA RTH
Vol.:(0123456789)
www.nature.com/scientificreports/
Table 7. CEC 2022 benchmark test function results for D = 10. The best results are marked in bold.
Vol:.(1234567890)
www.nature.com/scientificreports/
fnc 01 fnc 02
1010 104
Average Best
Average Best
105
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 03 fnc 04
Average Best
Average Best
720 1100
700
680 1000
660
640
620 900
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 05 fnc 06
1010
Average Best
Average Best
104
103
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 07 fnc 08
5
2600 10
Average Best
Average Best
2400
104
2200
103
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 09 fnc 10
4500
Average Best
Average Best
8000
4000
6000
3500
3000 4000
2500
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
fnc 11 fnc 12
15000
Average Best
Average Best
10000 4000
5000
3000
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
Iterations Iterations
HGS COOT MGO FO AO HHO GTO AVOA RTH
1 2
f (x) = πx (L2 − L1 )
4 3
g1 (x) = QL cos(θ) − RF ≤ 0
g2 (x) = Q(L − x4 ) − Mmax ≤ 0
g3 (x) = 1.2(L2 − L1 ) − L1 ≤ 0
x3
g4 (x) = − x2 ≤ 0
2 (13)
−x4 (x4 sin(θ) + x1 ) + x1 (x2 − x4 cos(θ))
R=
L1
2
F = πPx3 4, L1 = (x4 − x2 )2 + x12 , L2 = (x4 sin(θ) + x1 )2 + (x2 − x4 cos(θ))2
According to the obtained results in Table 12, the SNS performs better than the proposed RTH algorithm
in terms of mean and StD. However, achieving the stop criteria took many iterations (5000), whereas the RTH
requires only 130 iterations.f) Corrugated design: This task seeks to reduce the weight of a corrugated bulkhead
in a chemical tanker66. The optimization variables are width (x1), depth (x2), length (x3), and plate thickness (x4).
Its mathematical model of this problem can be expressed as follows:
Vol.:(0123456789)
www.nature.com/scientificreports/
104 D = 10
2.5
2 900 330
310
300.5 300.5 325 300.5
800
308
1.5 320
700
300 306 300 315 300
600
1 310
304
500
299.5 299.5 305 299.5
302 400
0.5 300
0
MGO FO COOT HGS AO HHO GTO AVOA RTH
104 D = 20
12
300.8 400 301
10 300.7
380
300.6 300.5
8
300.5
360
6 300.4 300
300.3 340
4
300.2 299.5
320
300.1
2
300 300 299
0
MGO FO COOT HGS AO HHO GTO AVOA RTH
D = 10 D = 20
2000 3000 480 460
470
1500 440
fnc 02
2000 460
1000 420
450
1000
500 440 400
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
680
700
660
fnc 03
640 650
620
600 600
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
880
1000
860
950
fnc 04
840
900
820 850
800 800
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
2000 8000
940 920
930
6000
915
fnc 05
Vol:.(1234567890)
www.nature.com/scientificreports/
107 D = 10 109 D = 20
4 104
4 3500 8000 8000 2200 15000 8000
3 2200
2100 3
3 3000 6000 6000 10000 6000 2100
fnc 06
2
2000 2
2 2000
2500 4000 4000 4000
5000 1
1900 1900
1 1
2000 2000 2000
2000 1800 0 0 1800
0 0
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
2200 2600
2150
2400
fnc 07
2100
2200
2050
2000 2000
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
2350 2800
2300 2600
fnc 08
2250 2400
2200 2200
MGO FO COOT HGS AO HHO GTO AVOA RTH MGO FO COOT HGS AO HHO GTO AVOA RTH
Vol.:(0123456789)
www.nature.com/scientificreports/
25
20
15
10
0
Best Mean StD Best Mean StD Best Mean StD Best Mean StD Best Mean StD
Standard CEC 2020 D = 15 CEC 2020 D = 20 CEC 2022 = 10 CEC 2022 = 20
Table 8. Comparison of RTH results with the other algorithms for the I-shaped beam problem.
Vol:.(1234567890)
www.nature.com/scientificreports/
H H
H x2
P P
Figure 31. Three-bar truss schematic illustration.
Table 9. Comparison of RTH results with the other used algorithms for the three-bar truss design problem.
The best results are marked in bold.
x1
Vol.:(0123456789)
www.nature.com/scientificreports/
Table 10. RTH results and the other used algorithms for tubular column designing problem. The best results
are marked in bold.
x7
x5 x1 x2
x4
x3
x6
Table 11. Comparison of RTH results with other algorithms for speed reducer designing problems.
5.885x4 (x1 + x3 )
f (x) =
x1 + x32 − x22
x3
+ 8.94 x1 + x32 − x22 ≤ 0
g1 (x) = −x4 x2 0.4x1 +
6
4
x3 3
g2 (x) = −x4 x22 0.2x1 + + 2.2 8.94(x1 + x32 − x22 ) ≤0 (14)
12
g3 (x) = −x4 + 0.0156x1 + 0.015 ≤ 0
g4 (x) = −x4 + 0.0156x3 + 0.015 ≤ 0
g5 (x) = −x4 + 0.015 ≤ 0
g6 (x) = x2 − x3 ≤ 0
0 ≤ x1 , x2 ≤ 100, x3 ≤ 100, 4 ≤ x4 ≤ 5,
The statistical results of this problem are provided in Table 13. Although AOA achieved the best results, these
results were only obtained after 40,000 iterations, unlike the proposed RTH for the stop value after 129 iterations,
Vol:.(1234567890)
www.nature.com/scientificreports/
x1
x2
Figure 34. Piston lever design schematic illustration.
Table 12. Comparison of RTH results with the other used algorithms for the piston lever problem. The best
results are marked in bold.
Table 13. Comparison of RTH results with the other used algorithms for the corrugated bulkhead design
problem. The best results are marked in bold.
Vol.:(0123456789)
www.nature.com/scientificreports/
x1
Table 14. Comparison of RTH results with the other used algorithms for tension/compression spring design
problem. The best results are marked in bold.
which approves its solving speed.g) Design of tension/compression spring: tension/compression spring design
challenge aims to decrease the weight of a tension/compression spring, as detailed in78 and Fig. 35. Minimum
deflection, shear stress, surge frequency, outside diameter limitations, and design factors all play a role in this
problem. The optimization variables include the mean coil diameter (x1), the wire diameter (x2), and the number
of active coils (x3). This problem can be expressed as follows:
Table 14 compares the RTH statistical results with other MAs. The RTH algorithm solves this problem in only
130 iterations, much less than the other considered algorithms with better results.
Vol:.(1234567890)
www.nature.com/scientificreports/
1
PH2 = 0.5 × Rha × PH2 O
Rha ×PH2 O 1.635(i/ A)
− 1 (19)
×e T 1.334
Pa
where Rha and Rhc represent the vapor humilities of both anode and cathode, Pa and Pc present the inlet pres-
sures of both anode and cathode (atm), A is the electrode surface ( cm2), i is the current of the FC (A), and PH2O
represents the water vapor saturation pressure(atm).
Table 16. The upper and the lower limits of the empirical parameters.
Parameters SSA89 PO90 MPA90 IAEO91 MAEO92 ISSA93 EHBO94 HGSA95 NNA96 RTH
ξ1 − 1.010 − 1.200 − 0.986 − 0.810 − 0.856 − 1.098 − 1.200 − 1.11 − 1.060 − 1.029
ξ2 × 10−3 3.220 4.042 2.609 5.17 2.73328 3.3352 3.310 3.753 3.744 3.100
ξ3 × 10−5 5.450 9.800 3.600 8.790 6.634 5.903 4.200 9.710 9.690 6.487
ξ4. × 10−5 − 1.420 − 1.929 − 1.929 − 1.900 − 1.928 − 1.928 − 1.930 − 1.935 − 19.302 − 1.936
20.710 20.818 20.817 20.877 20.703 21.250 20.877 21.970 20.877 22.02
RC (�) × 10−4 0.075 0.016 0.016 0.161 0.100 0.161 0.100 0.100 0. 100 0.100
b (V) × 10−2 1.00 1 1 1.00 1.60 148.2 1.60 1.60 1.60 1.740
Best 1.219 1.156 1.156 1.16 1.157 1.16 1.170 1.169 1.1698 1.140
Worst 1.520 NA NA 1.17 NA 179.26 1.185 1.34 1.3670 1.140
Mean NA 1.88 1.16 1.16 2.9326 14.57 1.174 NA NA 1.140
StD 871 × 10−2 NA NA 144 × 10−3 NA NA 0.6 × 10−4 3. 4 × 10−4 5.64 × 10−4 9.37 × 10−8
Table 17. The extracted BSC 500W FC parameters. The best results are marked in bold.
Vol.:(0123456789)
www.nature.com/scientificreports/
Table 18. The extracted NedStack PS6 FC parameters. The best results are marked in bold.
Table 19. The extracted SR-12 500W FC parameters. The best results are marked in bold.
30 600
Measurments
Estimated
28 Measurments
Estimated 500
26
400
Voltage (V)
24
Power (P)
300
22
200
20
100
18
16 0
0 5 10 15 20 25 30
Current (A)
Figure 36. Voltage and power curves of BCS 500W using the proposed RTH algorithm.
Vol:.(1234567890)
www.nature.com/scientificreports/
(20)
Vact = − ζ1 + ζ2 T + ζ3 T ln(CO∂ ) + ζ4 T ln(i)
where ξ1, ξ2, ξ3, ξ4 denote semi-empirical parameters; CO2 is the concentration of oxygen at the cathode’s surface
(mol.cm−3). It can be calculated as follows:
498
PO2
(21)
T
CO2 = e
5.08 × 106
The ohmic losses (Vohm) can be obtained as
Vohm = i(Rm + Rc ) (22)
where Rc is the resistance of the connectors, and Rm is the resistance of the membrane. Rm can be calculated as
65 9000
Measurments
Estimated
8000
Measurments
60 Estimated
7000
55 6000
Voltage (V)
Power (W)
5000
50
4000
45 3000
2000
40
1000
35 0
0 50 100 150 200
Current (A)
Figure 37. Voltage and power curves of BCS 500W using the proposed RTH algorithm.
45 900
Measurments
Estimated
800
Measurments
Estimated
40
700
600
35
Voltage (V)
Power (W)
500
400
30
300
200
25
100
20 0
0 5 10 15 20 25 30 35
Current (A)
Figure 38. Voltage and power curves of SR-12 500W using the proposed RTH algorithm.
Vol.:(0123456789)
www.nature.com/scientificreports/
l
Rm = ρm (23)
Am
where l and Am represent the membrane thickness (cm) and surface ( cm2), respectively, and ρm represents the
membrane-specific resistivity (ohm × cm). ρm can be obtained as
2.5
181.6 1 + 0.03i Am + 0.062T 303 i Am
ρm = (24)
T−303
− 0.634 − 3i Am e4.18 T
Objective function. The sum square error (SSE) between the measured (Vdata) and model output data
(Vdata) will be used as an objective function. The objective function can be constructed as follows:
N
f (x) = (Vdata (k) − Vmodel (k, x))2 (25)
k=1
where N represents the data size, and x represents a vector containing seven unknown parameters.
(26)
x = ζ1 ζ2 ζ3 ζ4 Rc b
The FC data are compared with those generated by the model, and the fitness value is calculated based on the
error between them. The model is developed in MATLAB script, and the data are loaded from the Excel sheet
file. The identification is an iterative process that updates the candidate solutions at each iteration by sending
them to the MATLAB script that includes the FC model and simulates it after that, and then generates the fitness
value. This process repeated until the last iteration.
Results. The suggested RTH algorithm will be used to extract the seven unknown characteristics of three
PEM fuel cells: the NedStack PS6, the BCS 500W, and the SR-12 500W. Table 1587 provided the accurate values of
the parameters, testing operating conditions, and measurement data for the tested PEMFC types. The upper and
lower limits of the empirical parameters are presented in Table 16. The results are compared to those published
for the same FC types.
Table 17 shows the comparative findings for the BCS 500 W type, Table 18 for the NedStack PS6, and Table 19
for the SR-12 PEM 500 W. The comparison findings are primarily based on sum square error (SSE).
Based on the findings reported in Table 17, the suggested method-based RTH performed the best of all the
reported techniques in this comparison to extract the parameters of the BCS 500W. The proposed RTH algo-
rithms obtained the minimal fitness function (SSE) by 1.14 × 10−2. On the other hand, the mean fitness values
were similar to the best value. The RTH provides the lowest STD values compared to the different algorithms
(9.37 × 10−8), indicating its robustness. Figure 36 depicts the experimental and estimated voltage and power
curves of BCS 500W using the suggested RTH algorithm. The estimated voltage and power curves match the
experimental curves. These curves demonstrate the proposed algorithm’s accuracy in deriving the best BCS
500W parameters.
Similar to the BDC 500W case, the suggested method-based RTH performed the best of all the cited methods
in this comparison to extract the parameters of the NedStack PS6. The proposed RTH best result is 2.058, similar
to the mean values. The RTH provides the lowest StD values compared to the different algorithms (1.79 × 10−6),
approving its robustness. Figure 37 depicts the experimental and estimated voltage and power curves of NedStack
PS6 using the suggested RTH algorithm. The estimated voltage and power curves match the experimental curves.
Similar to the previous cases, the suggested method-based RTH performed the best of all the cited methods
in this comparison to extract the parameters of the SR 500W. The proposed RTH best result is 0.5607, similar to
the mean values. The RTH also provides the lowest StD value by 1.79 × 10−6, approving its robustness. Figure 38
shwos the experimental and estimated voltage and power curves of SR 500W using the suggested RTH algorithm.
The obtained results for the standard test functions evaluated the performance of the proposed RTH algo-
rithm for both exploitation and exploitation phases compared to other MAs. From these results, the proposed
RTH has excellent exploitation and exploration abilities. In addition, its convergence speed has been approved.
Then, the proposed RTH efficiently has been evaluated for several real-world applications. Its performance has
been compared to several published algorithms for each problem. The achieved results confirm its ability to
handle these problems. Finally, a PEMFC parameters extraction has been performed using the proposed RTH
algorithm. The results have been compared to other well-known algorithms to approve its performance. The
results achieved were excellent. Hence, its performance has been elaborated and approved for various types of
optimization problems.
Vol:.(1234567890)
www.nature.com/scientificreports/
using three types of mathematical functions that express the nature of different optimization problems: twenty-
three standard benchmark test functions, IEEE Congress on Evolutionary Computation 2020 (CEC2020) with
15 and 20 search space dimensions, and CEC2022 with 10 and 20 search space dimensions. These functions
enable evaluating the exploitative ability, exploratory ability, and local optima avoidance of RTH. The results
are compared to other recent and robust optimizers, including Farmland Fertility Optimizer (FO), African
Vultures Optimization Algorithm (AVOA), Mountain Gazelle Optimizer (MGO), Gorilla Troops Optimizer
(GTO), COOT algorithm, Hunger Games Search (HGS), Aquila Optimizer (AO), and Harris Hawks optimization
(HHO). The results show that the proposed algorithm can provide the optimal solution for most of the considered
functions with fast convergence speed and good robustness. Then, the findings of the seven constrained engi-
neering design problems demonstrated that the RTH could show superior results to other published algorithms
in terms of precision, robustness, and convergence rate. To deeply investigate the performance of the proposed
RTH, the results of the proton exchange membrane fuel cell parameters extractions (PEMFC) have used the
proposed RTH algorithm compared to published ones. The ultimate results show the RTH’s ability to find better
parameters for the dynamic model of the PEMFC.
RTH’s performance is anticipated to be considerably improved by integrating more complicated processes and
combining effective operators and technics of other heuristics. Enhancing the proposed algorithm by including
other factors in the model, such as the wind effect and prey escaping, is possible. However, the bigger code size
of the RTH compared to other algorism like the PSO and the SSA can be a problem for its implementation. Bus,
this problem can be bypassed with the utilization of fast calculators.
Data availability
All data generated or analyzed during this study are included in this published article and its supplementary
information files.
References
1. Mahadeva, R., Kumar, M., Gupta, V., Manik, G. & Patole, S. P. Modified Whale Optimization Algorithm based ANN: a novel
predictive model for RO desalination plant. Sci. Rep. 13, 2901 (2023).
2. Zhang, C. & Ordóñez, R. Numerical optimization. Adv. Ind. Control https://doi.org/10.1007/978-1-4471-2224-1_2 (2012).
3. Wu, G. Across neighborhood search for numerical optimization. Inf. Sci. 329, 597–618 (2016).
4. Zhao, W., Wang, L. & Zhang, Z. Artificial ecosystem-based optimization: A novel nature-inspired meta-heuristic algorithm.
Neural Comput. Appl. 32, 9383–9425 (2020).
5. Wang, L., Zhao, W., Tian, Y. & Pan, G. A bare bones bacterial foraging optimization algorithm. Cogn. Syst. Res. 52, 301–311
(2018).
6. Sharma, S., Saha, A. K. & Lohar, G. Optimization of weight and cost of cantilever retaining wall by a hybrid metaheuristic
algorithm. Eng. Comput. 38, 2897–2923 (2022).
7. Sharma, S., Saha, A. K., Majumder, A. & Nama, S. MPBOA: A novel hybrid butterfly optimization algorithm with symbiosis
organisms search for global optimization and image segmentation. Multimed. Tools Appl. 80, 12035–12076 (2021).
8. Talbi, E.-G. Metaheuristics From Design to Implementation (Wiley, 2009).
9. Dreo, J., Petrowsdki, A., Siarry, P., Taillard, E. & Chatterjee, A. Metaheuristics for Hard Optimization: Methods and Case Studies.
(2006).
10. Heidari, A. A., Abbaspour, R. A. & Jordehi, A. R. An efficient chaotic water cycle algorithm for optimization tasks. Neural
Comput. Appl. 28, 1–29 (2015).
11. Mafarja, M. et al. Evolutionary population dynamics and grasshopper optimization approaches for feature selection problems.
Knowledge-Based Syst. 145, 25–45 (2018).
12. Salcedo-Sanz, S. Modern meta-heuristics based on nonlinear physics processes: A review of models and design procedures.
Phys. Rep. 655, 1–70 (2016).
13. Hossein-Gandomi, A., Xin-She, Y. & Hossein-Alavi, A. Cuckoo search algorithm: A metaheuristic approach to solve structural
optimization problems. Eng. Comput. 29, 17–35 (2013).
14. Batrinu, F., Carpaneto, E. & Chicco, G. A unified scheme for testing alternative techniques for distribution system minimum
loss reconfiguration. in 2005 International Conference on Future Power Systems vol. 2005 6 pp. (IEEE, 2005).
15. Shayanfar, H. & Gharehchopogh, F. S. Farmland fertility: A new metaheuristic algorithm for solving continuous optimization
problems. Appl. Soft Comput. 71, 728–746 (2018).
16. Abdollahzadeh, B., Gharehchopogh, F. S. & Mirjalili, S. African vultures optimization algorithm: A new nature-inspired
metaheuristic algorithm for global optimization problems. Comput. Ind. Eng. 158, 107408 (2021).
17. Abdollahzadeh, B., Gharehchopogh, F. S., Khodadadi, N. & Mirjalili, S. Mountain Gazelle Optimizer: A new nature-inspired
metaheuristic algorithm for global optimization problems. Adv. Eng. Softw. 174, 103282 (2022).
18. Abdollahzadeh, B., Soleimanian Gharehchopogh, F. & Mirjalili, S. Artificial gorilla troops optimizer: A new nature-inspired
metaheuristic algorithm for global optimization problems. Int. J. Intell. Syst. 36, 5887–5958 (2021).
19. Naruei, I. & Keynia, F. A new optimization method based on COOT bird natural life model. Expert Syst. Appl. 183, 115352
(2021).
20. Yang, Y., Chen, H., Heidari, A. A. & Gandomi, A. H. Hunger games search: Visions, conception, implementation, deep analysis,
perspectives, and towards performance shifts. Expert Syst. Appl. 177, 114864 (2021).
21. Abualigah, L. et al. Aquila Optimizer: A novel meta-heuristic optimization algorithm. Comput. Ind. Eng. 157, 107250 (2021).
22. Heidari, A. A. et al. Harris hawks optimization: Algorithm and applications. Futur. Gener. Comput. Syst. 97, 849–872 (2019).
23. Mirjalili, S. & Lewis, A. The Whale optimization algorithm. Adv. Eng. Softw. 95, 51–67 (2016).
24. Faris, H. et al. An efficient binary Salp Swarm algorithm with crossover scheme for feature selection problems. Knowledge-Based
Syst. 154, 43–67 (2018).
25. Bian, F., Li, T. & Cong, P. Genetic programming. Fenxi Huaxue 26, 783–785 (1998).
26. Lapre, C. et al. Genetic algorithm optimization of broadband operation in a noise-like pulse fiber laser. Sci. Rep. 13, 1865 (2023).
27. Storn, R. & Price, K. Differential evolution: A simple and efficient heuristic for global optimization over continuous spaces. J.
Glob. Optim. 11, 341–359 (1997).
Vol.:(0123456789)
www.nature.com/scientificreports/
28. Zheng, Y., Lu, X., Zhang, M. & Chen, S. Biogeography-based optimization. In Biogeography-Based Optimization: Algorithms
and Applications 27–49 (Springer, 2019). https://doi.org/10.1007/978-981-13-2586-1_2.
29. Bai, H., Cao, Q. & An, S. Mind evolutionary algorithm optimization in the prediction of satellite clock bias using the back
propagation neural network. Sci. Rep. 13, 2095 (2023).
30. Rashedi, E., Nezamabadi-pour, H. & Saryazdi, S. GSA: A gravitational search algorithm. Inf. Sci. 179, 2232–2248 (2009).
31. Ismaeel, A. A. K., Houssein, E. H., Oliva, D. & Said, M. Gradient-based optimizer for parameter extraction in photovoltaic
models. IEEE Access 9, 13403–13416 (2021).
32. Azizi, M., Aickelin, U., Khorshidi, A. & H. & Baghalzadeh Shishehgarkhaneh, M,. Energy valley optimizer: a novel metaheuristic
algorithm for global and engineering optimization. Sci. Rep. 13, 226 (2023).
33. Kumar, M., Kulkarni, A. J. & Satapathy, S. C. Socio evolution & learning optimization algorithm: A socio-inspired optimization
methodology. Futur. Gener. Comput. Syst. 81, 252–272 (2018).
34. Bayzidi, H., Talatahari, S., Saraee, M. & Lamarche, C.-P. Social network search for solving engineering optimization problems.
Comput. Intell. Neurosci. 2021, 1–32 (2021).
35. Verijkazemi, M. & Fazeli Veysari, E. A new optimization algorithm inspired by the quest for the evolution of human society:
Human felicity algorithm. Expert Syst. Appl. 193, 116468 (2022).
36. Baykasoğlu, A. & Ozsoydan, F. B. Evolutionary and population-based methods versus constructive search strategies in dynamic
combinatorial optimization. Inf. Sci. (Ny) 420, 159–183 (2017).
37. Kennedy, J. & Eberhart, R. Particle swarm optimization. in Proceedings of ICNN’95—International Conference on Neural Networks
vol. 4 1942–1948 (IEEE, 1995).
38. Mirjalili, S. et al. Salp Swarm algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw. 114, 163–191
(2017).
39. Chou, J.-S. & Molla, A. Recent advances in use of bio-inspired jellyfish search algorithm for solving optimization problems. Sci.
Rep. 12, 19157 (2022).
40. Ghafori, S. & Gharehchopogh, F. S. Advances in spotted hyena optimizer: A comprehensive survey. Arch. Comput. Methods Eng.
29, 1569–1590 (2022).
41. Gharehchopogh, F. S. Advances in tree seed algorithm: A comprehensive survey. Arch. Comput. Methods Eng. 29, 3281–3304
(2022).
42. Gharehchopogh, F. S., Namazi, M., Ebrahimi, L. & Abdollahzadeh, B. Advances in sparrow search algorithm: A Comprehensive
Survey. Arch. Comput. Methods Eng. 30, 427–455 (2023).
43. Chakraborty, P., Sharma, S. & Saha, A. K. Convergence analysis of butterfly optimization algorithm. Soft Comput. 27, 7245–7257
(2023).
44. Sharma, S., Khodadadi, N., Saha, A. K., Gharehchopogh, F. S. & Mirjalili, S. Non-dominated sorting advanced butterfly opti-
mization algorithm for multi-objective problems. J. Bionic Eng. 20, 819–843 (2023).
45. Sharma, S., Chakraborty, S., Saha, A. K., Nama, S. & Sahoo, S. K. mLBOA: A Modified Butterfly optimization algorithm with
lagrange interpolation for global optimization. J. Bionic Eng. 19, 1161–1176 (2022).
46. Chakraborty, S., Sharma, S., Saha, A. K. & Saha, A. A novel improved whale optimization algorithm to solve numerical optimiza-
tion and real-world applications. Artif. Intell. Rev. 55, 4605–4716 (2022).
47. Sahoo, S. K., Sharma, S. & Saha, A. K. A novel variant of moth flame optimizer for higher dimensional optimization problems.
J. Bionic Eng. https://doi.org/10.1007/s42235-023-00357-7 (2023).
48. Gharehchopogh, F. S. Quantum-inspired metaheuristic algorithms: comprehensive survey and classification. Artif. Intell. Rev.
56, 5479–5543 (2023).
49. Preston, C. R. Wild Bird Guide: Red-Tailed Hawk (Wild Bird Guides) (Stackpole Books, 2000).
50. Pearlstine, E. V. & Thompson, D. B. Geographic variation in morphology of four species of migratory raptors. J. Raptor Res. 38,
334–342 (2004).
51. Ballam, J. M. The use of soaring by the red-tailed Hawk (Buteo jamaicensis). Auk 101, 519–524 (1984).
52. Day, L. The City Naturalist: Red Tailed Hawk. in The 79th Street Boat Basin Flora and Fauna Society (2007).
53. Knight, R. L., Andersen, D. E., Bechard, M. J. & Marr, N. V. Geographic variation in nest-defence behaviour of the Red-tailed
Hawk Buteo jamaicensis. Ibis 131, 22–26 (2008).
54. Yang, X.-S. Appendix A: Test Problems in Optimization. In Engineering Optimization 261–266 (Wiley, 2010). https://doi.org/
10.1002/9780470640425.app1.
55. Yue, CT and Price, KV and Suganthan, Ponnuthurai N and Liang, JJ and Ali, Mostafa Z and Qu, BY and Awad, Noor H and
Biswas, P. P. Problem definitions and evaluation criteria for the CEC 2020 special session and competition on single objective
bound constrained numerical optimization. Comput. Intell. Lab., Zhengzhou Univ., Zhengzhou, China, Tech. Rep 201911, (2019).
56. Suganthan, P. N. et al. Problem definitions and evaluation criteria for the CEC 2021 special session and competition on single
objective bound constrained numerical optimization. Technical Report, Nanyang Technological University, Singapore, May 2005
AND KanGAL Report 2005005, IIT Kanpur, India (2020).
57. Faramarzi, A., Heidarinejad, M., Mirjalili, S. & Gandomi, A. H. Marine Predators Algorithm: A nature-inspired metaheuristic.
Expert Syst. Appl. 152, 113377 (2020).
58. Cheng, M.-Y. & Prayogo, D. Symbiotic organisms search: A new metaheuristic optimization algorithm. Comput. Struct. 139,
98–112 (2014).
59. Kaveh, A. Advances in Metaheuristic Algorithms for Optimal Design of Structures (Springer, 2021). https://doi.org/10.1007/
978-3-030-59392-6.
60. Azizi, M. Atomic orbital search: A novel metaheuristic algorithm. Appl. Math. Model. 93, 657–683 (2021).
61. Cao, S. et al. A novel meta-heuristic algorithm for numerical and engineering optimization problems: Piranha foraging opti-
mization algorithm (PFOA). IEEE Access https://doi.org/10.1109/ACCESS.2023.3267110 (2023).
62. Zhao, W., Wang, L. & Mirjalili, S. Artificial hummingbird algorithm: A new bio-inspired optimizer with its engineering applica-
tions. Comput. Methods Appl. Mech. Eng. 388, 114194 (2022).
63. Ghasemi, M. et al. A new firefly algorithm with improved global exploration and convergence with application to engineering
optimization. Decis. Anal. J. 5, 100125 (2022).
64. Mirjalili, S., Mirjalili, S. M. & Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 69, 46–61 (2014).
65. Eskandar, H., Sadollah, A., Bahreininejad, A. & Hamdi, M. Water cycle algorithm: A novel metaheuristic optimization method
for solving constrained engineering optimization problems. Comput. Struct. 110–111, 151–166 (2012).
66. Ravindran, A., Ragsdell, K. M. & Reklaitis, G. V. Engineering Optimization (Wiley, 2006). https://doi.org/10.1002/9780470117
811.
67. Talatahari, S. & Azizi, M. Optimization of constrained mathematical and engineering design problems using chaos game opti-
mization. Comput. Ind. Eng. 145, 106560 (2020).
68. Meng, X. B., Li, H. X. & Gao, X. Z. An adaptive reinforcement learning-based bat algorithm for structural design problems. Int.
J. Bio-Inspired Comput. 14, 114–124 (2019).
69. Gandomi, A. H. & Roke, D. A. Engineering optimization using interior search algorithm. In 2014 IEEE Symposium on Swarm
Intelligence 1–7 (IEEE, 2014). https://doi.org/10.1109/SIS.2014.7011771.
Vol:.(1234567890)
www.nature.com/scientificreports/
70. Yıldız, B. S. et al. A novel hybrid arithmetic optimization algorithm for solving constrained optimization problems. Knowledge-
Based Syst. 271, 110554 (2023).
71. Sattar, D. & Salim, R. A smart metaheuristic algorithm for solving engineering problems. Eng. Comput. 37, 2389–2417 (2021).
72. Akay, B. & Karaboga, D. Artificial bee colony algorithm for large-scale problems and engineering design optimization. J. Intell.
Manuf. 23, 1001–1014 (2012).
73. Ben Guedria, N. Improved accelerated PSO algorithm for mechanical engineering optimization problems. Appl. Soft Comput.
40, 455–467 (2016).
74. Yang, X. et al. An adaptive quadratic interpolation and rounding mechanism sine cosine algorithm with application to con-
strained engineering optimization problems. Expert Syst. Appl. 213, 119041 (2023).
75. Gupta, S. et al. Comparison of metaheuristic optimization algorithms for solving constrained mechanical design optimization
problems. Expert Syst. Appl. 183, 115351 (2021).
76. Wu, J. et al. An improved firefly algorithm for global continuous optimization problems. Expert Syst. Appl. 149, 113340 (2020).
77. Agushaka, J. O. et al. Improved Dwarf Mongoose optimization for constrained engineering design problems. J. Bionic Eng. 20,
1263–1295 (2023).
78. Arora, J. S. Introduction to Optimum Design (Elsevier, 2012). https://doi.org/10.1016/C2009-0-61700-1.
79. He, Q. & Wang, L. An effective co-evolutionary particle swarm optimization for constrained engineering design problems. Eng.
Appl. Artif. Intell. 20, 89–99 (2007).
80. He, Q. & Wang, L. A hybrid particle swarm optimization with a feasibility-based rule for constrained optimization. Appl. Math.
Comput. 186, 1407–1422 (2007).
81. MiarNaeimi, F., Azizyan, G. & Rashki, M. Multi-level cross entropy optimizer (MCEO): An evolutionary optimization algorithm
for engineering problems. Eng. Comput. 34, 719–739 (2018).
82. Faramarzi, A., Heidarinejad, M., Stephens, B. & Mirjalili, S. Equilibrium optimizer: A novel optimization algorithm. Knowledge-
Based Syst. 191, 105190 (2020).
83. El-Kenawy, E.-S.M. et al. Novel meta-heuristic algorithm for feature selection, unconstrained functions and engineering prob-
lems. IEEE Access 10, 40536–40555 (2022).
84. Ghafil, H. N. & Jármai, K. Dynamic differential annealed optimization: New metaheuristic optimization algorithm for engineer-
ing applications. Appl. Soft Comput. 93, 106392 (2020).
85. Olabi, A. G., Wilberforce, T. & Abdelkareem, M. A. Fuel cell application in the automotive industry and future perspective.
Energy 214, 118955 (2021).
86. Rezk, H. et al. Fuel cell as an effective energy storage in reverse osmosis desalination plant powered by photovoltaic system.
Energy 175, 423–433 (2019).
87. Rezk, H. et al. Optimal parameter estimation strategy of PEM fuel cell using gradient-based optimizer. Energy 239, 122096
(2022).
88. Cao, Y., Li, Y., Zhang, G., Jermsittiparsert, K. & Nasseri, M. An efficient terminal voltage control for PEMFC based on an
improved version of whale optimization algorithm. Energy Rep. 6, 530–542 (2020).
89. El-Fergany, A. A. Extracting optimal parameters of PEM fuel cells using Salp Swarm optimizer. Renew. Energy 119, 641–648
(2018).
90. Zaki Diab, A. A. et al. Fuel cell parameters estimation via marine predators and political optimizers. IEEE Access 8, 166998–
167018 (2020).
91. Rizk-Allah, R. M. & El-Fergany, A. A. Artificial ecosystem optimizer for parameters identification of proton exchange membrane
fuel cells model. Int. J. Hydrogen Energy 46, 37612–37627 (2021).
92. Menesy, S. et al. Effective parameter extraction of different polymer electrolyte membrane fuel cell stack models using a modified
artificial ecosystem optimization algorithm. IEEE Access 8, 31892–31909 (2020).
93. Sultan, H. M., Menesy, A. S., Kamel, S., Selim, A. & Jurado, F. Parameter identification of proton exchange membrane fuel cells
using an improved salp swarm algorithm. Energy Convers. Manag. 224, 113341 (2020).
94. Abdel-Basset, M., Mohamed, R., Elhoseny, M., Chakrabortty, R. K. & Ryan, M. J. An efficient heap-based optimization algorithm
for parameters identification of proton exchange membrane fuel cells model: Analysis and case studies. Int. J. Hydrogen Energy
46, 11908–11925 (2021).
95. Fahim, S. R. et al. Parameter identification of proton exchange membrane fuel cell based on hunger games search algorithm.
Energies 14, 5022 (2021).
96. 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. 43, 8136–8147 (2019).
97. Menesy, A. S., Sultan, H. M. & Kamel, S. Extracting Model Parameters of Proton Exchange Membrane Fuel Cell Using Equi-
librium Optimizer Algorithm. in 2020 International Youth Conference on Radio Electronics, Electrical and Power Engineering
(REEPE) 1–7 (IEEE, 2020). doi:https://doi.org/10.1109/REEPE49198.2020.9059219.
98. Jiang, J., Xu, M., Meng, X. & Li, K. STSA: A sine Tree-Seed Algorithm for complex continuous optimization problems. Phys. A
Stat. Mech. its Appl. 537, 122802 (2020).
99. Houssein, E. H., Hashim, F. A., Ferahtia, S. & Rezk, H. An efficient modified artificial electric field algorithm for solving opti-
mization problems and parameter estimation of fuel cell. Int. J. Energy Res. 45, 20199–20218 (2021).
100. Fathy, A., Abdel Aleem, S. H. E. & Rezk, H. A novel approach for PEM fuel cell parameter estimation using LSHADE-EpSin
optimization algorithm. Int. J. Energy Res. 45, 6922–6942 (2021).
101. Fathy, A., Elaziz, M. A. & Alharbi, A. G. A novel approach based on hybrid vortex search algorithm and differential evolution
for identifying the optimal parameters of PEM fuel cell. Renew. Energy 146, 1833–1845 (2020).
102. Kamel, S., Jurado, F., Sultan, H. & Menesy, A. Tree growth algorithm for parameter identification of proton exchange membrane
fuel cell models. Int. J. Interact. Multimed. Artif. Intell. 6, 11 (2020).
Author contributions
The authors confirm their contribution to the paper as follows: study conception and design: S.F., A.D.; data col-
lection: R.H., S.M.; analysis and interpretation of results: A.H., M.M. M.A.; draft manuscript preparation: S.F.,
R.H. All authors reviewed the results and approved the final version of the manuscript.
Competing interests
The authors declare no competing interests.
Additional information
Supplementary Information The online version contains supplementary material available at https://doi.org/
10.1038/s41598-023-38778-3.
Correspondence and requests for materials should be addressed to S.M.
Vol.:(0123456789)
www.nature.com/scientificreports/
Vol:.(1234567890)