Estimation of Single-Diode Photovoltaic Model Using the Differential Evolution Algorithm with Adaptive Boundaries

: This study proposes a calculation methodology that determines the optimal boundary parameters of the single-diode photovoltaic model. It allows the calculation of the single-diode photovoltaic model when no reference parameter boundaries are available. The differential evolution algorithm, integrated with a step-by-step boundary deﬁnition module, is used to calculate the optimal parameters of the single-diode photovoltaic model, improving the performance of the classic algorithm compared with other studies. The solution is validated by comparing the results with well-established algorithms described in the state-of-the-art, and by estimating the ﬁve important points (cardinal points) of an IV curve, namely short-circuit, maximum power, and open circuit points, using a database composed of 100 solar photovoltaic modules. The results show that an optimal set of parameter boundaries enables the differential evolution algorithm to minimize the error of the estimated cardinal points. Moreover, the proposed calculus methodology is capable of producing high-performance response photovoltaic models for different technologies and rated powers.


Introduction
Different mono-facial solar photovoltaic module SPVM technologies have been developed e.g., mono-crystalline, poly-crystalline, and thin layer, among others. Their electrical behavior is usually described by the curve traced in the current and voltage plane (IV curve). Similarly to the mono-facial technology, SPVMs have recently incorporated bifacial technology, and unlike their mono-facial counterpart, bifacial SPVMs are capable of harnessing incident solar radiation from both faces of the photovoltaic PV module, increasing its production capacity [1]. Authors such as Singh et al. [2] and Liang et al. [3] claim that the behavior of bifacial solar technology can be described using the same method as mono-facial modules. In addition, Mujahed Al-Dhaifallah et al. [4] developed a fractional control system capable of tracking the maximum power point, which highly depends on the electrical model of the SPVM. These applications require modeling the electrical behavior of the SPVM with a high level of accuracy in order to improve their performance.
SPVM have a highly non-linear conduct, ranging from the ideal model behavior being described by three parameters to more complex models that use five or even seven parameters. Increasing the number of parameters included in the SPVMs electrical model increases the difficulty of obtaining these parameters; therefore, the electrical model must be carefully selected [5][6][7][8]. In many studies, the five parameter model displays sufficient accuracy to describe the operation of the SPVM, as it is capable of predicting the behavior of the module under different operating scenarios with high precision [9,10], in addition it includes the transition to different operating conditions starting from a partic-ular state. The transition between two operating conditions was subsequently refined by Boyd et al. [11]. Different methodologies are used to determine the input parameters of the models, and the currently available tools are the explicit methods through Lambert's W function [12], the iterative method, the heuristic method, and the metaheuristic approaches.
The calculation strategy is selected according to two main factors: (i) the input data, and (ii) the SPVM electrical model. On the one hand, the input data may be obtained from an IV curve, or from the SPVMs datasheet. The SPVMs datasheet is widely used as input parameter as all PV modules manufacturers provide this information. However, the datasheet data are limited to three PV operational points, i.e., short circuit, open circuit, maximum power point of both the standard test condition STC and normalized operating cell temperature NOCT. On the other hand, the electrical model is selected according to the required precision. Explicit and iterative methods usually use approximations to obtain the model parameters, while metaheuristic methods are based on stochastics and do not require any approximations to determine the output parameters of the selected model.
Heuristics refers to solving a problem subject to a series of restrictions. These restrictions allow determining an approximation of the solution with a higher computational speed when compared to conventional algorithms that calculate the exact solution. An improvement to this type of algorithm is the metaheuristic algorithm, based on a focused search of the solution. An example of this method is indicated by Elazab et al. [13], who present a Whale Optimization Algorithm WOA based on the whale hunting method, converging inwards as a spiral towards the approximate solution. Another metaheuristic algorithm is proposed by Ebrahimi et al. [14], which uses a Flexible Particle Swarm Optimization Algorithm FPSOA inspired by the social behavior of birds. The behavior of the FPSOA is based on the experience of each particle and of its neighbors. Another type of metaheuristic algorithm is based on the evolution of a given population. The metaheuristic algorithms are widely used in the industry to solve problems such as wire electric discharge machining [15], signal and image processing [16], economic dispatch [17], and spatial forest planning [18]; therefore, due to the versatility of this type of algorithm, the metaheuristic approach is selected to model the SPVM electrical behavior.
Ishaque et al. [19] developed a method to obtain a five parameter model based on the metaheuristic differential evolution algorithm DEA using only the information provided by a SPVMs datasheet. On the other hand, Biswas et al. [20] slightly modifies the standard DEA, obtaining equivalent five and seven parameter models by varying the objective function and introducing a dynamic population on a step-by-step basis. The objective function indicated by Biswas et al., provides a range of potential solutions. Such diverse solutions can be explained by the fact that the study only considers three operational points located on curve IV, leaving aside the behavior of the PV curve. As both studies are supported by the same base algorithm, they require that the bounds upon which the solution resides are defined. Ishaque et al., relies on the data provided by Villalva et al. [21], while Biswas et al., does not make any reference to the bounds used to determine these parameters. The information and methodology provided by these studies is limited, and the criteria for the selected limits used in the algorithms indicated by the state-of-the-art is studied by some authors like Toledo et al. [22] using an analytical approach. However, the boundaries calculus method addressed by Toledo et al., presents inconsistencies for certain SPVMs since it is not capable of providing a finite value for the maximum limit of the shunt resistance.
On the other hand, Abido et al. [23] uses the DEA as a base to determine a five parameter model that incorporates a correction on the thermal conversion of two of the five parameters, providing more precision to the model when changing from one operating condition to another. However, there are no specific criteria regarding the selection of the boundaries of the mentioned parameters. This is relevant as the quality of the solution is associated with the input boundaries provided to the algorithm. In addition, De Soto et al. [9] indicates that the value of these parameters is modified according to the operating condition at which they are calculated, and the PV specimen under study.
This suggests a problem that must be solved. Several authors such as Villalva et al., and Yan et al. [24] experimentally determined bounds over which it is possible to find a solution for the PV equations; however, as mentioned above, these parameters are subject to specific operating conditions. Considering this background, as the DEA has shown adequate results and a high adaptability to solve different problems, this work proposes and autonomous DEA capable of determining electrical models of future solar photovoltaic technologies, such as bifacial or perovskite solar cells. Furthermore, this methodology can be used to estimate the electrical model of a solar power plant.
This study presents a methodology that enables the calculation of the SDM parameter boundaries. The SDM is calculated by means of the differential evolution algorithm. However, in order to improve the base DEA algorithm, an adaptive step-by-step limit module is incorporated. The calculation method improves the performance of the solution achieved by other authors, allowing the calculation of the SDM when no reference parameter boundaries are available. Two different operational conditions (for example, standard test conditions and normal operating cell temperature) are required as input data in order to calculate the SDM which minimizes the cardinal points error. These data are usually provided by the manufacturer on the SPVM datasheet.
The proposed parameter boundaries calculation method is studied in detail using the KC200GT SPVM. The performance of the proposed methodology is validated estimating the cardinal points for two and comparing with (i) results of with well-established algorithms for the Kyocera KC200GT SPVM, and (ii) 100 SPVM datasheets of different technologies and rated powers. The remaining publication is divided as follows: Section 2 indicates the SPVM electric model, Section 3 indicates the boundaries calculation method, Section 4 explains the differential evolution algorithm used, Section 5 presents the results of the simulations and the validation of the model and, finally, Section 6 presents the conclusions.

Photovoltaic Model
Given the constructive nature of SPVMs, the electrical model of the SPVM is characterized by having at least one ideal diode; therefore, its behavior is explained based on semiconductor theory [25][26][27].

Ideal Model
The ideal SPVM model relates the behavior of the PV current I pv and PV voltage V pv as a function of three parameters: the photovoltaic current source I ph , the saturation current of the diode I o , and the diode's ideality factor A. Equations (1)-(5) indicate the relationships between the different variables present in the ideal PV model, indicated in Figure 1, where V D and I D represent the voltage and current of the diode. The thermal voltage of the diode V t is a function of Boltzmann's constant k B , the elemental charge of the electron q and the PV cell temperature T. However, SPVMs often have N s PV cells connected in series, so it is convenient to introduce the equivalent thermal voltage parameter, a, that concentrates the information of the thermal voltage, the number of cells connected in series, and the diode ideality factor. Usually, the temperature is measured in K and the Boltzmann constant is expressed in eV.
The ideal model parameters can be determined according to the operation points indicated by the manufacturer of the SPVM, and these are called PV cardinal points: shortcircuit current I sc , open circuit voltage V oc , maximum power current I mpp , maximum power voltage V mpp , and maximum power point P mpp . These values are usually indicated for an operational condition called standard test condition STC, in which the irradiance level S re f and temperature T re f are 1000 W/m 2 and 298.15 K. By replacing these parameters on Equations (1)-(5), the three parameters can be calculated by solving the system of non-linear equations indicated in Equations (6)- (8).

