First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

How do I retrieve all bus numbers from a slider diagram?

asked Jun 20 '2

lalmadani gravatar image

updated Jun 20 '2

I have a slider diagram that I want to get a list of the buses from. I know there's EXPORTBUSLOCFILE but that requires the "name of the Bus Location Data File to be written", which means I can't retrieve a list in my python code to use, but I'd have to create the file then open it to get the list of buses.

3 answers

Sort by » oldest newest most voted
0

answered Aug 3 '2

lalmadani gravatar image

so its only possible to do it in the GUI? is there a way to pop into a SLD diagram and record/retrieve the buses using python?

link

Comments

What is the problem with to just write a bus location file and let python read the file and get the bus numbers?

perolofl gravatar imageperolofl (Aug 5 '2)
0

answered Jun 21 '2

RJG@PSM gravatar image

you can actually select all buses by CTRL-A, then right click and use create bus subsystem, then used Modify/Create COnfig files, select subsystem only (no mon or con) , give it a name to you new subsystem with all the buses, click OK, and when edit your sub file and you will see all the buses of the slider on the new subsystem with the name you gave it before. Funny, if you ask Siemens they do not do this can be done. so maybe it is a bug, do not report it, it is very useful. R

link
0

answered Jun 21 '2

perolofl gravatar image

I think that's the only way to solve it. It is easy to write the bus location file and read the bus numbers from it.

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Jun 20 '2

Seen: 827 times

Last updated: Aug 03 '22