createPVscenarioFiles
Runs the WVM model and puts out the OpenDSS PV scenario files
Contents
Syntax
index = createPVscenarioFiles(plantInfoFile,irradianceFile,A_value,circuitFile); index = createPVscenarioFiles();
Description
Function to load in the inputs to the WVM (plant info and irradiance sensor info), run WVM, create the loadshape file, and the solar scenario OpenDSS file.
Inputs
- plantInfoFile - optional input with the link to the MAT file with the require PV plant information structure for WVM (see WVM.m and placePVplant.m)
- irradianceFile - optional input with the link to the MAT file with the require irradiance sensor information structure for WVM (see pvl_WVM.m)
- cloud_speed - optional input with a single value of the daily cloud speed
- circuitFile - optional input with the link to the file with the OpenDSS circuit
Outputs
- none - outputs both a .txt loadshape file and a .dss solar scenario OpenDSS file
Example
Example run of createPVscenarioFiles
createPVscenarioFiles('./ExampleCircuit/Ckt24_PV_Central_7_5.mat','./Subfunctions/WVM_subfunctions/Livermore_irr_sensor.mat',10,'.\ExampleCircuit\master_ckt24.dss'); %