Open Access Paper
24 May 2022 A hybrid intelligent algorithm for parameter identification of double diode model of PV
Yong Wu, Cong Chen, Xiuzhu He
Author Affiliations +
Proceedings Volume 12260, International Conference on Computer Application and Information Security (ICCAIS 2021); 122601A (2022) https://doi.org/10.1117/12.2637490
Event: International Conference on Computer Application and Information Security (ICCAIS 2021), 2021, Wuhan, China
Abstract
Differential evolution (DE) and fireworks algorithm (FWA) are two good optimization algorithms. Each of them have many advantages and have been widely used. Yet it is also inadequate. DE is easy to fall into local optimization and its parameters are difficult to set. FWA is not enough to exploit the local space. In this paper, a hybrid algorithm which combines DE and FWA (FWADE) is presented. By mixing and randomly redistributing the population of DE and FWA in the process of evolution, FWADE has the virtues of DE and FWA. The algorithm has fast solution speed to find global solution. The paper describes the algorithm process of FWADE in detail. The presented algorithm is used to identify the parameters of double diode model of PV cell and the result is compared with that of DE and FWA. The result shows that the hybrid algorithm can get a better solution in parameters identification of double diode model of PV.

1.

INTRODUCTION

With the increase of energy consumption, renewable energy has been widely valued. Among them, solar energy has received additional attention because of its economic performance, infinity, cleanliness and accessibility1. Photovoltaic (PV) cell is the basic component in a photovoltaic power generation system which converts solar energy into electrical energy. In the study of photovoltaic power generation system, it is important to establish the accurate mathematical model of PV2, 3. The accurate model of PV is helpful to simulate and predict the power output accurately4, 5.

Usually, two equivalent circuit models of PV are used to simulate PV cell, namely single diode model and double diode model. The former has five components to be identified. It can accurately simulate the I-V output of PV at high irradiance. However, its accuracy is not enough at low irradiance. Compared with single diode model, double diode model adds a diode to compensate the loss in the depletion region. Double diode model of PV can accurately simulate the I-V curve of PV cell6, 7. The main problem is that double diode model has more components and requires more computation.

In order to identify the parameters of double diode model, actual measurement output voltages and currents (I-V curve) are need. Because of the nonlinearity of the I-V curve, it is difficult to determine the parameters of double diode model. The traditional curve fitting technique is applied to estimate the double diode model parameters, but there are significant errors in parameters identification because of the greatly nonlinear of the I-V curve8, 9. Different from traditional mathematics, intelligent optimization algorithm is suitable for solving nonlinear problems, such as solving the parameters identification of PV. Many researchers have studies parameter identification of PV model using evolution algorithm. Literature10 used differential evolution (DE) algorithm to extract the parameters of single diode model. A differential evolution algorithm was improved named adaptive differential evolution algorithm to extract the parameters of solar cell models and the results showed its effectiveness11. Single and double diode parameters of solar cell models were compared using firefly algorithm12.

In this paper, a hybrid intelligent algorithm which combines the advantages of differential evolution and fireworks algorithm named FWADE is proposed. The idea of FWADE is to mix the population of DE and FWA at the end of every iteration and randomly redistributes the population of DE and FWA at the beginning of every iteration. The paper describes the implementation of FWADE in detail. Finally FWADE is used to identify the parameters of double diode model. Simulation results verify the effectiveness of the algorithm.

2.

EQUIVALENT CIRCUIT MODEL AND OPTIMIZATION PROBLEM OF PV PARAMETERS IDENTIFICATION

2.1.

Double diode model of PV

In double diode model circuit of PV, there are a current source, two diodes and two resistances. The current source represents the photocurrent. One diode represents the diffusion phenomena, and the other diode represents the recombination loss in the depletion region. This model can give more accurate output characteristic of PV cell than single diode model in low irradiance and ambient temperature. Figure 1 shows the double diode circuit model of PV.

Figure 1.

Double diode model of PV.

00213_psisdg12260_122601a_page_2_5.jpg

From the circuit, the current equation can be obtained as:

00213_psisdg12260_122601a_page_2_1.jpg

In equation (1), Id1 and Id2 are currents of diode D1 and D2 respectively in Figure 1, they can be descried by diode current. So equation (1) can be written as:

00213_psisdg12260_122601a_page_2_2.jpg

where Isd1 and Isd2 are reverse saturation currents of two diodes respectively. m1 and m2 represent ideal factors of diodes. VT is thermal voltage which can be described by electron charge q, Boltzmann constant k and cell temperature T as:

