Abstract

The parameters of the photovoltaic cells and panels are very important to forecast the power generated. There are a lot of methods to extract the parameters using analytical, metaheuristic, and hybrid algorithms. The comparison between the widely used analytical method and some of the best metaheuristic algorithms from the algorithm families is made for datasets from the specialized literature, using the following statistical tests: absolute error, root mean square error, and the coefficient of determination. The equivalent circuit and mathematical model considered is the single diode model. The result comparison shows that the metaheuristic algorithms have the best performance in almost all cases, and only for the genetic algorithm, there are poorer results for one chosen photovoltaic cell. The parameters of the photovoltaic cells and panels and also the current-voltage characteristic for real outdoor weather conditions are forecasted using the parameters calculated with the best method: one for analytical—the five-parameter analytical method—and one for the metaheuristic algorithms—hybrid successive discretization algorithm. Additionally, the genetic algorithm is used. The forecast current-voltage characteristic is compared with the one measured in real sunlight conditions, and the best results are obtained in the case of a hybrid successive discretization algorithm. The maximum power forecast using the calculated parameters with the five-parameter method is the best, and the error in comparison with the measured ones is 0.48%.

1. Introduction

Nowadays, the power forecasting for the photovoltaic panels and systems plays a very important role for the investors to increase the investments having a realistic scenario. One of the steps to achieve this goal is to accurately and quickly determine the parameters of the photovoltaic cells and panels.

The extraction of the photovoltaic cell parameters is a widely studied issue [1, 2], but it remains current due to its importance and the new possibilities created by the metaheuristic algorithms and artificial intelligence [3].

The parameter extraction is possible if there is a dataset which consists of voltage-current pairs () for the photovoltaic panel, or if the current-voltage characteristic (-) is measured. The parameters and dataset can be obtained using the photovoltaic panel datasheet given by the producer [4].

The most commonly used mathematical model to characterize the photovoltaic cells and panels is the single diode model (SD) [1], followed by the double diode model (DD) [5] and rarely three diode model (TD) [6]. The number of the parameters which have to be extracted varies, being five for SD, seven for DD, and nine for TD. There are a lot of methods to extract these parameters, their complexity growing with the increasing number of parameters.

The methods used to extract the parameters of the photovoltaic cells or panels can be classified into analytical, metaheuristic, and hybrid methods [7]. Each of these methods has both advantages and disadvantages.

The contributions and novelty of this paper are as follows:(i)The main analytical methods and metaheuristic algorithms grouped on families are briefly presented(ii)The performance of the methods is analyzed in function of the accuracy with which the parameters are extracted analyzing the absolute error, the root mean square error, and the coefficient of determination(iii)Choosing the best analytical method considering the following: simplicity of application, the execution time, and the accuracy(iv)Choosing the metaheuristic algorithm with the smallest root mean square error (RMSE) for different photovoltaic cells and panels from all algorithms considered(v)Comparing for the first time the analytical method (modified five parameters) and metaheuristic algorithm (hybrid successive discretization algorithm) to forecast the - characteristic and the maximum power generated by the commercial monocrystalline photovoltaic panel, giving the manufacturers a tool to choose the best option to characterize the PV for their applications. Additionally, the genetic algorithm is considered in the comparison

The rest of the paper is organized as follows: the equivalent circuits and diode models, statistical tests used for comparison, and the mathematical formulas for calculating the photovoltaic cells and panel parameters at different temperatures and irradiances in the function of their values at the standard test conditions (STC-irradiance 1000 W/m2, temperature 25°C, and air mass 1.5) are described in Section 2. A brief presentation of the used methods is made in Section 3. The results and discussions are presented in Section 4, and the last section is dedicated to conclusions and future works.

2. Methods

2.1. Photovoltaic Cells and Panel Diode Models

The mathematical model which describes the dependence between the current and the voltage generated by the photovoltaic cells and panels depends on the mechanisms which are taken into account and consequently on the equivalent circuits, Figure 1. The simplest model is the ideal one. The most commonly used model is single diode, Figure 1(a), due to its simplicity but also because it manages to describe the behaviour of most types of photovoltaic cells and panels very well. Equation (1) is the mathematical relation for one diode model:where is the photogenerated current, is the reverse saturation current, is the series resistance, is the shunt resistance, is the ideality factor of diode, and is the thermal voltage, . is the Boltzmann constant, is the temperature, and is the elementary electrical charge.

The double diode model is described bywhere index 1 relates to the diffusion mechanism and 2 the generation-recombination mechanism. The accuracy to determine the parameters of the photovoltaic cell increases especially at low solar radiation when the two diode model is used [8].

