1. If you have a specific MATPOWER question, I'll be happy to answer it, but I 
can't implement it for you you. My suggestion was to use MATPOWER's OPF as a 
subroutine for your own simple single variable greedy search optimization.

2. MATPOWER's OPF always treats generator reactive power injection as an 
optimization variable (constrained by QMIN, QMAX and possibly a trapezoidal 
capability curve, see Section 5.4.3 in the manual). If you a case *without* 
reactive power control, I suppose you could set QMIN equal to QMAX or something.

3. You will see evidence of Qg being included in the optimization variable x in 
most of the OPF related files (Tables D-8, D-9). Have a look at opf_setup.m, 
mipsopf_solver.m, opf_costfcn.m, opf_consfcn.m, for starters.

-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645




On Feb 6, 2012, at 4:49 PM, Carlos Gonzalez Almeida wrote:

> Dear Prof. Zimmerman,
> 
> Thank you for help.
> 
> 1. I care a single tap ratio for the slack bus only. Could you please help me 
> to implement it in MATPOWER?
> 
> 2. My mean about "Phi", is : Power Factor = Cos (Phi). I need PF as 
> optimization variable in order to compare the results with and without 
> reactive power control. If you have another solution for this, please let me 
> know.
> 
> 3. Could you please let me know in what .m file you have considered reactive 
> power as optimization variable? what is the name of the m file in MATPOWER?
> 
> Best Wishes
> 
> C. G. Almeida
> 
> 
> 
> 
> On Mon, Feb 6, 2012 at 22:02, Ray Zimmerman <[email protected]> wrote:
> Unfortunately, including a transformer tap ratio as an optimization variable 
> is not possible without major modifications. I would like to add this some 
> day, but no promises. If anyone has any good references on this that would be 
> appreciated.
> 
> If it is a single tap ratio that you care about, it might be possible to use 
> some brute force greedy search that simply calls runopf iteratively while 
> adjusting the tap ratio in search of an improved solution.
> 
> Regarding reactive power as an optimization variable, I'm not sure about the 
> "Phi" you are referring to. However, all reactive power injections from 
> generators are already optimization variables (see Qg in equation (5.5) in 
> the manual).
> 
> -- 
> Ray Zimmerman
> Senior Research Associate
> 419A Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
> 
> 
> 
> 
> On Feb 6, 2012, at 5:24 AM, Carlos Gonzalez Almeida wrote:
> 
>> Dear Dr. Zimmerman
>> 
>> I want to use the tap of Transformer at slack bus as optimization variable 
>> in MATPOWER? How can I do this?
>> 
>> Also, how can I add reactive power as variable of optimization. In other 
>> words, if I want to have "Phi" of cos Phi as optimization variable, how can 
>> I add this?
>> 
>> Best Regards
>> 
>> Carlos
>> 
> 
> 

Reply via email to