1

swing bus number / api

What PSS/E API can return system number of swing bus? THANKS!

YI-WEI's avatar
39
YI-WEI
asked 2018-10-19 01:25:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

The API psspy.treedat() may help here. For example,

psspy.treedat()['swing_busnum']

returns a list of swing buses in your current case.

QuinnP's avatar
81
QuinnP
answered 2026-09-22 05:16:15 -0500
edit flag offensive 0 remove flag delete link

Comments

1

Nice, I didn't see that API!

perolofl's avatar perolofl (2026-09-24 02:26:26 -0500) edit
add a comment see more comments
0

There is no such API. You need to loop all buses to find type 3 buses.

perolofl's avatar
3.8k
perolofl
answered 2018-10-19 01:51:05 -0500
edit flag offensive 0 remove flag delete link

Comments

OK, Thank a lot!

YI-WEI's avatar YI-WEI (2018-10-19 02:48:17 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer