Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
2055dcc3
Commit
2055dcc3
authored
Apr 08, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new test Topologoy73, different schedulingRules for operators and queues
parent
d2847ec3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1998 additions
and
0 deletions
+1998
-0
dream/simulation/JSONInputs/Topology73.json
dream/simulation/JSONInputs/Topology73.json
+1210
-0
dream/simulation/OperatorRouter.py
dream/simulation/OperatorRouter.py
+2
-0
dream/tests/dump/Topology73.json.result
dream/tests/dump/Topology73.json.result
+786
-0
No files found.
dream/simulation/JSONInputs/Topology73.json
0 → 100644
View file @
2055dcc3
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{},
"general"
:
{
"_class"
:
"Dream.Configuration"
,
"numberOfReplications"
:
"1"
,
"maxSimTime"
:
"-1"
,
"trace"
:
"Yes"
,
"confidenceLevel"
:
"0.95"
},
"nodes"
:
{
"Q0"
:
{
"_class"
:
"Dream.QueueManagedJob"
,
"name"
:
"StartQueue"
,
"isDummy"
:
"0"
,
"schedulingRule"
:
"Priority"
,
"capacity"
:
"-1"
,
"wip"
:
[
{
"_class"
:
"Dream.Order"
,
"name"
:
"Order1"
,
"id"
:
"O1"
,
"manager"
:
"OP1"
,
"priority"
:
"1"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"Q0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"CAD1"
,
"CAD2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1"
},
"setupTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.5"
}
}
],
"componentsList"
:
[
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C1O1"
,
"name"
:
"Component1 from Order1"
,
"componentType"
:
"Basic"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"2"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.5"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"2"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.5"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"2"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.5"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C2O1"
,
"name"
:
"Component2 from Order1"
,
"componentType"
:
"Secondary"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.6"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.4"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.6"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.Mould"
,
"id"
:
"M1O1"
,
"name"
:
"Mould1 from Order1"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1"
}
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QIM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"IM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"2"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.5"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"E1"
]
}
]
}
]
},
{
"_class"
:
"Dream.Order"
,
"name"
:
"Order2"
,
"id"
:
"O2"
,
"manager"
:
"OP2"
,
"priority"
:
"2"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"Q0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"CAD1"
,
"CAD2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.4"
},
"setupTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.7"
}
}
],
"componentsList"
:
[
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C1O2"
,
"name"
:
"Component1 from Order2"
,
"componentType"
:
"Basic"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"3"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.2"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.9"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C2O2"
,
"name"
:
"Component2 from Order2"
,
"componentType"
:
"Secondary"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.8"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.2"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.Mould"
,
"id"
:
"M1O2"
,
"name"
:
"Mould1 from Order2"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"2"
}
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QIM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"IM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.7"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"E1"
]
}
]
}
]
},
{
"_class"
:
"Dream.Order"
,
"name"
:
"Order3"
,
"id"
:
"O3"
,
"manager"
:
"OP3"
,
"priority"
:
"2"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"Q0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"CAD1"
,
"CAD2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.4"
},
"setupTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.7"
}
}
],
"componentsList"
:
[
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C1O3"
,
"name"
:
"Component1 from Order3"
,
"componentType"
:
"Basic"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"3"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.2"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.9"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C2O3"
,
"name"
:
"Component2 from Order3"
,
"componentType"
:
"Secondary"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.8"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.2"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.Mould"
,
"id"
:
"M1O3"
,
"name"
:
"Mould1 from Order3"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"2"
}
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QIM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"IM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.7"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"E1"
]
}
]
}
]
},
{
"_class"
:
"Dream.Order"
,
"name"
:
"Order4"
,
"id"
:
"O4"
,
"manager"
:
"OP1"
,
"priority"
:
"2"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"Q0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"CAD1"
,
"CAD2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.4"
},
"setupTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.7"
}
}
],
"componentsList"
:
[
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C1O4"
,
"name"
:
"Component1 from Order4"
,
"componentType"
:
"Basic"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"3"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.2"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.9"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C2O4"
,
"name"
:
"Component2 from Order4"
,
"componentType"
:
"Secondary"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.8"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.2"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.OrderComponent"
,
"id"
:
"C3O4"
,
"name"
:
"Component3 from Order4"
,
"componentType"
:
"Secondary"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"OD0"
]
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QCAM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"CAM1"
,
"CAM2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.8"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.2"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"QMILL"
]
},
{
"stepNumber"
:
"4"
,
"stationIdsList"
:
[
"MILL1"
,
"MILL2"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"5"
,
"stationIdsList"
:
[
"QEDM"
]
},
{
"stepNumber"
:
"6"
,
"stationIdsList"
:
[
"EDM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"1.4"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.3"
}
},
{
"stepNumber"
:
"7"
,
"stationIdsList"
:
[
"AB1"
]
},
{
"stepNumber"
:
"8"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
]
}
]
},
{
"_class"
:
"Dream.Mould"
,
"id"
:
"M1O4"
,
"name"
:
"Mould1 from Order4"
,
"route"
:
[
{
"stepNumber"
:
"0"
,
"stationIdsList"
:
[
"MA1"
,
"MA2"
,
"MA3"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"2"
}
},
{
"stepNumber"
:
"1"
,
"stationIdsList"
:
[
"QIM"
]
},
{
"stepNumber"
:
"2"
,
"stationIdsList"
:
[
"IM"
],
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.7"
},
"setupTime"
:{
"distributionType"
:
"Fixed"
,
"mean"
:
"0.1"
}
},
{
"stepNumber"
:
"3"
,
"stationIdsList"
:
[
"E1"
]
}
]
}
]
}
]
},
"CAD1"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"CAD Design 1"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"CAD2"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"CAD Design 2"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"OD0"
:
{
"_class"
:
"Dream.OrderDecomposition"
,
"name"
:
"Order Decomposition"
},
"QCAM"
:
{
"_class"
:
"Dream.ConditionalBuffer"
,
"name"
:
"Queue CAM"
,
"isDummy"
:
"0"
,
"schedulingRule"
:
"Priority"
,
"capacity"
:
"-1"
},
"CAM1"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"CAM Design 1"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"CAM2"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"CAM Design 2"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"QMILL"
:
{
"_class"
:
"Dream.QueueManagedJob"
,
"name"
:
"Queue Milling"
,
"isDummy"
:
"0"
,
"capacity"
:
"-1"
},
"MILL1"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"Milling 1"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"MILL2"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"Milling 2"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"QEDM"
:
{
"_class"
:
"Dream.QueueManagedJob"
,
"name"
:
"Queue EDM"
,
"isDummy"
:
"0"
,
"schedulingRule"
:
"Priority"
,
"capacity"
:
"-1"
},
"EDM"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"EDM"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"AB1"
:
{
"_class"
:
"Dream.MouldAssemblyBuffer"
,
"id"
:
"AB1"
,
"name"
:
"Assembly Buffer"
,
"schedulingRule"
:
"Priority"
,
"isDummy"
:
"0"
,
"capacity"
:
"-1"
},
"MA1"
:
{
"_class"
:
"Dream.MouldAssembly"
,
"id"
:
"MA1"
,
"name"
:
"Assembly 1"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"MA2"
:
{
"_class"
:
"Dream.MouldAssembly"
,
"id"
:
"MA2"
,
"name"
:
"Assembly 2"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"MA3"
:
{
"_class"
:
"Dream.MouldAssembly"
,
"id"
:
"MA3"
,
"name"
:
"Assembly 3"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"QIM"
:
{
"_class"
:
"Dream.QueueManagedJob"
,
"name"
:
"Queue Mould Injection"
,
"isDummy"
:
"0"
,
"schedulingRule"
:
"Priority"
,
"capacity"
:
"-1"
},
"IM"
:
{
"_class"
:
"Dream.MachineManagedJob"
,
"name"
:
"Mould Injection"
,
"operationType"
:
"MT-Load-Setup-Processing"
},
"E1"
:
{
"_class"
:
"Dream.ExitJobShop"
,
"name"
:
"Exit"
},
"OP1"
:
{
"_class"
:
"Dream.OperatorManagedJob"
,
"capacity"
:
"1"
,
"name"
:
"Operator1"
},
"OP2"
:
{
"_class"
:
"Dream.OperatorManagedJob"
,
"capacity"
:
"1"
,
"name"
:
"Operator2"
,
"schedulingRule"
:
"Priority"
},
"OP3"
:
{
"_class"
:
"Dream.OperatorManagedJob"
,
"capacity"
:
"1"
,
"name"
:
"Operator3"
,
"schedulingRule"
:
"Priority"
}
}
}
\ No newline at end of file
dream/simulation/OperatorRouter.py
View file @
2055dcc3
...
@@ -398,6 +398,8 @@ class Router(ObjectInterruption):
...
@@ -398,6 +398,8 @@ class Router(ObjectInterruption):
if
len
(
operator
.
candidateEntities
[
0
].
candidateReceivers
)
==
1
:
if
len
(
operator
.
candidateEntities
[
0
].
candidateReceivers
)
==
1
:
operatorsWithOneOption
.
append
(
operator
)
operatorsWithOneOption
.
append
(
operator
)
# TODO: the operator here actually chooses entity. This may pose a problem as two entities may be equivalent
# and as the operators chooses the sorting of the queue (if they do reside in the same queue is not taken into account)
# sort the candidateEntities list of each operator according to its schedulingRule
# sort the candidateEntities list of each operator according to its schedulingRule
for
operator
in
[
x
for
x
in
self
.
candidateOperators
if
x
.
candidateEntities
]:
for
operator
in
[
x
for
x
in
self
.
candidateOperators
if
x
.
candidateEntities
]:
operator
.
sortCandidateEntities
()
operator
.
sortCandidateEntities
()
...
...
dream/tests/dump/Topology73.json.result
0 → 100644
View file @
2055dcc3
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.MouldAssemblyBuffer",
"id": "AB1"
},
{
"_class": "Dream.Job",
"id": "C1O1",
"results": {
"completionTime": 27.7,
"schedule": [
{
"entranceTime": 1.5,
"stationId": "OD0"
},
{
"entranceTime": 1.5,
"stationId": "QCAM"
},
{
"entranceTime": 1.5,
"stationId": "CAM1"
},
{
"entranceTime": 4.0,
"stationId": "QMILL"
},
{
"entranceTime": 6.699999999999999,
"stationId": "MILL1"
},
{
"entranceTime": 9.2,
"stationId": "QEDM"
},
{
"entranceTime": 13.399999999999999,
"stationId": "EDM"
},
{
"entranceTime": 15.899999999999999,
"stationId": "AB1"
},
{
"entranceTime": 27.7,
"stationId": "MA3"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C1O2",
"results": {
"completionTime": 11.100000000000001,
"schedule": [
{
"entranceTime": 2.0999999999999996,
"stationId": "OD0"
},
{
"entranceTime": 2.0999999999999996,
"stationId": "QCAM"
},
{
"entranceTime": 2.0999999999999996,
"stationId": "CAM2"
},
{
"entranceTime": 2.4999999999999996,
"stationId": "QMILL"
},
{
"entranceTime": 2.4999999999999996,
"stationId": "MILL1"
},
{
"entranceTime": 6.699999999999999,
"stationId": "QEDM"
},
{
"entranceTime": 6.699999999999999,
"stationId": "EDM"
},
{
"entranceTime": 7.8999999999999995,
"stationId": "AB1"
},
{
"entranceTime": 11.100000000000001,
"stationId": "MA1"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C1O3",
"results": {
"completionTime": 12.800000000000002,
"schedule": [
{
"entranceTime": 3.6,
"stationId": "OD0"
},
{
"entranceTime": 3.6,
"stationId": "QCAM"
},
{
"entranceTime": 3.6,
"stationId": "CAM2"
},
{
"entranceTime": 4.0,
"stationId": "QMILL"
},
{
"entranceTime": 4.0,
"stationId": "MILL2"
},
{
"entranceTime": 8.2,
"stationId": "QEDM"
},
{
"entranceTime": 8.2,
"stationId": "EDM"
},
{
"entranceTime": 9.4,
"stationId": "AB1"
},
{
"entranceTime": 12.800000000000002,
"stationId": "MA2"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C1O4",
"results": {
"completionTime": 32.1,
"schedule": [
{
"entranceTime": 6.1,
"stationId": "OD0"
},
{
"entranceTime": 6.1,
"stationId": "QCAM"
},
{
"entranceTime": 6.1,
"stationId": "CAM1"
},
{
"entranceTime": 6.499999999999999,
"stationId": "QMILL"
},
{
"entranceTime": 9.2,
"stationId": "MILL1"
},
{
"entranceTime": 13.399999999999999,
"stationId": "QEDM"
},
{
"entranceTime": 17.5,
"stationId": "EDM"
},
{
"entranceTime": 18.7,
"stationId": "AB1"
},
{
"entranceTime": 32.1,
"stationId": "MA1"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C2O1",
"results": {
"completionTime": 27.7,
"schedule": [
{
"entranceTime": 1.5,
"stationId": "OD0"
},
{
"entranceTime": 1.5,
"stationId": "QCAM"
},
{
"entranceTime": 15.899999999999999,
"stationId": "CAM2"
},
{
"entranceTime": 17.5,
"stationId": "QMILL"
},
{
"entranceTime": 20.7,
"stationId": "MILL2"
},
{
"entranceTime": 25.099999999999998,
"stationId": "QEDM"
},
{
"entranceTime": 26.099999999999998,
"stationId": "EDM"
},
{
"entranceTime": 27.7,
"stationId": "AB1"
},
{
"entranceTime": 27.7,
"stationId": "MA3"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C2O2",
"results": {
"completionTime": 11.100000000000001,
"schedule": [
{
"entranceTime": 2.0999999999999996,
"stationId": "OD0"
},
{
"entranceTime": 2.0999999999999996,
"stationId": "QCAM"
},
{
"entranceTime": 7.8999999999999995,
"stationId": "CAM2"
},
{
"entranceTime": 8.9,
"stationId": "QMILL"
},
{
"entranceTime": 8.9,
"stationId": "MILL2"
},
{
"entranceTime": 9.4,
"stationId": "QEDM"
},
{
"entranceTime": 9.4,
"stationId": "EDM"
},
{
"entranceTime": 11.100000000000001,
"stationId": "AB1"
},
{
"entranceTime": 11.100000000000001,
"stationId": "MA1"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C2O3",
"results": {
"completionTime": 12.800000000000002,
"schedule": [
{
"entranceTime": 3.6,
"stationId": "OD0"
},
{
"entranceTime": 3.6,
"stationId": "QCAM"
},
{
"entranceTime": 9.4,
"stationId": "CAM1"
},
{
"entranceTime": 10.4,
"stationId": "QMILL"
},
{
"entranceTime": 10.4,
"stationId": "MILL2"
},
{
"entranceTime": 10.9,
"stationId": "QEDM"
},
{
"entranceTime": 11.100000000000001,
"stationId": "EDM"
},
{
"entranceTime": 12.800000000000002,
"stationId": "AB1"
},
{
"entranceTime": 12.800000000000002,
"stationId": "MA2"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C2O4",
"results": {
"completionTime": 32.1,
"schedule": [
{
"entranceTime": 6.1,
"stationId": "OD0"
},
{
"entranceTime": 6.1,
"stationId": "QCAM"
},
{
"entranceTime": 18.7,
"stationId": "CAM1"
},
{
"entranceTime": 19.7,
"stationId": "QMILL"
},
{
"entranceTime": 25.099999999999998,
"stationId": "MILL1"
},
{
"entranceTime": 25.599999999999998,
"stationId": "QEDM"
},
{
"entranceTime": 28.7,
"stationId": "EDM"
},
{
"entranceTime": 30.4,
"stationId": "AB1"
},
{
"entranceTime": 32.1,
"stationId": "MA1"
}
]
}
},
{
"_class": "Dream.Job",
"id": "C3O4",
"results": {
"completionTime": 32.1,
"schedule": [
{
"entranceTime": 6.1,
"stationId": "OD0"
},
{
"entranceTime": 6.1,
"stationId": "QCAM"
},
{
"entranceTime": 19.7,
"stationId": "CAM2"
},
{
"entranceTime": 20.7,
"stationId": "QMILL"
},
{
"entranceTime": 25.599999999999998,
"stationId": "MILL2"
},
{
"entranceTime": 26.099999999999998,
"stationId": "QEDM"
},
{
"entranceTime": 30.4,
"stationId": "EDM"
},
{
"entranceTime": 32.1,
"stationId": "AB1"
},
{
"entranceTime": 32.1,
"stationId": "MA1"
}
]
}
},
{
"_class": "Dream.Machine",
"id": "CAD1",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 3.74331550802139,
"waiting_ratio": 88.77005347593584,
"working_ratio": 7.48663101604278
}
},
{
"_class": "Dream.Machine",
"id": "CAD2",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 3.2085561497326203,
"waiting_ratio": 90.37433155080214,
"working_ratio": 6.41711229946524
}
},
{
"_class": "Dream.Machine",
"id": "CAM1",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 2.6737967914438454,
"waiting_ratio": 86.89839572192514,
"working_ratio": 10.427807486631012
}
},
{
"_class": "Dream.Machine",
"id": "CAM2",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 3.208556149732623,
"waiting_ratio": 88.23529411764704,
"working_ratio": 8.55614973262032
}
},
{
"_class": "Dream.Exit",
"id": "E1",
"results": {
"lifespan": 25.875,
"takt_time": 9.350000000000001,
"throughput": 4
}
},
{
"_class": "Dream.Machine",
"id": "EDM",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 8.556149732620336,
"waiting_ratio": 61.22994652406416,
"working_ratio": 30.2139037433155
}
},
{
"_class": "Dream.Machine",
"id": "IM",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 2.1390374331550817,
"waiting_ratio": 86.89839572192513,
"working_ratio": 10.962566844919783
}
},
{
"_class": "Dream.Job",
"id": "M1O1",
"results": {
"completionTime": 36.6,
"schedule": [
{
"entranceTime": 27.7,
"stationId": "MA3"
},
{
"entranceTime": 28.7,
"stationId": "QIM"
},
{
"entranceTime": 34.1,
"stationId": "IM"
},
{
"entranceTime": 36.6,
"stationId": "E1"
}
]
}
},
{
"_class": "Dream.Job",
"id": "M1O2",
"results": {
"completionTime": 13.9,
"schedule": [
{
"entranceTime": 11.100000000000001,
"stationId": "MA1"
},
{
"entranceTime": 13.100000000000001,
"stationId": "QIM"
},
{
"entranceTime": 13.100000000000001,
"stationId": "IM"
},
{
"entranceTime": 13.9,
"stationId": "E1"
}
]
}
},
{
"_class": "Dream.Job",
"id": "M1O3",
"results": {
"completionTime": 15.600000000000001,
"schedule": [
{
"entranceTime": 12.800000000000002,
"stationId": "MA2"
},
{
"entranceTime": 14.800000000000002,
"stationId": "QIM"
},
{
"entranceTime": 14.800000000000002,
"stationId": "IM"
},
{
"entranceTime": 15.600000000000001,
"stationId": "E1"
}
]
}
},
{
"_class": "Dream.Job",
"id": "M1O4",
"results": {
"completionTime": 37.400000000000006,
"schedule": [
{
"entranceTime": 32.1,
"stationId": "MA1"
},
{
"entranceTime": 34.1,
"stationId": "QIM"
},
{
"entranceTime": 36.6,
"stationId": "IM"
},
{
"entranceTime": 37.400000000000006,
"stationId": "E1"
}
]
}
},
{
"_class": "Dream.Machine",
"id": "MA1",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 0.0,
"waiting_ratio": 89.30481283422459,
"working_ratio": 10.6951871657754
}
},
{
"_class": "Dream.Machine",
"id": "MA2",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 0.0,
"waiting_ratio": 94.6524064171123,
"working_ratio": 5.3475935828877
}
},
{
"_class": "Dream.Machine",
"id": "MA3",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 0.0,
"waiting_ratio": 97.32620320855615,
"working_ratio": 2.67379679144385
}
},
{
"_class": "Dream.Machine",
"id": "MILL1",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 8.02139037433155,
"waiting_ratio": 69.51871657754012,
"working_ratio": 22.45989304812834
}
},
{
"_class": "Dream.Machine",
"id": "MILL2",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"load_ratio": 0.0,
"setup_ratio": 5.080213903743314,
"waiting_ratio": 72.99465240641713,
"working_ratio": 21.925133689839566
}
},
{
"_class": "Dream.Job",
"id": "O1",
"results": {
"completionTime": 1.5,
"schedule": [
{
"entranceTime": 0,
"stationId": "Q0"
},
{
"entranceTime": 0.0,
"stationId": "CAD2"
},
{
"entranceTime": 1.5,
"stationId": "OD0"
}
]
}
},
{
"_class": "Dream.Job",
"id": "O2",
"results": {
"completionTime": 2.0999999999999996,
"schedule": [
{
"entranceTime": 0,
"stationId": "Q0"
},
{
"entranceTime": 0.0,
"stationId": "CAD1"
},
{
"entranceTime": 2.0999999999999996,
"stationId": "OD0"
}
]
}
},
{
"_class": "Dream.Job",
"id": "O3",
"results": {
"completionTime": 3.6,
"schedule": [
{
"entranceTime": 0,
"stationId": "Q0"
},
{
"entranceTime": 1.5,
"stationId": "CAD2"
},
{
"entranceTime": 3.6,
"stationId": "OD0"
}
]
}
},
{
"_class": "Dream.Job",
"id": "O4",
"results": {
"completionTime": 6.1,
"schedule": [
{
"entranceTime": 0,
"stationId": "Q0"
},
{
"entranceTime": 4.0,
"stationId": "CAD1"
},
{
"entranceTime": 6.1,
"stationId": "OD0"
}
]
}
},
{
"_class": "Dream.Operator",
"id": "OP1",
"results": {
"waiting_ratio": 0.5347593582887585,
"working_ratio": 99.46524064171123
}
},
{
"_class": "Dream.Operator",
"id": "OP2",
"results": {
"waiting_ratio": 62.8342245989305,
"working_ratio": 37.16577540106951
}
},
{
"_class": "Dream.Operator",
"id": "OP3",
"results": {
"waiting_ratio": 62.8342245989305,
"working_ratio": 37.16577540106951
}
},
{
"_class": "Dream.QueueManagedJob",
"id": "Q0"
},
{
"_class": "Dream.ConditionalBuffer",
"id": "QCAM"
},
{
"_class": "Dream.QueueManagedJob",
"id": "QEDM"
},
{
"_class": "Dream.QueueManagedJob",
"id": "QIM"
},
{
"_class": "Dream.QueueManagedJob",
"id": "QMILL"
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment