First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
1

Closing PSSE from python

asked May 1 '13

Pyfoon gravatar image

I initiate a python file in PSSE through a batch file. I have no problems with launching the program or anything of the sort, however, once I am done. How do I close the program?

My Python script processes and saves the case without any problems, but I just dont know how to close PSSE when I am done!

Any ideas?

1 answer

Sort by » oldest newest most voted
1

answered May 1 '13

Eli Pack gravatar image

This should do the trick:

psspy.stop_2()

On old versions of PSSE, you may need to use psspy.stop(), which is now obsolete.

link

Comments

Note, this will also crash your Python instance. There isn't a good way to close PSSE without everything closing down.

JervisW gravatar imageJervisW (May 8 '13)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: May 1 '13

Seen: 2,056 times

Last updated: May 01 '13