1. Introduction
Energy is an essential component of the universe and is considered one of the forms of existence. Energy is divided into two main types (renewable energy and non-renewable energy); non-renewable energy as fossil fuels has a terrible impact on the environment. Therefore, many nations tend to use renewable energy to produce their electricity. Solar energy is one of the primary and available renewable energy sources on the planet that has no pollution and easy installation as well as being inexpensive and noise-free. The need to add renewable energy sources is increased with the dramatic changes in electricity requirements. Therefore, the effective modeling of renewable energy resources is an important issue for efficient energy management [
1].
Solar cells are one of the ways to take advantage of solar energy, so significant attention went to model photovoltaic (PV) cells [
2,
3,
4,
5,
6,
7]. Several parameters define the nonlinear electrical model of a solar cell, which must be studied in depth to design PV systems. It is vital to understand the current–voltage graph (I-V) before using PV cells. In addition to determining PV’s parameters, picking a few points from this curve can also help. Based on the number of diodes, different parameter models are presented. Three different types are available: single diode, double diode, and three diode [
8,
9,
10,
11].
Parameter identification can be accomplished in two ways, using deterministic methods or using metaheuristics. Examples of traditional approaches are Lambert W-functions [
12] and the interior-point method [
13]. Although traditional models can solve parameter identification, it has some drawbacks facing nonlinear problems such as sensitivity to the initial solution besides sticking in a local optimum solution with heavy computations and taking a long time to reach this optimum. Therefore, metaheuristics algorithms are used to overcome these drawbacks. Examples of these metaheuristics are the Particle Swarm Optimization (PSO) [
6], Genetic Algorithm (GA) [
14], Differential Evolution (DE) [
15], Harmony Search (HS) [
16], Artificial Bee Colony (ABC) [
17], and Simulated Annealing (SA) [
18].
The continuous development in optimization methods has been notable in recent decades. For example, several optimization methods were developed and applied for different power system problems, as presented in [
19,
20]. Furthermore, in [
21,
22,
23,
24,
25], an algorithm that mimics the elephant herding behavior called Elephant Herding Algorithm (EHO) was proposed for different applications. Reference [
26] proposes three improved variants of EHO that are developed.
The basic architecture of the PV cell guarantees that two differentially doped semiconductor layers form a PN junction. When irradiation is present, the cell absorbs photons from incoming light and produces carriers (or electron–hole pairs). As a result, there may be a discrepancy at the intersection [
27]. In an ideal PV cell model, a photocurrent source and a diode are connected in parallel. Model estimation is made easiest by the fact that there are only three unknown parameters: the ideality factor η, the photocurrent
, and the reverse saturation current
.
The contact resistance
between the silicon and electrode surfaces is described by this resistance. A parallel resistance
is attached to the diode to prepare for leakage current in the PN junction. The single-diode model (SDM) model has five parameters that must be estimated:
,
,
, and
[
28]. The double-diode model (DDM) is a more precise method of modeling PV cells. It takes into account current loss recombination in the depletion area. With the addition of the seventh parallel diode, there are now seven parameters to estimate (
,
,
,
,
,
, and
) [
8].
These models are of great interest to many researchers. There have been many successful algorithms for adjusting parameters of PV cells in SDM and DDM, but few works in TDM have been published in this area. Reference [
29] proposed a solar PV parameter extraction method based on the Flower Pollination Algorithm (FPA). Two diode models are chosen to understand the precision of the computation. The authors experimented with the effectiveness of FPA using RTC France info. Simulated Annealing (SA), Pattern Search (PS), Harmony Search (HS), and Artificial Bee Swarm Optimization (ABSO) techniques are often used to compare the measured root mean square error and relative error for the built model. Researchers [
30] proposed a hybridized optimization algorithm (HISA) for accurately estimating the parameters of the PV cells and modules. From the experimental data obtained from five case studies consisting of two cells and three modules for monocrystalline, multi-crystalline, and thin-film PV technologies, single- and double-diode models of PV cells/modules were developed with their respective single I V nonlinear characteristics.
The authors [
31] propose two simple metaphor-free algorithms called Rao-2 (R-II) and Rao-3 (R-III) to estimate the parameters of PV cells. Several well-known optimization algorithms are compared to the efficiency of the proposed algorithms. The comparison helps show the merit of the algorithms. Finally, an analysis of statistical data is combined with experimental findings to verify the efficiency of the proposed algorithms. The Grasshopper Optimization Algorithm (GOA) is proposed [
32] for parameter extraction of a PV module’s three-diode PV model. This GOA-based PV model uses two popular commercial modules: Kyocera KC200GT and Solarex MSX-60.
The single-, double-, and three-diode models have different solar cell parameters. These models have five parameters for the single-diode model and seven parameters for the double- and three-diode models. Each parameter must be obtained accurately based on the objective function to reach the global optimum. In this study, the EHO algorithms have been chosen to solve this problem because they have a few control parameters and smooth implementation. In addition, EHO’s simplicity and few parameters made it a suitable choice for achieving such enhancements. Furthermore, by dividing the population into clans, we could avoid becoming trapped in a local optimum and instead converge on reaching a global minimum. Finally, after getting experimental results for this problem, a comparison with other well-known algorithms was presented to prove the result’s quality. This comparison is important to ensure that the new variants can solve this problem and compete with other algorithms.
Table 1 reports some of the recent solvers that were applied for PV parameter estimation problems in the recent years
The RMSE and the relative error are used as the most performance measures developed in the previous methods. The proposed variants of EHO are compared against most of the new well-known algorithms on the parameter identification of different photovoltaics. The performance of these proposed algorithms can be judged according to convergence speed, high estimation of parameters, and low computation time.
The main contributions of this paper can be summarized as follows:
Proposing three variants of the EHO algorithms for solar cell parameters estimation.
The EHO and the proposed EHO variants are tested on single-, double-, and three-diode models.
Verifying the performance of each algorithm by comparing results with those of competitors.
Proving that the culture-based variant has the most effective performance that improves the EHO.
Validation of the proposed variants under different environmental conditions for temperature and irradiation. In this regard, the applications are employed on two types of PV solar cells.
The rest of the paper is organized as follows. The second section focuses on solar cells and mathematical models. In
Section 3, an elephant-herding algorithm is proposed, and its different versions are discussed. The results, computer simulations, and comparisons are listed and discussed in
Section 4. Finally, we conclude in
Section 5 with a wrap-up and conclusion.
3. EHO-Based Optimization Algorithms
The wild elephant grows in herds. Clans of elephants are organized into groups under the leadership of female leaders. Furthermore, male elephants abandon the herd as they mature. To implement the elephant’s behavior to solve nonlinear optimization problems, EHO is summarized into three essential rules:
The population has a fixed number of clans; each clan consists of some elephants.
The male elephant separates the clan and lives alone away from the group.
A leadership of female elephants rules the clan.
There are clans within the elephant population, and within each clan, each elephant is ranked based on its fitness, and then each group is updated separately.
Clan updating operator: For each member in clan ci, the best elephant effect on its next position in clan
. We can update elephant
j in clan
by:
The best elephant in each clan can be updated as:
Separating operator: As mentioned, the male elephant will live alone, separately away from the family. This separating process acts as the separating operator, which can be implemented into each generation as the worst fitness. We achieve it as follows:
The elephant optimization procedure has been randomly generated based on the pseudocode in
Figure 4 and the flowchart in
Figure 5. The EHO algorithm has significant merit of a few control parameters. However, the chances of finding a new good elephant vs. a poor one are low; thus, the new candidate solution is unlikely to be as excellent as or better than the old one. The search operator does not consider the knowledge of the best solution or other solutions that may have a beneficial influence on steering EHO toward more promising areas of search space due to the participation of these random variables. However, a closer look at the flowchart and pseudocode of EHO reveals several gaps and shortcomings. These shortcomings may have a bad impact, affecting EHO’s performance.
As depicted in Equation (10), the new generated value may be worse than the original value of F. Thus, in this equation, a better value cannot be guaranteed.
The constant value alpha (α in Equation (8)) remains consistent during algorithmic steps. Therefore, making the parameter based on the generation number of the elephant makes sense.
This paper aims to improve EHO performance, which is under-reported in the scientific literature. Listed below are three potential enhancements to EHO performance:
3.1. Alpha Tuning of αEHO
Careful investigation of EHO parameters recommends setting the scale factor to be adaptive is more promising than being a constant value in the range [0, 1].
Putting it simply, making alpha adaptive and related to the population number is more convenient and matched to the notion of evolution in Equation (11). In the original EHO algorithm, the scale factor-alpha is a constant value. Now,
is varying with the generation number by this function:
3.2. Cultural-Based EHO (CEHO)
By utilizing the space of the best prior members, the cultural-based algorithm aids in the improvement of the algorithm [
26,
52,
53]. The cultural-based algorithm constructs a better community by considering a belief space comprised of selected population members by acceptance function, as shown in
Figure 6. A new member can be generated by using the belief space. A cultural-based algorithm is used to generate new solutions among belief space boundaries in the separating operation.
3.3. Biased Initialization EHO (BIEHO)
The main idea of the biased initialization algorithm is that the algorithm did not start evolving while the population’s average fitness did not exceed a certain threshold. Therefore, the clan should be satisfied with its population’s quality and ensure high-quality elephants. Start the generation with a population with functional fitness. The next step of evolution will not begin until the quality of the first generation reaches a suitable predetermined threshold. Biased algorithms are used in the initialization step by adding a rule or a limit [
54]. Forcing the first generation of the population to have a good candidate solution may lead to another good production.
4. Computer Results and Simulations
EHO variants were tested using 57 mm diameter commercial silicon solar cells from the RTC Company of France to verify their performance against single- and double-diode models. The experiment is carried out under 1 sun (1000 W/
) at 33 °C [
8,
42,
55]. A multi-crystalline PV solar module CS6P-240P is used to represent the three-diode model. CS6P-240P experimental data based on [
56,
57] are established for four irradiance levels (109.2, 246.65, 347.8, and 580.3
) at temperatures (37.32, 40.05, 347.8, and 51.91 °C), respectively.
Table 2 shows the manufacture specification for CS6P-240P under standard test conditions (STD). The basic EHO and its three variants are compared with the results of two algorithms from [
42] called Artificial Bee Swarm Optimization algorithm (ABSO) and Harmony Search (HS) algorithm. The few adjustable parameters for EHO can be set as
, β = 0.1, number of clans = 4, population size = 32, and maximum iteration = 5000.
Table 3 and
Table 4 present the optimal solar cell parameters and RMSE by EHO algorithms, Artificial Bee Swarm Optimization algorithm (ABSO), and Harmony Search (HS) for single- and double-diode modes. The single-diode model is considered the simplest model among all models with only five parameters.
Table 3 shows that the four EHO algorithms obtained the same result due to the model’s simplicity, but all four algorithms outperformed ABSO and HS.
Table 4 shows the results for the double-diode model with seven parameters, showing differences between the extracted parameters and the RMSE. Compared to other algorithms, CEHO achieved the lowest RMSE.
Figure 7 shows the convergence of the four EHO algorithms for the single-diode and double-diode model at the first 250 generations, respectively. In addition, it showed the fast convergence of the proposed EHO algorithms for obtaining good results.
As demonstrated by
Table 5, the measured current is very close to the calculated current. In addition, cultural-based EHO leads to outperformed results compared with other EHO variants.
Figure 8 and
Figure 9 show the power and current of the calculated and measured current from cultural-based EHO. Again, the measured and calculated curves are almost identical, while the relative error for the double-diode model for cultural-based EHO is presented in
Table 6.
The previous results were for the PV panels at standard temperature and radiation. The four EHO algorithms were tested against three other algorithms at different irradiance levels and temperatures for more testing.
Table 7 shows the extracted parameters for the seven algorithms at different irradiance levels and temperatures. Finally, the three-diode model is tested against three algorithms from [
43] (Moth-Flame Optimizer (MFO), FPA, and Hybrid Evolutionary algorithm (DEIM)). The RMSEs for each algorithm at varying irradiance levels are listed in
Table 8. Again, at low radiation with 109.2 W/m
2, CEHO outperforms EHO with a slightly small difference but a big difference compared to other algorithms. CEHO outperformed other algorithms at other radiations, and BIEHO’s results were slightly different from CEHO’s. The superiority of the CEHO algorithm is proven as the best compared with the other three variants and the other three algorithms for all irradiance levels.
Figure 10 shows that calculated data fit the I-V curve of measured data for CEHO.
5. Conclusions
This paper presents a new optimization algorithm based on elephant herding behavior called Elephant Herding Optimization (EHO) and three improved variants called αEHO, CEHO, and BIEHO. The EHO and its three variants are developed to estimate single, double, and three-diode solar cell models. The 57 mm diameter RTC Company of France commercial silicon solar cell with 26 points of measured data was chosen to present single and double models’ problem under one irradiance level (25 °C and 1000). The EHO variants results are compared with two good algorithms (ABSO, HS). For presenting the three-diode model multi-crystalline PV solar module CS6P-240P under four irradiance levels (109.2, 246.65, 347.8, and 580.3 ) at temperature (37.32, 40.05, 347.8, and 51.91 °C) respectively. The EHO algorithms are compared with another three algorithms (MFO, FBA, and DEIM). The superiority of the four EHO algorithms is proven in the results. Cultural-based algorithms outperformed all algorithms used in the double- and three-diode models and ABSO, HS, and Biased in the single-diode model. Finally, it can be concluded from the results that EHO algorithms are very suitable for solving parameters extraction of solar cell problems for variant models.
Among the drawbacks of conventional EHO is its scale factor alpha being a constant value. Additionally, the behavior of EHO requires more attention to the solutions. Therefore, it would be helpful to employ more hybrid solutions, as this study recommends. Moreover, due to the practical nature of elephant herding, there are more processes involved than clan updating and separating. Thus, more models should be developed and incorporated into the EHO method that models elephant behavior. Finally, the main EHO was designed for solving continuous problems, so it must be validated for continuous and discrete problems [
58].
Future work will include extracting parameters for more complex models for more accurate parameter extraction. In addition, the adaptive scaling factor is more promising than being a constant value in the range [0, 1]. Moreover, due to the superiority of the CEHO algorithm, we can do more enhancements to the CEHO algorithm to get more accurate results for more complex optimization problems. In addition, more behavior characteristics are recommended to investigate an advanced version of EHO accomplished with new hybrid algorithms.