Ask Your Question
0

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

asked 2020-09-12 15:29:33 -0500

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-09-13 22:23:59 -0500

boat14 gravatar image

Yes, you can.

Have you experienced anything to shed doubt on this mechanism?

edit flag offensive delete link more

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 ( 2020-09-16 09:33:52 -0500 )edit

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

1 follower

Stats

Asked: 2020-09-12 15:29:33 -0500

Seen: 155 times

Last updated: Sep 13