def generators(self): return flatten(bus.generators for bus in self.buses)
def loads(self): return flatten(bus.loads for bus in self.buses)