Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.