Single-Diode Model
The single-diode model described by five parameters (SDM) is commonly used as it is able to express, with precision, the behavior of the SPVM under different operating conditions. This model is defined as a function of five parameters: the photovoltaic current source I ph , the diode saturation current I o , the equivalent thermal voltage a, the series resistance R s , and the shunt resistance R sh . The equations that govern the behavior of the SPVM are given in Equations (2)-(4) and (9)- (11), where the shunt current I sh is determined as a function of V D and R sh , while the diode current I D remains as defined in Equation (4). The electrical model is presented in Figure 2.
I ph = I D + I sh + I pv (11) Equations (12)- (14) indicate the behavior of the five parameter model at the PV cardinal points. Unlike the ideal case, it is not possible to solve the equation system, as the number of variables exceeds the available equations. However, it is possible to add a condition which indicates the maximum PV power point, mathematically described in Equation (15), where the PV power function is dependent on the PV voltage. This additional condition requires knowledge of the derivative of I pv with respect to V pv , given in Equation (16).
∂P pv ∂V pv mpp The fifth equation required to solve the system is introduced by several authors as an approximation for a given operational point, e.g., De Soto et al., indicates that it is possible to estimate the temperature coefficient for open circuit β V oc conditions. On the other hand, Jadli et al. [28] assumes that the fifth condition is the slope of the PV current, determined according to the PV voltage in the short-circuit condition.
Although the system of equations indicated in Equations (12)- (15) is not sufficient to determine the five parameters of the model, it is enough to determine the cardinal points. The solution of this system of equations is obtained through multiple optimization techniques. However, in this study, the explicit expressions provided by Lambert's W function W(z) are used [29].
In order to determine the behavior of the IV curve under different operating conditions, it is necessary to transform the SDM from the reference condition to the desired condition. Such a method is exposed by De Soto et al., in Equations (17)- (21), where the sub index ref and op indicates the reference and the desired operational condition, respectively. α I sc,re f indicates the short-circuit current temperature coefficient at a known reference irradiance S re f . The band gap energy E g is calculated using the Varshni equation applied to silicon materials, indicated in Equation (22) [30,31]. The parameters used by the Varshni equation are extracted from [32].

Parameter Boundaries Definition
This section proposes a methodology for the calculation of the boundaries on which the SDM parameters reside. However, it is only able to determine the boundaries for the following variables: (i) the equivalent thermal voltage, (ii) the series resistance, and (iii) the shunt resistance, since the remain parameters can be calculated according to Equations (23) and (24) [20].

Equivalent Thermal Voltage Boundaries
The equivalent thermal voltage is directly correlated to the ideality factor of the diode in the electrical model. The impact of a on the PV power curve is displayed in Figure 3, and the shape of the curve is not significantly altered with respect to the ideal curve. However, as the value of a increases, the power and voltage of the PV curve increase in a near direct proportional manner with respect to a.  The range of the equivalent thermal voltage is determined by the values of the diodes ideality factor A, which usually ranges from 1 to 2. Therefore, the limits of a can be calculated by applying Equations (25) and (26). It should be noted that the calculation of a requires knowledge of the number of cells connected in series N s and the cell temperature T c for which the cardinal points were obtained.

