You are on page 1of 11

Journal of Energy and Power Engineering 6 (2012) 1965-1975 D DAVID PUBLISHING

A Matlab/Simulink-Based Photovoltaic Array Model


Employing SimPowerSystems Toolbox

Samer Said1, Ahmed Massoud1, Mohieddine Benammar1 and Shehab Ahmed2


1. Department of Electrical Engineering, Qatar University, Doha P.O. Box 2713, Qatar
2. Department of Electrical and Computer Engineering, Texas A&M University at Qatar, Doha P.O. Box 23874, Qatar

Received: February 27, 2012 / Accepted: April 18, 2012 / Published: December 31, 2012.

Abstract: The modeling of PV (photovoltaic) systems is very crucial for embedded power system applications and maximum power
point tracking. This paper presents a PV array model using Matlab/Simulink with the assistance of SimPowerSystem toolbox. The PV
cell is considered as the main building block for simulating and monitoring the PV array performance. The PV model has been
developed and used as Simulink subsystems where the effect of solar insolation and PV array temperature on commercial PV modules
have been studied throughout the simulated I-V and P-V output characteristics. The proposed model facilitates simulating the dynamic
performance of PV-based power systems. The effect of different partial shading patterns of PV arrays under different configurations
has been studied.

Key words: Modeling, PV, solar energy, Matlab, shading.

1. Introduction long-term benefits. PV cell is considered the


fundamental power conversion unit of a PV-based
Developing alternative energy resources with high
power system [1]. Solar insolation, temperature, and
efficiency and low emission has become of great
output voltage of PV are the essential factors that affect
importance with increasing concerns about fossil fuel
the output characteristics of a PV cell. Since the PV has
deficit, high oil prices, global warming, and damage to
a nonlinear current-voltage (I-V) characteristic, it is
environment and ecosystem. Abundance and
vital to model the PV unit for MPPT (maximum power
sustainability of solar radiant energy are important
point tracking) in PV-based power systems [1-5].
factors that characterize the energy through the PV
PV systems are considered an important type of
(photovoltaic) effect among the renewable energy
distributed power generation systems. Also, it could be
resources. Regardless of the intermittency of sunlight,
used as a standalone system. However, PV array
solar energy is widely available and completely free of
operation in this type of power systems suffers from the
cost [1-4]. Recently, PV array systems have been used
effect of complete or partial shading, which is usually
in several electric power applications. Despite of the
caused by clouds, trees, and near buildings. Under
high initial cost and low efficiency, PV system has
partially shaded conditions, the I-V characteristic of the
small operation and maintenance costs as it is a
PV array become complex with multiple peaks. These
stationary source of energy fabricated from
different peaks are generated due to the non-uniform
semiconductor material. Compared with the oil prices,
insolation levels that are received on a partially-shaded
the solar energy is a feasible energy supply with great
PV array surface. The PV array efficiency is decreased
Corresponding author: Ahmed Massoud, associate due to these non-uniform characteristics. As a
professor, research fields: power electronics, energy conversion,
renewable energy, and power quality. E-mail: consequence, the conventional MPPT algorithm fails
ahmed.massoud@qu.edu.qa.
1966 A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox

to differentiate between local and global peaks [1-3]. and simulation of photovoltaic arrays has been
Therefore, modeling of the PV has attracted the proposed where the main objective is to find the
attention of the researchers to facilitate modeling the parameters of the nonlinear I-V equation by adjusting
dynamic performance of the PV-based power systems. the curve at three points: open circuit, maximum power,
In Ref. [1], a generalized PV model has been and short circuit. In Ref. [13], the operation and
developed with Matlab/Simulink and validated with a modeling of stand-alone power systems with PV power
PV cell and a commercial module. This model has also generators has been studied. In Ref. [14], a hybrid
been designed in the form of Simulink block libraries. simulation model of PV cell/module and system using
However, the partial shading has not been considered. Matlab/Simulink and PSPICE has been presented. In
In Ref. [2], a Matlab-based modeling and simulation Ref. [15], a technique to model PV characteristics
scheme suitable for studying the I-V and P-V under various environmental circumstances including
characteristics of a PV array under a nonuniform non-shaded and partially shaded conditions has been
insolation due to partial shading has been studied. In proposed. The technique has been developed based on
Ref. [3], a Matlab Simulink simulator for PV systems experimental study. It provides a versatile model using
has been proposed where a two-diode model has been PSCAD (power system computer aided design) which
used to represent a PV cell. In Ref. [4], a simulation can represent any form of PV array with any
program of a single phase grid connected PV system configuration of bypass diodes.
using Matlab/Simulink and SimPowerSystem toolbox The objective of this paper is to establish a PV model
has been developed. In Ref. [6], PV systems have been to be used as a subsystem block in power system
modeled for maximum power tracking for the simulation. In addition, the effects of different factors
operation of grid connected photovoltaic power (insolation, temperature, rating, etc.) on the PV
systems. In Ref. [7], analytical expressions are derived performance are encountered. Moreover, a 120 W
for the rapid extraction of solar cell single diode model polycrystalline PV panel output characteristics have
parameters from experimental data. In Ref. [8], PV been simulated and analyzed considering the effect of
array has been modeled to investigate the maximum operating temperature and solar insolation on the
power tracking algorithms which were often used to maximum power point. In addition, a Simulink model
compare the tracking efficiencies for the system has been developed to study the effect of partial
operating under different controls. In Ref. [9], a V2 shading patterns on the PV array with different series
based MPP (maximum power point) tracking scheme is and parallel configurations.
developed using a SEPIC (single-ended primary
1.1 PV Hierarchy
inductance converter) topology. Mathematical models
are formulated and a tracking algorithm then is 1.1.1 PV Cell
developed with a combined photovoltaic-system As shown in Fig. 1, PV cell is basically a
simulation model using Simulink. In Ref. [10], the semiconductor p-n junction-based photodiode. This
development of a general model which can be semiconductor photodiode generates electrical power
implemented on simulation platforms such as PSPICE when exposed to light [2-4]. PV cells can be made up
(personal computer simulation program with integrated of various semiconductor materials. But
circuit emphasis) or SABER has been presented. In mono-crystalline silicon and poly-crystalline silicon
Ref. [11], a variable-structure observer for solar-array are the most common types known commercially [2-4].
current estimation in a photovoltaic power generation 1.1.2 PV Module
system is presented. In Ref. [12], a method of modeling The power produced by a single PV cell is not
A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox 1967

Sun incident increased voltage or in parallel to get an increased


light
Metallic Grid
current [2-4]. Connecting several modules in series gives
a string where several strings in parallel is an array.
Metallic Base
n-type
Semiconductor layer 1.2 PV Cell Operation
p-type
Semiconductor layer
Fig. 1 Basic PV cell structure. As shown in Fig. 3, the principle of operation of a
PV cell is based on the basic principle of photoelectric
Cell effect. Photoelectric effect can be defined as a
phenomenon in which an electron gets ejected from the
conduction band as a consequence of the absorption of
sunlight of a certain wavelength by a material either
Module metallic, non-metallic, solids, liquids or gases [3]. So,
in a PV cell, when sunlight strikes its surface, some
portion of the solar energy is absorbed in the
semiconductor material. If the absorbed energy is
greater than the band gap energy of the semiconductor,
Array the electron from the valence band jumps to the
conduction band. By this, pairs of hole-electron are
created in the illuminated region of the semiconductor.
Fig. 2 PV hierarchy. The electrons thus created in the conduction band are
now free to move. These free electrons are forced to
enough for general use. Therefore, by connecting PV
move in a particular direction by the action of the
cells in series, higher voltage can be obtained and in
electric field presented in the PV cells. These flowing
parallel higher current can be obtained consequently
electrons constitute current and can be drawn for
higher power. Generally, a combined series and
external use by connecting a metal plate on top and
parallel connection of PV cells is known as a module.
bottom of PV cells. Current and voltage (created
Mostly, commercial modules consist of 36 or 72 cells.
because of its built-in electric field) generate electric
The modules consist of transparent front side,
power [2-4]. The remainder of this paper is organized
encapsulated PV cells, and back side. The front side
as follows: The PV models are addressed in Section 2;
material is usually made up of low-iron and tempered
The Matlab/Simulink models and the I-V and P-V
glass. The efficiency of a PV module is less than a PV
characteristics of commercial PV array are discussed
cell due to the fact that some solar irradiation is
considering the effect of shading in Section 3; Finally,
reflected by the glass cover and frame shadowing [2-4].
brief conclusions are drawn in Section 4.
1.1.3 PV Array
As shown in Fig. 2, a PV array (system) is an Sun incident
light
interconnection of modules which in turn is made up of Metallic Grid
many PV cells connected in series and parallel. The
power produced by a single module is seldom enough Electrons
Metallic Base
for commercial use, so modules are connected to form n-type
Semiconductor
layer
an array to supply the load. The connection of modules p-type Holes
Semiconductor
in an array is the same as that of cells in a module. layer

Modules can also be connected in series to get an Fig. 3 Operation of PV cell.


1968 A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox

2. PV Models
2.1 PV Cell Model

2.1.1 General Model


A general mathematical description of the I-V output
characteristic of a PV cell has been studied in Refs. Fig. 4 The equivalent circuit of a PV cell.
[5-7]. This equivalent circuit-based model is mainly
Table 1 Factor A dependent on PV technology [8].
used for monitoring and assessing the PV performance
Technology A
and exploring different PV MPPT techniques. As
Si-mono 1.2
shown in Fig. 4, the equivalent circuit of the general Si-poly 1.3
model is composed of photo current source, diode, A-Si:H 1.8
parallel resistor expressing the leakage current, and A-Si:H tandem 3.3
series resistor describing the internal resistance to the A-Si:H triple 5
CdTe 1.5
current flow. The I-V characteristic equation of a PV
CIS 1.5
cell is given as: AsGa 1.3
exp 1 (1)
where VOC is the PV open-circuit voltage at the
where IPH is a light-generated current or photocurrent,
reference temperature.
IS is the cell saturation of dark current, q (= 1.6 × 10-19
2.1.2 Double Exponential Model
C) is the electron charge, k (= 1.38 × 10-23 J/K) is
The double exponential model is another more
Boltzmann constant, T is the cell working temperature,
accurate model that describes the PV cell [9]. It is
A is the ideal factor, RSH is the shunt resistance, and RS
derived from the physical behavior of PV cell
is the series resistance. The photocurrent mainly
constructed from polycrystalline silicon [9]. This
depends on the solar insolation and cell working
model consists of a light-generated current source, two
temperature, which is given as:
diodes, a series resistance and a parallel resistance.
(2)
However, because implicit and nonlinear nature of the
where ISC is the cell short-circuit current at a 25 °C and
model is difficult to develop expressions for the I-V
1 kW/m2, KI is the cell short-circuit current
curve parameters, therefore, this model is not widely
temperature coefficient, Tr is the cell reference
temperature, and λ is the solar insolation in kW/m2. On used in literature and is not taken into consideration for
the other hand, the cell saturation current varies with the generalized PV model.
the cell temperature, which is described as: 2.1.3 Approximate Model
The approximate model of a PV cell with suitable
exp (3) complexity [8] can be derived from Eq. (1) via neglecting
where IRS is the cell reverse saturation current at a the effect of the shunt resistance and be rewritten as:
reference temperature and a solar radiation, EG is the exp 1 (5)
band-gap energy of the semiconductor used in the cell. 2.1.4 Simplified Model
The ideal factor A is dependent on PV technology [8] For an ideal PV cell (no series loss and no leakage to
and is listed in Table 1. ground, i.e., RS = 0 and RSH = ∞, respectively). The
The reverse saturation current at reference equivalent circuit of PV cell can be further simplified
temperature can be approximately obtained as: [5, 6, 10, 16], where Eq. (1) can be rewritten as:
(4) exp 1 (6)
A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox 1969

