I don’t believe we provided one for solar, but I suggest just making a copy of addwind.m called addsolar.m and make a few modifications to it to change the fuel type (not sure if there’s anything else).
Ray On Mar 4, 2021, at 1:01 PM, Alireza SalimAmini <[email protected]<mailto:[email protected]>> wrote: Hello all I have a question about adding Photovoltaic Array in the stochastic unit commitment problem in the MOST. For wind generators there is a specific function named addwind and easily we can add hourly wind profiles for our calculations. How about solar? How can we include hourly solar radiation profiles ? be noticed that if we use addgen2mpc then 'gen_type' solar, the fields for addgen2mpc are [new_mpc, idx] = addgen2mpc(mpc, gen, gencost, gen_type) then there is nothing for radiation profile. If there is another function for adding photovoltaic with hourly profile or other way plz let me know. tnx all
