Next Article in Journal
CO2 Absorption Using Potassium Carbonate as Solvent
Previous Article in Journal
A Review on the Recent Developments in Passive Plasma Separators and Lab-on-Chip Microfluidic Devices
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Photovoltaic Panel Parameters Estimation Using an Opposition Based Initialization Particle Swarm Optimization †

Laboratory Signals and Systems, IGEE, University M’hamed Bougara, Boumerdes 35000, Algeria
*
Author to whom correspondence should be addressed.
Presented at the 2nd International Conference on Computational Engineering and Intelligent Systems, online, 18–20 November 2022.
Eng. Proc. 2023, 29(1), 16; https://doi.org/10.3390/engproc2023029016
Published: 3 February 2023

Abstract

:
A photovoltaic (PV) cell is generally used as renewable energy source. For an accurate study of various PV applications, modeling this basic device in a PV generator is essential. However, the manufacturers do not usually provide the model parameters and their values vary over time due to PV degradation and the change in weather conditions. Thus, finding an optimal technique for estimating the appropriate parameters is crucial. This problem can be solved by metaheuristic optimization algorithms, namely particle swarm optimization (PSO). However, early convergence is the main defect of PSO. This work presents an enhancement in the optimization method (PSO) for identifying the optimal parameters of a PV generating unit. In this method, the identification of parameters of the single diode model is based on an opposition-based initialization particle swarm optimization technique. The optimization algorithm is implemented in MATLAB which gives good results.

1. Introduction

Solar Energy is considered as the most promising alternative to conventional energy sources. Its main application is the photovoltaic (PV) power generation that was predicted to be over 1000 TWh in 2021 [1]. PV systems convert solar energy into electrical energy. They can be installed easily, and they are noise-free. For an accurate study of various PV applications, modeling the basic device in a PV generator is essential. However, the manufacturers do not usually provide the model parameters and their values vary over time due to PV degradation [2] and the change in weather conditions. Thus, finding an optimal method for estimating appropriate parameters is critical.
The single diode model (ODM) is regarded as the most suitable model used to characterize the PV generator [3,4,5,6,7] compared to the two-diode model (DDM) and the three-diode model (TDM) as it has the least number of parameters and a good accuracy. The ODM has five electrical parameters that are: photocurrent (Iph), reverse saturation current (Is), diode ideality factor (n), series resistance (Rs), and parallel resistance (Rsh).
Different techniques have been developed to identify ODM parameters, which can be classified in three categories [5,7]:
-
Analytical methods [7],
-
Numerical methods [3,4,5,6],
-
Optimization methods based on artificial intelligence [8,9,10,11].
Although numerical methods are widely used in the literature due to their speed of calculation, simplicity, and accuracy, they cannot be used to solve PV model complex non-linear equations. This problem can be solved using optimization techniques based on artificial intelligence. Particle swarm optimization (PSO) is a popular metaheuristic optimization algorithm. However, the main defect of PSO that does not let it provide high-quality solutions in multimodal problems, such as PV panels parameters estimation, is its early convergence. This work presents an enhancement in the optimization method (PSO) for extracting the optimal parameters of a PV generating unit. The purpose of this work is to simulate the I-V and P-V characteristics based on the single diode model (ODM) using an opposition-based initialization particle swarm optimization algorithm that allows finding the optimal values of the needed parameters. The optimization algorithm is implemented in MATLAB for obtaining these model parameters and hence, I-V and P-V characteristics. The analysis is performed on various PV modules under different environmental conditions. The obtained results are compared and discussed to prove the efficiency and accuracy of the suggested optimization technique.

2. Photovoltaic Cell

A PV cell is an electronic device that permits the conversion of solar energy into electrical energy based on the photovoltaic effect, as shown in Figure 1. Solar cell produces electricity with poor voltage, which is approximately about 0.5 to 0.6 volts for the common single junction silicon PV cell. Thus, PV cells are coordinated in the form of modules or panels to produce electricity with high voltage and to provide adequate voltage and current for life applications.

2.1. Characteristics of the PV Cell

The electrical characteristics of a PV generator are mainly provided by the manufacturers under standard test conditions (STC) that are specified by the ambient temperature T STC = 25   ° C , irradiation level   G STC = 1000   W / m 2 , and the air mass value AM = 1.5. However, in the working field, PV panels operate at varying temperatures and at lower insulation levels. In order to define the power output of the solar generator, it is essential to find the expected operating temperature of the PV panel. The nominal operating cell temperature (NOCT) is set as the temperature reached by open circuited cells in a PV panel under the conditions: ambient temperature T ambient = 20 °C, solar irradiance G = 800 w/ m 2 , and wind speed = 1 m/s. Hence, the PV cell temperature can be calculated as follows:
T cell = T ambient + ( NOCT 20 800 ) G
The typical I-V and P-V curves characterizing a photovoltaic cell are shown in Figure 2. The three significant points on the photovoltaic characteristics are short circuit current ( I sc ), open circuit voltage ( V oc ), and maximum power point ( V mpp , I mpp ).
The maximum current I sc in the photovoltaic cell is generated when a short circuit occurs between its terminals, while the maximum voltage V oc can be measured when there is an open circuit.
The maximum power achieved from a photovoltaic cell occurs at a point on the bend in the I-V curve known as the maximum power point (MPP). The voltage and current at those points are designated as V mpp   and   I mpp .
Generally, manufacturers provide these parameters in the datasheet under STC. When the PV panel is connected to an external load, the actual point on the I-V curve at which the photovoltaic cell operates is determined based on the electrical characteristics of the load.

2.2. One Diode Model of PV Cell

In order to analyze solar cells characteristics, this latter is modeled as electrical equivalent circuits using simulation software. Researchers have developed mathematical models to understand and study the effect of different weather conditions on photovoltaic electrical output. One of these models that is widely used is the lumped parameter model. This model is classified based on the number of diodes used and it has proven to be the most successful.
Although the model characteristics accuracy improves as the number of diodes increases, the model mathematical equation becomes more complex. In this work, the single diode model that is shown in Figure 3 is used for the identification of the PV generator parameters due to its simplicity compared to other lumped models and its good accuracy.
The ODM governing equation is given as:
I = I ph I s [ e ( V + I R s n V t ) 1 ] V + I R s R sh
Such that, V t is the thermal voltage.
The model’s five parameters are:
I ph : Photocurrent (A);   I s : Diode saturation current (A); n: Diode ideality factor; R sh : Parallel resistance (Ω);   R s : Series resistance (Ω).
The single diode model considers various properties of the solar cell such as: the shunt resistance that considers the leakage current to the ground when the diode is in reverse biased, and the series resistance that takes into account the voltage drops and internal losses due to the flow of current. However, this model is still not the most accurate model as it has neglected the recombination effect of the diode.

3. Identification of PV Cell Parameters Using Optimization algorithms

3.1. Optimization Algorithms

It can be noticed that the I-V relationship of the one diode model, which is given in Equation (2) and hence the current voltage curve, is complex and highly nonlinear. Thus, it is difficult to solve it using analytical methods. Consequently, metaheuristic optimization methods based on artificial intelligence have been developed by scientists for solving these kinds of equations and determine the needed parameters. These techniques are developed to find a good solution among a large set of feasible solutions with less computational effort than other optimization techniques.

3.2. Opposition Based Initialization Particle Swarm Optimization Technique

