Ask Your Question
0

generators and their properties

asked 2023-03-29 20:00:24 -0500

anonymous user

Anonymous

How to obtain from the sav file the list of generators and their properties by Python? Same please for the switched shunts!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2023-03-31 14:16:44 -0500

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
edit flag offensive delete link more

Comments

Nice, this is a very good option to psspy for retrieval of data for all components in a saved case.

perolofl gravatar imageperolofl ( 2023-04-06 05:30:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2023-03-29 20:00:24 -0500

Seen: 193 times

Last updated: Mar 31 '23