3

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

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?

Peter B's avatar
125
Peter B
asked 2012-05-29 02:02:25 -0500
JervisW's avatar
1.3k
JervisW
updated 2012-06-14 02:48:50 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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.

JervisW's avatar
1.3k
JervisW
answered 2012-05-29 11:00:18 -0500
jtrain's avatar
411
jtrain
updated 2012-05-30 17:32:41 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer