First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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