Dear Ray Zimmerman
Thank you.I got it.I am trying to insert new generators into a new case and
I tried the following code.But it shows error.Can you pls help.
mpc = loadcase('case14');
mpc.gen (7, PG) = 10; %add 10MW to bus 7
mpc.bus (7, BUS_TYPE) = 2; % changes the type of bus 7 to PV
runpf(mpc);
After changing the type of the bus i want to calculate the losses which I
already know.I know that I have to include Q limit n all.
Kindly help
regards
Priyanka
On Mon, Jun 17, 2013 at 6:43 PM, Ray Zimmerman <[email protected]> wrote:
> See Table 4-1 in the User's
> Manual<http://www.pserc.cornell.edu/matpower/manual.pdf>.
> Losses are simply the sum of injections at "from" end and "to" end.
>
> --
> Ray Zimmerman
> Senior Research Associate
> B30 Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
>
>
>
>
>
> On Jun 17, 2013, at 12:50 AM, Priyanka Murali <[email protected]>
> wrote:
>
> I am trying to run a new case in matpower using runpf . I would like to
> get the branch flows and losses alone into a file.How can i do that?I tried
> results.branch but its not working.
> regards
> Priyanka
>
>
>