PVPM2540C characteristics.

## Abstract

The accurate parameters extraction is an important step to obtain a robust PV outputs forecasting for static or dynamic modes. For these aims, several approaches have been proposed for photovoltaic (PV) cell modeling including electrical circuit-based model, empirical models, and non-parametrical models. Moreover, numerous parameter extraction methods have been introduced in the literature depending on the proposed model and the operating mode. These methods can be classified into two main approaches including automatic numerical and analytical approaches. These approaches are commonly applied in the static mode, whereas they can be employed for dynamic parameters extraction. In this chapter, as a first stage, the static parameters extraction for both single and double diodes models is exposed wherein Genetic Algorithm and outdoor measurements are considered for fixed irradiation and temperature. In the second stage, a dynamic parameters extraction is carried out using Levenberg-Marquardt algorithm, where 1 day profile outdoor measurement is considered. After that, the robustness of the proposed approaches is evaluated and the parameters obtained by the static method and that given by the dynamic technique are compared. The test is carried out using 3 days with different weather conditions profiles. The obtained results show that the parameters extraction by dynamic techniques gives satisfactory performances in terms of agreement with the real data.

### Keywords

- photovoltaic module
- static parameters extraction
- dynamic parameters extraction
- empirical model
- electrical model

## 1. Introduction

The increasing development of PV technologies brought out their potential to provide the energy abundance across the world. Hence, they have been interested by several research groups in the purpose to improve their behavior and extend their life-time. Meanwhile, giving an accurate forecasting of the PV outputs behavior has been always a real issue related to their nonlinearity. Two modes can characterize the PV module in terms of modeling, the first one is the static mode wherein the obtained model is characterized and validated for fixed weather conditions (irradiation and temperature), while the second is the dynamic mode where the validation is carried out using variable weather conditions. In this context, several models of the PV cell/module have been introduced in the literature based mainly on several approaches including electrical, empirical, and non-parametrical modeling. For the non-parametrical models, two approaches are introduced namely, Artificial Neural Network (ANN) and Neuron-Fuzzy based models. The accuracy and the robustness of these approaches rely strongly on the richness of the training dataset in terms of scenarios. Neuron-Fuzzy techniques has been used to predict cell short-circuit current and open-circuit voltage for the static representation [1]. The ANN-based technique is introduced to model the PV array power for the embedded systems implementation [2]. This technique has been tested for dynamic mode dealing [3]. The ANN technique is also used for the prediction of the PV cell/module voltage directed to amorphous silicon PV technology wherein the obtained network has been tested by real dynamic data [4].

In the empirical or the analytical approaches, several models have been proposed to estimate accurately both static and dynamic modes of PV cell/modules. An analytical model is proposed by [5] based on manufacturer characteristic. This model provides acceptable results for both static and dynamic working. Another model has been introduced by Sandia National Laboratory [6], which is widely employed for PV cell/model forecasting especially for the large-scale arrays. Other empirical models have been proposed in order to estimate the PV array power under uniform shading [7, 8].

In the electrical approaches, two models widely prevail owing to their simplicity based on equivalent circuits namely: single (SDM) and double (DDM) diodes-based models. These models can deal with both static and dynamic modes with an acceptable accuracy. Besides, several enhancements have been introduced in these models to minimize parameters number and give more simplicity [9, 10]. The expressions of both photo-generation and diode saturation currents have been improved to give more accuracy in the dynamic working [11].

All models possess unknown parameters, which should be identified according to the module used in the practice. For this end, numerous approaches have been introduced in the literature including analytical and automatic numerical methods. The analytical methods usually rely on specific points on the I-V curve and on some value given by manufacturer. However, a significant error can be engendered if one of more of selected points is incorrect [12].

Owing to their adequate results, automatic numerical methods are prevail in PV models parameters extraction either through the use of deterministic algorithms such as: Newton model modified with Levenberg [13], Levenberg-Marquardt [14], Simulated Annealing algorithm (SA) [15], Pattern Search (PS) [16], Nelder-Mead Simplex algorithm (NMS) [17], and hybrid Nelder-Mead and modified particle swarm optimization [18] or by introducing metaheuristic algorithms such as: Genetic Algorithms (GA) [19], Particle Swarm Optimization (PSO) [20, 21, 22, 23, 24, 25, 26], Cuckoo Search (CS) [27], Artificial Bee Colony (ABC) [26, 28], and Artificial Bee Swarm (ABS) [29]. Moreover, other algorithms have been introduced like (FPA) [30, 31], hybrid Bee Pollinator Flower Pollination Algorithm (BPFPA) [31, 32], Harmony Search (HS) [33], Artificial Fish Swarm Algorithm (AFSA) [34], and other algorithms. The majority of the aforementioned algorithms have been applied for static parameters extraction.

