First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Mar 7 '4

perolofl gravatar image

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.