How can i create look up table that will represent irradiance during the day to control the PV farm output power.

6 次查看(过去 30 天)
Hi, i would like to use the PV farm model from simulink example to power my microgrid. In order to simulate different states I need to be able to change the irradiance. in the model, irradiance during the day is simulated using a look up table. The question is how can i create my own look up tables to represent diffrent situations like sunny day, cloudly day etc.
https://www.mathworks.com/help/sps/ug/24-hour-simulation-of-a-vehicle-to-grid-v2g-system.html

采纳的回答

Suman Sahu
Suman Sahu 2023-4-5
Hello Martin,
I understand that you have irradiance data for sunny day, cloudy day, etc which you want to map to time of the day using a look up table. Irradiance value has a one-to-one mapping with the time of the day, so you must use a 1D Look up Table(LUT).
Irradiance_at_a_particular_time = f(time of the day)
I think one of the simple ways would be to use as many 1D LUT as the types of weather conditions and then use a switch case block to switch between the weather conditions as shown in the model below.
It may look complex, but it is simple to understand and does the job. You can create wrapper subsystems to simplify it.
You can set the Look Up Table parameters for each by changing the table data as shown below:
Hope it helps.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Electrical Sensors 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by