Numerical algorithms have been also applied for dynamic parameters extraction wherein the identification process is carried out using variables weather conditions [35, 36].

In this chapter, modeling and parameters extraction of PV cell/module are detailed. Where, comparison study among three models by applying static and dynamic identification using out-door measurement.

## 2. PV cell/module modeling

The PV cell presents outputs variation, which depends on weather conditions namely, irradiation and temperature. As illustrated in Figure 1, for load variation from open circuit to short circuit, the PV cell shows nonlinear characteristic that possess a maximum point of power. For an optimal working, the load should be adapted at this point. In this section, three PV cell models will be employed and improved using automatic parameters extraction namely: the empirical Sandia model and both single and double diodes electrical models.

### 2.1 Sandia model

This empirical model given by SANDIA National Laboratories provides relatively accurate dynamic forecast for PV cell/module by describing the thermal, the electrical, and the optical characteristics. Also, this model can be destined for any technology and can be adapted with any scale of PV arrays. Furthermore, its simplicity can qualify it to be used for real-time online prediction. Expressions (1)–(4) describe the variation of _{mpp}, _{mpp,} and _{mpp}, respectively.

where, C_{0–3} are empirical parameters to be identified, I_{mp_STC}, V_{mp_STC} are the current and the voltage in the maximum power point under standard test condition, E_{e} is the effective irradiation, K is the Boltzmann constant, q is the electron charge, δ(T) is the thermal voltage, α_{mp} and β_{mp} are, respectively, the current and the voltage temperature coefficient [36].

### 2.2 Single diode based model (SDM)

This physical model is based on the electrical approach illustrated in Figure 2 wherein the PV cell is composed of: a photo-generation current source and a diode while joule losses are represented by two serial and parallel resistors.

From this electrical representation, expression (5) and (6) can be obtained to describe the evolution of both current and voltage. The output current is expressed as a sum of the photo-generation current I_{ph}, the diode current I_{d}, and the shunt current I_{sh}.

where, K is the constant of Boltzmann, q is the electron charge, T is the cell temperature, n is the diode ideality factor, and I_{0} is the current saturation due to diffusion and recombination.

After the substitution of Eqs. (6) and (7) in (5), the following expression is obtained:

R_{s}, R_{sh}, and n are parameters to be identified in the static study and can be adjusted in the dynamic study.

Diode saturation current I_{0} is expressed in Eq. (9) function of the cell temperature and the energy band-gap [11].

Eq. (10) describes the evolution of the energy band-gap E_{g} as function of the cell temperature.

where E_{g0} and E_{gr} are the energy band-gap of the silicon at 0°C and at the reference temperature T_{r,} respectively, * α*and

*are constants of the material.*β

The photo-generation current is given by Eq. (11) as a function of the irradiation and the cell temperature.

where G is the input irradiation, T is the cell temperature, I_{sc} is the module short-circuit current, and μ is the coefficient temperature/short-circuit current (given by the manufacturer) [11].

E_{g0}, α, β, μ, I_{sc}, and V_{oc} are parameters to be identified in the dynamic study.

### 2.3 Double diode-based model

From the electrical representation illustrated in Figure 3, the PV cell can be represented by a source of current that represents the photo-generation, two diodes and both parallel and serial resistances representing the loss of energy inside the cell.

After applying nodes law, the output current is expressed as sum of: photo-generation current I_{ph}, shunt current I_{sh} and the diodes currents I_{d1} and I_{d2} (Eqs. (12)–(15)).

In which I_{01–2} are currents saturation of the two diodes that resulted from diffusion and recombination, n_{1–2} are ideally factors.

By substituting Eqs. (13)–(15) in (12), final description of the output current versus the voltage is obtained which is expressed in Eq. (16) [11].

