Abstract

Some parameters must be calculated with very good accuracy for the purpose of designing, simulating, and evaluating the performance of a photovoltaic system. The seven parameters of the photovoltaic cell and panels for the two-diode model are determined using a parallelized metaheuristic algorithm based on successive discretization. The parameters obtained for a photovoltaic cell and four panels using the proposed algorithm are compared with the ones calculated through over twenty methods from recent research literature. The root mean square error is used to prove the superiority of the Parallelized Successive Discretization Algorithm (PSDA). The smallest values for root mean square error (RMSE) in both cases, photovoltaic cell and panels, are obtained for the algorithm presented in this paper. The seven parameters for three panels known in the specialised literature, Kyocera KC200GT, Leibold Solar Module LSM 20, and Leybold Solar Module STE 4/100 are determined for the first time using PSDA.

1. Introduction

Fossil fuel is inevitable exhausting, and its price has continually increased in the last decades. There is also an increasing concern on the environmental pollution and on the climate changes related to the use of fossil fuel. It is strongly believed that the renewable energy is the clean alternative solution of today and for the future. Many researchers have focused on renewable solar energy in general and, in particular, on the generation of electric power using photovoltaic cells which is desired to become in the near future one of the most important energy sources.

Nowadays, there are many photovoltaic cells types, some of them relatively new, such as Perovskite or multijunctions—triple or four junctions, which must be analyzed and characterized to optimize their efficiency. Very good photovoltaic panels are achieved if the photovoltaic cells used are “twins.” This can be realized if the photovoltaic cells are characterized before the fabrication process of the photovoltaic panels, and they are selected so that the parameters have the same values. The characterization process must be very fast so as to increase the productivity.

Some parameters must be calculated with very good precision for the purpose of designing, simulation, and evaluation of the performance of a photovoltaic system. Nowadays, the estimation of these parameters is an important research topic, for which researchers develop new methods and algorithms. The parameters of the photovoltaic cells and panels can be determined using the current voltage characteristic, called I-V characteristic in the following, equivalent circuit, and the mathematical model [1, 2]. The one-diode model is generally used to determine the parameters of the photovoltaic cells, due to the simplicity and good agreement for the parameters results [3]. Lately, the researchers are using the two-diode model to determine the photovoltaic cells parameters, especially for the monocrystalline and polycrystalline silicon photovoltaic cells and panels. In this case, both mechanisms, the diffusion and the generation and recombination, are taken into account. Using the two-diode model leads to growth accuracy with which the parameters of the photovoltaic cells are determined.

The parameters of the photovoltaic cells and panels were determined using graphical analysis and numerical analysis with different approximation [1]. The metaheuristic algorithms based on natural phenomena were used lately with success because are suitable for nonlinear multimodal as is the problem for photovoltaic devices. The parameters of the photovoltaic cells and panels using the metaheuristic algorithms are calculated with high accuracy due to avoiding the errors made through approximation in the other methods, and the necessary time for their determination is reduced continuously due to the optimization of the algorithms and use of the hybrid algorithms [3].

