Example #1
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     # signal used to initiate the generator of the Router
     self.isCalled=self.env.event()
     # list that holds all the objects that can receive
     self.pendingObjects=[]
     self.calledOperator=[]
     # list of the operators that may handle a machine at the current simulation time
     self.candidateOperators=[]
     # list of criteria
     self.multipleCriterionList=[]
     # TODO: find out which must be the default for the scheduling Rule
     self.schedulingRule='WT'
     # flag used to check if the Router is initialised
     self.isInitialized=True
     
     self.invoked=False
     
     self.criticalPending=[]
     self.preemptiveOperators=[]
     
     self.toBeSignalled=[]
     self.conflictingOperators=[]
     self.conflictingEntities=[]
     self.conflictingStations=[]
     self.occupiedReceivers=[]
     self.entitiesWithOccupiedReceivers=[]
Example #2
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.timeLastOperationEnded=0
     self.timeOperationStarted=0
     self.timeWaitForOperatorStarted=0
     self.waitForOperator=False
     # Broker events
     self.isCalled=self.env.event()
     self.resourceAvailable=self.env.event()
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.timeLastOperationEnded = 0
     self.timeOperationStarted = 0
     self.timeWaitForOperatorStarted = 0
     self.waitForOperator = False
     # Broker events
     self.isCalled = self.env.event()
     self.resourceAvailable = self.env.event()
Example #4
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     # signal used to initiate the generator of the Router
     self.isCalled = self.env.event()
     # lists that hold all the objects that can receive
     self.pendingMachines = []
     self.pendingQueues = []
     # list of the operators that may handle a machine at the current simulation time
     self.candidateOperators = []
     # flag used to check if the Router is initialised
     self.isInitialized = True
     self.invoked = False
     self.preemptiveOperators = []
     self.toBeSignalled = []
     self.criticalQueues = []
     self.pending = []  # list of entities that require operators now
Example #5
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     # signal used to initiate the generator of the Router
     self.isCalled=self.env.event()
     # lists that hold all the objects that can receive
     self.pendingMachines=[]
     self.pendingQueues=[]
     # list of the operators that may handle a machine at the current simulation time
     self.candidateOperators=[]
     # flag used to check if the Router is initialised
     self.isInitialized=True
     self.invoked=False
     self.preemptiveOperators=[]
     self.toBeSignalled=[]
     self.criticalQueues=[]
     self.pending=[]                              # list of entities that require operators now
Example #6
0
    def initialize(self):
        ObjectInterruption.initialize(self)
        self.remainingShiftPattern=list(self.shiftPattern) 
#         self.victimEndedLastProcessing=self.env.event()
        self.waitingSignal=False
Example #7
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.readData()
     self.FDC = FutureDemandCreator()
     from Globals import G
     G.AllocationManagementList.append(self)
Example #8
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.remainingShiftPattern=list(self.shiftPattern) 
 def initialize(self):
     ObjectInterruption.initialize(self)
     #         self.victimEndedLastProcessing=self.env.event()
     self.waitingSignal = False
     # not used yet
     self.victimIsEmptyBeforeMaintenance = self.env.event()
Example #10
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.remainingBreakPattern=list(self.breakPattern) 
     self.waitingSignal=False
Example #11
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.victimStartsProcess = self.env.event()
     self.victimEndsProcess = self.env.event()
Example #12
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.readData()
     self.FDC=FutureDemandCreator()
     from Globals import G
     G.AllocationManagementList.append(self)
Example #13
0
    def initialize(self):
        ObjectInterruption.initialize(self) 
#         self.victimEndedLastProcessing=self.env.event()
        self.waitingSignal=False
        # not used yet
        self.victimIsEmptyBeforeMaintenance=self.env.event()
Example #14
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.victimStartsProcess = self.env.event()
     self.victimEndsProcess = self.env.event()
Example #15
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.remainingShiftPattern = list(self.shiftPattern)
     #         self.victimEndedLastProcessing=self.env.event()
     self.waitingSignal = False
Example #16
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.remainingBreakPattern = list(self.breakPattern)
     self.waitingSignal = False
Example #17
0
 def initialize(self):
     ObjectInterruption.initialize(self)
     self.readData()
     self.FDC=FutureDemandCreator()