On Mar 22, 2007, at 4:00 PM, [email protected] wrote:
Is there a special way to enter generator data, since for some
(Take the case9
m-file as example), the generator connected to bus 1 is set to 0MW-
how can this
be? I'm sure i have totally misunderstood this concept.
Bus 1 is the slack bus. (i.e. bus(1, BUS_TYPE) == REF). This means
that whatever you specify in gen(1, PG) will be replaced by the
computed value anyway when you run a power flow, so that value is
irrelevant.
Note: The constants BUS_TYPE, REF and PG are defined in idx_bus.m and
idx_gen.m
--
Ray Zimmerman
Senior Research Associate
428-B Phillips Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645