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;

 

-----邮件原件-----
发件人: [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

> 

> -----邮件原件-----

> 发件人:  <mailto:[email protected]>
[email protected]

>  <mailto:[mailto:[email protected]]>
[mailto:[email protected]] 代表 Shrirang 

> Abhyankar

> 发送时间: 2012年5月16日 23:05

> 收件人:  <mailto:[email protected]> [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