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 >