The mathematical model for the photovoltaic panel is described bywhere represents the number of the photovoltaic cells connected in series and represents the number of the photovoltaic cells connected in parallel.

2.2. Statistical Test

The comparison between analytical and metaheuristic algorithms is achieved using different statistical error tests, such as absolute error (AE) Equation (4), the root mean square error Equation (5), and the coefficient of determination Equation (6).

where and represent the calculated and the measured current, respectively, and is the total number of measurements.

2.3. Irradiance and Temperature Dependence of the PV Parameters

The irradiance and temperature influence more or less the parameters of the photovoltaic cells and panels. The power generated is also dependent on these two factors. So, the relation for photogenerated current, function of the irradiance, and temperature is the following [9]:where is irradiance, represent the temperature, and is the temperature coefficient of the current. The index ref is for the parameters at STC. The reverse saturation current can be calculated with Equation (8) [9, 10]:where is the energy bandgap. This value depends slightly on temperature [11, 12]:

The ideality factor of diode depends slightly on the irradiance [13]. The temperature dependence can be written as Equation (10) [9]:

The behaviour of the shunt resistance is inversely proportional to that of irradiance, the irradiance increasing as the shunt resistance decreases:

The dependence of the series resistance on temperature and irradiance is described by Equation (12). It decreases linearly with the increase in temperature and increases with the increase of irradiance; is constant and is considered equal to 0.217 [11, 14].

3. Analytical and Metaheuristic Methods

Pillai and Rajasekar classified the methods to extract the parameters of the photovoltaic cells and panels in analytical, metaheuristic, and hybrid (consisting of those mentioned before) methods [8]. The analytical methods are based on formulas obtained using approximation and/or particular points on the - characteristic and some parts of the - characteristics. Multiobjective optimization problems were tough issues, but the development and use of metaheuristic algorithms in the last years led to solutions with a very good accuracy [15]. These metaheuristic algorithms were quickly adapted and used to solve the multimodal problem of the current-voltage dependence of the photovoltaic devices.

3.1. Analytical Methods

These methods were used to calculate the parameters of the photovoltaic cells since the 60s [13]. A lot of methods have been developed, especially for the SD model, but in the last years, they were developed for DD and even TD models. They can calculate one, more than one, or all parameters of the photovoltaic cells and panels. The several analytical methods are presented in Table 1.

The complexity of usage and the accuracy of the method to extract the parameters of the photovoltaic cells or panels are two key indicators. Three-level ratings are used for each of them: low, medium, and high. For the complexity of usage, they mean as follows: low: simple formulas are used; medium: complex formulas, fitting and iterative procedure are necessary; high: the analytical method needs dedicated computational software [29]. For the accuracy, the level rating is the function of the statistical test [29, 30]. The rating for each method is shown in Table 1. Their results can be used by the manufacturers to choose the optimum method to characterize the photovoltaic cells.

The analytical five-parameter method, 5P, is the most widely used of the analytical ones to extract the parameters of the photovoltaic cells. The first step is to calculate the slope around the open-circuit voltage to calculate , Equation (12), and the short circuit current to calculate , Equation (13). The slope calculation requires having many points on the - characteristic in the two regions. In case this is not possible and to reduce the complexity of the method, and can be calculated using Equations (15) and (16), empirically obtained in modified five parameters 5Pm [25].where and represent the maximum power point coordinates.

3.2. Metaheuristic Methods

The metaheuristic algorithms have been used to extract the parameters of the PV since the 2000s, when Jervase et al. used the genetic algorithms and the DD model to extract the seven parameters of the photovoltaic cell [31]. By using metaheuristic algorithms, all parameters of the photovoltaic cells and panels can be calculated. There are a lot of metaheuristic algorithms applied to extract the parameters of the photovoltaic cells and panels. The lower and upper values for the photovoltaic cells or panel parameters are necessary to be considered for the limitation of the global optimum search. Table 2 presents some of them, classified on family and on whether they are simple or hybrid [8]. The families of the algorithms presented are genetic algorithms (GA) [3134], differential evolution (DE) [3538], particle swarm optimization (PSO) [3943], discretization [3, 44, 45], artificial bee colony (ABC) [46, 47], shuffled complex evolution [48, 49], simulated annealing (SA) [50, 51], flower pollination algorithm (FPA) [52, 53], harmony search (HS) [54], JAYA algorithm [5557], teaching–learning-based optimization algorithm [58, 59], whale optimization algorithm [60, 61], and backtracking search algorithm [62, 63]. Additionally, the diode model is shown, computational time and the iteration number when these are given.