00213_psisdg12260_122601a_page_2_3.jpg

Equation (2) describes the output characteristic I-V of PV cell. If equation (2) is used to describe the characteristics output of PV, there are seven parameters to be determined. They are photocurrent Ipv, saturation currents Isd1 and Isd2 of diode D1 and D2, ideality factors m1 and m2 of diode D1 and D2, series resistance Rs and parallel resistance Rp.

2.2.

Double diode model parameters identification problem

From the description above, there are seven parameters to be identified which can be listed as vector:

00213_psisdg12260_122601a_page_2_4.jpg

Actual measurement voltage and current output of PV cell are used to determine the vector U. Figure 2 shows a set of voltage and current data of PV cell.

Figure 2.

Output characteristic of PV cell.

00213_psisdg12260_122601a_page_2_6.jpg

In order to determine seven parameters using intelligent algorithm, the initial values of seven parameters are estimated at first, and based on equation (2), the error between actual and estimated can be calculated. The objective is to minimize the error between the actual data and estimated data. Based on equation (2), the objective function can be constructed as equation (4).

00213_psisdg12260_122601a_page_3_1.jpg

In the evolution of intelligent optimization, every actual measurement I-V output and estimated vector U are substituted into equation (4) and the error will be calculated and evaluated. In order to obtain the optimal solution of parameters, the sum of square root error is selected as follows:

00213_psisdg12260_122601a_page_3_2.jpg

where n is the number of measurement pair of voltage and current. According to equations (4) and (5), it will guide the evolution to better solution.

3.

HYBRID ALGORITHM DESCRIPTION

3.1.

Overview of DE algorithm

Differential Evolution was proposed in 1997. It is a heuristic and parallel search algorithm which belongs to a swarm intelligence search algorithm13, 14.

DE randomly generates the initial value and finds the optimal solution through difference calculation and iteration. For the problem of population NP and dimension D, it randomly generates initial population:

00213_psisdg12260_122601a_page_3_3.jpg

where i = 1,2,…NP represents the ith individual, j = 1,2,…D represents the jth dimension.

In each iteration of the algorithm, mutation, crossover and selection are performed.

In DE algorithm, there are five mutation strategies to generate mutation vector Vi,G+1. Among them, the DE/best/1 strategy is described as:

00213_psisdg12260_122601a_page_3_4.jpg

where F is the difference vector scale factor. Xbest,G represents the best individual in generation G. Xr1,G and Xr2,G are two different vectors which are chosen from the population.

In DE algorithm, there are two crossover methods. Binomial crossover is described as:

00213_psisdg12260_122601a_page_3_5.jpg

where rand(0,1) is a random number between 0 and 1. It is independently generated for each i and j.

According to the fitness values, the better vector between Xi,G and trial vector Ui,G+1 will be selected. The selection operation is defined by:

00213_psisdg12260_122601a_page_3_6.jpg

At the end of each iteration, the evolution stop condition will be checked. If the condition is not satisfied, the next iteration will be carried out.

3.2.

Overview of fireworks algorithm

Fireworks algorithm was first published in 2010 which simulated the explosion of fireworks. By introducing random strategy and selection strategy, FWA controls the direction of fireworks explosion and achieves global optimization15,16.

FWA randomly generates NP fireworks as an initial population and calculates their fitness value. It includes three steps in each iteration: explosion, mutation and selection.

Every individual in population explodes and generates new fireworks. The number of fireworks that the ith individual generates is Si and the explosion amplitude is Ai. Si and Ai can be described as equations (10) and (11) respectively.

00213_psisdg12260_122601a_page_4_1.jpg
00213_psisdg12260_122601a_page_4_2.jpg

In equations (10) and (11), Stotal is the largest amount of fireworks produced. f (xi) is the fitness value of the ith individual. Amax indicates the maximum explosion amplitude. Ymax and Ymin are the best fitness and the worst fitness respectively. ε is a minimum to avoid zero numerator or zero denominator.

FWA uses Gaussian mutation to produce new fireworks. It randomly selects an individual fireworks and makes Gaussian mutation. Gaussian mutation can be described as:

00213_psisdg12260_122601a_page_4_3.jpg

where g is a Gaussian random number which has mean 1 and variance 1.

NP fireworks will be selected from new fireworks which are produced through explosion and mutation. The individual with the best fitness value will be preserved and the remain NP-1 individuals will be selected with probability p(xi) :

