Dear all, I have to use parts of code that I wrote months ago for a power-flow analysis on a distribution grid with photovoltaic generators. At that time, following the advise in this discussion https://www.mail-archive.com/[email protected]/msg03440.html and set the bus of photovoltaic generators as PQ and I added to the generator struct. Now I have to do an OPF with that large casefile and add some dispatchable loads. How can I set the the photovoltaic generators as not dispatchable so that the power they generates is the value I set in Pg?
Thank you
