Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.