0

Run GUI with Python

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

Lassettc's avatar
17
Lassettc
asked 2016-07-08 09:47:23 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

SqFKYo's avatar
126
SqFKYo
answered 2016-07-11 02:17:11 -0500
edit flag offensive 0 remove flag delete link

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's avatar Lassettc (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's avatar Karma1 (2017-05-19 03:27:05 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer