The runmarket code is simply a wrapper around the OPF solver, so it's the same as adding variables to extend the OPF. The bus voltages are already control variables, but please see section 5.3 and chapter 6 of the manual for details on how to extend the OPF with other variables, constraints and costs.
-- Ray Zimmerman Senior Research Associate 211 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Jun 20, 2011, at 9:15 AM, Dailan Xu wrote: > Dear Prof. Zimmerman > > How can I add an optimization variable to runmarket, for example, adding > voltage of buses as control variable? Is it possible? > > Best Regards > > D. Xu > >
