It is not clear what you are trying to accomplish, but MATPOWER code is just 
like any other Matlab code. You can duplicate and rename runpf.m and modify it 
to your heart’s content. However, multiplying an entire bus or branch matrix by 
2 is certainly not a valid thing to do. For one thing the bus types and the 
branch from and to bus numbers will no longer be valid.

   Ray

> On Jul 5, 2017, at 11:45 PM, Ameeratul Balqis <[email protected]> 
> wrote:
> 
> Hello all,
> I would like to make a changes on the admittance matrices formation whenever 
> I run the code of runpf(edited).m. Thus, I would like to ask where is the 
> right place to edit on:
> 
> Because when I've edit on 
>    TCL MERGE ERROR ( 07/06/2017 08:52:38 ): "invalid command name "Ybus,""
OutmailID: 121641754, List: 'matpower-l', MemberID: 75174736
SCRIPT: "build admittance matrices >     [Ybus, Yf, Yt] = makeYbus(baseMVA, 
bus, branch); >      >     repeat = 1; >  > as (example) >  >"
 build admittance matrices
>     [Ybus, Yf, Yt] = makeYbus(2*baseMVA, 2*bus, 2*branch);
>     
>     repeat = 1;
> 
> it will shows that;
> 
> Error in ==> runpf at 193
>     [Ybus, Yf, Yt] = makeYbus(2*baseMVA,2* bus, 2*branch);
> 
> Is there any editing on the runpf.m can be made in order for me to apply a 
> changed runpf.m in my term so that I can applied it in the case study?



Reply via email to