Commit 62be13bb authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in CapacityStationController

parent 0963f6f3
...@@ -44,7 +44,8 @@ class CapacityStationController(EventGenerator): ...@@ -44,7 +44,8 @@ class CapacityStationController(EventGenerator):
# attribute that shows if we prioritize entities that can finish work in this station in the next interval # attribute that shows if we prioritize entities that can finish work in this station in the next interval
self.prioritizeIfCanFinish=bool(int(prioritizeIfCanFinish)) self.prioritizeIfCanFinish=bool(int(prioritizeIfCanFinish))
# the total assemblySpace in the system # the total assemblySpace in the system
self.assemblySpace=float(G.extraPropertyDict.get('assemblySpace', float('inf'))) if hasattr(G, 'extraPropertyDict'):
self.assemblySpace=float(G.extraPropertyDict.get('assemblySpace', float('inf')))
self.method=self.steps self.method=self.steps
def initialize(self): def initialize(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment