Implement existing PV data in a phasor simulation

조회 수: 6 (최근 30일)
Payam
Payam 2023년 3월 22일
편집: Aishwarya 2023년 12월 29일
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