2.2 PV Module and Array Model NS


NP
Since a PV cell produces very low power, the cells
should be arranged in series-parallel configuration on a
module to produce enough power. As mentioned NS NP NS
NP
earlier, PV array is a group of PV modules which are
connected in series and parallel circuit configurations
to generate the required current and voltage. The
(a) Generalized array model
equivalent circuit for a PV module arranged in NP NS
parallel and NS series cells is shown in Fig. 5a. The NP
terminal equation for the current and voltage of the
array becomes as follows [11, 12, 17]:
NS NP
exp 1 (7)

An approximate equivalent circuit for PV cell, module,


and array can be generalized and expressed in Fig. 5b.
(b) Approximate array model
Therefore, the current can be expressed as:

exp 1 (8)
NS NP
where NS = NP = 1 for a PV cell, NS and NP are the
series-parallel number for a PV array. The simplified
model [6, 10] of a generalized PV array is illustrated in
Fig. 5c. The equivalent circuit is described as: (c) Simplified array model
Fig. 5 Equivalent circuit models of generalized PV array.
exp 1 (9)
3.1.1 Physical Modeling
3. Simulation and Results
As shown in Fig. 6, using Simulink
In this paper, the simplified PV module and array SimPowerSystems toolbox, the simplified model of the
models have been used to for the PV modeling using PV cell has been simulated using a controlled current
Matlab/Simulink. The main reason for choosing this source to illustrate the light generated current or
model is that the other two models experience algebraic photocurrent, diode, and output ports. The controlled
loop problem in Matlab/Simulink simulation, as the current source is controlled using Eq. (2), where the
output current is required to be an input to the inputs to this equation are the cell operating
equations of output current in these models. Iterations temperature in Kelvin and the solar insolation in
may be needed for solving this problem which in many kW/m2.
cases end up with simulation break. As shown in Figs. 7 and 8, the above PV cell model
has been used as sub-system and then was masked as a
3.1 Simulation Using Matlab/Simulink
Simulink block PV custom icon to facilitate the
The simplified PV module model has been simulated integration of the PV module model in any application.
using two methods, the mathematical modeling and the Also the user can input the PV module block
physical modeling. These models are used for parameters according to the datasheet of desired PV
monitoring and assessing the nonlinear I-V and P-V module (panel) and then illustrate and verify the
output characteristics of the PV module/array. nonlinear I-V and P-V output characteristics.
1970 A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox

+
1

+
Iph

-
ki

KI -
1 2 Fig. 9 Simulink mathematical modeling of the simplified
T
Isc PV cell model.
Tr
Isc
Tr
The mathematical PV cell model that is illustrated in
2
Insolation
Fig. 9 has been used as a sub-system to be integrated
Fig. 6 Simulink modeling of the simplified PV cell model. into other system simulation and provide an easy way
to input the parameters of the PV module. The I-V and
1 Insolation + + i
- XY Graph
P-V output characteristics are shown in Figs. 10 and 11.
Insolation KW/m2
The mathematical model has more advantages than the
+

PV +
- v
physical model, because additional parameters as
s
-

25+273.15 Op. Temp -

Temp (K)
quality factor and semi-conductor band gap energy can
PV be varied/controlled. Moreover, parallel and series PV
Ramp

cells combinations can be formed without the need for


