You can still easily create a matrix that corresponds to only the real generators (dimension 6 in your example). There is a lot of internal code that does something like …
ig = find(~isload(mpc.gen)); … and then uses ig to index the generator and gencost matrices to get info only for the real generators. -- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Mar 20, 2013, at 2:54 AM, Aman Bansal <[email protected]> wrote: > Hello Prof. Zimmerman > > > > I just realized from the manual that dispatchable or price-sensitive loads > are modelled as negative real power injections with associated costs. But if > we represent them as generators instead of loads (which they are actually), > the flow participation matrix (that is obtained from power tracing) get > affected. Like consider we have 6 gencos in problem and there are 5 price > sensitive loads, then generator participation matrix would become 11*x > instead of 6*x. > > How to deal with this?? > > please enlighten me > > > > -- > Aman Bansal, > M.Tech. Student (Power Systems) > Indian Institute of Technology (BHU) > Varanasi > Cell No. +91-841-799-9350 > > *The smallest good deed is better than the grandest good intention*
