Ask Your Question
0

Run GUI with Python

asked 2016-07-08 09:47:23 -0500

Lassettc gravatar image

Hi everyone,

I have an odd question pertaining to plotting in PSS/e. I know that the api module pssplot does not allow one to run functions when the GUI is not open. I would like to automate the process by having the Python script open the PSS/e GUI and pass python arguments to that instance to allow plotting to occur (without manually having to open PSS/e). The reason for this is that I'd like to complete tests and have Python automatically open the GUI and create graphs even if I'm unavailable to manually do this. It is easy to open PSS/e with Python, however I'm stuck on how to get PSS/e to recognize the following Python code to plot.

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-11 02:17:11 -0500

SqFKYo gravatar image

I'd recommend that since you're already running PSS/E from Python, you'd forget about the PSS/E GUI and instead use e.g. matplotlib to plot your graphs.

edit flag offensive delete link more

Comments

Hi SqFKYo, Thanks for the answer, unfortunately I think that's the only solution I could come up with. I most likely won't pursue attempting to communicate with the GUI via python.

Lassettc gravatar imageLassettc ( 2016-07-11 08:27:44 -0500 )edit

Hi, does any of you guys have the code for extracting data from an output file using dyntools and then plotting using matplotlib?

Karma1 gravatar imageKarma1 ( 2017-05-19 03:27:05 -0500 )edit

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

Stats

Asked: 2016-07-08 09:47:23 -0500

Seen: 1,257 times

Last updated: Jul 11 '16