Example #1
0
 def generators(self):
     return flatten(bus.generators for bus in self.buses)
Example #2
0
 def loads(self):
     return flatten(bus.loads for bus in self.buses)