Fig. 7 Simulink model of a physically-modeled PV module. repeating the block diagrams. On the other hand and in
order to make a parallel combination in the physical
model, the block of the PV cell has to be duplicated,
which add more complexity to the model.
3.1.3 Interfacing Mathematical Model with Power
System Toolbox
Since Simulink has a powerful toolbox for modeling
the power systems and power electronics components,
it is important to illustrate how to interface the
mathematical PV model with the power system
toolbox.
As shown in Figs. 12 and 13, the PV model output
current has been fed to a DC controlled current source
and the output voltage has been measured then fed back
into the voltage input of the PV panel. This circuit has
Fig. 8 PV module masked physical model block parameters.
been transformed into a subsystem that is masked with
3.1.2 Mathematical Modeling a PV array icon so it can be easily implemented with
As shown in Fig. 9, using Simulink math operations any power system toolbox simulation. As observed in
toolbox and SimPowerSystems toolbox, the simplified Fig. 13, it has been connected to a variable voltage
model of the PV cell has been simulated using math source to observe the I-V and P-V output characteristics
function block for the equations of the PV simplified of the modeled PV module.
model. The inputs and the parameters are the same as in 3.1.4 PV Array Model under the Effect of Shading
the physical model with additional parameters such as, In order to study the effect of shading on the PV
the quality factor, semi-conductor band-gap energy, array, it is important to know the shading pattern along
and number of cells in parallel. with the PV arrays series and parallel configurations.
A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox 1971

+
1 Insolation in KW/m2
1
XY Graph

+
Insolation KW/m2
1 Insolation in KW/m2
25+273.15 T I Insolation

s
-
Temp (K) Scope
Product 2 T I

Vout I T

Ramp Vout v +
-
PV V
-
P
PV 2

Fig. 10 Simulink model of a mathematically-modeled PV Fig. 12 Interfacing the mathematical PV module model to
module. physical ports.

1 Insolation + + -i XY Graph

Insolation KW/m2

+
PV + v
-

s
-
I
25+273.15 Op. Temp -
V
Temp (K)

PV P
Ramp

Fig. 13 Simulink simulation to illustrate the P-V and I-V


PV module output characteristics.

To study the effect of shading, a group of PV modules


are modeled using a subsystem that includes the effect
of by pass diode as shown in Fig. 14. This group of PV
module has specific series and parallel configuration
which could be specified in the group parameter input
dialog as shown in Fig. 15. A set of PV module groups
are connected together in order to simulate the effect of
shading on a PV array. Each module group can have
different insolation level and temperature. Also the
effect of by-pass diodes can be toggled for each group
separately. For example, assume different insolation
levels (partial shading) 1 kW/m2 and 0.1 kW/m2 at the
same temperature (25 ºC) for a set of PV array module
groups as shown in Table 2 and Fig. 16. As shown in
Fig. 16, the un-shaded modules are colored in orange
and shaded modules are colored in blue. Also it is
observed form Table 2 and Fig. 16 that some groups are
supplements to each other. For example, G1-A and
G1-B are on the same series PV module lines, thus they
have the same number of parallel modules in the same
group. As shown in Fig. 17, Simulink model has been
developed to simulate this shaded PV array. PV
module group subsystem blocks have been used to
Fig. 11 PV module masked mathematical model block
simulate the different groups of PV modules with
parameters. different insolation levels. These groups are connected
1972 A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox

+ C o ntinuo us
Ide a l Switch
1 nubbe r, R o n, +
po we rgui 1

+
1 Insolation in KW/m2 1 [A] [A] Insolation + [A] Insolation +

Insolation Gain Insolation KW/m2 PV PV

-
25+273.15 [B] [B] Op. Temp - [B] Op. Temp -
2 T I P
Temp [A] Insolation +
T PV Group 1A PV Group 2A
PV

v +
Vout - [B] Op. Temp -
- 0.1 [C] [C] Insolation + [C] Insolation +
2
PV Group 3
PV Insolation KW/m1 PV PV

25+273.15 [D] [D] Op. Temp - [D] Op. Temp -


Temp1
1/S PV Group 1B PV Group 2B -
2

