On May 16, 2012, at 11:12 AM, ?????D wrote:

> I??m sorry I might made a mistake.
> 
> But there indeed are many ways to get the output of each generator in 
> MatPower. You could see the help information of runpf() or its codes. 
> MatPower writes all the generation results back to the matrix ??gen?? after 
> PF calculation. You can get ??gen?? via returned value using the syntax:
> 
> [~, ~, gen, ~, ~, ~] = runpf(...);
> 
> Or:
> 
> results = runpf(...);
> 
> gen = results.gen;
> 


Aah, thanks. Sorry for wasting your time..should have done help on runpf() 
first. 
>  
> -----????????-----
> ??????: [email protected] 
> [mailto:[email protected]]???? Shrirang Abhyankar
> ????????: 2012??5??16?? 23:50
> ??????: MATPOWER discussion forum
> ????: Re: Generator reactive power
>  
>  
> On May 16, 2012, at 10:29 AM, ?????D wrote:
>  
> > Hi Shri,
> > As far as I know, MatPower (resent versions) never output the net
> > reactive power injection, but the reactive output of each generator.
>  
> I'm using MatPower 4.1 which i believe is the latest version.
>  
>    The net reactive, and real, power injection is equal to the generator 
> output only if there is ONE generator incident at the bus. In case of 
> multiple generators incident at a bus MatPower sums up the individual 
> generator power injections and prints it in output bus data.
> > Run some case
> > then you can see the generations on the command window by default.
>  
> I am running the larger test cases, case2736sp onwards, and these have 
> multiple generators on a bus.
>  
>  
> Shri
> >
> > Sincerely,
> > Shiyang Li
> >
> > -----????????-----
> > ??????: [email protected]
> > [mailto:[email protected]] ???? Shrirang
> > Abhyankar
> > ????????: 2012??5??16?? 23:05
> > ??????: [email protected]
> > ????: Generator reactive power
> >
> > This might be a little out of context. I am trying to prototype a
> > transient stability code and need the reactive power for each
> > generator, and not just the net reactive power at the bus, for
> > initiliazing the generator dynamic variables. Is there a way to get this 
> > from the MatPower results?
> >
> > Thanks,
> > Shri
> >
> >
> >
> >
>  
>  

Reply via email to