It is important to understand that in current versions of MATPOWER, both 
transformer tap ratios and shunt cap VAr injections are input parameters, not 
variables. You can, of course, solve a power flow or OPF problem, multiple 
times with different values of these parameters. For a single transformer, it 
might look something like this, for example …

define_constants;
mpc = loadcase(‘mycasefile’);
k = <branch index of transformer of interest>;
for t = 0.9:0.0125:1.1
  mpc.branch(k, TAP) = t;
  results = runopf(mpc);
end

Hope this helps,

   Ray



> On Dec 25, 2014, at 5:27 AM, murugan R <[email protected]> wrote:
> 
> Hello every one
> 
>                         I requesting every one here to help me for  matalab 
> coding to initialize the  transformer tap setting and VAR injecting of shunt 
> capacitors  with step size during the OPF .Here i am pasting the setence with 
> i want to convert into matab code.
>  
> tap settings of the regulating transformers and VAR injections of the shunt 
> capacitors   are considered as discrete variables. The transformer-tap 
> settings were assumed to vary in the range [0.9, 1.1] p.u., with step size of 
> 0.0125 p.u. The VAR injections of the shunt capacitorswere assumed to vary in 
> the range [0,0.05] p.u., with step size of 0.01 p.u.
> 
> Thank you
> 
> WITH REGARDS
> 
> R.MURUGAN
> 
> 
>  
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
> Get your own FREE website, FREE domain & FREE mobile app with Company email.  
> Know More > 
> <http://track.rediff.com/click?url=___http://businessemail.rediff.com/email-ids-for-companies-with-less-than-50-employees?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host>

Reply via email to