First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
To get data for all generators and switch shunts in a basecase:
import psse33
import caspy
savfile = r"C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\sample.sav"
caspydata = caspy.Savecase(savfile)
gendata = caspydata.pssgen
print '\ngendata\n'
print gendata
swshdata = caspydata.psswsh
print '\nswshdata\n'
print swshdata