Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The right format of the API is:

ierr, cmpval = psspy.gendat(ibus)

The right function gendat returns a tuple with two entries, an integer ierr and a complex value cmpval. Use the following format of (as it appears in the API is:manual) to 'break' the returned tuple:

ierr, cmpval = psspy.gendat(ibus)