Revision history  [back]

Having a list of buses (include the from-bus and the to-bus for the lines of interest. The circuit ID is not used here.):

buses = [101,101,201, 202, 301, 302]
psspy.bsys(sid=1, numbus=len(buses), busnum=buses)

The buses list can be read from a file with the appropriate coding.