You are on page 1of 6

Dynamic Modeling of Partial Shading on

Photovoltaic Arrays

Yang Haoyuan, Yan Shuo, Siew-Chong Tan, S.Y.R. Hui


Department of Electrical & Electronic Engineering
The University of Hong Kong
Hong Kong
Email: hyyang@hku.hk

Abstract—Static partial shading on large photovoltaic arrays behavior under a moving idealized shadow by setting the
has already been modeled by many researchers over the last two equivalent current source to be time-dependent. It showed that
decades. However, little research has been devoted to dynamic the maximum output power was associated with the choice
partial shading that is more realistic in practice. This project of bypass configuration and moving direction of the shadow.
investigates an efficient MATLAB-based model that incorporates However, it has not taken into account non-idealized shading
the dynamic characteristics of a photovoltaic (PV) module under a
conditions with random shape and arbitrary moving trajectory,
non-ideal moving shadow which has different degrees of shading.
It is found that shadows with the same shape and transmittance which happens commonly in practice.
configuration but different moving characteristics (such as initial This paper introduces a MATLAB-based dynamic model to
point, speed and path) could transform the power-voltage curve
simulate the dynamic characteristics of a PV module shaded by
of a PV array in different ways. This dynamic model can be
used as a common platform to evaluate the effectiveness of any non-ideal moving shadow, with such shadow being of any
the different MPP tracking algorithms and controllers under irregular shape and following any arbitrary movement. Based
dynamically moving shadow conditions. Experimental results on this dynamic shading model, the P-V characteristics of a
have been obtained to validate the model. PV module under any dynamically moving shading pattern can
be generated as a 3-dimensional surface with time. Therefore,
the same dynamically changing multiple maximum power
I. I NTRODUCTION
points P-V profile can be used as a common platform for
Renewable energy sources, e.g. photovoltaic (PV) energy, testing different MPPT algorithms and controllers. A full set of
have been brought to spotlight due to the increasing demand experimental results have been obtained to validate the model.
for low-cost and environmental-friendly energy. Nowadays,
though suffering from relatively high price, PV panels are II. M ODEL OF PV A RRAY W ITH B YPASS D IODES
widely installed in various sites from urban architecture to
desert landscape. However, partial shading, ascribed to low- The single-diode model of a PV cell without bypass diode
transmittance cloud or shadow of the building, deteriorates the is composed of a photo-generated current source Iph , a diode
output power of the PV module dramatically. Bypass diodes Dcell , a shunt resistance component Rsh and a series resistance
are introduced to: (a) improve the energy harvest performance component Rs , as shown in Fig. 1.
of the PV modules, (b) protect solar cell from breakdown
issues [1]. Thus, it is imperative to have insight into the
prediction of P-V and I-V characteristics of the PV modules
under partial shading conditions with the incorporation of
bypass diodes.
The effects of partial shading on PV modules have already
been modeled and investigated by several researchers. Hiren
Patel and Vivek Agarwal have proposed a MATLAB-based
model to simulate the P-V and I-V characteristics of a PV
array under partial shading conditions. It has been found Fig. 1. Equivalent circuit of a PV cell using single-diode model
that the global maximum power point is related to the PV
array configuration and shading pattern [2]. PVsyst-a useful The governing equation of the relationship between the
educative software-was used to study the effects of partial output current i and voltage v is:
shading on PV system and it was concluded that the effects
were dependent on the size of the PV array [3]. Other popular v+iRs v + iRs
spice-based software, such as Pspice [4] and LTspice [5] was i = Iph − Io (e ns Vt − 1) − (1)
Rsh
adopted to establish circuit model incorporating partial shading
effects. Past papers focus exclusively on static shading pattern where Vt represents the junction thermal voltage that is deter-
and there are few papers analyzing the effects of dynamic mined by equation (2), Io stands for the dark saturation current
shading pattern. In [5], Guo Siyu et al. modelled the module while ns is the number of cells in series.

978-1-4673-7151-3/15/$31.00 ©2015 IEEE 6616


12

10

Output current (A)


6

0
0 20 40 60 80 100 120 140
Output voltage (V)
(a) I-V characteristics
Fig. 2. Conduction state transformation of 3 bypass diodes

800

AkT 700
Vt = (2)
q Output power (W)
600

In (2), A is the diode quality factor, k is Boltzmann’s 500


constant, q is the charge of the electron, and T is the cell
working temperature. 400

The model of a PV cell with bypass diode is simply derived 300


by adding a parallel diode Dbypass to the output port of a
cell. The diode Dbypass is forward-biased with negative output 200
voltage v, which occurs when a series-connected PV module is
partially shaded, as shown in Fig. 2. As the output voltage v in- 100
creases gradually, the conducting states of Dbypass1 , Dbypass2
and Dbypass3 changes accordingly. Fig. 2 presents the whole 0
transformation process using different combination of colors, 0 20 40 60 80 100 120 140
green for forward-biased and red for reversed-biased. It can Output voltage (V)
be seen that the bypass diodes turn off orderly in descending (b) P-V characteristic
sequence of irradiation levels.
Fig. 3. Output characteristics of a 3 × 3 PV array under T1 & G1

III. S IMULATION P ROCEDURE


STC1 ). The model is a function with n, m, T and G as inputs,
The process of establishing the model is divided into three and power of the array, current of the array and voltage of the
parts, namely static PV partial shading model, shading model, array as outputs. Fig. 3 shows the simulation result of a 3 × 3
and output model. Detailed illustration of each part is as PV array under condition specified by temperature matrix T1
follows. and irradiation matrix G1.
   
A. Static PV Partial Shading Model 25 25 25 0.5 0.5 1
T1 = 25 25 25 , G1 = 0.5 1 1
Static PV partial shading model is designed to present the 25 25 25 1 1 1
P-V (or I-V) curve in the response to different fixed climatic
conditions, e.g. irradiation, temperature and etc. To achieve Compared to the static PV partial model proposed in [2],
this, the whole PV panel array is divided into n subassemblies this model has the following prominent advantages:
each of which is composed of m square panels, i.e. an n ×
m array. The climatic conditions are defined by two n × m 1 The standard testing conditions (STC) to measure the electrical properties
matrices T and G, in which the T accounts for temperature of PV cells or modules. The irradiation level is 1000W/m2 , with the cell
and the G for relative irradiation (compare to the irradiation at working temperature of 25◦ C.

6617
800

700

600
Output power (W)

500

400

300

Proposed refined model


200 Model with Rsh
Model in [2]
100 Model with V D Fig. 5. Unit shading moving toward a 3 × 3 PV array

0
0 20 40 60 80 100 120 140 C. Output Model
Output voltage (V)
The basic concept of the static PV partial shading model
Fig. 4. Comparison result between refined model and model in [2] and shading model proposed can now be incorporated to
analyze the dynamic characteristics of a PV array under a
moving shadow in the time domain. The dynamic shading
1) It takes into account the shunt resistance, which was model is capable of presenting the P-V curves under different
omitted in [2]. From Fig. 4, the shunt resistance not irradiation conditions, a 3D diagram of which the x-axis is
only decreases the magnitude of multiple MPPs (due time t, y-axis is output voltage V , and z-axis is output power
to the power loss dissipated in Rsh ), but introduces P.
lag effect to the correspondent output voltage of each
MPP. IV. S IMULATION R ESULT AND A NALYSIS
2) Forward voltage drop of the bypass diode VD is con-
sidered in this model. It can be concluded from Fig. To justify the model for an irregular shadow, an 8 × 6
4 that the magnitude of MPPs are slightly diminished PV array presented in Fig. 6 is set up as an example. Dots
by the drop. of different colors in Fig. 6 represent different movement
3) This model introduces stochastic parameters, e.g. trajectories. The green dots and the red dots represent two
temperature coefficient of short current, to the anal- different paths. They are numbered to show the sequence of
ysis of the static characteristics of a PV array. movements. It can be seen from Fig. 7 that shadows with same
4) The curves are much more smooth and accurate as a shape and transmittance configuration but different moving
result of increased curve points. characteristics (such as initial point, speed and path) result
in different P-V curves of a PV array.
The time span of shading movements for the path indicated
B. Shading Model by the red dots is 15 seconds and that for the green dots is 10
To acquire the dynamic characteristics of a PV array, it seconds. Assuming maximum power point tracking (MPPT)
is essential to create a model that considers the movement of is adopted, the total energy harvested under the 3 conditions
the shading by generating a series of matrices describing the of dynamic partial shading (path represented by red dots and
speed, direction and shape of the shading. green dots) and no shading (reference) are calculated and
presented in Table I. The dynamic partial shading along the
To begin with, a simple case is illustrated with just one red-dot path exhibits the lowest harvested energy as a result
unit of shaded area (shadow) moving from the southwest side of both prolonged exposure to shading and deep penetrated
of a 3 × 3 PV array as shown in Fig. 5. If the coordinate depth. The PV curves of green-dot path are slightly changed
axes are established by choosing the lower left PV cell as in that nearly 1/3 of the shading hardly ever influence the
the original point, the top right point of the unit shadow will PV array during the movement. In addition to these stark
become the effective point (red dot). Due to the movement of differences, there is some similar pattern existed. For the red-
the shadow, the coordinate of the effective point is a function dot path, the PV curves are identical when t=6s and t=7s, as
of time t. Thus, the relative dynamic coordinate vectors are highlighted in the two black lines in Fig. 7(a). The reason
calculated by adding the two time-varying vectors xt and behind this is that the shading locates totally inside the PV
yt , which are used to describe the direction and the speed array boundaries at t=6s and t=7s. Similar pattern can be found
of the movement. The irradiation matrix is then generated in Fig 7(b) when t=5s and 6s. In fact, when an irregularly-
by comparing the relative dynamic coordinate vectors with shaped shadow is entirely embedded in the PV array (red path)
boundary conditions determined by PV array coordinates. This or partially enclosed by the PV array (green path), the output
method can be simply generalized by dividing any irregularly- characteristics of the PV array remain the same no matter
shaped shadow into several unit shadows. where exactly the shadow locates, as indicated by the black

