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

Ask Your Question
0

New to psspy, can i trust the order of returned lists?

asked Sep 12 '0

cp27643 gravatar image

Can I trust psspy.abusint(sid=-1, string=["NUMBER"]) and psspy.abusreal(sid=-1, string=["VOLTAGE"]) to both return arrays in the same sorted order so that the voltages are in the same order as the bus numbers?

1 answer

Sort by » oldest newest most voted
0

answered Sep 14 '0

boat14 gravatar image

Yes, you can.

Have you experienced anything to shed doubt on this mechanism?

link

Comments

Not yet, but in the script that I wrote I was avoiding returning multiple elements in a list and simply creating a subsystem for a single bus at a time so I knew the only values being returned were for that specific bus..

cp27643 gravatar imagecp27643 (Sep 16 '0)

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: Sep 12 '0

Seen: 1,659 times

Last updated: Sep 13 '20