Ask Your Question

Revision history [back]

click to hide/show revision 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