Gain1
Fig. 17 Simulink model of PV array with different
Fig. 14 Simulink model of PV module group (assembly) shading patterns.
with by-pass diode.
Table 3 Solarex MSX 60 PV module specifications at 1
kw/m2, 25 ºC.
Characteristics Specification
Typical peak power (Pp) 60 W
Voltage at peak power (Vpp) 17.1 V
Current at peak power (Ipp) 3.5 A
Short-circuit current (ISC) 3.8 A
Open-circuit voltage (Voc) 21.1 V
Temperature coefficient of open-circuit voltage -73 mV/ºC
Temperature coefficient of short-circuit current (ki) 3 mA/ºC
Fig. 15 Simulink PV module group (assembly) block Approximate effect of temperature on power -0.38 W/ºC
parameters. Number of series cells in the array 36

Table 2 PV array shading pattern example at 25 ºC. together in order to simulate a PV array. This in turn
Number of series Number of parallel can be used as a subsystem in order to be
Insolation level
Group modules in each modules in each
in kW/m2(λ) connected/interfaced with other SimPowerSystems
group (S) group (P)
G1-A 4 40 1 (un-shaded) Simulink toolbox components.
G1-B 6 40 0.1 (shaded)
3.2 Results and Discussion
G2-A 7 38 1 (un-shaded)
G2-B 3 38 0.1 (shaded) Using the Simulink models of PV array mentioned in
G3 10 22 1 (un-shaded)
the previous section, the Solarex MSK 60 PV module
(parameters are listed in Table 3) output I-V and P-V
characteristics are simulated using Simulink. In this
section, the I-V and P-V characteristics are studied first
with varying the operating temperature at constant
isolation level then varying the solar insolation level at
constant temperature level. The effect of shading, array
configuration, varying insolation levels, and different
shading patterns on the characteristics of the PV array
are studied and analyzed.
3.2.1 I-V and P-V Characteristics with Varying
Operating Temperature
As shown in Fig. 18, it is observed that with the
increase of the operating temperature, the short-circuit
current of the PV module increases. However, the
Fig. 16 Shaded PV array illustration of Table 2. maximum power output decreases.
A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox 1973

1 kW/m 2
10 °C
0.9 kW/m 2
15 °C
20 °C 0.8 kW/m 2

25 °C 80 0.7 kW/m 2
80 30 °C 0.6 kW/m 2
35 °C 60
0.5 kW/m 2
60 40 °C

Power (W)
0.4 kW/m 2
40
Power (W)

45 °C
0.3 kW/m 2
40 50 °C
20 0.2 kW/m 2
55 °C
20 60 °C 0.1 kW/m 2
0
4
0 3 25
4 20
2 15
3 25 10
20 1
2 5
15 0 0
10 Current (A) Voltage (V)
1
5
0
Current (A) 0
Voltage (V) Fig. 19 P-V-I output characteristics with different values of
Fig. 18 P-V-I output characteristics with different values of solar insolation (λ) at constant temperature level of 25 ºC
operating temperature (T) at constant insolation level of 1 400
kW/m2.
350

3.2.2 I-V and P-V Characteristics with Varying Solar 300


Insolation Level
250
As shown in Fig. 19, it is observed that with the
Current (A)

200
increase of the solar insolation, the short-circuit current
of the PV module increases and the maximum power 150

output increase. 100

3.2.3 I-V and P-V Characteristics Including the


50
Shading Effect
0
In this part, Solerx MSK 60 PV module is used to 0 50 100 150 200 250
Voltage (V)
study the effect of partial and complete shading on PV Fig. 20 I-V characteristics of partially shaded PV array
array (interconnected several PV modules) P-V and I-V simulated in case study 1.
characteristics. Also, the effects of different shading 35

patterns and configurations on the PV array


30
characteristics are investigated. This section will be
25
divided into two case studies.
Case study 1: Effect of partial shading on PV array
Power (kW)

20

In order to simulate the effect of partial shading on a 15

PV array, Simulink model of partially shaded PV array


10
that is developed in Section 3.1 is used to simulate a
partially shaded PV array (composed of Solex MSK 60 5

PV modules) with by pass diode at a constant 0


0 50 100 150 200 250
temperature. The shading pattern configuration of the Voltage (V)