Series Resistance Boundaries
The series resistance indicates the resistance of the cells material and resistive contacts that oppose the current flow [25]. The value of the series resistance has a significant impact on the output power between the open circuit voltage and maximum power point. As the magnitude of R s increases, the voltage produced by the SPVM tends to zero. Therefore, the available power that the SPVM can deliver to an external load is limited, reaching zero when R s tends to infinite. This translates into a degradation of the PV curve. The effect of the variation of R s on the PV curve is indicated in Figure 4, where R s varies between 0.5 and 50 Ω.
In order to calculate boundaries for R s , geometric limitations are incorporated as photovoltaic power restrictions. The upper limit of R s is calculated by using the slope of the line that connects the maximum power point (V mpp , I mpp ) and the open circuit voltage V oc , as indicated in Equation (27). On the other hand, the minimum value of R s corresponds to zero; however, it is useful to set an infimum value for series resistance R s,in f as different from zero. For this purpose, a detailed study on the variation of the maximum power point in function of the series resistance Φ s (R s ) is performed; nevertheless, the variation of the maximum power point is presented as the deviation of the ideal case as indicated in Equation (28). Here, the maximum power is calculated using the ideal photovoltaic model considering a series resistance values different from zero. Figure 5 indicates the behavior of Φ s (R s ) for a test SPVM. In this figure, a minimum value of Φ s (R s ) (referred to as ϕ) is defined in the [0, Φ s (R s,max )] range. By setting ϕ, it is possible to calculate R s,in f by means of Equation (29). This equation can be solved using an optimization tool, e.g., the midpoint method, as the the R s,in f bounds are known (defined between 0 and R s,max ). For the test module indicated in Figure 5, the maximum bound calculated is 867.20 mΩ, delivering a Φ s (R s,max ) value of 23.68%. Assuming that ϕ Φ s (R s,max ), according to Equation (30), a power margin ∆ P ≈ Φ s (R s,max ) = 23.68% is achieved.

Shunt Resistance Boundaries
The shunt resistance indicates the leakage of current through the cell around the edges of the device and between contacts of different polarities [25]. The shunt resistance R sh significantly impacts the PV curve as its value tends to 0 Ω, whereas for high values, the impact on the curve is minimal. This is because small values of R sh tend to short-circuit the current source of the five parameter model and, thus, the power is not able to leave the SPVM. The situation described is presented in Figure 6, where it can be appreciated that values in the order of 1 Ω degrade the maximum power of the PV curves by more than 100 W (with respect to the ideal PV model). A similar calculation method to the one presented for series resistance can be applied to determine the shunt resistance. Since a minimum value of the shunt resistance R sh,min is known, a finite maximum value needs to be defined. Then, a supremum value for the shunt resistance R sh,sup is calculated. In this case, Equation (31) presents the minimum value of R sh calculated using the short-circuit current I sc and the maximum power point (I mpp , V mpp ). To calculate R sh,sup , the variation of the maximum power point Φ sh (R sh ) is studied as indicated in Equation (32). Here, the maximum power is calculated using the ideal photovoltaic model, considering a shunt resistance different from zero. Figure 7 indicates the behavior of Φ sh (R sh ) for a test SPVM. In a similar manner to the R s scenario, ϕ indicates the minimum value expected for Φ sh (R sh ); however, a supremum value R sh,sup is achieved. R sh,sup can be calculated solving the Equation (33). For the test SPVM indicated in Figure 7, the value of the minimum shunt resistance is equal to 43.83 Ω, delivering a Φ sh (R sh,min ) value of 7.5%. Assuming that ϕ Φ sh (R sh,min ), according to Equation (34), a power margin ∆ sh ≈ Φ sh (R sh,min ) = 7.5% is achieved. Behavior of Φ sh (R sh ) for a test SPVM. It is indicated the minimum and maximum boundaries.

Differential Evolution Algorithm
The differential evolution algorithm DEA proposed by Price et al. [33], uses a solutionseeking mechanism with a mutation operation over a user-defined boundary space in a specific number of generations G. Each generation created by the algorithm has a population P G of fixed magnitude NP. Here, every individual item of the population χ p , is composed by D elements x d , as indicated in Equations (35) and (36). The generations evolve until the G max iterations are reached.
In order to calculate the single-diode photovoltaic model, the following variables are used: equivalent thermal voltage, series resistance, and shunt resistance; therefore, D equals 3. The photovoltaic current and saturation current of the diode are calculated according to Equations (23) and (24).

Initialization
The algorithm begins with a population of magnitude NP, where NP ∈ N. Each element of the population has a known dimension D and is constructed within lower and upper boundaries, χ L and χ H . It is important to emphasize that the lower and upper boundaries have D dimension, as well as each element of the generated population. This is indicated in Equations (37) and (38). Once the boundaries are defined, a random vector χ rng of dimension D is generated in the [0,1] domain, in order to determine the elements of the initial population, according to Equation (39). This scenario is illustrated in Figure 8a, where seven 2D random elements are generated within the boundaries, and represented by a dotted line.

