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
