LOAD ACTUAL DATA AS INPUT TO PV BLOCK IN SIMULINK

17 views (last 30 days)
How i can used my actual irradiance and temperature data as an input to PV block?
I have all the data in excel and want to used it to evaluate the performance of PV system.
Thanks.

Answers (1)

Rhea Chandy
Rhea Chandy on 6 Nov 2020
Hello!
There are several ways in which you can import excel data and use it in Simulink:
  • Use the From Spreadsheet block in Simulink to read data from Microsoft® Excel® and outputs the data as a signal. Here is a Blog post giving further details on Importing Data From Excel into a simulation using the From Spreadsheet Block.
Or, alternatively, you can import Excel data into MATLAB and then use those MATLAB variables as inputs to Simulink:
  • Use the importdata function in MATLAB and create an array (say ‘A’) of all the values imported and then change the variable name in each block to A(1), A(2),…….A(100)
  • Or similarly, use the Import Tool to import data from a spreadsheet into the MATLAB workspace.
  1 Comment
Ambe Harrison
Ambe Harrison on 4 Dec 2021
My Chandy i have the same problem, please have you found out how to do it, please help me out. Email: ambeharrison2000@yahoo.com

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!