00213_psisdg12260_122601a_page_4_4.jpg

After the three steps mentioned above, the population of generation G+1 is determined.

3.3.

FWADE algorithm realization

DE is an effective algorithm in search space and has better global search ability. But the parameters of DE are difficult to set and the algorithm is easy to achieve local optimum. FWA is an algorithm with excellent performance and wide adaptability. But it is not enough to exploit the local space. In this paper, the two algorithms are combined to make full use of their advantages. FWADE is described as follow:

Step 1: Initial population

Produce initial population of the hybrid algorithm and the number is NP. Divide the initial population into two parts. One part is the initial population of DE which number is NP1. The other part is the initial population of FWA which number is NP2.

Step 2: Evolution

The evolution consists of DE evolution and FWA evolution.

(1) DE evolution.

Firstly, for the NP1 individuals of DE population, the mutation operation is carried out. The mutation strategy is equation (7) and the corresponding mutation vectors Vi,G+1 are generated. Then, the crossover operation is carried out to produce NP1 trial vectors Ui,G+1. The crossover strategy adopts binomial crossover which is described in equation (8). Finally, the better vector between the original population Xi,G and the trial vectors Ui,G+1 is selected through equation (9). Through the three operations, the individual Xi,G of population is renewed to Xi,G+1 and the population is renewed which has better fitness. So the NP1 individuals of the next generation are determined.

(2) FWA evolution.

Firstly, NP2 individuals of FWA population explode to generate new fireworks. The number of the ith individual and the explosion amplitude are shown in equations (10) and (11) respectively. Then the new fireworks are generated based on equation (12). Finally, in all new fireworks, the individual with best fitness is kept and the other NP2-1 individuals are selected with probability (13). So the NP2 fireworks of the next generation are determined.

Step 3: Mixing and distribution

Randomly mix NP1 individuals of DE and NP2 individuals of FWA that produce through step2 above to obtain the new NP population of hybrid algorithm. Then the population is randomly divided into DE population with NP1 individuals and FWA population with NP2 individuals. Finally, in each iteration, the stop condition of evolution will be check. If the stop condition is not satisfied, the step 2 will be carried on until the stop condition is satisfied.

The flow chat of FWADE is shown as Figure 3.

Figure 3.

Hybrid algorithm flow chat.

00213_psisdg12260_122601a_page_5_1.jpg

4.

IDENTIFIED PARAMETERS USING FWADE

In this section, the parameters of double diode model of PV will be identify using the presented hybrid algorithm. In the method, the measure voltage and current output data shown in Figure 1 are utilized. And the result is compared with DE and FWA algorithm.

The parameters of double diode model of PV are set to 7-dimensional individual of the hybrid algorithm. The real voltage and current of PV shown in Figure 2 are used to assess the error between the real and estimated.

The pseudo code of FWADE algorithm is listed below:

00213_psisdg12260_122601a_page_6_1.jpg

In order to test the performance of FWADE, standard DE algorithm and FWA algorithm are also implemented using the same algorithm parameters. The convergence curves of three algorithms are shown in Figure 4.

Figure 4.

Convergence curves.

00213_psisdg12260_122601a_page_6_2.jpg

From Figure 4, all the three algorithms can identify the parameters of PV. The convergence rate of FWADE algorithm is the fastest and it has the lowest error.

The real curve and fitting curves of three algorithms are shown in Figure 5.

Figure 5.

Fitting curves.

00213_psisdg12260_122601a_page_6_3.jpg

Figure 5 shows the real curve of PV output and three fitting curves using DE, FWA and FWADE. The figure shows that the hybrid algorithm can fit real curve very well and it is the best fitting curve.

The identification parameters by three algorithms are also listed in Table 1.

Table 1.

Identification results of three algorithms

 DEFWAFWA_DE
Ipv(A)0.7800.7600.771
Isd1(A)1.486-078.773e-072.483e-07
Isd2(A)2.146e-135.257e-074.072e-07
m11.4201.9291.475
m21.5331.5421.724
Rs(Ω)0.00140.03200.0329
Rp(Ω)5.81571.76416.775

5.

CONCLUSION

Differential evolution and fireworks algorithm are widely used. A hybrid intelligent algorithm which combines the advantages of differential evolution and fireworks algorithm is proposed in this paper. By mixing the population and randomly redistributing the population of DE and FWA, FWADE algorithm is fully combines the advantages of two algorithms.

