An easy way to maximize the output of a given generator without resorting to callbacks, etc, is simply to use artificial costs that accomplish the same thing. For example. Set the cost of the generator in question to -1 and all other gen costs to 0.
-- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Dec 21, 2012, at 9:29 AM, Rune Kerckhof <[email protected]> wrote: > First of all thank you for the help and the references, it has been very > usefull. > > I understand that I can alter the Opf using for example the callback > functions. > > Let's say for example I need to add a generator at a predetermined busbar (12) > and maximize it's output (costs are no constraint, the only constraints > should be whether the system can handle it= equipment limitations) > > So first I simply add a generator at bus 12. > The callback I need to use to alter constraints and variables is the one on > formulation. > The constraints of the 14 bus netwerk shoudn't change (same limits of > equipment etc) > > But my objective function that should be maximized is simply f(x)=S (with > S the output in MVA of the added generator) > > How do I then change the objective function from minimizing the costs to > maximizing the added generator output? > > Kind regards, > Rune > > > > > > > > > 2012/12/20 Panagis Vovos <[email protected]> > Dear Rune, > > I have done a little bit of work on this, so allow me to suggest you this one: > > 1)Vovos, P.N.; Bialek, J.W.; , "Optimal power flow as a generation > expansion and network reinforcement planning tool," Power Engineering > Society General Meeting, 2006. IEEE , vol., no., pp.8 > > and > > 2)Vovos, P.N.; Bialek, J.W.; Harrison, G.P.; , "Optimal generation > capacity allocation and network expansion signaling using OPF," > Universities Power Engineering Conference, 2004. UPEC 2004. 39th > International , vol.3, no., pp.1327-1331 vol. 2, 8-8 Sept. 2004. > > You can use MATPOWER to implement the OPF, easilly. > > I hope this helps, > > Panagis Vovos > > > On 20 December 2012 18:36, Rune Kerckhof <[email protected]> wrote: > > Hello, > > > > I am currently trying to determine the max input the 14bus IEEE network > > (from tests) can take from bus 13. > > In order to do this I added a generator to bus 13 and have written a loop in > > order to raise P en Q input > > of this generator. At each raise I check every limit of every element in the > > network. The problem is that from the start > > the voltage limits of busses 6,7 and 8 are already surpassed... (this using > > the AC powerflow and without changing > > anything else....) Is this the correct way to find the max possible power > > input? And is it correct that those limits are > > surpassed from the start? > > > > Kind regards, > > Rune > >
