Hi,
This wont work.You will have to pass it to the case file as function
arguments
regards




On Fri, Jul 5, 2013 at 5:11 PM, obokopok andrew <[email protected]> wrote:

> Hi
> I am using the following to inject 200 MW and 100MVARs at bus 2 of a
> simple two bus system, but it is not having any impact on the outcome of
> the power flow reults. What instruction format should I use to implement
> bus power injection for a power flow:
>
>     define_constants;
>
>     mpc = loadcase('casemazi2');
>
>     mpc.bus(2, PD) =200;
>
>     mpc.bus(2,QD)=-100;
>
>     runpf(casemazi2);
>
>
>
> Regards
>
> Andrew
>

Reply via email to