Ask Your Question
1

Respond to GUI load flow results

asked 2015-01-26 13:28:54 -0500

nwilson gravatar image

The goal is for a user to have a notification if certain conditions exist after running a load flow in the gui. Could you open the gui with python and monitor a bus while the user uses the gui to modify system configurations and run load flows? Or can the gui start a script whenever is opened? Can a python script monitor load flow results initated through the gui? If the condition was found, the python code (or wxpython) would notify the user and create a report.

If not, a WxPython program that resembles the gui could be created so that all gui actions are accesible but that sounds like a lot of work. Anyone created a PSSE gui clone in WxPython?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-05-09 04:00:34 -0500

drsgao gravatar image

A GUI is just a viewer with triggers. If you link the triggers to the correct functions or methods, what you ask should be achievable. For myself have built a few GUI apps to make the user experience better. In those apps, I just use PSSE as a solver (not running the PSSE GUI and then initiate the GUI app from inside).

It is actually not difficult since GUI based programming is not a difficult thing. Python programming with PSSE in principle is the same as other Python programming. You just need to read the API doct and figure out how to make sense with PSSE.

By the way, I do not understand what you mean by "gui clone in WxPython". The kinda standard way to work with WxPython is to use a GUI builder (e.g., WxForm Builder) to design the GUI; then generate the Python code as a module. Create the main app script; import the said module; inherit the GUI class from the said module; adapt it; loop the app. That's basically it.

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

Stats

Asked: 2015-01-26 13:28:54 -0500

Seen: 1,151 times

Last updated: May 09 '19