Commit 12a91ca1 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Sebastien Robin

bug in repairman fixed

parent 7de1c5be
......@@ -26,7 +26,7 @@ Created on 14 Nov 2012
models a repairman that can fix a machine when it gets failures
'''
from SimPy.Simulation import Resource
from SimPy.Simulation import Resource, now
import xlwt
import scipy.stats as stat
from ObjectResource import ObjectResource
......
......@@ -85,7 +85,6 @@ class Source(CoreObject):
activeObjectQueue=self.getActiveObjectQueue()
i=0
from Globals import G
while 1:
self.numberOfArrivals+=1 #we have one new arrival
entity=self.item(self.item.type+"_"+self.objName+"_"+str(i)) #create the Entity object and assign its name
......
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