First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
The new dispatch is in PGEN. Use psspy.macdat(ibus, id, 'P')
for an individueal generator.
PGEN for all generators can be retrieved with API's amachint
, amachchar
and amachreal
for ibus, id and PGEN respectively.
Please note that API ecdi must be called four times with APIOPT values 1, ,2, 3, 4 respectively.