# An Improved Matlab-Simulink Model of PV Module considering Ambient Conditions

Authors: R. Ayaz; I. Nakir; M. Tanrioven
Journal: International Journal of Photoenergy
 (2014)

---

## Abstract

A photovoltaic (PV) model is proposed on Matlab/Simulink environment considering the real atmospheric conditions and this PV model is tested with different PV panels technologies (monocrystalline silicon, polycrystalline silicon, and thin film). The meteorological data of Istanbul—the location of the study—such as irradiance, cell temperature, and wind speed are taken into account in the proposed model for each technology. Eventually, the power outputs of the PV module under real atmospheric conditions are measured for resistive loading and these powers are compared with the results of proposed PV model. As a result of the comparison, it is shown that the proposed model is more compatible for monocrystal silicon and thin-film modules; however, it does not show a good correlation with polycrystalline silicon PV module.


---

## Body

## 1. Introduction

Solar energy is one of the most important renewable energy sources because it is being environmentally friendly, sustainable, and fuel cost-free. Therefore, studies and applications related to PV systems are increasing continuously.PV modules are semiconductor structures that convert solar energy into electrical energy. PV systems have been used in many applications such as satellite systems, communication systems, water pumps, electric vehicle applications, and solar power plants. The two most important factors determining energy outputs of PV are radiation and cell temperature. PV cell performances given in the datasheets are defined under standard test conditions (radiation 1000 W/m2 and the temperature 25°C) [1]. On the other hand, it is necessary to know the characteristics of PV panels for different environmental conditions since they face unusually altering conditions when they are used in real environment.Many different studies have been conducted in the literature to obtain PV model [1–8] that include single-diode model [1–3] and double-diode model [9]. Although double-diode model has the most accurate results; it includes too many parameters and complex expressions [9]. It has been observed that single-diode model also gave accurate results in many studies [10, 11]. In a majority of these models catalog values are compared with experimental results by taking into account different environmental conditions [8, 12–14].In this paper, single-diode model is used to develop an enhanced model in Simulink which takes irradiance, cell temperature, and wind speed values into consideration simultaneously. The presented model was applied on three different PV technologies (monocrystalline, polycrystalline, and thin film) individually while supplying a certain resistive load and compared with experimentally obtained PV panel values. This paper is organized as follows. Mathematical expressions and proposed model are presented in Section2. Section 3 presents the experimental setup designed to measure the actual ambient conditions and power output of PV panels. The obtained results are presented and discussed in Section 4 and conclusion is given in Section 5.


## 2. Numerical Background and Modeling

Reference [2] was used as a basis for the model proposed in this study. Simplified equivalent circuit model used in the PV model is shown in Figure 1. In this model, PV current is calculated as a function of voltage. The model was carried out by using only PV panel’s datasheet values. In the proposed model, input parameters are irradiance, cell temperature, and wind speed and the output parameters are the PV current, PV voltage, and PV power.Figure 1
Simplified equivalent circuit model.PV cell output current (I
y) is a function of PV output voltage (V
y). PV modules are modeled using the following mathematical equations [2]:
(1)
I
y
=
I
SC
·
[
1
-
K
1
·
(
e
(
V
y
/
(
K
2
·
V
OC
)
)
-
1
)
]
,
where
(2)
K
1
=
(
1
-
I
MP
I
SC
)
·
e
(
-
V
MP
/
(
K
2
·
V
OC
)
)
,
K
2
=
(
(
V
MP
/
V
OC
)
-
1
)
ln
⁡
(
1
-
(
I
MP
/
I
SC
)
)
.
It is seen from (2) that K
1 and K
2 coefficient change according to different PV panel parameters. Variation of these parameters according to the irradiance and/or cell temperature is given below [2]:
(3)
I
SC
(
G
,
T
C
)
=
I
SCS
·
G
G
S
·
[
1
+
α
·
(
T
C
-
T
S
)
]
,
I
MP
(
G
,
T
C
)
=
I
MPS
·
G
G
S
·
[
1
+
α
·
(
T
C
-
T
S
)
]
,
V
OC
(
T
C
)
=
V
OCS
+
β
·
(
T
C
-
T
S
)
,
V
MP
(
T
C
)
=
V
MPS
+
β
·
(
T
C
-
T
S
)
.
The parameters I
SCS, I
MPS, V
OCS, and V
MPS are the values ​​given in the manufacturer’s catalog and defined for the standard test conditions (G
S
=
1000 W/m2 and T
S
=
25°C). G and T
C represent the radiation and cell temperature, respectively. α and  β show the current temperature coefficient and voltage temperature coefficient, respectively.PV cell temperature is considered as equal to the ambient temperature in some studies in the literature, which is not the actual case in every situation. In this study, the PV cell temperature is calculated as a function of the ambient temperature and irradiance variation [15]:
(4)
T
C
=
1.14
·
(
T
-
T
S
)
+
0.0175
·
(
G
-
300
)
+
30
.
In addition, wind speed has also effect on PV cell temperature and this effect is taken into account separately for calculating the PV cell temperature for each module:
(5)
T
C
=
1.14
·
(
T
-
T
S
)
+
0.0175
·
(
G
-
300
)
-
k
r
·
w
+
30
.
The coefficient k
r varies for each PV technology. In this study, k
r is taken as 1.509 for monocrystalline, as 1.468 for polycrystalline, and as 1.450 for thin-film technology ​​[16]. The Simulink block diagram related to proposed PV model is given in Figure 2.Figure 2
The Matlab/Simulink block diagram of PV model.The cell temperature block involved in the Simulink scheme of PV model is for calculation of cell temperature by considering radiation, ambient temperature, and the wind speed as in (5). Load & Measurement block is engaged for measurement of PV panel load current and PV panel load voltage. The block diagram of PV panel subsystem is shown in Figure 3.Figure 3
PV panel subsystem block diagram.The model given in Figure3 is obtained from (1)–(3). The cell parameters block in the block diagram uses I
SC, I
MP, V
OC, and V
MP values obtained in the standard test conditions to determine actual values of these parameters depending on the cell temperature and radiation. The Cell Current block, which also takes place in the block diagram, calculates PV current by utilizing (1).


