Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use the psspy.nxtbus function to find the next bus. Here's some code that may help: ierr = psspy.inibus(startbus) if ierr < 1: while 1 == 1: ierr, foundbus, longbusname = psspy.nxtbus(startbus) if ierr < 1: buslist.append(foundbus) else: break

You can use the psspy.nxtbus function to find the next bus. Here's some code that may help: help:

ierr = psspy.inibus(startbus) if ierr < 1: while 1 == 1: ierr, foundbus, longbusname = psspy.nxtbus(startbus) if ierr < 1: buslist.append(foundbus) else: break