Unfortunately, this has not yet been implemented and, especially for the 
transformer taps, is not a trivial modification. For the shunts, you can model 
a variable shunt as a reactive power only generator, with Pmin = Pmax = 0.

    Ray


> On Dec 6, 2018, at 8:50 AM, Deng Z. <[email protected]> wrote:
> 
> Dear all,
> 
> Does any one know how to add the transformer tap and shunt variables into the 
> MATPOWER OPF formulation?
> 
> I have used the "om.add_var('myV', N, myV0, myV_min, myV_max)" as described 
> in the 7.2.1 manual of MATPOWER. However, this is not working. I think 
> probably I need to add some additional constraints into the OPF because the 
> changing in transformer tap and shunt will change the system admittance 
> matrix. 
> 
> It would be so many thanks that if anyone could give me some help to resolve 
> this.
> Regards,
> Zhida

Reply via email to