The implementation method of FWADE is described and the algorithm is used to identify the seven parameters of double diode model of PV. The result shows that it can efficiently identify the parameters of double diode model. Compared with standard DE and FWA algorithm, FWADE algorithm has faster convergence speed and can find better solution.

REFERENCES

[1] 

Yan, Y. F., “Solar energy utilization technology and its application,” Journal of Solar Energy, 33 47 –56 (2012). Google Scholar

[2] 

Ishaque, K., Salam, Z. and Taheri, H., “Simple fast and accurate two-diode model for photovoltaic modules,” Solar Energy Materials & Solar Cells, 586 (2011). https://doi.org/10.1016/j.solmat.2010.09.023 Google Scholar

[3] 

Yao, Y. Q. and Wang Y. B., “An improved double-diode model based simulation method for PV modules,” in Conf. Record of the IEEE Photovoltaic Specialists Conf, 224 (2020). Google Scholar

[4] 

Elgohary, R., Abu Elela, A. A. and Elkholy, A., “Electrical characteristics modeling for photovoltaic modules based on single and two diode models,” in Twentieth Inter. Middle East Power Systems Conf, 685 (2018). Google Scholar

[5] 

Liu, Y., Lu, Z. and Yang, F., “The investigation of solar PV models,” in Power & Energy Society Innovative Smart Grid Technologies Conf, 1 (2018). Google Scholar

[6] 

Tutkun, N., Gegin, K. and Sarma, N., “Comparison of typical PV module performances based on the circuit models,” in Asia-Pacific Power and Energy Engineering Conf, 206 (2018). Google Scholar

[7] 

Hoarcă, I. C., “Mathematical modeling and simulation of PV systems part I: mathematical modeling and Simulink implementation,” in Inter. Conf. on Applied and Theoretical Electricity, (2021). https://doi.org/10.1109/ICATE49685.2021.9465047 Google Scholar

[8] 

De Soto, W., Klein, S. A. and Beckman, W. A., “Improvement and validation of a model for photovoltaic array performance,” Sol. Energy, 80 (1), 78 –88 (2006). https://doi.org/10.1016/j.solener.2005.06.010 Google Scholar

[9] 

Meng, X., Gao, F. and Xu, T., “A hybrid model parameter extraction method for single-diode model of PV module,” in Energy Conversion Cong. and Expo, 3649 (2020). Google Scholar

[10] 

Chin, V. J., Salam, Z. and Ishaque, K., “An improved method to estimate the parameters of the single diode model of photovoltaic module using differential evolution,” in 4th Inter. Conf. on Electric Power and Energy Conversion Systems, (2015). https://doi.org/10.1109/EPECS.2015.7368514 Google Scholar

[11] 

Chellaswamy, C. and Ramesh, R., “Parameter extraction of solar cell models based on adaptive differential evolution algorithm,” Renewable Energy, 97 823 –837 (2016). https://doi.org/10.1016/j.renene.2016.06.024 Google Scholar

[12] 

Louzazni, M., Khouya, A. and Amechnoue, K., “Comparative prediction of single and double diode parameters for solar cell models with firefly algorithm,” 10th Inter,” Symp. on Advanced Topics in Electrical Engineering, 860 (2017). Google Scholar

[13] 

Storn, R. and Price, K., “Differential evolution—A simple and efficient heuristic for global optimization over continuous spaces,” Global Optimization, 11 341 (1997). https://doi.org/10.1023/A:1008202821328 Google Scholar

[14] 

Chiou, J. P., “A variable scaling hybrid differential evolution for solving large-scale power dispatch problems,” IET Generation, Transmission and Distribution, 3 154 (2009). https://doi.org/10.1049/iet-gtd:20080262 Google Scholar

[15] 

Tan, Y. and Zhu, Y., “Fireworks algorithm for optimization,” Advances in Swarm Intelligence, 355 (2010). https://doi.org/10.1007/978-3-642-13495-1 Google Scholar

[16] 

Cao, J., Li, T. and Jia, H., “Fireworks explosion optimization algorithm with genetic operators,” Computer Engineering, 12 149 (2010). Google Scholar
© (2022) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Yong Wu, Cong Chen, and Xiuzhu He "A hybrid intelligent algorithm for parameter identification of double diode model of PV", Proc. SPIE 12260, International Conference on Computer Application and Information Security (ICCAIS 2021), 122601A (24 May 2022); https://doi.org/10.1117/12.2637490
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Diodes

Photovoltaics

Solar cells

Mathematical modeling

Error analysis

Algorithms

Circuit switching

Back to Top