Mutation
The mutation process creates a mutant vector V G that is used to modify P G . This vector is defined as follows: three different elements belonging to P G are randomly selected: χ r1 , χ r2 , and χ r3 . Then, V G is calculated subtracting the difference between vectors χ r2 and χ r3 . This difference is then weighted by a mutant factor F and added to vector χ r1 , as indicated in Equation (40). Note that F corresponds to a single number that lies in the range of [0.1]. Considering that V G is calculated from vectors of dimension D, it must also be composed of D elements v G , as indicated by Equation (41). This calculus methodology is illustrated in Figure 8b, where χ r1 , χ r2 , and χ r3 , are represented by vectors (9), (2), and (4). In this example, the mutant vector begins in the origin of the reference system and ends in the red dot.

Crossover
Using the information provided by the mutant vector, it is possible to construct a new population ρ G . The elements of ρ G have the possibility of replacing elements of the current population, in order to improve the overall performance. The population of ρ G is referred to as trial vectors ψ p , and is composed by D elements y d , as indicated in Equations (42) and (43). y d elements are chosen according to the binomial crossover strategy, which depends on three factors: (i) the crossover rate CR, (ii) the crossover random number CR d,rng , and (iii) a random value d rng , as indicated in Equation (44). Here, CR remains the same for all generations, and usually is defined as a single number in the [0, 1] domain. On the other hand, each y d element has its own CR d,rng number in the [0, 1] domain. The third factor ensures that at least one chromosome of the mutant vector lives on the new population, since d rng is a natural number randomly selected from the [1, D] domain. However, it is possible that some of the y d elements breach the bounds set by x d,L and x d,H ; therefore, these values must be replaced. This is expressed in Equation (45), and referred to as the penalty function. Here, a new random number y d,rng is generated to calculate the value of the new element y d .

Evaluation and Selection
The screening process for new generations (G + 1) is based on comparing the value of the objective function J(χ p ) between G and (G + 1), maintaining the solution that minimizes the J(χ p ) value. Ishaque et al., suggests replacing the χ p element by the new ψ p element as long as this new element presents a better value for the objective function, i.e., the new elements will always provide a lower or at most equal value of J(χ p ). Unlike the methodology proposed in [19], this paper adopts the method of replacing the element that produces the largest J(χ p ) value of the entire population, as indicated in Equation (46). It can also be seen that the solution provided by the proposed algorithm continuously improves or, in the worst case, remains the same.
J(χ p ) is calculated from the mean value of two errors: (i) the cardinal points from the first reference condition ξ 1,k , and (ii) the cardinal points of the second reference condition ξ 2,k , as indicated in Equation (47). Vectors ξ p,k (χ p ) and ξ p,k (χ p ) indicate the calculated cardinal points of the first and second reference conditions. It should be noted that the cardinal points vectors have 5 k-components. The same calculation method is valid to determine the ψ p element error.

Adaptive Boundaries
When compared to the conventional algorithm, the proposed differential evolution algorithm considers the inclusion of two additional sections. These sections are (A) automatic initial definition of boundaries based on the information of the cardinal points and (B) adaptive optimization of the parameters based on statistical information.
In order to find the best solution, the DEA is executed K max times, generating a vector of dimension K max . It is important to note that the values of the population K depend on G max , NP, D, F, CR, χ L , and χ H . Once the population K has been obtained, a, R s , and R sh upper and lower bounds must be rewritten according to the statistical maximum and minimum of the elements that comprise their populations x p . Equations (48) and (49) indicate the mathematical calculation of the above, where q n,x p represents the n−th quartile of the x p elements. It is important to consider that the statistical maximum and minimum values cannot be above or below the smallest element in the population. To solve this problem, the results should be verified according to Equations (51) and (50).
This procedure must then be repeated B times until the solution reaches the required tolerance J tol , set by a user-defined threshold, or if the algorithm meets the maximum number of iterations B max . The performance of the solution is determined as indicated in Equation (47). Figure 9 indicates the proposed DEA flowchart.

Results and Analysis
This section is divided as follows (i) definition of the algorithm parameters, and (ii) model validation and discussion under different scenarios.

Algorithm Parameters Definition
The behavior of the proposed algorithm is simulated from two different perspectives: (i) impact on the solution when the adaptive evolution limit module is included, and (ii) examination of the algorithm performance according to different values of ϕ. The differential algorithm parameters used are NP = 30, F = 0.4, and CR = 0.4, adopted from [19]. The maximum values of the iterations B, K, and G are assumed equal to B max = 15, K max = 9, and G max = 6. J tol is set to zero and the KC200GT SPVM is used to execute these experiments. Note that since the optimized variables are a, R s , and R sh , D equals three.

Adaptive Evolution of Limits
The performance of the adaptive limit module is studied by comparing the DEA J(χ p ) % value on three trials. For this purpose, the SDM is used to execute the optimization, assuming ϕ equal to 1%. The initial limits for the proposed ϕ value are indicated in Table 1. It can be seen from Figure 10 that the error of the classical DEA algorithm decreases stochastically as improved solutions are found within the initial boundaries specified. On the other hand, the solution found by the proposed DEA algorithm improves in each B iteration, until the fifth iteration. This is explained by the fact that in the fifth iteration, the values of the upper and lower limits are similar; therefore, the algorithm has converged to a final value. Table 2 indicates the best SDM solution achieved for both the classic and proposed DEA. It can be seen that the error of the solution found by the proposed algorithm is approximately 2.58% better than the result obtained by the classic method. However, this does not mean that the classic algorithm cannot reach the same solution, as this value is contained within the search range of the classic DEA. The evolution of the boundaries of a, R s , and R sh can be seen in Figure 11. This figure indicates that the final value of the optimized variables is very similar for each trial. These results suggest that the proposed DEA is capable of delivering a single high performance solution in few iterations every time it is executed. Therefore, the adaptive boundary module will be considered in every B iteration. Additionally, the algorithm is run three times selecting the best solution.

Selection of ϕ
This test allows to study the performance of the proposed DEA for ϕ values contained in the 10 −3 %, 20% range. It is important to note that ϕ only affects R s,in f and R sh,sup ; therefore, the remaining variables involved in the SDM are not considered in this sub-section. Figure 12 shows the evolution of the objective function, where each point in the figure represents the mean value of 100 executions of the proposed DEA. It can be seen from this figure that as ϕ increases from 10 −3 %, the value of J(χ p ) decreases until it reaches a minimum value which resides in the range of [1%, 2%]. From this minimum value, as ϕ continues to increase, the objective function starts to increase. This performance degradation is caused by the fact that the value of the upper and lower limits of the series and shunt resistances have similar values; therefore, the DEA can only modify the equivalent thermal voltage in order to find the optimal solution.  Figure 13a,b indicate the evolution of the optimal series and shunt resistances as well as their boundaries. In the same manner to the results presented in Figure 12, the algorithm is executed 100 times, obtaining the mean value of the DEA. It can be seen that for a given ϕ critical value, the optimal resistances equals its upper (or lower) boundary. This fact suggest that ϕ must be lower than the critical value. For the KC200GT SPVM, a critical value near 2% is achieved. This work assumes an appropriate ϕ value of 1%, as a wide range of solutions can be obtained from this value.

Model Validation
This sub-section is divided as follows: (i) comparison of the electrical parameters obtained for the Kyocera KC200GT SPVM, and (ii) comparison of the cardinal points estimated using the database added in Appendix A. The cardinal points considered as input data correspond to (i) STC (reference condition), and (ii) NOCT (operating condition), both available in the datasheet of each module.

Kyocera KC200GT Comparison
The performance of the SDM is compared to the information presented in the state-ofthe-art. In order to calculate the boundaries, a value of ϕ equal to 1% is used according to the results indicated in Section 5.1.2. In addition, the DEA is executed three times, selecting the best solution. The datasheet information is displayed in Table 3. Figure 14 indicates the evolution of the differential evolution algorithms error. It can be observed that the final solutions displays an error under 0.4%. To complement this result, Table 3 indicates different SDMs that describe the behavior of the KC200GT SPVM as well as the datasheet information. These parameters are obtained from the state-of-the-art and represent several methods for determining the SDM model of the SPVM under study, i.e., E.S. explicit solution, I.S. iterative solution, and H.S. heuristic solution. Within the heuristic approaches, three methods have been presented (i) whale optimization algorithm WOA, (ii) flexible particle swarm algorithm FPSOA, and (iii) differential evolution algorithm DEA. The last row summarizes the performance values of the different groups of parameters assessed, as indicated in Equation (47). Here, the three best-performing SDMs are highlighted in bold-type.  According to Table 3, the method proposed by N. Eddine et al. has the best performance, with a J(χ p ) value of 0.3815%. In contrast, the worst solution is indicated by [13], with a J(χ p ) value of 2.6796%. The proposed method reaches a J(χ p ) value equal to 0.3563%, representing an improved solution when compared with the results indicated in the state-of-the-art. This set of parameters allow predicting the electrical behavior of the SPVM for both STC and NOCT conditions with high precision. In addition, since the proposed algorithm defines the boundaries of the variables automatically, it can be executed by any user without prior knowledge being required. Figure 15a,b indicate IV curves and PV curves for the three best SDMs solutions highlighted in Table 3. It can be seen that there are no appreciable differences between the models presented; however, the proposed DEA has the advantage of being adaptable and is capable of redetermining other electrical models, such as the double-diode model.   Table 3. The performance for the standard test condition STC and the normalized operating cell temperature NOCT are addressed.

Database Comparison
In order to study the applicability of the proposed method on different solar module technologies, a database composed of 100 SPVM datasheets is used, and included in Appendix A). The SPVMs database includes mono-Si, Si poly-Si, and thin-film module technologies. The rated power ranges from 36 to 455 W. Figure 16 indicates the behavior of the R s,in f , and R sh,sup parameters using a ϕ value equal to 1%. It can be seen that R sh,sup remains in the range of 10 2 Ω to 10 3 Ω for the monocrystalline and polycrystalline SPVMs. In a similar way, the values of R s,in f remain in the range of 10 −2 Ω and 10 −1 Ω. However, when calculating the optimum SDM for the thinfilm SPVMs, the value of the boundaries increases approximately by an order of magnitude. This is explained by the fact that the shape of the IV curve of thin-film technologies is significantly different when compared to monocrystalline and polycristalline technologies.
On the other hand, Figure 17 resumes the performance of the different collected SPVMs. The configuration of the optimization algorithm remains the same as indicated in the previous section. It can be seen that the error remains under 3% for all SPVMs tested. This result indicates that the use of a ϕ value equal to 1% is capable of achieving a high quality response, even for the thin-film SPVMs. The mean value of J(χ p ) obtained from the database is 0.77%.

Conclusions
This work presents a methodology able to determine the optimal boundaries of the parameters, which describe the single-diode photovoltaic model SDM. The boundaries are calculated by evaluating the deviation of the power at the maximum power point for different values of series and shunt resistors, defined by the ϕ parameter. This study uses the differential evolution algorithm DEA with step-by-step boundary definition module, improving the performance of the classic DEA algorithm. The proposed calculation method uses cardinal points provided from two different operating conditions, e.g., standard test conditions, and normal operating cell temperature, data usually included in the technical datasheet. The methodology was tested using two separate tests: (i) by comparing the electrical parameters obtained with the model for the Kyocera KC200GT SPVM with the results of well-established algorithms, and (ii) by comparing the algorithms predictions with 100 SPVM datasheets of different technologies and rated powers.
A value of ϕ equal to 1% is established from the results of the KC200GT SPVM comparison. This study also demonstrates that the changes introduced in the optimization algorithm reach a superior solution compared to the values achieved by traditional algorithms presented in the state-of-the-art. The second section of the results indicates that the methodology presented is capable of determining an optimal SDM for different solar module technologies and rated powers, reaching a maximum error near 3%.
Future work will focus on the following points: (i) extension of the methodology to support complex models, such as the double-diode model, and (ii) scalability of the proposed algorithm applied to a group of PV panels. The first point considers a different number of parameters to be optimized; therefore, the dimension D must be redefined in the same manner as the initial definition of the boundaries. On the other hand, the second point considers the application of the proposed algorithm for high accuracy estimation of electrical power in PV plants.

Conflicts of Interest:
The authors declare no conflict of interest.

Appendix A
The following table present the STC and NOCT electrical parameters used in the results section. In addition, the thermal coefficients of the short-circuit current α I sc , the open-circuit voltage β V oc , and the maximum power γ P mpp are given for STC.