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

Ask Your Question
3

When running PSS/E from python how do I prevent progress windows from popping up?

asked May 29 '12

Peter B gravatar image

updated Jun 14 '12

JervisW gravatar image

When I run PSS/E from python I get all these annoying pop-ups that come up after I press F5 in IDLE. Each of these requires I press enter to make them go away. Sometimes the pop-up just states the case name but other times it gives obscure information about dimension sizes etc and I end up pressing enter dozens of times to remove them.

How I can I prevent these from coming up in the first place?

1 answer

Sort by » oldest newest most voted
3

answered May 29 '12

JervisW gravatar image

updated May 30 '12

jtrain gravatar image

Hi Peter,

The best way to remove these pop up boxes is to redirect the output.

Near where you imported psspy:

import psspy

Import another module named redirect

import redirect
redirect.psse2py()

redirect is a module written by the PSSE team, and the psse2py function will send the PSSE output from pop up boxes into your Python terminal.

link

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 29 '12

Seen: 2,207 times

Last updated: May 30 '12