n_{1–2} and R_{s}, R_{sh} are parameters which will be identified in the static study and they can be adjusted in the dynamic study.

Eqs. (17) and (18) express the evolution saturation currents of the diodes I_{01–2} versus energy band-gap E_{g} and cell temperature [11].

The photo-generation current is represented by the same expression of the single diode model (Eq. (11)).

Parameters E_{g01–2}, α_{1–2}, β_{1–2}, μ, I_{sc} and V_{oc} will be identified in the dynamic study.

## 3. Static parameters extraction of PV module

For fixed irradiation and temperature, a static parameters extraction will be done to extract five parameters in SDM and seven parameters in DDM. A numerical stochastic optimization algorithm is used in this identification. This algorithm namely, Genetic Algorithm (GA), is employed to minimize the cost function given in Eq. (19) which expresses the root mean square error (RMSE) between the measured PV module I(v) characteristic and that given by the models. For this and, outdoor static measurements have been carried out using the peak measuring device tracer (PVPM 2540C), whose characteristics are illustrated in Table 1. This device has been programed to provide both I(V) and P(V) curves of 101 samples per 1 min.

where * I*is the simulated current,

*is the measured voltage, N is the number of sample in I(V) characteristics. The error between the measured and simulated I(V) characteristics for the aforementioned models are expressed in Eqs. (20) and (21).*V

_{m}

### 3.1 Genetic Algorithm

The Genetic Algorithm (GA) is a stochastic algorithm imitated from the biological genetic process used to find an approximate solution for optimization problems. Like in the natural concept, the chromosome is the holder of the genes that the child can probably get from his parents. By analogy, these genes represent the variables (parameters) of the function to be minimized. Five steps can characterize the GA namely, generation of initial population, evaluation of fitness, selection, crossover and mutation [37, 38].

#### 3.1.1 Initial population

The process starts by the generation the initial population of N chromosome coded in binary. Each vector chromosome is formed of group of parameters in which its length M is given in Eq. (22) wherein n is the number of parameters and N_{b} is the length of the sub-string (number of bits) of each parameter as shown in Figure 4. The length of the integer part given by the vector Conv (Eq. (23)) is used to limit the research domain in which, P_{i} (Eq. (24)) is the parameter value in decimal code [37, 38].

#### 3.1.2 Fitness

In this stage, the parameters values that have been randomly generated and decoded in decimal base will be substituted in the cost function to be optimized. The fitness is the solution of the parameters in the RMSE (* x*) function calculated in Eq. (19). Its value is mathematically expressed in Eq. (23) [37, 38].

#### 3.1.3 Selection

The chromosomes that will participate as parents to generate a new child are chosen in this step. Any chromosome in the generated population can be chosen however, the individual that presents a good fitness have a high probability. The technique used for the chromosome choice is the roulette wheel illustrated in Figure 5, wherein the selection probability P_{s,} expressed in Eq. (24), is calculated, consists of a cumulative sum of the fitness of each chromosome orderly relative to the sum of all fitness. After that, the process generates a random drawing probability Pr. Hence, the first chromosome corresponds to P_{r} < P_{s} is chosen for the next steps (crossover and Mutation).

where, k is an integer counter that varies from 1 to the current chromosome, and j is an integer counter that varies from 1 to the population size N [37, 38].

#### 3.1.4 Crossover

After selecting the chromosomes, the algorithm gives birth to new children by performing a crossover between each two chromosomes. For this end, a drawing probability P_{r} is generated and compared with the crossover probability P_{c} (usually high probability). Hence, the parents chromosomes that corresponds to P_{r} < P_{c} will be chosen for child generation. If not, the same chromosomes are kept. As illustrated in Figure 6, the crossover by point is used wherein the bits after the point randomly chosen are swapped [37, 38].

#### 3.1.5 Mutation

In this step, the algorithm introduces a change in some characters of the selected chromosomes in order to expand the search space if the initial population does not fall in the optimal solution. In the binary coding, the selected bit will change from 1 to 0 and vice versa as described in Figure 7. The mutation has low probability P_{m} in which, it will be affected for characters that correspond to P_{r} < P_{m} in which, P_{r} is the drawing probability (randomly generated) [37, 38].

Our system is formed of mono-crystalline PV module SANYO technology with the characteristics listed in Table 2, peak measuring tracer and the necessary sensors. The experimental platform is illustrated in both Figure 8a and b.