One of the new and the best algorithms, HSDA [44], is used against the modified analytical method to forecast the - characteristic and maximum power generated. The HSDA algorithm is an improved version of the SDA algorithm [3]. It is a hybrid one. The first algorithm used is one of the existent algorithms and gives a solution for SDA. A vicinity is considered around it, and the parameters can be extracted with very good accuracy using SDA for this vicinity. The flow chart of the HSDA algorithm is presented in Figure 2.

4. Results and Discussion

4.1. Analytical vs. Metaheuristic

The representative analytical method—modified five parameters—which has low difficulty to use and high accuracy, for SD model, it is compared with the best metaheuristic algorithms for each family, for several photovoltaic cells and panels when the results for the parameters are available. The parameter values for the SD model given in the references are used to calculate the statistical tests AE, RMSE, and used for comparison. Additionally, the GA which will be used for forecast is considered.

4.1.1. RTC France Solar Cell

The first comparison is made for the RTC France solar cell, one of the widely used by researchers to prove the performance of the developed algorithms to extract the parameters of the photovoltaic cells and panels. The result of the parameters and the statistical tests, RMSE, AE, and , are presented in Table 3.

In the case of the RTC France solar cell, the 5Pm method has the RMSE, which is widely used to measure the performance of the methods, higher than the ones obtained for the metaheuristic algorithms with the exception of the GA. Also, for the AE and , the values are higher.

To have a complete image of the results obtained using different methods, Figure 3(a) presents the absolute current error. The 5Pm method and GA algorithm overestimate or underestimate the current around the open-circuit voltage point, where the other algorithms calculate the current better. The reverse saturation current extracted with the GA algorithm is more than two times higher than that calculated with HSDA. The parasitic resistances, the series resistance, and the shunt resistance present also a high variation. Figure 3(b) shows the behaviour of the AE around the open-circuit voltage region. The AE values for the C-HCLPSO and FPA algorithms alternate around the AE average of the other algorithms considered, having high values for some regions and very small for other regions.

4.1.2. Commercial Monocrystalline Silicon Photovoltaic Cell

There are three methods to extract parameters of mSi commercial photovoltaic cell. The 5Pm analytical method gives the weakest results for all statistical tests, Table 4. If in the case of the RTC photovoltaic cell, the RMSE obtained using the 5Pm method is almost ten times higher; for the mSi photovoltaic cell, the RMSE is 4.5 times higher, but the GA algorithm significantly improves its performance.

These changes in the performance of the methods can be easily observed in Figure 4. The performance of the GA algorithm is substantially improved for the region around the open circuit point, while the 5Pm method shows weakness in this region.

4.1.3. PWP201 Photovoltaic Panel

Analyzing the results obtained for RMSE in the case of the PWP201 photovoltaic panel, RMSE and AE obtained with the 5Pm method are 1.65 times higher than the ones obtained with the HSDA algorithm. There are three algorithms with the best values for all three statistical tests, HSDA, Rcr-IJADE, and CLJAYA, Table 5.

The absolute current errors for PWP201 photovoltaic panel are under 0.01 (A), having a uniform distribution, but keeping the high values in the open-circuit voltage region, Figure 5(a). Although, in this case, the methods estimate the current without high difference for certain voltages in comparison with the ones measured, the RMSE and AE have high values. The AE for the PWP201 photovoltaic panel around the open-circuit voltage is higher for the FPA and 5Pm methods. The other algorithms considered have the same behaviour, Figure 5(b).

4.1.4. STM6-40 Photovoltaic Panel

The 5Pm method has the statistical test high values, Table 6. The () pairs of the STM6-40 photovoltaic panel are not uniformly distributed. There are very few points in the open-circuit voltage region [46], which leads to poorer results in this case. The value of the coefficient of determination confirms this issue.

The best results are obtained for the HSDA algorithm for RSME and . The plot of the absolute current errors, Figure 6(a), shows the weakness of the 5Pm method in the region around the open-circuit voltage. For some points, the current calculated with the 5Pm method is twenty times higher than the ones calculated with the HSDA algorithm.

The behaviour of the AE around the open-circuit voltage is similar for the ITLBO and the Rcr-IJADE algorithms, Figure 6(b). The AE for the HSDA algorithm has some small variations.

4.1.5. Commercial Monocrystalline Silicon Photovoltaic Panel

The statistical tests for commercial mSi photovoltaic panel are presented in Table 7.

