This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itertools import groupby | |
from operator import itemgetter | |
attr_type = itemgetter(0) | |
import psspy | |
def subsystem_info(name, attributes, sid=-1, inservice=True): | |
""" | |
Returns requested attributes from the PSS(r)E subsystem API | |
for the given subsystem id and subsystem element name. |