>From Table 4.1 in the manual, if you store the solution in a results struct ...
results = runopf('mycase');
... the active power generation will be found in ...
results.gen(:, PG)
--
Ray Zimmerman
Senior Research Associate
211 Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645
On Jun 21, 2011, at 1:10 PM, Roberto Carvalini wrote:
> Hi
>
> I want to obtain the active power of generators in runmarket of runopf for
> example in case9. How can I obtain it as a vector?
>
>
> Best Wishes
>
> Roberto