Yes. You can use exactly the same mechanism, including the unmodified addwind function to handle solar PV, or any other stochastic generation source, for that matter.
If you like, you could even make a copy of the addwind.m function and call it addsolar.m and change “wind” to “solar” everywhere (matching capitalization) in that file. Then you could have both wind and solar units in your system and they would be separate in the genfuel, iwind, and isolar fields of the mpc, which might be useful. Ray On Sep 29, 2021, at 1:05 AM, MALIHA SHAH <[email protected]<mailto:[email protected]>> wrote: Hay Ray , As wind profile and adding wind generation were defined in most manual with detailed explanation. Can we use the same method for modelling solar PV by using profile and addwind function and only changing the gen matrix for solar pv function (changings in the same ex_wind file)? If not, please guide me through details, how to model stochasticity of solar pv and how to call them in order to add into main file ? Will be very grateful for your response. Maliha
