First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
The right format of the API is:
ierr, cmpval = psspy.gendat(ibus)
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)