- Gather the irradiance and temperature data. This data can be obtained from some external source or some kind of approximation model.
- Refer this example, https://www.mathworks.com/help/sps/ug/24-hour-simulation-of-a-vehicle-to-grid-v2g-system.html
- This example includes an irradiance block that outputs irradiance for 24 hours. You can customize the block according to your requirements.
- Once you have gathered the data, import the data into the MATLAB Workspace and feed this data to the PV array.
- To achieve this you can use the lookup tables - https://www.mathworks.com/help/simulink/lookup-tables.html
- Use the Outport block to store the output data in the MATLAB Workspace - https://www.mathworks.com/help/simulink/slref/outport.html
- Upon completing the simulation, you can export the data or further process it based on your needs.
- PV Array - https://www.mathworks.com/help/sps/powersys/ref/pvarray.html
- Some Examples - https://www.mathworks.com/help/sps/examples.html?category=renewable-energy-relib&s_tid=CRUX_topnav