Application | DC voltage | DC current | Temperature | Irradiance | Measuring period single measurement | I-V curve samples | |
---|---|---|---|---|---|---|---|

PV modules and small strings | 25/50/100/250 V | 2/5/10/40 A | −40°C to +120°C with Pt1000 | 0–1300 (W/m^{2}) (standard-sensor) | 0.02–2 (s) | 101 |

Description | SANYO mono-crystalline |
---|---|

Cell number | 96 |

Cell type | Mono-crystalline |

Cell size | 156 × 156 mm |

PV module dimension | 1319 × 894 × 35 mm |

Nominal power | 180 W |

Open circuit voltage V_{oc} | 66.4 V |

Short circuit current I_{sc} | 3.65 A |

Voltage V_{mpp} | 54 V |

Current I_{mpp} | 3.33 A |

Nominal operating temperature NOCT | 45 ± 2°C |

Temperature coefficient (P_{max}) | −0.33%/°C |

Temperature coefficient (I_{sc}) | 1.10 mA/°C |

Temperature coefficient (V_{oc}) | −0.173 V/°C |

After running of GA for 1000 cycles with the parameters listed in Table 3 for both SDM and DDM using outdoor measurement of the systems, wherein extracted parameters are listed in Table 4. Figure 9a and b illustrate the agreement between the measured and simulated I(V) and P(V) characteristics for SDM model whose obtained parameters are summarized in Table 5. Figure 10a and b show the agreement between the measured and simulated I(V) and P(V) characteristics for DDM model whose extracted parameters are summarized in Table 6.

GA parameters | Value |
---|---|

Number of cycle | 1000 |

Population length | 500 |

Crossover probability | 0.7 |

Mutation probability | 0.2 |

The electrical parameter | I_{ph} [A] | I_{0} [A] | n | Rs [Ω] | Rsh [KΩ] |
---|---|---|---|---|---|

The identified value | 3.0195 | 49591e−005 | 1.874*96 | 0.3273 | 8.1514 |

The electrical parameter | I_{ph} [A] | I_{01} [A] | I_{02} [A] | n_{1} | n_{2} | Rs [Ω] | Rsh [KΩ] |
---|---|---|---|---|---|---|---|

The identified value | 3.0289 | 6.1035e−005 | 3.8147–006 | 1.3658*96 | 1.9179*96 | 0.1017 | 5.992 |

Δ | |||||
---|---|---|---|---|---|

Some parameters will be identified again in the dynamic study including the parameters involved in I_{0} and I_{ph} equations, while the remaining will be adjusted to give more accuracy under variable weather conditions.

## 4. Dynamic parameters extraction of PV module

In this section, dynamic parameters identification will be described wherein the process is done by using 1 day profile of measurement. This allows to improve the nominal values given by the manufacturer, which can cause a significant error due to operating conditions and the consumed lifetime. Moreover, parameters obtained by static method can be adjusted by dynamic identification. For this end, automatic parameters adjustment using Levenberg-Marquardt optimization algorithm is employed.

As illustrated in Figure 11, the main idea is to take both PV module model and the MPPT as a single system with three outputs namely, I_{mpp}, V_{mpp,} and P_{mpp}. These outputs will be compared with 1 day profile of outdoor measurements. The process consists in minimizing the error between the model outputs and the real data. The whole system has been implemented in Matlab/Simulink tool.

For Sandia model, the process is carried out without the use of MPPT considering that this model has been established to the dynamic forecasting.

### 4.1 The MPPT used

An Accurate fuzzy logic MPPT algorithm is employed in our system (for SDM and DDM) in order to get satisfactory results in terms of precision and accuracy. The algorithm is used to control a DC/DC boost converter for the purpose to keep the PV module working at the maximum point of power. Mamdani inference model is used with two inputs namely, the error * E*and the variation of the error Δ

*. The calculation of these attributes is expressed in Eqs. (27)–(30).*E

Three steps can characterize the fuzzy algorithm; the first one is the fuzzification process that consists on the conversion of the numerical inputs values (E and ΔE) into linguistic values by the substitution in the membership functions. The second step is the inference process, which is considered as the main stage in the fuzzy algorithm wherein the relation between the inputs and the output is done. The third step is the defuzzification where the process converts the linguistic decision into numerical output. Figure 12 describes briefly the fuzzy processing steps [39].

