1

Respond to GUI load flow results

  • retag add tags

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?

nwilson's avatar
100
nwilson
asked 2015-01-26 13:28:54 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

drsgao's avatar
76
drsgao
answered 2019-05-09 04:00:34 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer