1 Introduction

The expanding and fluctuations in the prices of the fossil fuels as well as the pollution and solid wastes make the renewable energy sources the best solution to support energy in continues manner and almost no pollution. Solar energy is one promising of renewable energy source because of its widespread over world, little maintenance, noise free and almost conventional fabrication techniques. It is important to find the most accurate model for representing the solar cells/modules for techno-economic benefits in the electrical grids. Many researchers are developed several models as the modeling of solar cell has attracted interest from them to describe its behavior at different environmental conditions as in Refs. [1,2,3,4,5,6] and for enhancing power performance issue [7,8,9]. In the previous modeling works, the (IV), current versus voltage, characteristic curve is the most important behavior to be formulated. To achieve this target, various developed models describe the characteristic of solar cell systems. The first model is called single-diode model (SDM). The SDM combines between the simplicity and accuracy, as it has only five parameters, hence it is considered the most commonly used in many power applications as in [9,10,11]. The second model is called second diode model which is abbreviated as DDM. The DDM has seven parameters, with two extra parameters that model the extra added diode compared with SDM, which make the calculations more complicate, but it is more accurate. The third presented model is called the triple diode model with abbreviation of TDM. The TDM which is the most complicated of these three models, but it is the most accurate especially in case of low radiation [12,13,14,15,16]. Also modified triple diode versus modified diode models were assessed recently in [17]. From the previous presentation, there are many efforts for modeling solar cell/modules at different environmental conditions of temperature and irradiance.

From the point of applications and real markets, Refs. [18,19,20,21,22] cover the energy hub applications and market requirements with the existence of uncertainty impacts of renewable energy resources. Finding the accurate modeling way is an important issue in energy market and energy hubs. The main merits of the parameter estimation play an important role in power system operation. For controlling the frequency in multi-area system, the parameter of solar cell is modeled by SDM as in [23]. Also, it helps in the operation enhancement of pumping system with synchronous machines as in [24] with using of the third generation of solar cell.

In the viewpoint of solution methodology, several reported methods have been explored in the literature to determine the PV parameters. Most of those methods can be varied between three popular classes. The analytical methods belong to the first one [25,26,27,28], which provide formulations for the parameters of the data sheet information or IV characteristic curve data. The metaheuristic methods belong to the second one [29, 30], which describe the problem of the estimation of the PV cell model parameter as an optimization problem. The resulting optimization problem can be solved by metaheuristic optimization techniques. The third one is hybrid approaches based on metaheuristic and analytical techniques, that means some of the parameters are calculated by a metaheuristic optimization algorithm and the remaining set of model parameters are found by analytical approach [31].

The determination of parameters accurately is very important in PV design, optimization, simulations, control and performance evaluation. Therefore, the process and technique of parameters estimation are very necessity. There is continuous development in methods to reach more accurate parameters for engineering problems, this aspect motivates this work to find higher accurate optimization algorithm to emulate the PV model. Table 1 represents the recent meta-heuristic approaches used for the parameter estimation of PV cell/ modules As shown above, continuous development of optimization algorithms encourages many researchers in variant engineering fields to utilize and achieve the elevated merits to their own situations.

Table 1 Reveiw on meta-heuristic methods applied for parameter estimation problem

The MPA is one of these recent techniques. It is nature-inspired optimization algorithm based on the optimal foraging strategy and allows predators to use an intelligent rate policy for encounters. It has been proposed in 2020 [53]. It depends on the behavior of a population of Marine Predators. The Marine Predators's social organization and behavior depend on swarm intelligence and evolutionary heuristic. MPA depends on the prey-predator speed ratio. Brownian motion and levy flight are considered to simulate prey and predator movement. Marine predators rely on their spatial memories and advanced cognitive skills in many activities, such as retrieving food and remembering the places where their food is often obtained.

Through this paper, MPA-based algorithm is developed to achieve the optimal parameters of PV models. However, the main contributions of this paper could be summarized in the following points:

  • Develop an efficient MPA-based parameter estimation algorithm for solving three different models of PV cells;

  • The proposed MPA-based algorithm is applied at normal and low radiations operating conditions of PV cell;

  • The normal operating condition is employed with the 57 mm diameter commercial (R.T.C. France) silicon solar cell, while the second operating case is emulated with the MCSSC of area 7.7 cm2 from Q6-1380 irradiated by low levels.

  • The results obtained from MPA are compared with those obtained by other well-known methods in the literature;

  • The proposed MPA-based algorithm is characterized by its high robustness and good convergence rates;

  • The estimated performance characteristics for IV and PV of the tested cells are very close to experimental data.

The rest of this manuscript has been formed as: Sect. 2 illustrates the various PV models. The problem formulation is declared in Sect. 3. Section 4 explains the MPA algorithm. Section 5 describes results and discussion. Finally, Sect. 6 concludes the paper findings.

2 Photovoltaic Models

Various models have been used to characterize the physics of PV modules. Practically, the most popular models are single- double- and three-diode models that are abbreviated as SDM, DDM and TDM, respectively. The following subsections present the details of the variant models of PV cells.

2.1 Single Diode Model

The first PV model is the single-diode model (SDM). Figure 1 describes the equivalent circuit of SDM. This model simply consists of a current source IPV in parallel with a diode, resistance (RP) which considers the leakage current of PN junction and consists of the partial short circuit (SC) current path near the cell’s edges related to the semi-conductor layers and non-idealities and a series resistance which consider the effects of silicon and electrodes surfaces contact, electrodes resistance and the flowing current resistance.

Fig. 1
figure 1

Equivalent circuit for SDM of PV cell

Mathematically, the diode current ‘\({I}_{\mathrm{D}1}\)’ is given using Shockley diode equation:

$${I}_{\mathrm{D}1 }={I}_{\mathrm{s}1}[{\mathrm{e}}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\eta }_{1}{V}_{\mathrm{T}}}\right)}-1]$$
(1)

where \({I}_{\mathrm{s}1}\) represents the reverse saturation current, \({\eta }_{1}\) is the ideality factor of (D1), I is the output current of the cell, V is the output voltage of the cell, \({I}_{\mathrm{D}1}\) is the diode current, and \({R}_{\mathrm{s}}\) is the series resistance of the equivalent circuit of SDM. The thermal voltage of SDM ‘\({V}_{\mathrm{T}}\)’ is given (\({V}_{\mathrm{T}}={K}_{\mathrm{B}}T/q\)). \({K}_{\mathrm{B}}\) represents Boltzmann's constant (\(K=1.3806503\times {10}^{-23}\mathrm{J}/\mathrm{K}\)), T is the operating temperature in Kelvin (K), and \(q\) is the electron charge (\(q=1.60217646\times {10}^{-19}\)).

The load output current is calculated using (2).

$${I=I}_{\mathrm{PV}}-{I}_{\mathrm{D}1 }-{I}_{\mathrm{P}}$$
(2)

where \({I}_{\mathrm{PV}}\) is the photons currents, \({I}_{\mathrm{P}}\) is the leakage current that passes through the shunt resistance which is calculated by:

$${I}_{\mathrm{P}}= \frac{V+I{R}_{\mathrm{s}}}{{R}_{\mathrm{P}}}$$
(3)

The (IV) relation of SDM becomes:

$$I= {I}_{\mathrm{PV}}-{I}_{\mathrm{s}1}\left({e}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\eta }_{1}{V}_{\mathrm{T}}}\right)}-1\right)-\frac{V+I{R}_{\mathrm{s}}}{{R}_{\mathrm{P}}}$$
(4)

In SDM, five unknown parameters (\({I}_{\mathrm{PV}}, {I}_{\mathrm{s}1}, {\eta }_{1}, {R}_{\mathrm{P}} \mathrm{and} {R}_{s})\) have to be estimated at their optimal values.

2.2 Double Diode Model

Practically, another additional diode is shunted to the current source considering the space charge recombination [54], compared with the SDM. The DDM equivalent circuit is shown in Fig. 2.

Fig. 2
figure 2

Equivalent circuit for DDM of PV cell

The additional new diode current is given as follows:

$${I}_{\mathrm{D}2 }={I}_{\mathrm{s}2}[{\mathrm{e}}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\eta }_{2}{V}_{\mathrm{T}}}\right)}-1]$$
(5)

where \({I}_{\mathrm{s}2}\) is the reverse saturation current, \({\eta }_{2}\) is the ideality factor of the second diode.

The output current I is now recalculated as follows:

$${I=I}_{\mathrm{PV}}-{I}_{\mathrm{D}1 }-{I}_{\mathrm{D}2 }-{I}_{\mathrm{P}}$$
(6)
$$I= {I}_{\mathrm{PV}}-{I}_{\mathrm{s}1}\left({e}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\eta }_{1}{V}_{\mathrm{T}}}\right)}-1\right)-{I}_{s2}\left({\mathrm{e}}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\upeta }_{2}{V}_{\mathrm{T}}}\right)}-1\right)-\frac{V+I{R}_{\mathrm{s}}}{{R}_{\mathrm{P}}}$$
(7)

Equation (7) describes seven parameters of IV relation which, (\({I}_{\mathrm{PV}}, {I}_{\mathrm{s}1}, {I}_{\mathrm{s}2}, {{\eta }_{1},\eta }_{2}, {R}_{\mathrm{P}} \mathrm{and} {R}_{\mathrm{s}})\).

2.3 Triple Diode Model

In the triple-diode model (TDM), the influence of large leakage, and recombination in defect region are considered as in [12]. Therefore, the third diode is shunted with the DDM. Figure 3 shows the equivalent circuit of TDM.

Fig. 3
figure 3

Equivalent circuit for TDM of PV cell

Like SDM and DDM, the output current is calculated by applying KCL as follows:

$$I= {I}_{\mathrm{PV}}-{I}_{\mathrm{s}1}\left({e}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\eta }_{1}{V}_{\mathrm{T}}}\right)}-1\right)-{I}_{\mathrm{s}2}\left({\mathrm{e}}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\eta }_{2}{V}_{\mathrm{T}}}\right)}-1\right)-{I}_{\mathrm{s}3}\left({\mathrm{e}}^{\left(\frac{V+I{R}_{\mathrm{s}}}{{\eta }_{3}{V}_{\mathrm{T}}}\right)}-1\right)-\frac{V+I{R}_{\mathrm{s}}}{{R}_{\mathrm{P}}}$$
(8)

where \({I}_{\mathrm{s}3}\) is the reverse saturation current and \({\eta }_{3}\) is the ideality factor of the third diode.

In the literature [55,56,57], seven parameters, \({I}_{\mathrm{PV}}\), \({I}_{\mathrm{s}1}\), \({I}_{\mathrm{s}2}\), \({I}_{\mathrm{s}3}\), \({\eta }_{3}\), \({R}_{\mathrm{P}}\) and \({R}_{\mathrm{s}}\) had been estimated for this model, while the other parameters remain constant as \({\eta }_{1}\) equal 1, \({\eta }_{2}\) was taken as 2, and \({\eta }_{3}\) > 3. In this work, nine parameters are estimated to get better results and enhance the accuracy of the higher models (\({I}_{\mathrm{PV}}, {I}_{\mathrm{s}1}, {I}_{\mathrm{s}2},{I}_{\mathrm{s}3}, {{\eta }_{1},\eta }_{2},{\eta }_{3}, {R}_{\mathrm{P}}\, \mathrm{and}\, {R}_{\mathrm{s}})\).

3 Problem Formulation

The main goal of PV modeling is to minimize the difference between the data extracted using the proposed model and the measurements. This can be achieved by identify the unknown parameter of different PV models under a variety of operating conditions. The unknown parameters are estimated optimally in order to obtain accurate models as possible. It is required to use an efficient optimization algorithm to estimate various unknown parameters. In SDM, it is important to optimize five parameters (\(I_{{{\text{PV}}}} , I_{{{\text{s1}}}} , \eta_{1} , R_{{\text{P}}} \,{\text{and}}\,R_{{\text{s}}} )\). Seven parameters in DDM have to be estimated (\(I_{{{\text{PV}}}} , I_{{{\text{s1}}}} , I_{{{\text{s2}}}} , \eta_{1} , \eta_{2} , R_{{\text{P}}} \,{\text{and}}\,R_{{\text{s}}} )\). In TDM, nine parameters (\(I_{{{\text{PV}}}} , I_{{{\text{s1}}}} , I_{{{\text{s2}}}} ,I_{{{\text{s}}3}} , \eta_{1} ,\eta_{2} ,\eta_{3} , R_{{\text{P}}} \,{\text{and }}\,R_{{\text{s}}}\)\(\text{)}\) have to be optimized. It seems that the TDM is a complicated model and time consumed in estimation of its parameters; however it depicts the complicated behavior of different PV cells, especially the multi-crystalline cell. Using an efficient optimization algorithm give accurate results and minimize the execution time. Here in, the objective function is the mean root square error (MRSE). The error function is the difference between measured and modeled cell current. In this problem, the minimization of root means square error (RMSE) (9) is considered as the problem objective function (OF).

$$\begin{aligned} {\text{MRSE}} & = \sqrt {\frac{1}{N}\mathop \sum \limits_{k = 1}^{N} \left[ {I\left( k \right) - I_{\exp } \left( k \right)} \right]^{2} } \\ {\text{OF}} & = \min \left( {{\text{MRSE}}} \right) \\ \end{aligned}$$
(9)
$$\begin{aligned} & {\text{subject}}\,{\text{to:}}\, \\ & I_{{{\text{PV}}}}^{{{\text{min}}}} \le I_{{{\text{PV}}}} \le I_{{{\text{PV}}}}^{\max } \\ & I_{{{\text{si}}}}^{\min } \le I_{{{\text{si}}}} \le I_{{{\text{si}}}}^{\max } \,{\text{for}}\,\, i = 1,2, \,{\text{and}}\,3 \\ & \eta_{i}^{\min } \le \eta_{i} \le \eta_{i}^{\max } \,{\text{for}}\,\, i = 1,2,\,{\text{and}}\,3 \\ & i = 1\,{\text{for}}\,{\text{SDM,}} 2\,{\text{ for}}\,{\text{DDM }}\,{\text{and}}\, 3\,{\text{for}}\,{\text{TDM}} \\ & R_{{\text{s}}}^{\min } \le R_{{\text{s}}} \le R_{{\text{s}}}^{\max } \\ & R_{{\text{P}}}^{\min } \le R_{{\text{P}}} \le R_{{\text{P}}}^{\max } \\ \end{aligned}$$

where Iexp refers to the experimental current and N refers to the experimental data points.

According to the literature [8, 9, 39, 42,43,44,45], the upper and lower limits of different parameters are:

\({R}_{\mathrm{s}}\) is within the range[0 2], \({R}_{\mathrm{P}}\) is ∈ [50 5000], \({I}_{\mathrm{s}1}\), \({I}_{\mathrm{s}2}\), \({I}_{\mathrm{s}3}\) are ∈ [0 1E−12], \({{\eta }_{1},\eta }_{2},{\eta }_{3}\) are ∈ [1 5] and \({I}_{\mathrm{PV}}\) ∈ [0 2 \({I}_{\mathrm{SC}}\)] where \({I}_{\mathrm{SC}}\) is the short circuit current.

The proposed optimization algorithm, MPA, is used to estimate the optimal parameters of different models with minimum RMSE. The MPA code is built with the help of using MATLAB environment [46].

4 Proposed Marine Predator Algorithm

MPA is one of meta-heuristic optimization techniques. MPA is a nature-inspired from the marine predators' behavior. An optimal strategy between prey and predator is followed by MPA. This strategy allows predators to use an intelligent encounters rate policy and prey to utilize an optimal foraging strategy. MPA relies on the prey to predator speed ratio. The movement of prey and predator are simulated by Brownian motion and levy's flight. Spatial memories and advanced cognitive skills are utilized in many activities by marine predators such as food retrieval and recalling places where they are often finding the food. The optimization process is as follows:

4.1 Initialization of Population

MPA considered as a population-based algorithm with n space search. The initial population, X0, is initialized randomly and based on allowable lower and upper limits of control variables (d search space), Xmax and Xmin.

$${X}_{0}={X}_{\mathrm{min}}+\mathrm{rand}\times \left({X}_{\mathrm{max}}-{X}_{\mathrm{min}}\right)$$
(10)

where rand is uniformly distributed vector lies between 0 and 1.

4.2 Evaluate the Fitness and Construct Elite and Prey Matrices

The more intelligent in food search are considered to construct the most suitable solution. This solution is corresponding to the predator which sets up the Elite matrix to find the prey depending on information about prey's locations. Elite matrix is given for ‘n’ search agents and ‘d’ search space, as follows:

$$\mathrm{Elite}=\left[\begin{array}{ccc}{X}_{\mathrm{1,1}}^{I}& {X}_{\mathrm{1,2}}^{I}\dots & {X}_{1,d}^{I}\\ {X}_{\mathrm{2,1}}^{I}& {X}_{\mathrm{2,2}}^{I}\cdots & {X}_{2,d}^{I}\\ \begin{array}{c}\begin{array}{c}\vdots \\ \vdots \end{array}\\ {X}_{n,1}^{I}\end{array}& \begin{array}{c}\begin{array}{c}\vdots \\ \vdots \end{array}\\ {X}_{n,2}^{I}\cdots \end{array}& \begin{array}{c}\begin{array}{c}\vdots \\ \vdots \end{array}\\ {X}_{n,d}^{I}\end{array}\end{array}\right]$$
(11)

where the top predator vector \(\overrightarrow{{X}^{I}}\) is repeated n times to represent the search agents for d dimension (control variables). Both prey and predator are considered search agent because both of them search for its own food. Thus another matrix called Prey matrix with the same dimension as Elite. The initialization found the initial Prey that the top predator construct Elite based on it and the updating of Elite is based on Prey locations.

$$\mathrm{Prey}=\left[\begin{array}{ccc}{X}_{\mathrm{1,1}}& {X}_{\mathrm{1,2}}\dots & {X}_{1,d}\\ {X}_{\mathrm{2,1}}& {X}_{\mathrm{2,2}}\cdots & {X}_{2,d}\\ \begin{array}{c}\begin{array}{c}\vdots \\ \vdots \end{array}\\ {X}_{n,1}\end{array}& \begin{array}{c}\begin{array}{c}\vdots \\ \vdots \end{array}\\ {X}_{n,2}\cdots \end{array}& \begin{array}{c}\begin{array}{c}\vdots \\ \vdots \end{array}\\ {X}_{n,d}\end{array}\end{array}\right]$$
(12)

where \({X}_{i,j}\) represent ith prey at jth dimension.

4.3 MPA Phases

The optimization process takes three main phases after the initialization process of Prey matrices and Elite, according to three levels velocity ratio, high velocity ratio, unit velocity ratio and low velocity ratio. In first phase, the velocity of predator is slower than that of prey. The second phase occurs when the velocities of predator and prey are equal then we have a unity velocity ratio. Phase three indicates that predator is moving faster than prey. The action of predator and prey in these three phases is explained as follows:

4.3.1 Phase 1: High Velocity Ratio (Prey Moves in High Speed, \((v\ge 1\)))

At the start of optimization process, the space between prey and predator is large and the prey moves in high speed. The best scenario of predator is not moving at all. This scenario takes place \(\mathrm{while} \mathrm{Iter}\le \frac{1}{3}\mathrm{Max}\_\mathrm{Iter}\). Where, Iter is the current iteration, and maximum number of iteration is Max_Iter. The step size of prey and its position is formulated as follows:

$$\begin{aligned} & \overrightarrow {{{\text{Stepsize}}}}_{i} = \vec{R}_{{\text{b}}} \oplus \left( {\overrightarrow {{{\text{Elite}}}}_{i} - \vec{R}_{{\text{b}}} \oplus \overrightarrow {{{\text{prey}}}}_{i} \left( t \right)} \right), i = 1, \ldots , n \\ & \overrightarrow {{{\text{prey}}}}_{i} \left( {t + 1} \right) = \overrightarrow {{{\text{prey}}}}_{i} \left( t \right) + P*\vec{R} \oplus \overrightarrow {{{\text{Stepsize}}}}_{i} \\ \end{aligned}$$
(13)

where \({\overrightarrow{R}}_{\mathrm{b}}\) is a normal distributed vector representing Brownian motion of prey, and the constant P has a value of 0.5. The vector \(\overrightarrow{R}\) is randomly distributed values in range of [0,1]. The Prey's positions at time interval, ‘t + 1’, are updated using the calculated step size at the end of time interval ‘t’.

4.3.2 Phase 2: Unit Velocity Ratio (\(v=1\))

In this phase both prey and predator are looking for its prey. This occurs in the intermediate of the optimization process, while \(\frac{1}{3}\mathrm{Max}\_\mathrm{Iter}\le \mathrm{Iter}\le \frac{2}{3}\mathrm{Max}\_\mathrm{Iter}\). In this phase the transition from exploration to exploitation takes place. Thus the population size is equally dividing for exploration and exploitation (i.e., one half tries to explore, while the other half of population exploits). The Levy's flight and Brownian movement are considered for the motion. The formulation of this phase is as follows:-

For exploration stage (the first half of population):

$$\begin{aligned} & \overrightarrow {{{\text{Stepsize}}}}_{i} = \vec{R}_{{\text{L}}} \oplus \left( {\overrightarrow {{{\text{Elite}}}}_{i} - \vec{R}_{{\text{L}}} \oplus \overrightarrow {{{\text{prey}}}}_{i} \left( t \right)} \right), i = 1, \ldots , n/2 \\ & \overrightarrow {{{\text{prey}}}}_{i} \left( {t + 1} \right) = \overrightarrow {{{\text{prey}}}}_{i} \left( t \right) + P*\vec{R} \oplus \overrightarrow {{{\text{Stepsize}}}}_{i} \\ \end{aligned}$$
(14)

The vector, \({\overrightarrow{R}}_{\mathrm{L}}\), represents the Levy distribution of movement and has random numbers. The production of \({\overrightarrow{R}}_{\mathrm{L}}\) and the prey represent the levy movement. Updating the prey movement is considered through adding the step size to the position of prey. The best value of P was found as 0.5. The step size of this stage is small to enable preys to exploit in the second half of the population.

For exploitation stage (the second half of population):

$$\begin{aligned} & \overrightarrow {{{\text{Stepsize}}}}_{i} = \vec{R}_{b} \oplus \left( {\vec{R}_{b} \oplus \overrightarrow {{{\text{Elite}}}}_{i} - \overrightarrow {{{\text{prey}}}}_{i} \left( t \right)} \right), i = n/2, \ldots ., n \\ & \overrightarrow {{{\text{prey}}}}_{i} \left( {t + 1} \right) = \overrightarrow {{{\text{prey}}}}_{i} \left( t \right) + P*{\text{CF}} \oplus \overrightarrow {{{\text{Stepsize}}}}_{i} \\ \end{aligned}$$
(15)

The production of \({\overrightarrow{R}}_{\mathrm{b}}\) and Elite represent the Brownian movement of Elite. Prey updates its position according to predator movement and an adaptive factor, CF, with a value equal to \({\text{CF}} = \left( {1 - \frac{{{\text{Iter}}}}{{{\text{Max}}_{{{\text{Iter}}}} }}} \right)^{{(2{\text{Iter/Max}}\_{\text{Iter}})}}\).

4.3.3 Phase 3: Low Velocity Ratio (Prey Moves In Low Speed, \((v=0.1\))

In this phase predator moves faster than prey and it prefers to move in Levy's flight motion. In This phase predator exploits its prey. This stage occurs \(\mathrm{while} \mathrm{Iter}>\frac{2}{3}\mathrm{Max}\_\mathrm{Iter}\). Prey updates its position based on predator.

$$\begin{aligned} & \overrightarrow {{{\text{Stepsize}}}}_{i} = \vec{R}_{{\text{L}}} \oplus \left( {\vec{R}_{{\text{L}}} \oplus \overrightarrow {{{\text{Elite}}}}_{i} - \overrightarrow {{{\text{prey}}}}_{i} \left( t \right)} \right), i = 1, \ldots , n \\ & \overrightarrow {{{\text{prey}}}}_{i} \left( {t + 1} \right) = \overrightarrow {{{\text{Elite}}}}_{i} + P*{\text{CF}} \oplus \overrightarrow {{{\text{Stepsize}}}}_{i} \\ \end{aligned}$$
(16)

4.4 FADs’ Effect

The predators alter their manner according to environmental conditions. One of the most important conditions is “Fish Aggregating Devices” (FADs) effect which motivates predators to find different areas with different preys' distribution and concentration. FADs is considered as local optima. FADs = 0.2 which represents the probability of FADs effect on optimization process. The effect of FADs on prey's positions is given as in Eq. (17)

$$\overrightarrow {{{\text{prey}}}}_{i} = \left\{ {\begin{array}{*{20}l} {\overrightarrow {{{\text{prey}}}}_{i} + {\text{CF}}\left[ {\vec{X}_{{{\text{min}}}} + \vec{R} \oplus (\vec{X}_{{{\text{max}}}} - \vec{X}_{{{\text{min}}}} )} \right] \oplus \overrightarrow {U } } \hfill & {{\text{if}}\, r \le {\text{FADs}}} \hfill \\ {\overrightarrow {{{\text{prey}}}}_{i} + \left[ {{\text{FADs}}\left( {1 - r} \right) + r} \right]\left( {\overrightarrow {{{\text{prey}}}}_{r1} - \overrightarrow {{{\text{prey}}}}_{r2} } \right) } \hfill & {{\text{if}}\, r > {\text{FADs}}} \hfill \\ \end{array} } \right.$$
(17)

where the binary vector \(\overrightarrow{U}\) contains 0 and 1. It is generated randomly in the range [0,1], then it changes its array to zero if the array is less than 0.2 and the array becomes ones if the generated array is greater than 0.2. The indices r1 and r2 indicate random indices of prey matrix.

4.5 Memory Saving of MPA

Memory saving in MPA reflects the predators' good memory that allows them to remember the best search food locations. The fitness of updated prey is evaluated in this stage for each solution at time interval (t + 1) and compared to the corresponding one at the previous time interval t. Elite matrix is updated by deciding the best fitness obtained. The flowchart of MPAbased approach is illustrated in Fig. 4.

Fig. 4
figure 4

Flowchart of the proposed MPAbased-parameter estimation technique

5 Results and Discussion

The performance of proposed MPA is verified by estimating the parameters of two case studies of PV cells with three models (SDM, DDM and TDM):


Case study 1: In this study case, R.T.C. France silicon solar cell with 57 mm diameter commercial is considered to be verified. The experimental (IV) data of case study at normal operating condition (1000 W/m2 at 33 °C) are taken from the literature [31].


Case study 2: In the second case, multi-crystalline silicon solar cell Q6-1380witharea of 7.7 cm2 is taken to investigate the most accurate model representing its behavior. The cell operates under room temperature (27 °C) and low irradiation level (98.4 W/m2) [9]. The experimental dataset is taken from the literature [9].

To test the effectiveness of the proposed MPA-based parameter estimation technique, it has been compared to four well known competitive optimization algorithms in the field of solar cell parameters estimation. The competitive algorithms are SCA [48], SSA [49], PSO [50] and GWO [51]. To make the comparison fair, all of search agents of the competitive algorithms are set at 100 agents and the maximum number of iterations is set at 400. All results obtained in this research are carried out using the MATLAB R2016b software on a PC with Intel(R) Core (TM)i3-CPU M370@2.4 GHz 3 GB (RAM).

The variation of objective function (RMSE) over many runs of the algorithm (30–100 runs) can be used to investigate the robustness of any algorithm. A lower change in objective function over runs indicates that the algorithm is more robust. To confirm the robustness of the proposed MPA, about 100 individual runs for different PV models, SDM, DDM and TDM, recorded at normal and low radiation operating conditions, respectively.

5.1 Simulation Results for Single Diode Model

  • Case study 1

For SDM, the comparison results including estimated parameters and RMSE are shown in Table 2. It is clear that MPA provides the lowest RMSE (8.43854E−4) among the competitive algorithms, followed by SCA [48], SSA [49], PSO [50]. The RMSE is considered as the best index used to represent the accuracy of methods. The convergence rates of MPA compared with GWO, PSO, SSA and SCA algorithms are shown in Fig. 5a. The robustness of the proposed algorithm has been tested by checking the variation of the RMSE over 100 runs of the algorithm. Figure 5b presents the robustness of the proposed MPA compared with GWO and PSO for SDM. The convergence rate and robustness emphasize the effectiveness of MPA. For further validation of the quality of the estimated results, the extracted parameters have been used to reconstruct IV and PV curves, as illustrated in Fig. 6. It is noticed that the estimated data obtained by the proposed MPA is highly closest to the measured data which prove the high accuracy of estimated parameters. In this case, the RMSE has the lowest value of (8.43854E−4) compared with SCA, SSA, PSO, and GWO which have 9.26567E−4, 8.45486E−4, 8.45724E−4 and 8.50301E−4, respectively.

  • Case study 2

In this case, the PV operates under low irradiance. The accuracy and performance of MPA are checked to prove the accuracy of the extracted model. Table 3 introduces the simulation results compared to the selected competitive algorithm. The convergence rate and robustness are presented in Fig. 7. Also, the optimization parameters are used to reconstruct IV and P–V characteristics as shown in Fig. 8. Therefore, Table 3, Figs. 7 and 8, assure the high robustness of the proposed MPA. In this case, the RMSE has the lowest value of (1.611E−05) compared with SCA, SSA, PSO, and GWO which 3.86E−05, 3.86E−05, 2.10E−05 and 1.69E−05, respectively.

Table 2 Comparison of simulation results for SDM (Case study #1)
Fig. 5
figure 5

Comparison of performance rates for SDM (Case Study #1), a Convergence rates and b Robustness characteristic

Fig. 6
figure 6

Comparison between measured and estimated data using the proposed MPA for SDM (Case study#1), a IV curve and b P–V curve

Table 3 Comparison of simulation results for SDM (Case study #2)
Fig. 7
figure 7

Comparison of performance rates for SDM (Case Study #2), a Convergence rates and b Robustness characteristic

Fig. 8
figure 8

Comparison between measured and estimated data using the proposed MPA for SDM (case study#1), a IV curve and b P–V curve

5.2 Simulation Results for Double Diode Model

  • Simulation results of Case study 1

For DDM, the simulated results compromising optimal parameters and RMSE are shown in Table 4. As shown, MPA provides the lowest RMSE (7.592E−4), followed by PSO, GWO, SSA, and SCA. Figure 9a represents the convergence rates of MPA with the four competitive algorithms GWO, PSO, SSA and SCA. The robustness characteristic of the MPA and competitive algorithms is illustrated in Fig. 9b. All of these results again confirm the effectiveness of MPA. V–I curve, for measured and calculated values, is shown in Fig. 10, which emphasizes the high closeness between the estimated and experimental IV curve. Based on Table 4, the MPA has the first rank followed by PSO, GWO, SSA then SCA, respectively.

Table 4 Optimal PV estimated parameters of competitive optimization methods for DDM (Case study #1)
Fig. 9
figure 9

Comparison of performance rates for DDM (Case Study #1). a Convergence rates and b robustness characteristic

Fig. 10
figure 10

Performance of I–V for DDM using the proposed MPA (Case study #1)

  • Simulation results of Case study 2

In this case, the simulation results compared to the competitive algorithms are introduced in Table 5. The least value of RMSE is obtained with the proposed MPA (1.461E−05) compared to 1.462E−05, 1.48E−05, 1.56E−05, and 5.50E−05 for PSO, SSA, GWO, and SCA, respectively.

Table 5 Optimal PV estimated parameters of competitive optimization methods for DDM (Case study #2)

5.3 Simulation Results for Three Diode Model

Similarly, to the previous two models, the proposed MPA is developed for TDM and the obtained results are assessed compared with several published studies in the literature. In both studied cases, TDM is considered as the most accurate model dealing with the complicated behavior of PV cells, especially multi-crystalline PV cell. Tables 6 and 7 show the optimal PV estimated parameters and the ranking of RMSE for MPA compared with the competitive optimization methods for TDM for Case study 1 and 2, respectively. It is observed that MPA has the least RMSE for the two studied cases with PSO, GWO, SSA and SCA. The obtained results assure the high capability of the proposed MPA.

Table 6 Optimal PV estimated parameters of competitive optimization methods for TDM for Case study 1
Table 7 Optimal PV estimated parameters of competitive optimization methods for TDM for Case study 2

For Case study1, the RMSE via MPA equals 8.43854E−4, 7.592E−4, and 7.592E−4 for SDM, DDM, and TDM (Tables 2, 4, and 6), respectively. These results emphasizes that DDM and TDM are more accurate than TDM.

For case study 2, as the physical behavior of multi-crystalline PV cell is more complicated, TDM is the most accurate model. The results obtained from Tables 3, 5, and 7 confirm the accuracy of TDM as the RMSE values are 1.461E−05 for TDM, 1.46E−05 for DDM, and 1.611E−05 via SDM.

Figure 11 shows the high closeness between the experimental and estimated IV and PV curves for Case study 1 and 2. The solution quality is proved in Fig. 12 through the fast convergence rates and the robustness of the proposed MPA compared to other competitive algorithms. Moreover, the values of RMSE obtained for the three models are illustrated in Fig. 12c, d. these figures confirm again the accuracy of DDM and TDM and that MPA outperforms all compared algorithms. The previous results prove the high capability of the proposed MPA for optimizing the considered parameter estimation problem of solar cells at normal and low radiation Case study 1 and 2) (Fig. 13).

Fig. 11
figure 11

Closeness between estimated and experimental dataset for Case study 1 and 2 a, c: (I–V) curves, b, d (P–V) curves

Fig. 12
figure 12

Convergence rates and robustness of TDM using the proposed MPA compared with competitive algorithms a convergence rate for Case study 2, b robustness for Case study 2

Fig. 13
figure 13

Comparison of RMSE using the proposed MPA compared with competitive algorithms a RMSE of different models for Case study 1, and b RMSE of different models for Case study 2

5.4 Statistical Analysis

The statistical analysis compromising best, worst, average and standard deviation of RMSE, is applied over 100 independent runs to the selected studied cases with the three models of PV. The statistical analysis can confirm the average accuracy and reliability of the proposed algorithm. Tables 8 and 9 introduce the statistical analysis of Case study 1 and 2, respectively. It can be noticed that the proposed MPA-based estimated parameters method has the best RMSE over all cases and models. Moreover, TDM has the best RMSE as it is 7.56E−4 in Case 1 and 1.42E−5 for Case2.

Table 8 Statistical analysis for different models of PV (Case study 1)
Table 9 Statistical analysis for different models of PV (Case study 2)

The Standard deviation indicates the MPA can realize higher reliability in parameter estimation problem, as it observed from Table 8 that MPA gets the best standard deviation (3.56E−10, 1.86E−5, and 4.37E−6 for SDM, DDM, TDM, respectively). Table 9, also, emphasizes the high reliability of MPA compared to the other methods as it realizes the best recorded standard deviation (5.07E−12, 2.00E−7, and 2.04E−7 corresponding to SDM, DDM, and TDM). The PSO achieve the second best RMSE and standard deviation in Case 1. In Case 2, the second best RMSE with SDM and DDM is via PSO, while GWO realize the second best RMSE with TDM. Also, GWO achieve the second-best standard deviation with SDM and TDM.

From all discussions, it can be concluded that the proposed MPA outperforms the four competitive algorithms. It is accurate and reliable in extracting optimal parameters of different models and in variety of operating conditions.

6 Conclusions

In this work, a new MPA has been developed to estimate the optimal parameters of three PV models at normal and low radiations operating conditions. These models are single-, double- and three-diode PV models. The normal operating condition has been employed on the 57 mm diameter commercial (R.T.C. France) silicon solar cell while the second case was carried out on a MCSSC of area 7.7 cm2 from Q6-1380 irradiated by low levels. The main goal of this study is to estimate an accurate and reliable PV model for any commercial panel under any operating conditions. This model of PV helps the studying of various real operating systems such as stand-alone microgrid, grid-connected microgrid, PV pumping system. The simulation results assure robustness of the proposed MPA for accurate parameters achievement with good and fast convergence. Also, the estimated performance curves, for current and power versus the cell voltage, obtained by the proposed algorithm are very close to the experimental date for the two studied operating conditions. The convergence rate has been used as an assessment criterion that is considered in this study. The convergence curves assure the highest and fast rates to reach the steady solutions for the studied cases compared with several optimizers in the literature. These figures expose the good convergence rates of MPA. Furthermore, the proposed MPA has achieved the best RMSE, the lower standard deviation overall the models and with the two studied cases. Therefore, this method is highly outperformance compared with GWO, SSA, PSO, and SCA. It was proven that the MPA leads to high accuracy solutions supported by the lowest RMSE and high reliability in terms of lowest standard deviations given for all tested cases. MPA can be considered as a promising and distinct optimization tool, especially in case of nonlinear complex optimization situations.

In the future research, advanced models to represent hysteresis behavior of the solar cell will be considered. Also, the MPA will be intended to solve several problems such as optimal power flow, unit commitment, economic load dispatch, parameter estimation of poly phase induction machines, fuel cell and battery energy storage and energy hub issues. In the area of solution methodology, when developing MPA in joint with other optimization methods such as PSO, SSA, SCA and GWO then it will produces an new hybrid optimization algorithm that combines the merits of the two jointed algorithms.