get id from selected branch
Using slider.py, I've been reading the labels to identify selected bus numbers and branches. How do I get the branch id of a selected branch? This is especially pertinent when I have parallel branches.
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Using slider.py, I've been reading the labels to identify selected bus numbers and branches. How do I get the branch id of a selected branch? This is especially pertinent when I have parallel branches.
Once you've identified the component from your SLD, you can use GetMapString(), which contains the from bus, to bus, and circuit ID.
string = comp.GetMapString()
which gives you an output like
LI 1 7 99
which indicates from bus 1, to bus 7, and circuit ID 99.
Folks, I'm trying just this and haven't been able to get it to work. My procedure: I import sliderPy I select a branch from the GUI I try both running the script [string = comp.GetMapString()] or typing in the command line. No luck. Get an exception. What am I missing? Thanks.
Asked: 2016-12-07 10:40:20 -0500
Seen: 1,351 times
Last updated: Dec 08 '16
How to activate GUI taps in PSS/E
Open PSS/E GUI and SAV file from Powershell/cmd?
Conversion of slider file to other platforms
Respond to GUI load flow results
Changing PSSE Settings/Preferences and Defaults configuration - System Level Diagram Defaults.
Can we create a single line diagram(sld) from raw data using python?