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 Mar 31 '3

jconto gravatar image

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