We shall briefly present below the best currently known algorithms for determining the solar cell parameters. They are taken into consideration to compare their performance against the Parallelized Successive Discretization Algorithm (PSDA) presented in this paper. Most of these algorithms are metaheuristic methods inspired from the behavior of populations of different groups of people or from the behavior of swarms of animals or insects. Population classification evolution algorithm (PCE) is an evolutional algorithm, with a fast convergence speed and a very good accuracy [4]. Simplified TBLO (STBLO) [5] and generalized oppositional TBLO (GOTBLO) [6] are improved versions of teaching-learning-based optimization (TLBO) algorithm which is a population-based method. Improved shuffled complex evolution (ISCE) is an improved version of complex evolution strategy (SCE) which was applied with success to calculate the parameters of one-diode and two-diode models for photovoltaic cell and for panel [7]. Rcr-IJADE has better performance than other classic or adaptive differential evolution algorithms [8]. MABC is a modified version of artificial bee colony (ABC) algorithm with better results than the regular ABC [9]. EHA-NMS and NM-MPSO are hybrid algorithms and are based on Nelder–Mead and MABC [10] and, respectively, particle swarm optimization PSO [9]. Cat swarm optimization algorithm (CSO) is developed by analyzing the behaviors of cats. The performance of CSO surpasses that of PSO [11]. Bird mating optimizer (BMO) tries to imitate the mating strategies of bird species, without premature convergence, and thus, its solution is close to the global one [12]. Chaotic whale optimization algorithm (CWOA) is an algorithm developed on the hunting mechanism of humpback whales, and it can refine complex and multimodal objective functions [13]. Artificial bee swarm optimization algorithm (ABSO) is based on the intelligent behaviors of honey bees such as collection and processing of nectar [12]. Innovative global harmony search (IGHS) and grouping-based global harmony search (GGHS) algorithms are improved versions of the harmony search algorithm trying to imitate the improvisation process of musicians [14]. Simulated annealing (SA) is a single-searcher algorithm with less chance to find the global minimum [15]. Guaranteed convergence particle swarm optimization (GCPSO) [16] is an improved version of the PSO algorithm, and it has the ability to avoid premature convergence and to determine the parameters of the photovoltaic panels quickly and accurately. Time-varying acceleration coefficients particle swarm optimization (TVACPSO) is an improved PSO. WDOWOAPSO is a hybrid method based on PSO and the wind-driven optimization (WDO) technique [17]. Artificial Bee Colony-Differential Evolution (ABC-DE) resulted from ABC, and its performance is improved for finding the global optimum and for convergence speed [18]. Flexible particle swarm optimization (FPSO) improves the PSO algorithm through increasing the ability of global search [19].

In this paper, a metaheuristic algorithm based on the discretization process of functions that systematically try to improve the approximate solution is presented. Discretization is defined in Mathematics as the continuous functions, variables, models, and equations transferred into discrete counterparts. It usually represents the first stage of achieving proper values for numerical evaluation or implementation on digital computers. Such techniques are implemented in order to solve miscellaneous problems [20], among the optimizing ones [21]. If continuous data is discretized, discretization error appears in various amounts. The aim is decreasing the errors down to a negligible value in terms of modeling scope.

The idea of successive discretization algorithm (SDA) applied for parameter estimation of PV cells is to compute a set of approximate solutions selected from values obtained by a discretization process and having the minimum root mean square error. Around each of these selected values, a more refined discretization is performed and a new set of approximate solutions is selected and so on. The successive discretization process performed a preset number of iterations or until no better solution is found than the best solution found so far in the previous iteration.

In this paper, we adapt and implement SDA in parallel for the two-diode model, and we compare the obtained solution with the solutions given by the best known methods at the moment. The novelty and the contributions of the paper are (i)the new algorithm PSDA is presented in the paper(ii)the results obtained for the RMSE for all devices under analysis are the best in comparison with the other algorithms from the specialised literature(iii)the time needed to extract the parameters of the photovoltaic cell and panels for the two-diode model increases, and the PSDA algorithm is the proper tool to reduce it; the duration is reduced 6 times using the PSDA in comparison with SDA algorithm(iv)three datasets are analyzed for the first time using the two-diode model: Kyocera KC200GT, Leibold Solar Module LSM 20, and Leybold Solar Module STE 4/100.

2. Method

2.1. Models for Photovoltaic Cell and Panel

The equivalent circuit of the photovoltaic panel is presented in Figure 1, and the mathematical model is given by Eq. (1). The following seven parameters can be determined: the photogenerated current , the reverse saturation current and ideality factor of diode which correspond to diffusion mechanism, the reverse saturation current and ideality factor of diode which correspond to generation and recombination mechanism, and the parasitic resistance–series resistance and shunt resistance [1]. is the number of the photovoltaic cells connected in series. is one in case of the photovoltaic cell.

2.2. Parallelized Successive Discretization Algorithm

SDA algorithm was successfully applied for the one-diode model in [3]. It was compared with other methods used to determine the parameters of the photovoltaic cells and panels. SDA proved to be the best among the known methods at the moment the article was published. In this paper, we adapt SDA to solve the more complex problem of estimating the seven parameters for the two-diode model. Since the amount of calculations is considerably higher than for the one-diode model, a direct adaptation of SDA for the two-diode model leads to a very slow algorithm or to an algorithm that finds a low-quality solution. Therefore, a parallel implementation of SDA is needed, fast enough and able to compute very good solutions. In the production process of photovoltaic panels, it is very important to accurately and quickly estimate the cell parameters.

2.2.1. Discretization Process

The PSDA algorithm is based on discretization, which transfers continuous functions and equations into discrete counterparts. When the continuous data are discretized, some errors can appear, and the target is to reduce them [3].

We denote by

Using Equations (1) and (2), the following equation is obtained:

The root mean square error (RMSE), given by Equation (4), has to be minimized for the photovoltaic cell and panel parameters, , , , , , , and calculated for the given pairs of current and voltage . where represents the number of the given pairs.

The intervals are considered for the definition of domains for the seven parameters enumerated before.

The function is continuous on the 7-dimensional interval , which is called the discretization 7D interval. The discretization process is applied to the objective function . The solution is searched in . This 7D interval is the given boundaries for the searched solutions.

For each interval , a positive integer is considered (). Inside each of these 7 intervals, the values () are taken so that

The values () are calculated using Equation (6) in order to obtain a good uniform distribution of the points in the interval : where is calculated using the following relation:

Using Equations (6) and (7), the following relations are obtained:

For the photovoltaic cell or panel, the following set of septets of parameters is considered:

PSDA calculates so that

The septet is an approximate solution of Equation (3).

2.2.2. Improving the Solution by Successive Discretization

The best approximate solution for Equation (3) can be improved using a successive discretization–refining initial solution.

The best (“” is established at the beginning of the algorithm) septets are considered () in the set , having the smallest RMSE errors (Cotfas D.T., [3]). For each septet , the solutions are refined for Equation (3) in the neighborhood of :

where

A total of septets are calculated for each interval from Equation (11) (). From these values, the best solutions are selected, and the refining discretization is applied again. A predefined number of refining iterations are performed, and, in the end, the best overall septet is considered the final solution for Equation (3) (having the smallest RMSE error).

2.2.3. PSDA for Double-Diode Solar Cell Model

The idea of the algorithm is as follows. Discretizations are performed on given 7D intervals (see (11) and (12)). At the end of each iteration of the algorithm, “s” good solutions are constructed. In the vicinity of each of these solutions, a new discretization is applied to refine that solution. These discretizations can be performed in parallel on different machines or on different parallel threads on the same machine. The flowchart of the parallel implementation of the algorithm is presented in Figure 2.

Every discretization is executed times on parallel threads. In the first iteration, there is only one thread, but starting from the second iteration, there are parallel threads. Before starting the threads, all the values in the vector “finished” are set to the value false. Each discretization gets a 7D interval , constructs solutions, and returns them in the set . When the -th discretization is finished, the -th component of the vector “finished” is set to the value true. After all the values in the vector “finished” are true, it means that all the discretization threads are terminated, and all the sets () are constructed.

On an 8-thread I7 processor by performing in parallel the discretization calls the algorithm finishes more than 6 times faster than the nonparallel implementation of the algorithm that computes the discretization on one thread. The above implementation of the algorithm proved to bring the processor utilization across all cores of the computer almost to the maximum (over 98%).

3. Results and Discussion

