Implement existing PV data in a phasor simulation

6 次查看(过去 30 天)
Hi all,
I am trying to model an existing residential grid-tied PV-BESS system in order to explore benifets of peak shaving. I am using this project as a reference:
My problem is that I want to model the PV system using real field data from an existing system instead of using the NREL irradiance and temperaute data.
I have values for all the parameters in Blue (30 second intervals for a 24 hour period)
I have been looking at different research papers as well as other MATHWORKS examples but I am not sure how to implement the existing PV data in the phasor simulation. I believe I need to use a Matlab function block but I am not sure where to start.
Any help is truly appeciated

回答(1 个)

Aishwarya
Aishwarya 2023-12-29
编辑:Aishwarya 2023-12-29
Hi Payam,
As per my understanding you want to model PV system using real field data. From the information provided, I am assuming you have PV array outputs such as voltage, current and output power stored in an Excel file.
Kindly refer to the below steps to bring the data stored in excel sheet into Simulink and connect the data to Simscape Electrical blocks:
Read data into Simulink:
  • Assuming you have also recorded time along with the PV array output data, you can use the “From Spreadsheet” block to read this data into Simulink.
  • Refer to the following MathWorks documentation to appropriately format the data in Excel Sheet before reading it using “From Spreadsheet” block: https://www.mathworks.com/help/simulink/slref/fromspreadsheet.html
Use Simulink signals as source for the electrical components:
  • The “From Spreadsheet” block provides each data column as separate Simulink signal.
  • The voltage and current signals can be converted to their equivalent source using “Controlled Voltage Source” block and “Controlled Current Source” block respectively as shown below.
  • Now these voltage and current source blocks can be connected to other electrical component blocks.
Please refer to the following MathWorks documentations for more information about the Simulink blocks used:
I hope this helps!
Best Regards,
Aishwarya

类别

Help CenterFile Exchange 中查找有关 Choose and Parameterize Blocks 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by