simulated PV array is shown in Table 2 and Fig. 16. Fig. 21 P-V characteristics of partially shaded PV array
simulated in case study 1.
Each module of this simulated PV array has a
by-pass diode that passes the current across the shaded observed that the I-V characteristics of the PV array
modules (shaded modules limit the flow of current have multiple steps with non-uniform I-V characteristic.
across them). The I-V and P-V characteristics of the Also, the P-V characteristic has multiple peaks (global
simulated PV array are shown in Figs. 20 and 21, it is maximum and local maxima points) due to the effect of
1974 A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox

500
partial shading of the PV array. This happens as the 1 kW/m 2
450 (Unshaded)
current is the same across the series PV modules (string) 400

in the PV array having different insolation (some are 350


1 kW/m 2 & 0.1 kW/m 2
shaded and others are not), but the voltage across them 300 (Shaded)

Current (A)
is different. 250

200
Case study 2: Comparison between unshaded and
150
shaded PV array characteristics
100
The presence of by-pass diodes in a PV array will 50

greatly affect the characteristics of a shaded PV array. 0


0 50 100 150 200 250
Voltage (V)
In order to compare PV array characteristics under
Fig. 22 I-V characteristics of partially shaded PV array
unshaded and shaded conditions, the same Simulink
simulated in case study 2.
model and PV array discussed in simulation 1 are used.
70
The I-V and P-V characteristics of the PV array will be
60 1 kW/m 2
studied under two situations: (1) under uniform (Unshaded)

insolation (all modules receive the same insolation 50

level of 1 kW/m2); (2) under partially shaded condition Power (kW) 40 1 kW/m 2 & 0.1 kW/m 2
(Shaded)
(same conditions used in simulation 1 which are 30

insolation levels of 1 kW/m2 and 0.1 kW/m2).


20
I-V and P-V characteristics of the two cases are
10
shown in Figs. 22 and 23. It is observed that under
uniform insolation (1 kW/ m2) of the PV modules with 0
0 50 100 150 200 250
Voltage (V)
by-pass diode conducted the highest PV output power, Fig. 23 P-V characteristics of partially shaded PV array
while in the case of partially shaded PV array with simulated in case study 2.
by-pass diodes it resulted in several peaks of the PV Table 4 PV array different configurations at 25 ºC for
array output power. The presence of multiple peaks in simulation.
PV array characteristics under shaded conditions No Array
G1-A G1-B G2-A G2-B G3
. configuration
decreases the efficiency of conventional MPPT since it
S P S P S P S P S P
fails to differentiate between global and local peaks of 1 26 3 4 3 24 5 6 5 30 2 30 × 10
PV array output power. 2 21 3 4 3 19 5 6 5 25 4 25 × 12
In this simulation, the effect of different PV module 3 16 3 4 3 14 5 6 5 20 7 20 × 15
configurations of a partially shaded PV array is 4 11 3 4 3 9 5 6 5 15 12 15 × 20
5 8 3 4 3 6 5 6 5 12 17 12 × 25
explored. Simulated module configurations are shown
6 6 3 4 3 4 5 6 5 10 22 10 × 30
in Table 4, where G1-A, G2-A and G3 are shaded S: Series number of modules in a certain group; P: Parallel
groups of PV modules (insolation level of 1 kW/m2), number of modules in a certain group; G1-A, G2-A and G3 are
G1-B, G2-B are shaded groups of modules (insolation unshaded groups of modules (insolation level of 1 KW/m2);
G1-B, G2-B are shaded groups of modules (insolation level of
level of 0.5 kW/m2). The P-V characteristics of
0.5 KW/m2).
different array configurations of Table 4 are shown in
Fig. 23. and arrays has been developed and verified with a
commercial PV array. The developed model inputs are
4. Conclusions solar insolation and PV array operating temperature,
A Matlab/Simulink-based photovoltaic array model and the outputs are the I-V and P-V characteristics at
employing SimPowerSystems toolbox for cells, modules, different values of operating temperature or solar
A Matlab/Simulink-Based Photovoltaic Array Model Employing SimPowerSystems Toolbox 1975

