Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Jan 23 '19

jconto gravatar image

The right format of the API is:

ierr, cmpval = psspy.gendat(ibus)
click to hide/show revision 2
No.2 Revision

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)