def __init__(self, id, name, requireFullProject =False, capacity=float("inf"), isDummy=False, schedulingRule="FIFO", gatherWipStat=False, notRequiredOperations=[],**kw): Queue.__init__(self, id, name, capacity=capacity) self.isLocked=True self.requireFullProject=requireFullProject # flag that shows if here the whole project is assembled from dream.simulation.Globals import G if hasattr(G, 'CapacityStationBufferList'): G.CapacityStationBufferList.append(self) else: G.CapacityStationBufferList=[] G.CapacityStationBufferList.append(self) self.notRequiredOperations=notRequiredOperations # operations that are not required to be assembled
def __init__(self, id, name, capacity=float("inf"), intervalCapacity=[], schedulingRule="FIFO", gatherWipStat=False, sharedResources={}, intervalCapacityStart=0,intervalCapacityExceptions={}, notProcessOutsideThreshold=False,**kw): Queue.__init__(self, id, name, capacity=capacity) # a list that holds the capacity (manhours) that is available in each interval self.intervalCapacity=intervalCapacity # a list that holds the capacity (manhours) that is available in each interval for the remaining time self.remainingIntervalCapacity=list(self.intervalCapacity) # blocks the entry of the capacity station, so that it can be manipulated to accept only in certain moments of simulation time self.isLocked=True # dict that holds information if station shares workpower with some other station self.sharedResources=sharedResources self.intervalCapacityStart=intervalCapacityStart self.intervalCapacityExceptions=intervalCapacityExceptions self.notProcessOutsideThreshold=int(notProcessOutsideThreshold)
def __init__(self, id, name, requireFullProject=False, capacity=float("inf"), isDummy=False, schedulingRule="FIFO", gatherWipStat=False, notRequiredOperations=[], **kw): Queue.__init__(self, id, name, capacity=capacity) self.isLocked = True self.requireFullProject = requireFullProject # flag that shows if here the whole project is assembled from dream.simulation.Globals import G if hasattr(G, 'CapacityStationBufferList'): G.CapacityStationBufferList.append(self) else: G.CapacityStationBufferList = [] G.CapacityStationBufferList.append(self) self.notRequiredOperations = notRequiredOperations # operations that are not required to be assembled
def __init__(self, id, name, capacity=float("inf"), intervalCapacity=[], schedulingRule="FIFO", gatherWipStat=False, sharedResources={}, intervalCapacityStart=0, intervalCapacityExceptions={}, notProcessOutsideThreshold=False, **kw): Queue.__init__(self, id, name, capacity=capacity) # a list that holds the capacity (manhours) that is available in each interval self.intervalCapacity = intervalCapacity # a list that holds the capacity (manhours) that is available in each interval for the remaining time self.remainingIntervalCapacity = list(self.intervalCapacity) # blocks the entry of the capacity station, so that it can be manipulated to accept only in certain moments of simulation time self.isLocked = True # dict that holds information if station shares workpower with some other station self.sharedResources = sharedResources self.intervalCapacityStart = intervalCapacityStart self.intervalCapacityExceptions = intervalCapacityExceptions self.notProcessOutsideThreshold = int(notProcessOutsideThreshold)