insolation. Both models have been built as a [8] C.C. Hua, C.M. Shen, Study of maximum power tracking
techniques and control of dc-dc converters for
sub-system with masked icon and parameters input
photovoltaic power system, in: Proceedings of 29th
fields that facilitate the customizing of the PV array Annual IEEE Power Electronics Specialists Conf.,
model. Also it can be used with SimPowerSystems Fukuoka, 1998, pp. 86-93.
toolbox to model PV power system. Finally, P-V and [9] M. Veerachary, K.S. Shinoy, V2-based power tracking for
nonlinear PV sources, IEE Proceedings-Electric Power
I-V characteristics have been studied at different
Applications 152 (2005) 1263-1270.
operating temperatures and solar insolation levels. [10] J.A. Gow, C.D. Manning, Development of a photovoltaic
array model for use in power-electronics simulation
Acknowledgments studies, IEE Proceedings-Electric Power Applications 146
This publication was made possible by the support of (1999) 193-199.
[11] I.S. Kim, M.J. Youn, Variable-structure observer for solar
an internal grant QU_QUUG-ENG-DCE-1011-16
array current estimation in a photovoltaic
from Qatar University. power-generation system, IEEE Proceedings-Electric
Power Applications 152 (2005) 953-959.
References [12] M.G. Villalva, J.R. Gazoli, E.R. Filho, Comprehensive
[1] H.L. Tsai, C.S. Tu, Y.J. Su, Development of generalized approach to modeling and simulation of photovoltaic
photovoltaic model using MATLAB/SIMULINK, in: arrays, IEEE Transaction on Power Electronics 24 (2009)
Proceedings of the World Congress on Engineering and 1198-1204.
Computer Science, San Francisco, USA, 2008. [13] J.T. Bialasiewicz, Renewable energy systems with
[2] H. Patel, V. Agarwal, MATLAB-based modeling to study photovoltaic power generators: Operation and modeling,
the effects of partial shading on PV array characteristics, IEEE Transactions on Industrial Electronics 55 (2008)
IEEE Transactions on Energy Conversion 23 (2008) 2752-2758.
302-310. [14] Y. Jiang, J.A.A. Qahouq, M. Orabi, Matlab/Pspice hybrid
[3] K. Ishaque, Z. Salam, H. Taheri, Accurate MATLAB simulation modeling of solar PV cell/module, in: 26th
simulink PV system simulator based on a two-diode model, Annual IEEE Applied Power Electronics Conference and
Journal of Power Electronics 11 (2011) 179-187. Exposition (APEC), Fort Worth, TX, 2011, pp.
[4] A.A. Hassan, F.H. Fahmy, A.A. Nafeh, M.A. El-Sayed, 1244-1250.
Modeling and simulation of a single phase grid connected [15] S. Moballegh, J. Jiang, Partial shading modeling of
photovoltaic system, WSEAS Transactions on Systems photovoltaic system with experimental validations, in:
and Control 5 (2010) 16-25. 2011 IEEE Power and Energy Society General Meeting,
[5] S.W. Angrist, Direct Energy Conversion, Vol. 4, Allyn San Diego, CA, 2011, pp. 1-9.
and Bacon Inc., Boston, 1982, pp. 177-227. [16] R. Messenger, J. Ventre, Photovoltaic Systems
[6] O. Wasynczuk, Dynamic behavior of a class of Engineering, CRC Press, Boca Raton, Fla, USA, 2000, pp.
photovoltaic power systems, IEEE Transactions on Power 41-51.
Apparatus and Systems 102 (1983) 3031-3037. [17] M. Veerachary, T. Senjyu, K. Uezato, Voltage-based
[7] J.C.H. Phang, D.S.H. Chan, J.R. Philips, Accurate maximum power point tracking control of PV system,
analytical method for the extraction of solar cell model IEEE Transactions on Aerospace and Electronic Systems
parameters, Electronics Letters 20 (1984) 406-408. 38 (2002) 262-270.

You might also like