How to filter out dummy buses which belong to multi-section lines?
Is there any psspy routine to identify these dummy buses?
add a comment
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
No, there is no API returning only the dummy buses.
It can be done by this function:
def getmsldummies(sid=-1, flag=2):
ierr, iarray = psspy.abusint(sid,flag, ['NUMBER','DUMMY'])
duml = []
for ibus,idum in zip(*iarray):
if idum == 1: duml.append(ibus)
return duml
The function returns a list with all multi-section line dummy buses.
thanks a lot!
Asked: Apr 13 '1
Seen: 266 times
Last updated: Apr 14 '21