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

Ask Your Question
0

How to identify circuit id using psspy.abrnint()

asked Aug 5 '19

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?

1 answer

Sort by » oldest newest most voted
0

answered Aug 5 '19

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.

link

Comments

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

drsgao gravatar imagedrsgao (Aug 6 '19)

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 (Aug 6 '19)

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: Aug 5 '19

Seen: 893 times

Last updated: Aug 05 '19