Ask Your Question
1

How to Use Python bat command to simuliation on PSS/E?

asked 2013-09-07 05:26:23 -0600

anonymous user

Anonymous

I want to do a lot of tests to anlysis some features of the power system, so I want to ask if I can do this series of tests by Python batch command.

I have very limited knowledge about both PSSE and Python, so any tips and tricks (best practice) would be most welcome!

I now want to do simulations from Python not PSSE, but I can 't figure out how to do it. For example,trip Generator1 the out file name 1.out,trip Generator2, the out filee name 2.out.and so on. Thanks a lot!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-11 00:44:23 -0600

JervisW gravatar image

It sounds like you want to write a Dynamics routing as a Python script is that right?

Here are some commands and references to the documentation to get you started:

psspy.case('savcnv.sav')
psspy.rstr('savnw.snp')
psspy.strt(outfile='1.out')
psspy.run(tpause=1.0)
psspy.dist_machine_trip(ibus=101, id='1 ')
psspy.run(tpause=1.05)
psspy.dist_clear_fault()
psspy.run(tpause=5.0)

If you've run PSSE studies by hand before, these commands should look somehow familiar to you.

There is much more information about PSSE and Dynamics with Python in Chapter 4 of the PSSE API document.

edit flag offensive delete link more

Comments

Thanks a lot.

Bob gravatar imageBob ( 2013-09-11 10:40:03 -0600 )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

Stats

Asked: 2013-09-07 05:26:23 -0600

Seen: 1,747 times

Last updated: Sep 11 '13