0

How to identify circuit id using psspy.abrnint()

I am using psspy.abrnint to get a list of branches in the working case, and creating a list of branches that are not in service. The abrnint API using the STRING parameter to tell it the information to pull from the branch. I am passing it 'FROMNUMBER', 'TONUMBER', and 'STATUS'. For double circuits, I don't see a way to distinguish between circuits #1 and 2.

Is there perhaps a different API function that is better-suited to get the information about branches that includes the circuit id?

municipalpower's avatar
1
municipalpower
asked 2019-08-05 15:13:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

I will not delete this question because it may help somebody else, but I just realized that this can be easily done using the psspy.abrnchar API function. I had originally missed this while reading through the API functions.

municipalpower's avatar
1
municipalpower
answered 2019-08-05 15:19:05 -0500
edit flag offensive 0 remove flag delete link

Comments

Yeah, the ID is actually a 2-letter string. So, you could get away with sth like "CN".

drsgao's avatar drsgao (2019-08-06 11:04:37 -0500) edit

In the .SAV cases that I use, the ID is usually represented by a number (ckt #1 or ckt #2). So, I figured I would find this under .abrnchar(). Come to find out it's actually a string. Thanks for the answer!

municipalpower's avatar municipalpower (2019-08-06 13:10:47 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer