Ask Your Question
0

How to identify circuit id using psspy.abrnint()

asked 2019-08-05 15:13:55 -0600

municipalpower gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-08-05 15:19:05 -0600

municipalpower gravatar image

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.

edit flag offensive delete link more

Comments

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

drsgao gravatar imagedrsgao ( 2019-08-06 11:04:37 -0600 )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 gravatar imagemunicipalpower ( 2019-08-06 13:10:47 -0600 )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: 2019-08-05 15:13:55 -0600

Seen: 825 times

Last updated: Aug 05 '19