Modeling and Simulation of Photovoltaic PDF
Modeling and Simulation of Photovoltaic PDF
Abstract - This paper presents an easy and accurate This text presents in details the equations that form the the
method of modeling photovoltaic arrays. The method is I-V model and the method used to obtain the parameters of
used to obtain the parameters of the array model using the equation. The aim of this paper is to provide the reader
information from the datasheet. The photovoltaic array with all necessary information to develop photovoltaic array
model can be simulated with any circuit simulator. The models and circuits that can be used in the simulation of power
equations of the model are presented in details and the converters for photovoltaic applications.
model is validated with experimental data. Finally, sim-
ulation examples are presented. This paper is useful for II. MODELING OF PHOTOVOLTAIC ARRAYS
power electronics designers and researchers who need an
effective and straightforward way to model and simulate A. Ideal photovoltaic cell
Fig. 1 shows the equivalent circuit of the ideal photovoltaic
photovoltaic arrays.
cell. The basic equation from the theory of semiconductors
[1] that mathematically describes the I-V characteristic of the
ideal photovoltaic cell is:
Keywords – PV array, modeling, simulation.
I. INTRODUCTION qV
I=Ipv,cell − I0,cell exp −1 (1)
akT
A photovoltaic system converts sunlight into electricity. | {z }
Id
The basic device of a photovoltaic system is the photovoltaic
cell. Cells may be grouped to form panels or modules. Panels where Ipv,cell is the current generated by the incident light (it is
can be grouped to form large photovoltaic arrays. The term ar- directly proportional to the Sun irradiation), Id is the Shockley
ray is usually employed to describe a photovoltaic panel (with diode equation, I0,cell [A] is the reverse saturation or leakage
several cells connected in series and/or parallel) or a group current of the diode [A], q is the electron charge [1.60217646 ·
of panels. Most of time one are interested in modeling pho- 10−19 C], k is the Boltzmann constant [1.3806503·10−23J/K],
tovoltaic panels, which are the commercial photovoltaic de- T [K] is the temperature of the p-n junction, and a is the diode
vices. This paper focuses on modeling photovoltaic modules ideality constant. Fig. 2 shows the I-V curve originated from
or panels composed of several basic cells. The term array used (1).
henceforth means any photovoltaic device composed of sev-
eral basic cells. In the Appendix at the end of this paper there B. Modeling the photovoltaic array
are some explanations about how to model and simulate large The basic equation (1) of the elementary photovoltaic cell
photovoltaic arrays composed of several panels connected in does not represent the I-V characteristic of a practical pho-
series or in parallel. tovoltaic array. Practical arrays are composed of several con-
The electricity available at the terminals of a photovoltaic nected photovoltaic cells and the observation of the charac-
array may directly feed small loads such as lighting systems teristics at the terminals of the photovoltaic array requires the
and DC motors. Some applications require electronic con- inclusion of additional parameters to the basic equation [1]:
verters to process the electricity from the photovoltaic device.
These converters may be used to regulate the voltage and cur- practical PV device
rent at the load, to control the power flow in grid-connected
ideal PV cell I
systems and mainly to track the maximum power point (MPP)
of the device.
Ipv Id Rs
Photovoltaic arrays present a nonlinear I-V characteristic Rp V
with several parameters that need to be adjusted from experi-
mental data of practical devices. The mathematical model of
the photovoltaic array may be useful in the study of the dy-
namic analysis of converters, in the study of maximum power Fig. 1. Single-diode model of the theoretical photovoltaic cell and
point tracking (MPPT) algorithms and mainly to simulate the equivalent circuit of a practical photovoltaic device including the
photovoltaic system and its components using simulators. series and parallel resistances.
200
V: 26.3
P: 200.1
180
200
160 MPP V: 26.3
P: 200.1
140
Pmax [W]
P [W]
150
120
100
Rs increasing 100
80
60
40 50
20
0 0
0 5 10 15 20 25 30 35 0 5 10 15 20 25 30 35
V [V] V [V]
Fig. 4. P -V curves plotted for different values of Rs and Rp . Fig. 5. Pmax,m vs. V for several values of Rs > 0.
V: 26.3
8 I: 7.61
Pmax,m
7
= MPP
q Vmp + Rs Imp 6
= Vmp Ipv − I0 exp −1
kT aNs − (8) 5
Vmp + Rs Imp I [A]
− = Pmax,e 4
Rp
3
(Vmp + Imp Rs ) q 1
{ Vmp Ipv − Vmp I0 exp + (9)
Ns a kT 0
0 5 10 15 20 25 30 35
+Vmp I0 − Pmax,e }
V [V]
Eq. (9) means that for any value of Rs there will be a value
of Rp that makes the mathematical I-V curve cross the exper- Fig. 6. I-V curves plotted for different values of Rs and Rp .
imental (Vmp , Imp ) point.
E. Iterative solution of Rs and Rp The iterative method gives the solution Rs = 0.221 Ω for
The goal is to find the value of Rs (and hence Rp ) that the KC200GT array. Fig. 5 shows a plot of Pmax,m as a func-
makes the peak of the mathematical P -V curve coincide with tion of V for several values of Rs . There is an only point, cor-
the experimental peak power at the (Vmp , Imp ) point. This responding to a single value of Rs , that satisfies the imposed
requires several iterations until Pmax,m = Pmax,e . condition Pmax,m = Vmp Imp at the (Vmp , Imp ) point. Fig. 7
In the iterative process Rs must be slowly incremented start- shows a plot of Pmax,m as a function of Rs for I = Imp and
ing from Rs = 0. Adjusting the P -V curve to match the ex- V = Vmp . This plot shows that Rs = 0.221 Ω is the desired
perimental data requires finding the curve for several values solution, in accordance with the result of the iterative method.
of Rs and Rp . Actually plotting the curve is not necessary, as This plot may be an alternative way for graphically finding the
only the peak power value is required. Figs. 4 and 6 illustrate solution for Rs .
how this iterative process works. In Fig. 4 as Rs increases
the P -V curve moves to the left and the peak power (Pmax,m )
220
goes towards the experimental MPP. Fig. 5 shows the con-
tour drawn by the peaks of the power curves for several val- 218
from (9), all I-V curves cross the desired experimental MPP 210
Plotting the P -V and I-V curves requires solving (2) for 206
I ∈ [0, Isc,n ] and V ∈ [0, Voc,n ]. Eq. (2) does not have a 204
direct solution because I = f (V, I) and V = f (I, V ). This 202 R: 0.221
transcendental equation must be solved by a numerical method P: 200.1
200
and this imposes no difficulty. The I-V points are easily ob- 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
5 Imp 7.61 A
I [A]
4
Vmp 26.3 V
Pmax,m 200.143 W
3
Isc 8.21 A
2
Voc 32.9 V
1 I0,n 9.825 · 10−8 A
V: 32.9
0
I: 0
Ipv 8.214 A
0 5 10 15 20 25 30 35
a 1.3
V [V]
Rp 415.405 Ω
Fig. 8. I-V curve adjusted to three remarkable points. Rs 0.221 Ω
200
180
V: 26.3
P: 200.1 best model solution, so equation (10) may be introduced in the
160
model.
140
Rp + Rs
120 Ipv,n = Isc,n (10)
P [W]
Rp
100
0
P: 0 P: 0
becomes valid and effectively determines the light-generated
0 5 10 15 20 25 30 35
current Ipv taking in account the influence of the series and
V [V] parallel resistances of the array. Initial guesses for Rs and Rp
are necessary before the iterative process starts. The initial
Fig. 9. P -V curve adjusted to three remarkable points.
value of Rs may be zero. The initial value of Rp may be given
by:
Figs. 8 and 9 show the I-V and P -V curves of the
Vmp Voc,n − Vmp
KC200GT photovoltaic array adjusted with the proposed Rp,min = − (11)
Isc,n − Imp Imp
method. The model curves exactly match with the experi-
mental data at the three remarkable points provided by the Eq. (11) determines the minimum value of Rp , which is
datasheet: short circuit, maximum power, and open circuit. the slope of the line segment between the short-circuit and the
Table I shows the experimental parameters of the array ob- maximum-power remarkable points. Although Rp is still un-
tained from the datasheeet and Table II shows the adjusted pa- known, it surely is greater than Rp,min and this is a good initial
rameters and model constants. guess.
7 2
800 W/m
I [A]
5
no
yes 4
400 W/m2
3
Ipv,n , eq. (10)
Ipv and Isc , eq. (3) 2
Rp , eq. (9) 1
Solve eq. (2) for 0 ≤ V ≤ Voc,n
Calculate P for 0 ≤ V ≤ Voc,n 0
0 5 10 15 20 25 30
Find Pmax
εP max = kPmax − Pmax,e k V [V]
Increment Rs
Fig. 12. I-V model curves and experimental data of the KC200GT
solar array at different irradiations, 25 ◦ C.
Fig. 10. Algorithm of the method used to adjust the I-V model.
5
3 75 °C
I [A]
4
2.5
3 2
2 1.5
1 1
0 0.5
0 5 10 15 20 25 30
0
V [V] 0 5 10 15 20
V [V]
Fig. 11. I-V model curves and experimental data of the KC200GT
2
solar array at different temperatures, 1000 W/m . Fig. 13. I-V model curves and experimental data of the MSX60
solar array at different temperatures, 1000 W/m2 .
I + V
Im Rp + -
V -
V
V I
Ipv Numerical solution of eq. (2)
V + Rs I
Ipv − I0 exp −1
Vt a I0
Fig. 16. Photovoltaic array model circuit with a controlled current
source and a computational block that solves the I-V equation.
Fig. 15. Photovoltaic array model circuit with a controlled current
source, equivalent resistors and the equation of the model current
(Im ).
(Im ) and two resistors (Rs and Rp ). This circuit can be im-
plemented with any circuit simulator. The value of the model
current Im is calculated by the computational block that has
V , I, I0 and Ipv as inputs. I0 is obtained from (4) or (6) and
Ivp is obtained from (3). This computational block may be
implemented with any circuit simulator able to evaluate math
functions.
Fig. 16 shows another circuit model composed of only one
current source. The value of the current is obtained by numer-
ically solving the I-V equation. For every value of V a corre-
sponding I that satisfies the I-V equation (2) is obtained. The
solution of (2) can be implemented with a numerical method
in any circuit simulator that accepts embedded programming.
This is the simulation strategy proposed in [42].
Other authors have proposed circuits for simulating photo-
voltaic arrays that are based on simplified equations and/or
require lots of computational effort [12, 26, 27, 43]. In [12]
a circuit-based photovoltaic model is composed of a current
source driven by an intricate and inaccurate equation where
the parallel resistance is neglected. In [26] an intricate PSpice-
based simulation was presented, where the I-V equation is
numerically solved within the PSpice software. Although in-
teresting, the approach found in [26] is excessively elaborated
and concerns the simplified photovoltaic model without the
series resistance. In [27] a simple circuit-based photovoltaic
model is proposed where the parallel resistance is neglected.
In [43] a circuit-based model was proposed based on the piece-
wise approximation of the I-V curve. Although interesting
and relatively simple, this method [43] does not provide a so-
lution to find the parameters of the I-V equation and the circuit
model requires many components.
Figs. 17 and 18 show the photovoltaic model circuits im-
plemented with MATLAB/SIMULINK (using the SymPow-
erSystems blockset) and PSIM using the simulation strategy Fig. 17. Photovoltaic circuit model built with
of Fig. 15. Both circuit models work perfectly and may be MATLAB/SIMULINK.
used in the simulation of power electronics converters for pho-
tovoltaic systems. Figs. 19 and 20 show the I-V curves of the experimental remarkable points of the I-V curve of the
the Solarex MSX60 solar panel [41] simulated with the MAT- practical array. The method obtains the parameters of the I-
LAB/SIMULINK and PSIM circuits. V equation by using the following nominal information from
V. CONCLUSION the array datasheet: open-circuit voltage, short-circuit current,
maximum output power, voltage and current at the maximum
This paper has analyzed the development of a method for power point, current/temperature and voltage/temperature co-
the mathematical modeling of photovoltaic arrays. The objec- efficients. This paper has proposed an effective and straight-
tive of the method is to fit the mathematical I-V equation to forward method to fit the mathematical I-V curve to the three
0
This paper provides the reader with all necessary informa-
0 5 10 15 20
tion to easily develop a single-diode photovoltaic array model
for analyzing and simulating a photovoltaic array. Programs
Fig. 19. I-V curves of the model simulated with
and ready-to-use circuit models are available for download at:
MATLAB/SIMULINK.
http://sites.google.com/site/mvillalva/pvmodel.
In the previous sections this paper has dealt with the model-
ing and simulation of photovoltaic arrays that are single panels
or modules composed of several interconnected basic photo-
voltaic cells. Large arrays composed of several panels may be
modeled in the same way, provided that the equivalent param-
eters (short-circuit current, open-circuit voltage) are properly
inserted in the modeling process. As a result, the equivalent
parameters (resistances, currents, etc) of the association are
obtained. Generally experimental data are available only for
commercial low-power modules and this is the reason why this
paper has chosen to deal with small arrays. The term array has
Fig. 20. I-V curves of the model simulated with PSIM. been used throughout this paper to mean small commercial
photovoltaic modules or panels. This appendix shows how to
...
...
Ipv Id Rp Nser V V I
Nser
V + Rs I
Npar Ipv
Ipv Npar − I0 Npar
exp
− 1
Vt aNser I0
I
(b)
Rs /Npar
Id Npar Fig. 22. Model circuit of array composed of Nser x Npar modules.
... ... Rp /Npar V
Ipv Npar
where Ipv , I0 , Rs , Rp , and Vt are parameters of individual
modules. Please notice that Ns (the number of elementary
series cells of the individual photovoltaic module) used in the
I preceding sections is different of Nser .
The photovoltaic array can be simulated with the modified
(c)
Rs Nser /Npar I-V equation (12). The simulation circuit presented previ-
ously must be modified according to the number of associated
modules. The Nser and Npar indexes must be inserted in the
...
...
...
...
REFERENCES
Fig. 21. (a) Array of Nser modules connected in series, (b) Array of [1] H. S. Rauschenbach. Solar cell array design handbook.
Npar modules connected in parallel, and (c) array composed of Nser
Van Nostrand Reinhold, 1980.
x Npar modules.
[2] J. A. Gow and C. D. Manning. Development of a photo-
voltaic array model for use in power-electronics simula-
model and simulate large arrays composed of several series or tion studies. Electric Power Applications, IEE Proceed-
parallel modules. Here, unlike in the rest of this paper, module ings, 146(2):193–200, 1999.
and array have distinct meanings. [3] J. A. Gow and C. D. Manning. Development of a model
Fig. 21a shows an array composed of several identic mod- for photovoltaic arrays suitable for use in simulation stud-
ules connected in series. The output voltage is increased pro- ies of solar energy conversion systems. In Proc. 6th Inter-
portionately to Nser and the currents remain unchanged. The national Conference on Power Electronics and Variable
equivalent series and parallel resistances are directly propor- Speed Drives, p. 69–74, 1996.
tional to the number of modules. [4] N. Pongratananukul and T. Kasparis. Tool for automated
Fig. 21b shows an array composed of several identic mod- simulation of solar arrays using general-purpose simula-
ules connected in parallel. The association provides increased tors. In Proc. IEEE Workshop on Computers in Power
output current and the output voltage is unchanged. The equiv- Electronics, p. 10–14, 2004.
alent series and parallel resistances are inversely proportional [5] S. Chowdhury, G. A. Taylor, S. P. Chowdhury, A. K.
to the number of parallel modules. Saha, and Y. H. Song. Modelling, simulation and per-
Fig. 21c shows a photovoltaic array composed of several formance analysis of a PV array in an embedded envi-
modules connected in series and parallel. In this case the ronment. In Proc. 42nd International Universities Power
equivalent resistances depend on the number of series and par- Engineering Conference, UPEC, p. 781–785, 2007.
allel connections. [6] J. Hyvarinen and J. Karila. New analysis method for
For any given array formed by Nser x Npar identic modules crystalline silicon cells. In Proc. 3rd World Conference
the following equivalent I-V equation is valid: on Photovoltaic Energy Conversion, v. 2, p. 1521–1524,
2003.
[7] Kensuke Nishioka, Nobuhiro Sakitani, Yukiharu Uraoka,
Nser and Takashi Fuyuki. Analysis of multicrystalline sil-
V + Rs I
Npar
I = Ipv Npar − I0 Npar
exp
− 1 −
icon solar cells by modified 3-diode equivalent circuit
Vt aNser model taking leakage current through periphery into con-
sideration. Solar Energy Materials and Solar Cells,
Nser 91(13):1222–1227, 2007.
V + Rs I
Npar [8] C. Carrero, J. Amador, and S. Arnaltes. A single proce-
−
Nser dure for helping PV designers to select silicon PV mod-
Rp
Npar ule and evaluate the loss resistances. Renewable Energy,
(12) 2007.