0% found this document useful (0 votes)
266 views

Lab 1 - Modeling Photovoltaic Module in Matlab-Simulink

This document provides instructions for a laboratory on modeling photovoltaic modules in Matlab/Simulink. The objectives are to: 1) Develop a detailed photovoltaic model in Matlab/Simulink, 2) Plot I-V and P-V characteristics for variations in irradiance and temperature, and 3) Connect the model to an electric circuit. Students will recreate a published photovoltaic model, modify it to be compatible with an electric circuit, vary irradiance and temperature in the model, save and plot the output data, and report on the process.

Uploaded by

Jofy George
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
266 views

Lab 1 - Modeling Photovoltaic Module in Matlab-Simulink

This document provides instructions for a laboratory on modeling photovoltaic modules in Matlab/Simulink. The objectives are to: 1) Develop a detailed photovoltaic model in Matlab/Simulink, 2) Plot I-V and P-V characteristics for variations in irradiance and temperature, and 3) Connect the model to an electric circuit. Students will recreate a published photovoltaic model, modify it to be compatible with an electric circuit, vary irradiance and temperature in the model, save and plot the output data, and report on the process.

Uploaded by

Jofy George
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

ENEL804 Advancements in Solar Energy

Laboratory 1
Modeling Photovoltaic Module in Matlab/Simulink
Objectives:
At the end of this laboratory, students will be able to:

1. Develop a detail model of photovoltaic module in Matlab/Simulink


2. Plot the I-V and P-V characteristics of the developed model for variations of irradiance and
temperature
3. Connect the developed model in a simple electric (power) circuit

Important
The model to be developed in this lab is based on “A detailed modeling of photovoltaic module using
MATLAB” from https://doi-org.ezproxy.aut.ac.nz/10.1016/j.nrjag.2014.04.001.

Laboratory Exercises

1. Develop a Matlab/Simulink model of photovoltaic module

a) Click the following link https://doi-org.ezproxy.aut.ac.nz/10.1016/j.nrjag.2014.04.001


b) Read the detail description about the model, especially Figs. 3-9 of the reference,
c) Recreate the model in Matlab/Simulink,
d) Use scope from the Simulink Library to check whether the developed model works as
expected

Notes: make sure the running time is at least the same as the open circuit voltage value if you use 1
as the slope of your ramp voltage inside the model as shown in Fig. 9 of the reference.

2. Modify the Developed Model to Form a General PV Model Circuit

a) Observe that the developed model in Part 1 is not in the form of electric circuit. It cannot
be connect to an electric circuit element such as a resistor.
b) Modify the model so that it will be in the form of electric circuit as shown in Fig. 1.

Last revision: 10/4/2018 by Ramon. Send suggestions to [email protected] Page 1


Fig. 1 Electric circuit model of the PV module

c) Observe that there is no PV terminal voltage in the original model. The voltage is generated
independently by using a ramp function as shown in Fig. 9 of the reference. This ramp
voltage is used to calculate the diode current and the shunt resistor current as shown in Fig.
6 of the reference.
d) For the modified model, the diode voltage must be measured and fed back to the model to
be used in the diode current equation as shown in Fig. 2. The shunt resistor current equation
does not need to be represented since the resistor is existing in the modified model as an
electric circuit element as shown in Fig. 1.

Fig. 2 Diode representation of the PV model

e) To characterize the PV model on all its voltage range, use a controlled voltage source in
combination with a ramp function as shown in Fig. 3.

Fig. 3 Overall model of the PV module, including the voltage-controlled source

Last revision: 10/4/2018 by Ramon. Send suggestions to [email protected] Page 2


3. Plot I-V and P-V Characteristics

a) Use “To File” from the Simulink Library to save the data. An example of the “To File”
usage is shown in Fig. 4.

Fig. 4 Usage of To File for saving data

b) Double click on the “To File” to set data. For the sample in Fig. 4, the file name is PV1000
as shown, the variable name is G1000 (not shown), and the save format is Array.
c) Based on Fig. 4, the first input to the file is voltage, the second one is current, and the third
one is power. The corresponding Matlab codes to plot the data is shown in Fig. 5.

Fig. 5 Matlab codes for plotting the saved data

Last revision: 10/4/2018 by Ramon. Send suggestions to [email protected] Page 3


d) Vary the irradiance to characterize I-V and P-V based on irradiance variation. Change file
name and variable name for each irradiance value. Then, modify the Matlab codes to plot
all data for irradiance variation.
e) Repeat the same procedure for temperature variation.

4. Report
Discuss all the above tasks in your report. The report should be written by considering the report grading
rubric.

Last revision: 10/4/2018 by Ramon. Send suggestions to [email protected] Page 4

You might also like