Ask Your Question

Supress only PSSE output

asked 2020-01-13 11:56:31 -0500

EBahr gravatar image

I feel like this should be an easy one, but everything I am throwing at python is failing me. I am trying to run a program within PSSE, but I would like all output to be supressed except for my python print() commands. Is this possible without creating my own print wrapper function?

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2020-08-26 13:10:22 -0500

jconto gravatar image

Search the forum for "Silencing PSSE STDOUT"

edit flag offensive delete link more

answered 2020-08-26 10:12:00 -0500

georgc gravatar image

updated 2020-08-26 10:12:30 -0500

Just adding more to what was said previously, I have been looking into this, and just wrapped certain PSSE psspy commands with the syntax to silence the PSSE output and then turn it back on, leaving everything else (python print statement etc) normal to output to the terminal our the output bar.

#turn off PSSE output
#run a couple of loads flows
#turn normal output back on

So far this is the only instance I have used it, but outputs when changing load values via script I plan on also wrapping.

edit flag offensive delete link more

answered 2020-01-29 21:51:18 -0500

bikiran1991 gravatar image

Look into the following psspy commands in the API book:


Besides ignoring the output, you can also redirect it to a log file for further inspection later on.

edit flag offensive delete link more

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

1 follower


Asked: 2020-01-13 11:56:31 -0500

Seen: 142 times

Last updated: Aug 26