By default, all voltages *are* variable for the purpose of the OPF. It will find the optimal slack bus voltage within the upper and lower bounds you specify in the VMIN, VMAX columns of the bus matrix.
-- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Feb 3, 2012, at 12:58 PM, Dailan Xu wrote: > Dear Prof. Zimmerman, > > I want to do OPF considering the voltage of slack bus as one of the variables > of optimization. In other words, I want to add the voltage of slack bus as a > variable. How can I do it MATPOWER? > > Best Regards > > D. Xu > > >
