Neither. The OPF already optimizes the voltage dispatch within the limits set. So if you want to set a specific voltage at a bus for an OPF problem you want to set bus(2, VMIN) = bus(2, VMAX) = <desired value>.
-- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Mar 23, 2013, at 4:55 AM, Kartik Pandya <[email protected]> wrote: > Respected Sir, > I want to execute OPF using AI method. For IEEE 30 bus test system, i want to > reschedule voltage of generator connected at bus 2. so in the program, which > entry should be changed? --Bus(2, VM) or gen(2, VG)? > > thanks in advance > > >