For both inputs and output, five trapezoidal and triangular membership functions have been employed namely: NS (negative strong), NL (negative low), ZE (zero), PL (positive low) and PS (positive strong). The center of gravity based method is used for the defuzzification to provide the control duty cycle after applying the Mamdani inference model given in Table 6. Figure 13a,b and d describes the used membership functions [39].

### 4.2 Simulation study

The Levenberg-Marquardt algorithm is implemented using 1 day profile of outdoor real measurement of dynamic PV outputs (P_{mpp}, I_{mpp} and V_{mpp}). The process consists in minimizing the error between simulated outputs of both SDM and DDM and 8 h of real data (09:00 am–05:00 pm). The peak measuring device tracer (PVPM 2540C) has been programmed to provide 1 sample per minute. Table 7 lists the lower and upper limits search of the extracted parameters. The extracted parameters using the dynamic method are summarized in Table 8. The inputs measurement of the irradiation and the temperature are illustrated in Figure 14a and b, respectively. Satisfactory results have been obtained in terms of matching between the real data and the simulated outputs P_{mpp}, I_{mpp} and V_{mpp} for SDM, DDM and Sandia as shown in Figure 15a–c, respectively.

SDM parameters | Boundaries | DDM parameters | Boundaries | Sandia parameters | Boundaries |
---|---|---|---|---|---|

[0, 2]*96 | _{1}, n_{2} | [0, 2]*96 | _{0} | [0, 2] | |

_{s} [Ω] | [0, 1] | _{s} [Ω] | [0, 1] | _{1} | [−1, 1] |

_{sh} [Ω] | [0, 10^{4}] | _{sh} [Ω] | [0, 10^{4}] | _{2} | [−10, 10] |

_{g0} | [0, 1] | _{g01–2} | [0, 2] | _{3} | [−10, 50] |

[0, 1] | _{1–2} | [0, 1] | [°C_{Imp}^{−1}] | [0, 1] | |

[0, 10^{4}] | _{1–2} | [0, 10^{4}] | [V/°C]_{Vmp} | [−1, 0] | |

[0, 1] | [0, 1] | ||||

_{sc} | [3, 3.7] | _{sc} | [3, 3.7] | ||

_{oc} | [60, 66.8] | _{oc} | [60, 66.8] |

SDM parameters | Values | DDM parameters | Values | Sandia parameters | Values |
---|---|---|---|---|---|

105.73/96 | _{1}, n_{2} | 90.73/96; 73.39/96 | _{0} | 1.058 | |

_{s} [Ω] | 0.82495 | _{s} [Ω] | 0.3219 | _{1} | 0.020 |

_{sh} [Ω] | 8.371 × 10^{3} | _{sh} [Ω] | 4.9664 × 10^{3} | _{2} | −0.341 |

_{g0} [ev] | 1.4525 | _{g01–2} [ev] | 1.649; 1.31 | _{3} | −9.997 |

6.56 × 10^{−4} | _{1–2} | 0.0018; 0.0132 | [°C_{Imp}^{−1}] | 2.53 × 10^{−14} | |

126.11 | _{1–2} | 694.84; 1020.76 | [V/°C]_{Vmp} | −0.203 | |

0.0121 | 0.0112 | 1.221 | |||

_{sc} | 3.671 | _{sc} | 3.629 | ||

_{oc} | 66.208 | _{oc} | 65.527 |

## 5. Experimental validation

In this section, a validation with an unseen data is carried out to test and compare the effectiveness of the proposed enhancement. The three developed models will be compared with real measurement profile (09:00 am–05:00 pm) of irradiation and temperature for different weather conditions. Wherein, the SDM and DDM models using the developed parameters are compared with the former nominal parameters listed in Table 9, Sandia model and the real data. Three different skies of real measurement have been used for this validation namely, clear day, semi-cloudy day and cloudy day. The matching in the power (P_{mpp}) between and the real data and SDM and DDM with nominal parameters, SDM and DDM with the new parameters and Sandia model is illustrated in Figure 16a–c for clear day, semi-cloudy day and cloudy day respectively. Besides, the agreement in the voltage and the current (V_{mpp} and I_{mpp}) for these models with the real data is shown in Figure 17a–c and Figure 18a–c, respectively.

Parameters | Value |
---|---|

_{g0} | 1.16 eV |

4.73 × 10^{−4} | |

1000 | |

1.10 mA/°C | |

_{sc} | 3.65 A |

_{oc} | 66.4 V |

It is clearly found that an improved agreement has been shown by models with new parameters compared to that given by the nominal parameters and the static method.

For more clarity, the hourly power efficiency given by the presented models and the real data has been calculated. It consists on the average of the power during 1 h versus the optimal PV module power (Eq. (31)) [40].

in which, N is the number samples per hour.

Figure 19a–c show the bar-graph of the hourly power efficiency of the proposed models for the three weather conditions, namely the clear day, semi-cloudy day and cloudy day, respectively. The enhanced models present higher hourly power efficiency versus models with the former parameters and those given by the static technique. Furthermore, root mean square error (RMS) and the mean absolute error (MAE) between the real data and the studied models are calculated by Eqs. (19) and (32) to show the enhancement of the proposed method.

where N is the number of samples [41].

The aforementioned results show clearly that the extracted parameters of the PV module using dynamic techniques present more accuracy compared with the static method and the parameters given by the manufacturer. Indeed, the parameters obtained by the static method are clearly improved for variable weather conditions (irradiation and temperature), which is confirmed using different skies. Table 10 summarizes the calculated RMS and MAE errors values which show obviously that the developed models present advantages comparing with real outdoor data of different weather conditions.

Day | Weather | Error [%] | Current | Voltage | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|

SDM | SDMnp | DDM | DDMnp | Sandia | SDM | SDMnp | DDM | DDMnp | Sandia | |||

22/01/2018 | Clear day | RMS | 0.72 | 1.12 | 0.69 | 0.93 | 0.68 | 1.48 | 2.21 | 1.63 | 2.34 | 1.49 |

MAE | 4.31 | 5.05 | 4.24 | 5.12 | 4.38 | 1.27 | 4.07 | 1.77 | 3.70 | 1.17 | ||

29/01/2018 | Semi-cloudy | RMS | 0.22 | 0.45 | 0.24 | 0.32 | 0.23 | 3.30 | 9.10 | 6.53 | 7.87 | 1.13 |

MAE | 3.14 | 5.40 | 2.96 | 4.35 | 2.85 | 1.50 | 5.34 | 2.37 | 4.76 | 0.57 | ||

28/01/2018 | Cloudy day | RMS | 0.43 | 0.48 | 0.47 | 0.31 | 0.52 | 9.05 | 8.77 | 12.2 | 12.3 | 1.83 |

MAE | 4.38 | 6.62 | 5.02 | 3.93 | 5.60 | 2.06 | 4.63 | 4.05 | 6.18 | 0.77 |

Day | Weather | Error [%] | Power | ||||
---|---|---|---|---|---|---|---|

SDM | SDMnp | DDM | DDMnp | Sandia | |||

22/01/2018 | Clear day | RMS | 3.65 | 8.49 | 3.45 | 4.34 | 3.79 |

MAE | 4.24 | 6.79 | 3.74 | 4.44 | 4.51 | ||

29/01/2018 | Semi-cloudy | RMS | 2.48 | 4.30 | 2.48 | 4.30 | 0.82 |

MAE | 5.14 | 11.7 | 4.58 | 10.3 | 2.33 | ||

28/01/2018 | Cloudy day | RMS | 5.35 | 4.82 | 5.51 | 5.24 | 2.79 |

MAE | 1.37 | 1.56 | 1.55 | 1.57 | 5.63 |

## 6. Conclusion

In this chapter, both dynamic and static parameters identification methods have been highlighted and compared with real measurement. The SDM and DDM nominal parameters involved in I_{0} and I_{ph} equations have been developed by dynamic method. This improved result has been compared with that given by the static technique and Sandia model versus out-door real data for different skies (clear day, semi-cloudy day and cloudy day). It was found that SDM and DDM based on the parameters extracted by dynamic method give satisfactory accuracy, which is confirmed by some calculated indicator such as: the hourly efficiency and both root mean square error (RMS) and the mean absolute error (MAE). This allows to solve modeling problems of PV module that apply for several applications such as fault detection.