You can get the shadow prices on the PMAX and PMIN constraints from the MU_PMAX and MU_PMIN columns of the gen matrix in the results. Is that what you want?
-- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On May 15, 2013, at 8:11 PM, Saamrat Kasina <[email protected]> wrote: > Hey Guys, > > I am new to MATPOWER. It would be great if one of you can take the time and > answer my questions. > > I have an outerloop that decides generation investment and I need to > calculate the duals associated with fixing the generation capacity at a bus > to this value (decided by the outerloop) while running a dcopf. (Like a > benders decomposition framework). So, my question is can I treat the > generation capacity (Pmax, Pmin) as a variable while using rundcopf? (to > calc. duals) > > I did see this related question before: > http://www.mail-archive.com/[email protected]/msg02051.html .... > but for me the outerloop already exists. I just need the duals associated by > fixing the gen capacities. > > A detailed response with example will be greatly helpful. Thanks to anyone > who'll take the time. > > Saamrat
