MATLAB Simulink Based Modelling of Solar
MATLAB Simulink Based Modelling of Solar
*Research Unit on Renewable Energies and Electric Vehicles, National Engineering School of Sfax, Tunisia
**Department of Electrical and Computer Engineering, College of Engineering, Sultan Qaboos University, Sultanate of Oman
‡
Corresponding Author; Tarak Salmi, National Engineering School of Sfax, P.O.B: W, 3038 Sfax, Tunisia,
+96896926520,[email protected], [email protected], [email protected], [email protected]
Abstract-This paper focuses on a Matlab/SIMULINK model of a photovoltaic cell. This model is based on mathematical
equations and is described through an equivalent circuit including a photocurrent source, a diode, a series resistor and a shunt
resistor. The developed model allows the prediction of PV cell behaviour under different physical and environmental
parameters. The model can also be used to extract the physical parameters for a given solar PV cell as a function of
temperature and solar radiation. In addition, this study outlines the working principle of PV module as well as PV array. In
order to validate the developed model, an experimental test bench was built and the obtained results exhibited a good
agreement with the simulation ones.
Keywords-Matlab, SIMULINK, PV, solar cell model, solar array model, solar radiation, maximum power point
1. Introduction
technologies. The monocrystalline and polycrystalline and Rsh, the I-V and P-V curves are generated as shown in
technologies are based on microelectronic manufacturing Fig.4.
technology and their efficiency is in general between 10%
and 15% for monocrystalline and between 9% and 12% for
polycrystalline. For thin film cells, the efficiency is 10% for
a-Si, 12% for CuInSe2 and 9% for CdTe [3]. Thus, the
monocrystalline cell that has the highest efficiency is the
focus of this paper. This paper carried out a
Matlab/SIMULINK model of monocrystalline PV cell that
made possible the prediction of the PV cell behaviour under
different varying parameters such as solar radiation, ambient
temperature, series resistor, shunt resistor, diode saturation
current, etc.
The focus of this paper is on solar cell modelling which
is discussed in section two. Section three presents the effects Fig. 3. PV cell Matlab/SIMULINK model.
of the variation of the solar radiation. In section four, the
influence of temperature on the PV cell outputs are
investigated. The effects of the series resistance have been
presented in section five. Section six focuses on the effects of
the shunt resistance. In section seven, the effects of the diode
reverse saturation current are studied. The model features
and its experimental validation are discussed in sections
eight through ten. While conclusions and future works are
presented in section eleven.
2. PV cell model
radiation and the temperature according to equation (2) [3].
I ph I sc Ki T 298 (2)
1000
where Ki=0.0017 A/◦C is the cell's short circuit current
temperature coefficient and β is the solar radiation (W/m2).
Fig. 2.PV cell equivalent circuit.
Based on the above equation, the subsystem of Fig. 5 is
In view of that, the current to the load can be given as: obtained and the model simulation results are shown in Figs.
[6,7,8] 6 and 7.
q V Rs I V Rs I
I I ph I s exp 1
(1)
NKT Rsh
Based on equation (1), the Matlab/SIMULINK model of As it can be seen from Figs.6 and 7, the PV cell current
Fig.3 was developed. For a given radiation, temperature, Rs is strongly dependent on the solar radiation. However, the
214
INTERNATIONAL JOURNAL of RENEWABLE ENERGY RESEARCH
Tarak Salmi et al., Vol.2, No.2, 2012
voltage has a 50 mV increase as the solar radiation increased In general, for a given solar radiation, when the cell
from 400 W/m2 to 1000 W/m2. temperature increases, the open circuit voltage Voc, drops
slightly, while the short circuit current increases. This
behaviour is validated and presented in Figs. 9 and 10.
T E
I s T I s exp T 1 g
3 The series resistance of the PV cell is low, and in some
T Tnom N.V
cases, it can be neglected [3]. However, to render the model
nom
(3)
suitable for any given PV cell, it is possible to vary this
t
resistance and predict the influence of its variation on the PV
where Is is the diode reverse saturation current, Tnom is the cell outputs. As seen in Figs.11 and 12, the variation of Rs
nominal temperature, Eg is the band gap energy of the affects the slope angle of the I-V curves resulting in a
semiconductor and Vt is the thermal voltage. deviation of the maximum power point.
The reverse saturation current subsystem shown in Fig.8
was constructed based on equation (3).
215
INTERNATIONAL JOURNAL of RENEWABLE ENERGY RESEARCH
Tarak Salmi et al., Vol.2, No.2, 2012
8. PV Module
FF
multiplying the cell voltage by the cells number while the
Pmax
(4) total module current is the same as the cell’s one. The results
Voc I sc are shown in Figs.18 and 19.
Fig.14.P-V curves for different Rsh Fig.17. SIMULINK model for the PV module.
216
INTERNATIONAL JOURNAL of RENEWABLE ENERGY RESEARCH
Tarak Salmi et al., Vol.2, No.2, 2012
Fig.18.I-V curves of the PV module model Fig.21.I-V curves for the PV array model
217
INTERNATIONAL JOURNAL of RENEWABLE ENERGY RESEARCH
Tarak Salmi et al., Vol.2, No.2, 2012
Current (A)
Iexp Pexp
Power(W)
Solar Laminate PVL-Series Model: PVL-124 Pmax=99.5 W
4.0 100
Maximum power 124 W
Voltage at Pmax 30 V 3.0 75
Current at Pmax 4.1 A
Open circuit voltage 42 V 2.0 50
Short circuit current 5.1 A
1.0 25
The Matlab/SIMULINK model was evaluated for the
PVL-124 solar panel. The results are shown in Fig.24. On the Voc=40 V
0.0 0
other hand, the experimental results for a solar radiation of
0 5 10 15 20 25 30 35 40 45
540 W/m2 are shown in Fig. 25.
Voltage (V)
The I-V and P-V simulation and experimental results
show a good agreement in terms of short circuit current, open Fig. 25.PVL-124 solar laminate panel experimental results.
circuit voltage and maximum power.
References
In this study, the Matlab/SIMULINK model not only
helps to predict the behavior of any PV cell under different [1] Jeyraj Selvaraj, Nasrudin A. Rahim, “Multilevel Inverter
physical and environmental conditions, also it can be For Grid-Connected PV System Employing Digital PI
considered a smart tool to extract the internal parameters of Controller”, IEEE Transactions On Industrial Electronics,
any solar PV cell including the ideal factor, series and shunt vol. 56, No. 1, pp. 149-158 , 2009.
resistance. Some of these parameters are not always provided
by the manufactures. [2] Renewable Energy Policy Network for the 21st Century
(REN21), “Renewable 2010 Global Status Report”,
11. Conclusion Deutsche Gesellschaftfür Technische Zusammenarbeit
(GTZ) GmbH, pp. 19, 2010.
A Matlab/SIMULINK model for the solar PV cell, [3] Savita Nema, R.K. Nema, Gayatri Agnihotri,
modules and array was developed and presented in this “MATLAB/Simulink based study of photovoltaic cells /
paper. This model is based on the fundamental circuit modules / array and their experimental verification”,
equations of a solar PV cell taking into account the effects of International journal of Energy and Environment, vol.1,
physical and environmental parameters such as the solar No.3, pp.487-500, 2010.
radiation and cell temperature. The module model was
simulated and validated experimentally using the high [4] Huan-Liang Tsai, Ci-Siang Tu, Yi-Jie Su, “Development
efficient PVL-124 solar laminate panel. of Generalized Photovoltaic Model Using
MATLAB/SIMULINK”, Proceedings of the World
As a result of the study, one can benefit from this model Congress on Engineering and Computer Science
as a photovoltaic generator in the framework of the Sim- WCECS, San Francisco, USA, 2008.
Power-System Matlab/SIMULINK toolbox in the field of
solar PV power conversion systems. In addition, such a [5] Francisco M, González-Longatt, “Model of Photovoltaic
model would provide a tool to predict the behaviour of any Module in Matlab™”, 2do congresoı beroamerı cano de
solar PV cell, module and array under climate and physical estudıantes de ıngenıeríaeléctrı ca, electrónıca y
parameters changes. computacıón pp.1-5, 2005.
[6] S. Rustemli, F. Dincer, “Modeling of Photovoltaic Panel
5.0 125
Isim Psim and Examining Effects of Temperature in
Matlab/Simulink”, Electronics and Electrical
Power(W)
Current (A)
Pmax=101.8 W
4.0 100
Engineering, ISSN 1392-1215, no. 3(109), pp. 35-40,
3.0 75 2011.
[7] Kinal Kachhiya, Makarand Lokhande, Mukesh Patel,
2.0 50
“MATLAB/Simulink Model of Solar PV Module and
MPPT Algorithm”, Proceedings of the National
1.0 25
Conference on Recent Trends in Engineering and
Voc=39.4 V Technology, 2011.
0.0 0
0 5 10 15 20 25 30 35 40 45 [8] I.H. Atlas, A.M. Sharaf, “A Photovoltaic Array
Voltage (V) Simulation Model for Matlab-Simulink GUI
Environment”, International Conference on Clean Power,
Fig.24.MATLAB simulation results. pp. 341-345, 2007.
218