The PSDA algorithm is applied for five datasets—one for RTC photovoltaic cell and the others for four photovoltaic panels: PWP201 [22], Kyocera KC200GT [23], Leibold Solar Module LSM 20 [24], and STE 4/100 [24]. The seven parameters for three out of these four panels are determined for the first time in this paper. The current voltage (I-V) characteristic for RTC is measured at 1000 W/m2, and the temperature of the photovoltaic cell was 33°C; PWP201 panel is measured at 1000 W/m2, and the temperature of the photovoltaic panel was 45°C; Kyocera KC200GT panel is measured at 1000 W/m2 irradiance and 25°C temperature; for LSM 20 panel, the I-V characteristic is measured at 360 W/m2, and the temperature of the photovoltaic panel was 24°C. The STE 4/100 panel is measured at 900 W/m2 irradiance and 22°C temperature. The limit intervals for the seven parameters of photovoltaic cell and panel are chosen to be similar with the ones used in the other algorithms [7] for the RTC photovoltaic cell and PWP201 panel. For the Kyocera KC200GT panel, Leibold Solar Module LSM 20, and STE 4/100 panel, the two-diode model is applied for the first time.

3.1. RTC Photovoltaic Cell

The points of RTC photovoltaic cell and the current calculated using PSDA algorithm are shown in Table S1. The seven parameters of the RTC photovoltaic cell and the root mean square error determined by the PSDA algorithm and the values calculated by other algorithms are presented in Table 1.

The I-V pairs of the RTC photovoltaic cell measured and calculated with PSDA algorithm are compared (see Figure 3). A very good matching can be observed, also proven by the lowest value of the root mean square error (see Table 1).

The absolute current error for RTC photovoltaic cell obtained with two algorithms, PSDA and ICSE, is presented in Figure 4. The PSDA absolute current error is lower than for ISCE ones for all measurement points without a uniform distribution. The highest values of the absolute error are around the open circuit voltage cell. The same distribution of the absolute current error is reported in [25].

In the absolute current error for RTC photovoltaic cell calculated with the two-diode model—the seven parameters and with the one-diode model—five parameters are presented in Figures 5 and 6. It can be observed that the absolute current error calculated with the two-diode model is lower than the ones determined with the one-diode model. This shows that the best solution for the photovoltaic cell parameters is obtained using the two-diode model.

3.2. PWP201 Photovoltaic Panel

The points of PWP201 photovoltaic panel and the current calculated using PSDA algorithm are shown in Table S2. The seven parameters of the PWP201 photovoltaic panel and the root mean square error determined through the PSDA algorithm and the values calculated through other algorithms are presented in Table 2.

The seven parameters of the PWP201 photovoltaic panel, the root mean square error determined through the PSDA algorithm, and the values calculated through other four algorithms are presented in Table 2. PSDA gives similar solutions to other algorithms but with the lowest root mean square error.

By comparing the five algorithms taken into account for PWP201 photovoltaic panel, it can be observed that all seven parameters fluctuate in the function of the applied algorithm. These fluctuations are higher than the ones for RTC photovoltaic cell. The number of I-V pairs is the same for the two photovoltaic devices, but the voltage interval is much higher for the panel than for the photovoltaic cell, and the calculations are made for fewer points. The I-V characteristics of the PWP201 photovoltaic panel measured and calculated with PSDA algorithm are compared (see Figure 7), and the matching is very good.

The absolute current error for PWP201 photovoltaic panel calculated with two algorithms, PSDA and GCPSO, is presented in Figure 8. The PSDA absolute current error is lower than for GCPSO ones for the majority of the measurements.

The seven parameters for the next three panels are determined for the first time using PSDA. In the literature, there are no other values for the two-diode model to compare with, and so, the solutions are compared with the best ones obtained for the one-diode model.

3.3. Kyocera KC200GT Photovoltaic Panel

The points of Kyocera KC200GT photovoltaic panel and the current calculated using PSDA algorithm are shown in Table S3. The seven parameters of the Kyocera KC200GT photovoltaic panel and the root mean square error determined through the PSDA algorithm are presented in Table 3.

The calculated I-V characteristic of the Kyocera KC200GT photovoltaic panel using PSDA algorithm, which consists 54 multicrystalline silicon photovoltaic cells connected in series, is matching with the I-V points measured [23] (Figure 9).

