Commit e4763e78 authored by Jérome Perrin's avatar Jérome Perrin

add missing scipy import and remove unsued

parent e6da1bf4
...@@ -30,7 +30,6 @@ from SimPy.Simulation import Process, Resource ...@@ -30,7 +30,6 @@ from SimPy.Simulation import Process, Resource
from SimPy.Simulation import waituntil, now, hold from SimPy.Simulation import waituntil, now, hold
import xlwt import xlwt
from RandomNumberGenerator import RandomNumberGenerator from RandomNumberGenerator import RandomNumberGenerator
import scipy.stats as stat
from CoreObject import CoreObject from CoreObject import CoreObject
#the Assembly object #the Assembly object
......
...@@ -28,7 +28,6 @@ BatchReassembly is a Core Object that takes a number of subBatches and reassembl ...@@ -28,7 +28,6 @@ BatchReassembly is a Core Object that takes a number of subBatches and reassembl
from SimPy.Simulation import Process, Resource from SimPy.Simulation import Process, Resource
from SimPy.Simulation import activate, waituntil, now, hold from SimPy.Simulation import activate, waituntil, now, hold
import scipy.stats as stat
from Globals import G from Globals import G
from RandomNumberGenerator import RandomNumberGenerator from RandomNumberGenerator import RandomNumberGenerator
......
...@@ -29,7 +29,6 @@ it gathers entities and transfers them with a certain speed ...@@ -29,7 +29,6 @@ it gathers entities and transfers them with a certain speed
from SimPy.Simulation import Process, Resource from SimPy.Simulation import Process, Resource
from SimPy.Simulation import waituntil, now, hold, infinity, activate from SimPy.Simulation import waituntil, now, hold, infinity, activate
import xlwt import xlwt
import scipy.stats as stat
from CoreObject import CoreObject from CoreObject import CoreObject
#The conveyer object #The conveyer object
......
...@@ -26,7 +26,6 @@ Class that acts as an abstract. It should have no instances. All the core-object ...@@ -26,7 +26,6 @@ Class that acts as an abstract. It should have no instances. All the core-object
''' '''
from SimPy.Simulation import Process, Resource, now from SimPy.Simulation import Process, Resource, now
import scipy.stats as stat
# =========================================================================== # ===========================================================================
# the core object # the core object
......
...@@ -31,7 +31,6 @@ from SimPy.Simulation import Process, Resource ...@@ -31,7 +31,6 @@ from SimPy.Simulation import Process, Resource
from SimPy.Simulation import waituntil, now, hold, infinity from SimPy.Simulation import waituntil, now, hold, infinity
import xlwt import xlwt
from RandomNumberGenerator import RandomNumberGenerator from RandomNumberGenerator import RandomNumberGenerator
import scipy.stats as stat
from CoreObject import CoreObject from CoreObject import CoreObject
# =========================================================================== # ===========================================================================
......
...@@ -342,12 +342,12 @@ ...@@ -342,12 +342,12 @@
} }
}, },
"PM1": { "PM1": {
"_class": "Dream.Operator", "_class": "Dream.OperatorManagedJob",
"element_id": "DreamNode_14", "element_id": "DreamNode_14",
"name": "PM1" "name": "PM1"
}, },
"PM2": { "PM2": {
"_class": "Dream.Operator", "_class": "Dream.OperatorManagedJob",
"element_id": "DreamNode_15", "element_id": "DreamNode_15",
"name": "PM2" "name": "PM2"
}, },
......
...@@ -27,7 +27,6 @@ models the exit of the model ...@@ -27,7 +27,6 @@ models the exit of the model
from SimPy.Simulation import now, Process, Resource, infinity, waituntil from SimPy.Simulation import now, Process, Resource, infinity, waituntil
import xlwt import xlwt
import scipy.stats as stat
from CoreObject import CoreObject from CoreObject import CoreObject
# =========================================================================== # ===========================================================================
......
...@@ -61,8 +61,8 @@ class Simulation(ACO.Simulation): ...@@ -61,8 +61,8 @@ class Simulation(ACO.Simulation):
"_class": 'Dream.ExitJobShop', "_class": 'Dream.ExitJobShop',
"name": 'Exit' "name": 'Exit'
} }
conf["Dream-Operator"] = { conf["Dream-OperatorManagedJob"] = {
"_class": 'Dream.Operator', "_class": 'Dream.OperatorManagedJob',
"name": 'Operator' "name": 'Operator'
} }
conf["Dream-OrderDecomposition"] = { conf["Dream-OrderDecomposition"] = {
......
...@@ -33,6 +33,7 @@ import xlwt ...@@ -33,6 +33,7 @@ import xlwt
import xlrd import xlrd
from random import Random, expovariate, gammavariate, normalvariate from random import Random, expovariate, gammavariate, normalvariate
from SimPy.Simulation import now from SimPy.Simulation import now
import scipy.stats as stat
# =========================================================================== # ===========================================================================
# globals # globals
......
...@@ -37,7 +37,6 @@ from OperatedPoolBroker import Broker ...@@ -37,7 +37,6 @@ from OperatedPoolBroker import Broker
from OperatorPool import OperatorPool from OperatorPool import OperatorPool
from RandomNumberGenerator import RandomNumberGenerator from RandomNumberGenerator import RandomNumberGenerator
import scipy.stats as stat
# =========================================================================== # ===========================================================================
# the Machine object # the Machine object
......
...@@ -36,7 +36,6 @@ from OperatedPoolBroker import Broker ...@@ -36,7 +36,6 @@ from OperatedPoolBroker import Broker
from OperatorPool import OperatorPool from OperatorPool import OperatorPool
from RandomNumberGenerator import RandomNumberGenerator from RandomNumberGenerator import RandomNumberGenerator
import scipy.stats as stat
# =========================================================================== # ===========================================================================
# the Machine object # the Machine object
......
...@@ -28,7 +28,6 @@ models a Broker that organizes the dispatch of operators/repairmen ...@@ -28,7 +28,6 @@ models a Broker that organizes the dispatch of operators/repairmen
from SimPy.Simulation import Resource, now from SimPy.Simulation import Resource, now
import xlwt import xlwt
import scipy.stats as stat
from ObjectResource import ObjectResource from ObjectResource import ObjectResource
from Operator import Operator from Operator import Operator
......
...@@ -28,7 +28,6 @@ models a repairman that can fix a machine when it gets failures ...@@ -28,7 +28,6 @@ models a repairman that can fix a machine when it gets failures
from SimPy.Simulation import Resource, now from SimPy.Simulation import Resource, now
import xlwt import xlwt
import scipy.stats as stat
from ObjectResource import ObjectResource from ObjectResource import ObjectResource
# =========================================================================== # ===========================================================================
......
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