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