The comparison between the absolute errors of the current for the one and two-diode models shows that the last model gives for the majority of the I-V points better results (Figure 10). The two-diode model has to be used when the accuracy in calculation of the photovoltaic panel parameters is crucial.

3.4. Leibold Solar Module LSM 20

The points of LSM 20 photovoltaic panel and the current calculated using PSDA algorithm are shown in Table S4. The seven parameters of the LSM 20 photovoltaic panel RMSE determined through the PSDA algorithm are presented in Table 4.

The I-V characteristics of the Leibold Solar Module LSM 20 measured and calculated with PSDA algorithm are compared (see Figure 8). The matching for the measured and calculated points is very good; this is confirmed by the root mean square error which is very small (Table 4) (Figure 11).

Figure 12 illustrates the absolute error for the current, obtained for the LSM 20 photovoltaic panel, using the one- and two-diode models. The RMSE obtained with the two-diode model is smaller than the one obtained with the one-diode model, which is 17.64E-4. This is confirmed by the absolute error obtained through both models. The higher values of the absolute error are splited for the two models used.

3.5. Leybold Solar Module STE 4/100

The points of STE 4/100 photovoltaic panel and the current calculated using PSDA algorithm are shown in Table S5. The seven parameters of the STE 4/100 photovoltaic panel and the root mean square error determined through the PSDA algorithm are presented in Table 5.

The I-V pairs of the Leybold Solar Module STE 4/100 measured and calculated with PSDA algorithm are compared (see Figure 13). A very good matching can be observed, also proven by the lowest value of the root mean square error (see Table 5).

The absolute current error for STE 4/100 photovoltaic panel calculated with the two-diode model and with the one-diode model is presented in Figure 5. It can be observed that the absolute current error calculated for the majority points with the two-diode model is lower than the ones determined with the one-diode model. The RMSE obtained with the one-diode model is 4.0853E-4 (Figure 6).

PSDA algorithm was executed with and with a total of 4 iterations on an 8-thread I7 processor at 1.9 GHz. It ended in 46 seconds. The nonparallel implementation took almost 5 minutes to finish (more than 6 times slower).

4. Conclusions

The estimation of the parameters for the solar cells and panels is very important for designing, simulation, and evaluation of the performance of photovoltaic systems. This problem is currently intensively studied by many researchers. In this paper, the Parallelized Successive Discretization Algorithm is developed and presented to deal with this problem. It is a metaheuristic approach that proved to be a powerful tool for approximating the solution of the implicit transcendental equation problem of finding the seven parameters for the two-diode model. The problem is transformed into a multidimensional optimization problem of minimizing the root mean square error and then solved using multiple and increasing in refining discretizations. The parallel implementation helped to speed up the algorithm since the amount of computations is high and complex. PSDA proves to be fast and reliable that gives very good (the best) estimation of parameters among the current known algorithms used for the two-diode model. In this paper, the results given by PSDA for one photovoltaic cell and for four panels were given for the two-diode model. The parameters were obtained for the first time for three panels for which only the parameters of one-diode model were determined in the literature.

The sensitivity analysis of the PSDA algorithm is one of the future research directions, and another is to use the PSDA algorithm to extract the parameters of the other photovoltaic cells and panels, for example organic photovoltaic cell using a proper equivalent circuit and the corresponding mathematical model.

Data Availability

Data in supplementary information files.

Conflicts of Interest

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

Acknowledgments

This publication was funded by the University Transilvania of Brasov.

Supplementary Materials

Table S1: the current calculated using the PSDA algorithm and the relative error, calculated by subtracting the calculated from the measured current values for RTC photovoltaic cell. Table S2: the current calculated using the PSDA algorithm and the relative error for PWP201 photovoltaic panel. Table S3: the current calculated using the PSDA algorithm and the relative error for LSM 20 photovoltaic panel. Table S4: the current calculated using the PSDA algorithm and the relative error for LSM 20 photovoltaic panel. Table S5: the current calculated using the PSDA algorithm and the relative error for LSM 20 photovoltaic panel. (Supplementary Materials)