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

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 PVmodel. 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.


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/m 2 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.
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 Section 2. 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.

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.PV cell output current (  ) is a function of PV output voltage (  ).PV modules are modeled using the following mathematical equations [2]: where It is seen from ( 2) that  1 and  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]: The parameters  SCS ,  MPS ,  OCS , and  MPS are the values given in the manufacturer's catalog and defined for the standard test conditions (  = 1000 W/m 2 and   = 25 ∘ C).  and   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]: 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: The coefficient   varies for each PV technology.In this study,   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.
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.
The model given in Figure 3 is obtained from (1)-(3).The cell parameters block in the block diagram uses  SC ,  MP ,  OC , and  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).

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 Figure 4 and the platform is mounted with 41 ∘ angle on the roof of faculty building.
The datasheet parameters of PV panels used in the study are given in Table 1.
A 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 Figure 5.
A weather station is used to measure outdoor temperature and wind speed data to be used as input parameters to

Cell parameters
Cell current

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 Figure 7.
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.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 Figure 9.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.

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.

Figure 2 :
Figure 2: The Matlab/Simulink block diagram of PV model.

Figure 4 :
Figure 4: The platform with three different PV panel technologies positioned with 41 ∘ tilt angle.

Figure 5 :I
Figure 5: Measurement setup of incident global radiation on the platform.

Figure 8 :
Figure 8: Comparison of the simulation results and polycrystalline silicon panel measurement.

Figure 8
Figure 8 illustrates the comparison of model output and the measured power values of polycrystalline silicon technology panel output at different weather conditions.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

Figure 9 :
Figure 9: Comparison of the simulation results and thin-film panel measurement.

Table 1 :
Characteristic parameters of PV panels.