The shape of the absolute current error curves is the same in the case of the mSi photovoltaic panel. The highest value for the AE is again in the region of the open-circuit voltage, Figure 7.

The coefficient of determination for all photovoltaic cells and panels is very good, less for the GA algorithm in case of RTC photovoltaic cell and STM6-40 photovoltaic panel.

4.2. Forecast Comparison

Two - characteristics are measured for the commercial monocrystalline photovoltaic panel for the irradiance of 700 W/m2 and 983 W/m2. The measurements were made on the roof of the university building [3].

The - characteristic measured at 700 W/m2 was used to extract the parameters of the mSi photovoltaic panel with three methods HSDA algorithm, GA algorithm, and 5Pm analytical method. These parameters are considered as . The parameters of the mSi photovoltaic panel are calculated for 983 W/m2 irradiance, using Equations (7)–(11). These values are used to compare the measured - characteristic for 983 W/m2 in real conditions with the ones forecasted with the five parameters calculated with Equations (7)–(11). The temperature coefficient of the current was determined, and it is 15.76 mA/°C.

The root mean square error for the forecasted - characteristic of the mSi photovoltaic panel is presented in Table 8 in comparison with one for the - characteristic measured. The RMSE obtained when the parameters are calculated with Equations (7)–(11) is worse in the case of the HSDA and GA algorithms than the RMSE obtained using the extracted parameters with those algorithms for the measured characteristic. In case of the 5Pm methods, the results are improved.

The absolute current error calculated for the forecast - characteristic in comparison with the ones measured is presented in Figure 8(a). The highest values for AE are in the region of the open-circuit voltage. The behaviour of the curves obtained with parameters calculated with Equations (7)–(11) for HSDA and 5Pm methods is very similar, while the ones obtained with GA algorithms have an accentuated increase in the open-circuit voltage region.

Figure 8(b) shows the behaviour of the absolute current error around the maximum voltage, , which is the voltage coordinate for the maximum power point. The best results are obtained for the 5Pm method for all regions considered.

The comparison between maximum power generated, , the mSi panel calculated from real measurements and ones forecasted, , using the extracted parameters with the three methods, Table 9, shows that the best estimation is for the maximum power estimated with parameters extracted with the 5Pm method.

By analyzing the results obtained through comparison between the analytic method and metaheuristic algorithms, it can be concluded that the 5Pm method can be used to extract the parameters of the photovoltaic cells and panels. Additionally, the analytical method can be used to estimate the - characteristics and the power generated using the parameters given by the producers. It can be used due to the advantages which are presented in Table 10.

5. Conclusions

The paper briefly reviews the analytical methods and metaheuristic algorithms used to extract the five or seven parameters for the photovoltaic cells and panels. The 5Pm analytical method and ones of the best metaheuristic algorithms from different families are compared for five datasets, two for photovoltaic cells, and three for photovoltaic panels.

By analyzing the results obtained, the supremacy of the metaheuristic algorithms for accuracy is shown. In all cases studied, the algorithms have better results for all statistical tests used. The analytical method has a better performance than the GA algorithm for the RTC photovoltaic cell. The performance of the HSDA algorithm is one of the best for all photovoltaic cells and panels analyzed, and it was chosen to be compared in the forecast process.

Two - characteristics, measured for the commercial mSi photovoltaic panel, are used to compare the influence of the extract parameter methods on the forecast of the maximum power and - characteristic at different values of the irradiance and temperature. Using the parameters calculated with the HSDA algorithm, the forecast of the - characteristic was better than for GA and 5Pm methods. However, the 5Pm method forecasted better the maximum power, only 0.48% less than the real one. These are preliminary results, which will further be developed in future research by analysis for various cases. This analysis will be made on different panels, under various irradiance and illumination conditions.

The 5Pm methods are based on several relations which are easy to implement, for the measured - characteristic, datasets, or the datasheet parameters, the latter offered by the producer, and the parameters can be quickly calculated with very good accuracy. The necessary time to calculate the parameters is very small, and it does not require a powerful PC, as for the metaheuristic algorithms. These prove that the 5Pm method is a valuable candidate for photovoltaic cells and panel manufacturers. They can use the 5Pm method to characterize the photovoltaic devices and to obtain the optimum photovoltaic panels using cells with the same values of the parameters. The production time and the costs can be optimized.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Acknowledgments

This work was supported by a grant of the Romanian Ministry of Education and Research, CCCDI-UEFISCDI, project number PN-III-P2-2.1-PED-2019-2028, within PNCDI III.