## 3. Experimental Setup and Methodology

In this study, the obtained results from PV model were compared with the experimental results to show the accuracy of the PV model. The current and voltage values of PV panels were measured at ambient conditions for three different PV technologies. PV panels were combined together on a platform as shown in Figure4 and the platform is mounted with 41° angle on the roof of faculty building.Figure 4
The platform with three different PV panel technologies positioned with 41° tilt angle.The datasheet parameters of PV panels used in the study are given in Table1.Table 1
Characteristic parameters of PV panels.
Technology
Monocrystalline
Thin film
Polycrystalline
Peak power (W)
50
55
60
Short circuit current (I
SC) (A)
3.14
1.57
3.97
Open circuit voltage (V
OC) (V)
21.4
61.44
21.70
Maximum power current (I
MP) (A)
2.88
1.21
3.41
Maximum power voltage (V
MP) (V)
17.4
45.45
17.60A pyranometer located with tilt angle of platform (41°) was used to measure the incident global radiation on the surface of PV panels. The measurement setup is shown in Figure5.Figure 5
Measurement setup of incident global radiation on the platform.A weather station is used to measure outdoor temperature and wind speed data to be used as input parameters to the model. A schematic representation of PV model input parameters and current and voltage measurements of three different panels are given in Figure6.Figure 6
Schematic representation of complete measurement setup.Each panel output is connected to the resistive loads with different values. A resistance with minimum value is connected in series with loads to measure output currents of PV panels. By the experimental setup, the measured data of the incident global radiation on the surface of PV panels, current and voltage values of PV panels, outdoor temperature, and wind speed data were recorded for 1680 minutes with 15-minute intervals. During the period of measurements, incident global irradiance has changed between 0 W/m
2 and 967.25 W/m
2 and wind speed changed between 0 m/s and 5.8 m/s. Temperature is measured as 28°C and 17.1°C as the maximum and the minimum values, respectively.


## 4. Result and Discussion

The irradiance, temperature, and wind speed values measured at the actual ambient conditions are used as input parameters ​​in Matlab/Simulink models. Afterward, PV current, voltage, and power values ​​were obtained from models. Simulation results are compared with the measured power values ​​of PV panels under ambient conditions and accuracy of the model is tested. Comparison of the measured power values at different weather conditions from monocrystalline silicon panel output and model output is shown in Figure7.Figure 7
Comparison of the simulation results and monocrystalline silicon panel measurement.The figure depicts that the results from the model mainly overlap the experimental results. It has been calculated numerical evaluation that energy measurements obtained from the model for the measuring period has only 3.25% deviation from experimental results.Figure8 illustrates the comparison of model output and the measured power values of polycrystalline silicon technology panel output at different weather conditions.Figure 8
Comparison of the simulation results and polycrystalline silicon panel measurement.The measured power values ​​of polycrystalline silicon technology panel output do not show a good correlation with the data of the related model, as in other technologies. Moreover, numerical evaluation showed that there is difference between the energy value obtained from related model and experimental results up to 13.93%. It can be said from this result that suggested model is not very compatible for panels with polycrystalline silicon.Comparison of measured values and power output of the model related to panels with thin-film technology is given in Figure9. For thin-film technology, the results obtained from the model are consistent with the experimental results. The numerical evaluation also confirms this with a result of 3.70% deviation between model output and experimentally measured values under real conditions.Figure 9
Comparison of the simulation results and thin-film panel measurement.


## 5. Conclusion

In this study, a mathematical model of a PV panel is developed considering the irradiance, cell temperature, and wind speed values. This model is tested under a specific resistive load for three different PV panel technologies. Measurements showed that cell temperature and wind speed have significant effect on PV panel output power. The energy output values of three panels are calculated from both measured values under ambient conditions and values of proposed PV model during the measurement period (1680 min). The comparison of the obtained energy values showed that the proposed PV model has a deviation of 3.25% for monocrystalline silicon PV panels, 3.70% for thin-film panels, and 13.93% for polycrystalline silicon panels. The results show that the proposed model gives near real-like results for PV panels having monocrystalline silicon technology and thin-film technology. However, the proposed model could not exhibit a good performance for polycrystalline PV panels.



---

*Source: 315893-2014-08-24.xml*