generators and their properties
asked 2023-03-29 20:00:24 -0600
Anonymous
How to obtain from the sav file the list of generators and their properties by Python? Same please for the switched shunts!
add a comment
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
asked 2023-03-29 20:00:24 -0600
Anonymous
How to obtain from the sav file the list of generators and their properties by Python? Same please for the switched shunts!
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
Asked: 2023-03-29 20:00:24 -0600
Seen: 384 times
Last updated: Mar 31 '23