First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Aug 22 '17

jconto gravatar image

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.