Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Search the forum for 'buses' for similar comments or check "How can I find all 500kV buses in an area?" for a code example on selecting buses. Below is code that uses the caspy module to get a list of buses existing in a base case:

import psse33
import caspy

case = caspy.Savecase(r"""savnw.sav""")
for item in case.pssbus.num:
    print item