When running a power flow, the reactive injection of a generator at a PV bus is 
an output, solved by the power flow, not an input. If you want to set the 
reactive power injection as an input you have to make the bus a PQ bus and 
allow the voltage to deviate from the setpoint.

    Ray


> On Aug 16, 2016, at 8:48 PM, siddique tomal <[email protected]> wrote:
> 
> Dear Sir,
> define_constants;
> mpc=loadcase(case14);
> mpc.gen(BUS_NO,QG)=45;
> result=runpf(mpc);
> 
> After running this whenever i run the command 
> losses=sum(real(get_losses(result)))   it just shows the same result of power 
> losses as before injecting the reactive power.
> 
> What's the problem here i'm missing? Please need your help.

Reply via email to