Particle Swarm Optimization is a population-based metaheuristic global optimization method inspired by the motion of schooling fish and bird flocks. The PSO algorithm examines the space of an objective function by adjusting the trajectories of individual agents, named particles. A population of these particles flies through the search space such that each particle i is attracted toward the position of the current global best g* and its own best location x i in history, simultaneously, it has a tendency to move randomly. Initially, the particles are placed randomly in the search space. The objective function is evaluated for all the particles. When a particle i finds a position that is better than any previously found locations, it updates it as the new current best location x i by updating the velocity, first depending on movement inertia, self-cognition, and social interaction using Equation (3), then updating its position through Equation (4) at each iteration. Thus, all n particles have a current best position at any time t during iterations. The purpose is to find the global best among all the current best solutions until the objective no longer improves or after a specified number of iterations. The motion of particles is schematically represented in Figure 4. Where g* = {( x i )} for (i = 1, 2, … n) is the current global best and x i is the current best for particle i [8,12].
v n + 1 i = w   v n i + c 1 r 1 [ p n i x n i ] + c 2 r 2 [ p n g x n i ]
x n + 1 i = x n i + v n + 1 i
Such that:
x i is the position of the i th particle in the search space;
v i is the velocity of the i th particle;
w is particle inertia;
c 1 is the cognitive acceleration constant;
c 2 is the social acceleration constant;
p i is the particle’s best-known position;
p g is the global best position;
r 1 , r 2 are random numbers that vary between 0 and 1.
The starting points in PSO are randomly given. If these latter are close to the optimal point, convergence speed would be faster. Thus, to get better results, a better and careful initialization based on priori information is needed. The proposed method for an improved PSO algorithm is an opposition-based initialization of the swarm. This approach consists of initializing the PSO population and its opposite population, as shown in Figure 5. The fitness function is evaluated for both populations and only the fitter particles are selected to form a new population for the PSO.
The concept used is described below.
Particle: a swarm particle p i is defined as:
i ∈ [a, b] such that, i = 1, 2,…, D and a, b ∈ R;
D represents dimensions, and R represents real numbers.
Opposite particle: every particle p i has a unique opposite p i op defined as:
p i op = a + b p i   such   that ,   i = 1 ,   2 ,     D   and   a ,   b     R

3.3. ODM Parameters Extraction Using an IOB-PSO

The following objective function is used,
{ F ( X ) = I I ph + I s [ e ( V + I R s n N s V t ) 1 ] + V + I R s R sh X = { I ph , I s , R s , n , R sh }
The fitness function used to quantify the error between the simulated and measured data is the root mean square error (RMSE),
Fitness = 1 N 1 N F ( X ) 2
The pseudo code of the IBPSO method is given in Algorithm 1 and its corresponding flowchart is shown in Figure 6.
Algorithm 1 IOBPSO
1: Input: T, Ns, V Data   ,   I Data  
2: Output: global best
3: for each particle
4:     Initialize particle position
5:     Initialize particle velocity
6:     Calculate cost value of particles using Equation (6)
7:     Initialize opposite particle position using Equation(5)
8:     Initialize opposite particle velocity
9:     Calculate cost value of opposite particles using Equation (6)
10:      If opposite particle cost < particle cost
11:      Update particle
12:      end if
13:      Update particle best
14:      If particle best cost < global best cost
15:      Update global best
16:      end if
17: end for
18: for (t =1: Max number of iterations)
19:      for each particle
20:            Update velocity using Equation (3)
21:      Update position using Equation(4)
22:      Calculate cost value using Equation (6)
23:      If particle cost < particle best cost
24:       Update particle best
25:       If particle best cost < global best cost
26:         Update global best
27:       end if
28:      end if
29:      end for
30: end for
31: return global best
32: end procedure

4. Test Results and Discussion

The proposed algorithm IOB-PSO is used to identify the parameters of the single diode model. The algorithm is tested for two different PV modules. The obtained results are compared with other methods results to prove its effectiveness. It is developed in MATLAB R2016a and executed under Windows 10 64-bit OS, on a PC with Intel® Core™ i5-2450M CPU processor @ 2.50GHz, 4GB RAM.
Table 1 presents the search ranges used for the optimization of the model parameters. Table 2 presents the IOB-PSO parameters.
The IOB-PSO algorithm is used to estimate parameters for the various PV modules. The electrical specifications of the utilized modules are described in Table 3.
The IOB-PSO is tested for the mono-crystalline STM6-40/36 module using I-V experimental data [13] measured at T = 51 °C; and for the Photowatt-PWP201 poly-crystalline module with I-V data measured under a temperature of T = 45 °C [13]. The obtained results are presented and compared with other previously published methods in Table 4 and Table 5, respectively.
Using the identified parameters, the PV characteristics of the two modules were constructed and then compared with the experimental curves in Figure 7 and Figure 8.
It can be noted that the RMSE error of the proposed IOB-PSO is the smallest and hence, the obtained results using the proposed algorithm are the best. Therefore, the efficiency of this method for identifying the model parameters is proven. Figure 7 and Figure 8 show the comparison between I-V and P-V experimental and simulated data of the STM6-40/36 and the Photowatt-PWP201 modules. The simulated curves highly match the measured ones, which proves the reliability of the IOB-PSO algorithm.
Figure 9 presents the convergence curve of the IOB-PSO method for these modules; it can be noticed that the convergence is very fast. The algorithm reached the optimal solution within 207 iterations in an execution time of 19.0017 s for the monocrystalline module STM6-40/36, while for the Photowatt-PWP201 module, it needed 613 iterations (27.585 s). This proves that the proposed IOB-PSO method has a very fast convergence speed.

5. Conclusions

In this work, an efficient method for obtaining the I-V and P-V characteristics of a PV module based on the one diode model has been proposed, due to the non-availability of all needed parameters in the datasheet. The optimization algorithm was chosen for the identification of the ODM model parameters. The proposed method is an improved opposition-based particle swarm optimization; this algorithm was tested using the experimental I-V data that were acquired at different working conditions for various PV modules. The obtained results were compared with other methods outcomes provided in the references; this algorithm has showed a satisfying estimation of the five parameters extracted with minimum errors. Furthermore, the PV characteristics were plotted using the extracted parameters and compared with the experimental data. The simulated curves are found to be well-suited with the corresponding measured data, thus, the performance of the IOB-PSO algorithm proved to be good. Adding to the fact that this proposed algorithm has provided optimal results with an acceptable accuracy, the time taken for the IOB-PSO execution is less than 30 s.
This approach is found to be useful for designers since it is simple, fast, and provided accurate results.

Author Contributions

Conceptualization, C.T., A.O. and H.B.; methodology, C.T., A.O. and H.B.; software, C.T.; validation, C.T., A.O. and H.B.; formal analysis, C.T., A.O. and H.B.; investigation, C.T., A.O. and H.B.; resources, C.T.; data curation, C.T.; writing—original draft preparation, H.B.; writing—review and editing, C.T. and H.B.; visualization, H.B.; supervision, A.O. and H.B.; project administration, A.O. and H.B.; funding acquisition, H.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the data may involve confidential information of our research group.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Solar PV—Analysis. IEA Tracking Report—September 2022. Available online: https://www.iea.org/reports/solar-pv (accessed on 4 January 2023).
  2. Xiong, G.; Zhang, J.; Shi, D.; He, Y. Parameter extraction of solar photovoltaic models using an improved whale optimization algorithm. Energy Convers. Manag. 2018, 174, 388–405. [Google Scholar] [CrossRef]
  3. Stornelli, V.; Muttillo, M.; De Rubeis, T.; Nardi, I. A new simplified five parameter estimation method for single-diode model of photovoltaic panels. Energies 2019, 12, 4271. [Google Scholar] [CrossRef]
  4. Silva, E.A.; Bradaschia, F.; Cavalcanti, M.C.; Nascimento, A.J. Parameter estimation method to improve the accuracy of photovoltaic electrical model. IEEE J. Photovolt. 2016, 6, 278–285. [Google Scholar] [CrossRef]
  5. Wang, G.; Zhao, K.; Shi, J.; Chen, W.; Zhang, H.; Yang, X.; Zhao, Y. An iterative approach for modeling photovoltaic modules without implicit equations. Appl. Energy 2017, 202, 189–198. [Google Scholar] [CrossRef]
  6. Orioli, A. An accurate one-diode model suited to represent the current-voltage characteristics of crystalline and thin-film photovoltaic modules. Renew. Energy 2020, 145, 725–743. [Google Scholar] [CrossRef]
  7. Batzelis, E. Non-iterative methods for the extraction of the single-diode model parameters of photovoltaic modules: A review and comparative assessment. Energies 2019, 12, 358. [Google Scholar] [CrossRef]
  8. Wei, T.; Yu, F.; Huang, G.; Xu, C. A particle-swarm-optimization based parameter extraction routine for three-diode lumped parameter model of organic solar cells. IEEE Electron Device Lett. 2019, 40, 1511–1514. [Google Scholar] [CrossRef]
  9. Zhang, Y.; Jin, Z.; Zhao, X.; Yang, Q. Backtracking search algorithm with hevy flight for estimating parameters of photovoltaic models. Energy Convers. Manag. 2020, 208, 112615. [Google Scholar] [CrossRef]
  10. Jiao, S.; Chong, G.; Huang, C.; Hu, H.; Wang, M.; Heidari, A.A.; Chen, H.; Zhao, X. Orthogonally adapted harris hawks optimization for parameter estimation of photovoltaic models. Energy 2020, 203, 117804. [Google Scholar] [CrossRef]
  11. Naeijian, M.; Rahimnejad, A.; Ebrahimi, S.M.; Pourmousa, N.; Gadsden, S.A. Parameter estimation of PV solar cells and modules using Whippy Harris Hawks Optimization Algorithm. Energy Rep. 2021, 7, 4047–4063. [Google Scholar] [CrossRef]
  12. Ahcene, F.; Bentarzi, H.; Ouadi, A. Automatic Voltage Regulator Design Using Particle Swarm Optimization Technique. In Proceedings of the 2020 International Conference on Electrical Engineering (ICEE), Istanbul, Turkey, 25–27 September 2020. [Google Scholar]
  13. Kang, T.; Yao, J.; Jin, M.; Yang, S.; Duong, T. A Novel Improved Cuckoo Search Algorithm for Parameter Estimation of Photovoltaic (PV) Models. Energies 2018, 11, 1060. [Google Scholar] [CrossRef]
  14. Oliva, D.; Ewees, A.A.; Aziz, M.A.E.; Hassanien, A.E.; Cisneros, M.P. A chaotic improved artificial bee colony for parameter estimation of photovoltaic cells. Energies 2017, 10, 865. [Google Scholar] [CrossRef]
  15. Yuan, X.; He, Y.; Liu, L. Parameter extraction of solar cell models using chaotic asexual reproduction optimization. Neural Comput. Appl. 2015, 26, 1227–1239. [Google Scholar] [CrossRef]
Figure 1. The photovoltaic effect in a PV cell.
Figure 1. The photovoltaic effect in a PV cell.
Engproc 29 00016 g001
Figure 2. Typical I-V and P-V characteristics of PV cell.
Figure 2. Typical I-V and P-V characteristics of PV cell.
Engproc 29 00016 g002
Figure 3. One diode model of PV cell.
Figure 3. One diode model of PV cell.
Engproc 29 00016 g003
Figure 4. Schematic representation of the motion of a particle in PSO.
Figure 4. Schematic representation of the motion of a particle in PSO.
Engproc 29 00016 g004
Figure 5. PSO with (a) Random population initialization and (b) Opposition based population initialization.
Figure 5. PSO with (a) Random population initialization and (b) Opposition based population initialization.
Engproc 29 00016 g005
Figure 6. The flowchart of the IOBPSO algorithm.
Figure 6. The flowchart of the IOBPSO algorithm.
Engproc 29 00016 g006
Figure 7. I-V and P-V experimental data and simulated data for the STM6−40/36 module.
Figure 7. I-V and P-V experimental data and simulated data for the STM6−40/36 module.
Engproc 29 00016 g007
Figure 8. I-V and P-V experimental data and simulated data for the Photowatt-PWP201 module.
Figure 8. I-V and P-V experimental data and simulated data for the Photowatt-PWP201 module.
Engproc 29 00016 g008
Figure 9. Convergence curve of the IOB-PSO for the (a) STM6−40/36 module (b) Photowatt-PWP201 module.
Figure 9. Convergence curve of the IOB-PSO for the (a) STM6−40/36 module (b) Photowatt-PWP201 module.
Engproc 29 00016 g009
Table 1. ODM parameter search ranges.
Table 1. ODM parameter search ranges.
ParametersSearch Range
I ph [0.95 ×   I sc , 1.05 ×   I sc ]
I s [1 µA, 5 µA]
n [1, 2]
  R sh   [ V mpp I sc   I mpp , 1500 Ω]
R s [0,   V mpp   V oc I mpp ]
Table 2. IOB-PSO parameters.
Table 2. IOB-PSO parameters.
ParametersValue
Cognitive factor c11.5
Social factor c22.0
Inertia weight w[0.2, 0.9]
Random values r1, r2[0, 1]
Number of particles30
Maximum iteration1000
Table 3. Electrical specifications of the PV modules.
Table 3. Electrical specifications of the PV modules.
ModuleType N s Temperature [°C] Irradiance   [ w / m 2 ]
STM6-40/36Mono-crystalline3651NA
Photowatt-PWP201Poly-crystalline36451000
NA: not available.
Table 4. STM6-40/36 extracted parameters achieved by various methods.
Table 4. STM6-40/36 extracted parameters achieved by various methods.
Meth.ParametersError
    I p h [ A ] I s [ µ A ] n R s [ ] R s h [ ] RMSE
ABC [14]1.501.6641.4874.9915.211.838 ×   10 3
CIABC [14]1.6641.6761.4984.4015.621.819 ×   10 3
CSA [13]1.6642.0001.5342.9115.8411.794 ×   10 3
ImCSA [13]1.6642.0001.5342.9215.8411.795 ×   10 3
IOB-PSO *1.6632.881.570.0015598.741.772 ×   10 3
* Proposed method.
Table 5. Photowatt-PWP201 extracted parameters achieved by different methods.
Table 5. Photowatt-PWP201 extracted parameters achieved by different methods.
Meth.ParametersError
    I p h [ A ] I s [ µ A ] n R s [ ] R s h [ ] RMSE
CPSO [13]1.02868.30101.4511941.07551850.13.5 ×   10 3
PS [13]1.03133.17561.3413581.2053714.28571.18 ×   10 2
SA [13]1.03313.66421.3561421.1989833.33332.7 ×   10 3
CARO [15]1.031853.284011.354531.20556841.32132.427 ×   10 3
IOB-PSO *1.0303.4956681.351.200877986.3063352.4251 ×   10 3
* Proposed method.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Touabi, C.; Ouadi, A.; Bentarzi, H. Photovoltaic Panel Parameters Estimation Using an Opposition Based Initialization Particle Swarm Optimization. Eng. Proc. 2023, 29, 16. https://doi.org/10.3390/engproc2023029016

AMA Style

Touabi C, Ouadi A, Bentarzi H. Photovoltaic Panel Parameters Estimation Using an Opposition Based Initialization Particle Swarm Optimization. Engineering Proceedings. 2023; 29(1):16. https://doi.org/10.3390/engproc2023029016

Chicago/Turabian Style

Touabi, Cilina, Abderrahmane Ouadi, and Hamid Bentarzi. 2023. "Photovoltaic Panel Parameters Estimation Using an Opposition Based Initialization Particle Swarm Optimization" Engineering Proceedings 29, no. 1: 16. https://doi.org/10.3390/engproc2023029016

Article Metrics

Back to TopTop