Yes, you can put renewable generators in mpc.gen. For power flow, you need to set PG to the desired output, with a positive sign and set the bus to PQ if it is not able to provide voltage support (reactive power).
Ray > On Feb 16, 2018, at 1:55 PM, Charalambos Ioannou <[email protected]> > wrote: > > Dear friends, > > I would like to know if it is possible to represent the renewable generators > in mpc.gen section as generators?? > > Moreover i would like this only for Power Flow not in Optimal Power Flow. > > If it is doable i need to set the Pmax as the capacity of the renewable > generator as a negative sing or positive sign?? and Qmax zero because the > renewable generators do not dispatch reactive power > > Thanks in advance. > > Kind Regards > > Charalampos