6618
(a) 8 × 6 PV array (b) irregular shading pattern

Fig. 6. 8 × 6 PV array and irregular shading pattern

(a) path specified by red dots (b) path specified by green dots

Fig. 7. Simulation results of different moving trajectories

TABLE I. E NERGY HARVESTED UNDER DYNAMIC PARTIAL SHADING


AND NO SHADING SITUATION
V. C OMPARISON BETWEEN A LGEBRAIC M ODEL AND
C IRCUIT M ODEL
Path Color Red Green Reference
Energy Harvested (×105 J) 1.0741 1.1444 1.3235
Using MATLAB/Simulink, it is convenient to establish the
circuit model of a 1 × 3 PV array which matches the actual
experimental setup. Partial shading model could be achieved by
changing the irradiation of each PV cell. The simulation results
of the algebraic model proposed in Section IV and the circuit
model are shown by Fig. 8. The energy harvested, i.e. the sum
lines in Fig. 7(a) and Fig. 7(b). This behavior starts to change of the magnitude of each MPP, is also calculated and presented
when the shadow moves to the borders of the PV array. In in Table II. From Fig. 8, the curves acquired by two kinds of
summary, the output characteristics change distinctly during model overlap perfectly with each other, which demonstrates
the arrival and departure processes of the shadow while remain the accuracy and efficiency of the proposed dynamic model.
unchanged during lingering process. The discrepancy between the total energy harvested may be

6619
Fig. 8. Simulated P-V curves based on the algebraic model and equivalent (a) experimental set-up
circuit model over a time period

TABLE II. T OTAL ENERGY HARVESTED OF DIFFERENT MODELS

Model Algebraic Model Circuit Model


Energy Harvested (×103 J) 1.8311 1.8295
70
60
ascribed to the conduction resistance Ron and RC snubber
Output power (W)

50
circuit of bypass diodes considered in circuit model.
40

VI. E XPERIMENT VALIDATION OF THE M ODEL 30


20
To practically validate the dynamic model, an experimental
10
set-up in Fig. 9(a) has been constructed. The shading effect
is achieved by manipulating the voltage and consequently the 0
light intensity of three Halogen lamp matrixes. Fig. 9(b) shows 60 50
the experiment results and the simulation result. The simulation 40
40
30
result is based on normalization of correlation between voltage 20
20
and light intensity generated by Halogen lamp. From Fig. 9(b), 10
Output voltage (V) 0 0 Time (s)
the experiment results are consistent with the simulation results
not only in the general trend of the P-V surface variations but
the specific power level, which demonstrates the efficiency and (b) experimental result
accuracy of the model.
Fig. 9. Experiment set-up and experiment result

VII. C ONCLUSION
In this project, a modeling method for dynamic partial this model can not only be used to evaluate the effectiveness of
shading on PV array is presented. Firstly, several improve- the MPP tracking algorithm under moving shading conditions,
ments have been introduced to improve an existing static but act as a guiding tool to the design of MPP tracking
PV partial shading model. The refined static model shows schemes.
more accurate simulation results than the original model.
Then, a method to acquire the P-V and I-V characteristics R EFERENCES
of a PV array under irregularly-shaped and arbitrarily moving [1] S. Vemuru, P. Singh, and M. Niamat, “Modeling impact of bypass
shadow has been developed. It has been found that the P- diodes on photovoltaic cell performance under partial shading,” in Elec-
V curves change significantly in response to shadow with tro/Information Technology (EIT), 2012 IEEE International Conference
on, May 2012, pp. 1–5.
different moving trajectories and transmittance. Similar con-
clusion applies to the shading affects the PV array during the [2] H. Patel and V. Agarwal, “Matlab-based modeling to study the effects
of partial shading on pv array characteristics,” Energy Conversion, IEEE
arrival and departure process of the moving shadow. Moreover, Transactions on, vol. 23, no. 1, pp. 302–310, March 2008.
comparison between the algebraic model and circuit model [3] A. Mermoud and T. Lejeune, “Partial shadings on pv arrays: by-pass
using MATLAB/Simulink together with the experiment results diode benefits analysis,” in 25th European Photovoltaic Solar Energy
prove the efficiency and accuracy of the proposed model. Thus Conference, 2010, pp. 4654 – 4658.

6620
[4] S. Silvestre, A. Boronat, and A. Chouder, “Study of bypass diodes
configuration on pv modules,” Applied Energy, vol. 86, no. 9, pp. 1632
– 1640, 2009.
[5] S. Guo, T. Walsh, A. Aberle, and M. Peters, “Analysing partial shading of
pv modules by circuit modelling,” in Photovoltaic Specialists Conference
(PVSC), 2012 38th IEEE, June 2012, pp. 002 957–002 960.

6621

You might also like