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
75678d6e
Commit
75678d6e
authored
Aug 06, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2 tests added regarding capacity stations
parent
ef7af0de
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1040 additions
and
1 deletion
+1040
-1
dream/simulation/JSONInputs/CapacityStationAssembly1.json
dream/simulation/JSONInputs/CapacityStationAssembly1.json
+205
-0
dream/simulation/JSONInputs/CapacityStationEarliestStart1.json
.../simulation/JSONInputs/CapacityStationEarliestStart1.json
+208
-0
dream/tests/dump/CapacityStationAssembly1.json.result
dream/tests/dump/CapacityStationAssembly1.json.result
+329
-0
dream/tests/dump/CapacityStationEarliestStart1.json.result
dream/tests/dump/CapacityStationEarliestStart1.json.result
+297
-0
dream/tests/dump/Topology78.json.result
dream/tests/dump/Topology78.json.result
+1
-1
No files found.
dream/simulation/JSONInputs/CapacityStationAssembly1.json
0 → 100644
View file @
75678d6e
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
],
"2"
:
[
"CB2"
,
"CS2"
,
{}
],
"3"
:
[
"CS2"
,
"CE2"
,
{}
],
"4"
:
[
"CB3"
,
"CS3"
,
{}
],
"5"
:
[
"CS3"
,
"CE3"
,
{}
],
"6"
:
[
"CB4"
,
"CS4"
,
{}
],
"7"
:
[
"CS4"
,
"CE4"
,
{}
]
},
"general"
:
{
"_class"
:
"Dream.Configuration"
,
"confidenceLevel"
:
"0.95"
,
"maxSimTime"
:
"-1"
,
"numberOfReplications"
:
"1"
,
"trace"
:
"Yes"
},
"nodes"
:
{
"CB1"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"SMFBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P1"
,
"name"
:
"P1_SMF_100"
,
"requiredCapacity"
:
100
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_SMF_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"SMF"
,
"intervalCapacity"
:
[
100
,
200
,
300
,
100
,
200
,
300
]
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"nextCapacityStationBufferId"
:
"CB2"
,
"name"
:
"SMFExit"
},
"CB2"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"WELDBuffer"
},
"CS2"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"WELD"
,
"intervalCapacity"
:
[
150
,
60
,
350
,
150
,
60
,
350
]
},
"CE2"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"nextCapacityStationBufferId"
:
"CB4"
,
"name"
:
"WELDExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
100
,
"CS2"
:
50
,
"CS3"
:
50
,
"CS4"
:
50
}
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
,
"CS2"
:
100
,
"CS3"
:
100
,
"CS4"
:
50
}
}
]
},
"CB3"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"CNCBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P1"
,
"name"
:
"P1_CNC_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_CNC_100"
,
"requiredCapacity"
:
100
}
]
},
"CS3"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"CNC"
,
"intervalCapacity"
:
[
50
,
100
,
150
,
100
,
100
,
150
]
},
"CE3"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"nextCapacityStationBufferId"
:
"CB4"
,
"name"
:
"CNCExit"
},
"CB4"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"AssemblyBuffer"
,
"requireFullProject"
:
1
,
"wip"
:
[]
},
"CS4"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"Assembly"
,
"intervalCapacity"
:
[
50
,
100
,
150
,
80
,
300
,
350
]
},
"CE4"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"AssemblyExit"
},
"CSC"
:
{
"_class"
:
"Dream.CapacityStationController"
,
"name"
:
"CSC"
,
"start"
:
"0"
,
"interval"
:
"1"
,
"method"
:
"Dream.None"
}
}
}
\ No newline at end of file
dream/simulation/JSONInputs/CapacityStationEarliestStart1.json
0 → 100644
View file @
75678d6e
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
],
"2"
:
[
"CB2"
,
"CS2"
,
{}
],
"3"
:
[
"CS2"
,
"CE2"
,
{}
],
"4"
:
[
"CB3"
,
"CS3"
,
{}
],
"5"
:
[
"CS3"
,
"CE3"
,
{}
],
"6"
:
[
"CB4"
,
"CS4"
,
{}
],
"7"
:
[
"CS4"
,
"CE4"
,
{}
]
},
"general"
:
{
"_class"
:
"Dream.Configuration"
,
"confidenceLevel"
:
"0.95"
,
"maxSimTime"
:
"-1"
,
"numberOfReplications"
:
"1"
,
"trace"
:
"Yes"
},
"nodes"
:
{
"CB1"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"SMFBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P1"
,
"name"
:
"P1_SMF_100"
,
"requiredCapacity"
:
100
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_SMF_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"SMF"
,
"intervalCapacity"
:
[
100
,
200
,
300
,
100
,
200
,
300
]
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"nextCapacityStationBufferId"
:
"CB2"
,
"name"
:
"SMFExit"
},
"CB2"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"WELDBuffer"
},
"CS2"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"WELD"
,
"intervalCapacity"
:
[
150
,
60
,
350
,
150
,
60
,
350
]
},
"CE2"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"nextCapacityStationBufferId"
:
"CB4"
,
"name"
:
"WELDExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
100
,
"CS2"
:
50
,
"CS3"
:
50
,
"CS4"
:
50
},
"earliestStartDict"
:
{
"CS1"
:
2
}
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
,
"CS2"
:
100
,
"CS3"
:
100
,
"CS4"
:
50
}
}
]
},
"CB3"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"CNCBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P1"
,
"name"
:
"P1_CNC_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_CNC_100"
,
"requiredCapacity"
:
100
}
]
},
"CS3"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"CNC"
,
"intervalCapacity"
:
[
50
,
100
,
150
,
100
,
100
,
150
]
},
"CE3"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"nextCapacityStationBufferId"
:
"CB4"
,
"name"
:
"CNCExit"
},
"CB4"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"AssemblyBuffer"
,
"isAssembly"
:
1
,
"wip"
:
[]
},
"CS4"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"Assembly"
,
"intervalCapacity"
:
[
50
,
100
,
150
,
500
,
300
,
350
]
},
"CE4"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"AssemblyExit"
},
"CSC"
:
{
"_class"
:
"Dream.CapacityStationController"
,
"name"
:
"CSC"
,
"start"
:
"0"
,
"interval"
:
"1"
,
"method"
:
"Dream.None"
}
}
}
\ No newline at end of file
dream/tests/dump/CapacityStationAssembly1.json.result
0 → 100644
View file @
75678d6e
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB2"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB3"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB4"
},
{
"_class": "Dream.Exit",
"id": "CE4",
"results": {
"lifespan": 4.5,
"takt_time": 1.25,
"throughput": 4
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 66.66666666666667,
"P2": 33.333333333333336,
"period": 0.0,
"utilization": 1.0
},
{
"P1": 33.33333333333333,
"P2": 16.666666666666664,
"period": 1.0,
"utilization": 0.24999999999999997
},
{
"period": 2.0,
"utilization": 0.0
},
{
"period": 3.0,
"utilization": 0.0
},
{
"period": 4.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 66.66666666666667,
"operation": "CS1",
"project": "P1",
"time": 0.0
},
{
"allocation": 33.333333333333336,
"operation": "CS1",
"project": "P2",
"time": 0.0
},
{
"allocation": 33.33333333333333,
"operation": "CS1",
"project": "P1",
"time": 1.0
},
{
"allocation": 16.666666666666664,
"operation": "CS1",
"project": "P2",
"time": 1.0
}
],
"meanUtilization": 0.25
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS2",
"results": {
"capacityUsed": [
{
"period": 0.0,
"utilization": 0.0
},
{
"P1": 20.000000000000004,
"P2": 40.00000000000001,
"period": 1.0,
"utilization": 1.0000000000000002
},
{
"P1": 29.999999999999996,
"P2": 59.99999999999999,
"period": 2.0,
"utilization": 0.2571428571428571
},
{
"period": 3.0,
"utilization": 0.0
},
{
"period": 4.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 20.000000000000004,
"operation": "CS2",
"project": "P1",
"time": 1.0
},
{
"allocation": 40.00000000000001,
"operation": "CS2",
"project": "P2",
"time": 1.0
},
{
"allocation": 29.999999999999996,
"operation": "CS2",
"project": "P1",
"time": 2.0
},
{
"allocation": 59.99999999999999,
"operation": "CS2",
"project": "P2",
"time": 2.0
}
],
"meanUtilization": 0.25142857142857145
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS3",
"results": {
"capacityUsed": [
{
"P1": 16.666666666666668,
"P2": 33.333333333333336,
"period": 0.0,
"utilization": 1.0
},
{
"P1": 33.33333333333333,
"P2": 66.66666666666666,
"period": 1.0,
"utilization": 0.9999999999999999
},
{
"period": 2.0,
"utilization": 0.0
},
{
"period": 3.0,
"utilization": 0.0
},
{
"period": 4.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 16.666666666666668,
"operation": "CS3",
"project": "P1",
"time": 0.0
},
{
"allocation": 33.333333333333336,
"operation": "CS3",
"project": "P2",
"time": 0.0
},
{
"allocation": 33.33333333333333,
"operation": "CS3",
"project": "P1",
"time": 1.0
},
{
"allocation": 66.66666666666666,
"operation": "CS3",
"project": "P2",
"time": 1.0
}
],
"meanUtilization": 0.4
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS4",
"results": {
"capacityUsed": [
{
"period": 0.0,
"utilization": 0.0
},
{
"period": 1.0,
"utilization": 0.0
},
{
"period": 2.0,
"utilization": 0.0
},
{
"P1": 40.0,
"P2": 40.0,
"period": 3.0,
"utilization": 1.0
},
{
"P1": 10.0,
"P2": 10.0,
"period": 4.0,
"utilization": 0.06666666666666667
}
],
"detailedWorkPlan": [
{
"allocation": 40.0,
"operation": "CS4",
"project": "P1",
"time": 3.0
},
{
"allocation": 40.0,
"operation": "CS4",
"project": "P2",
"time": 3.0
},
{
"allocation": 10.0,
"operation": "CS4",
"project": "P1",
"time": 4.0
},
{
"allocation": 10.0,
"operation": "CS4",
"project": "P2",
"time": 4.0
}
],
"meanUtilization": 0.21333333333333335
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
},
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS3"
},
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS2"
},
{
"entranceTime": 3.0,
"exitTime": 5.0,
"stationId": "CS4"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
},
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS3"
},
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS2"
},
{
"entranceTime": 3.0,
"exitTime": 5.0,
"stationId": "CS4"
}
]
}
},
{
"_class": "Dream.Queue",
"id": "QD"
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
dream/tests/dump/CapacityStationEarliestStart1.json.result
0 → 100644
View file @
75678d6e
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB2"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB3"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB4"
},
{
"_class": "Dream.Exit",
"id": "CE4",
"results": {
"lifespan": 2.5,
"takt_time": 0.75,
"throughput": 4
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 66.66666666666667,
"P2": 33.333333333333336,
"period": 0.0,
"utilization": 1.0
},
{
"P1": 33.33333333333333,
"P2": 16.666666666666664,
"period": 1.0,
"utilization": 0.24999999999999997
},
{
"period": 2.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 66.66666666666667,
"operation": "CS1",
"project": "P1",
"time": 0.0
},
{
"allocation": 33.333333333333336,
"operation": "CS1",
"project": "P2",
"time": 0.0
},
{
"allocation": 33.33333333333333,
"operation": "CS1",
"project": "P1",
"time": 1.0
},
{
"allocation": 16.666666666666664,
"operation": "CS1",
"project": "P2",
"time": 1.0
}
],
"meanUtilization": 0.41666666666666663
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS2",
"results": {
"capacityUsed": [
{
"period": 0.0,
"utilization": 0.0
},
{
"P1": 20.000000000000004,
"P2": 40.00000000000001,
"period": 1.0,
"utilization": 1.0000000000000002
},
{
"P1": 29.999999999999996,
"P2": 59.99999999999999,
"period": 2.0,
"utilization": 0.2571428571428571
}
],
"detailedWorkPlan": [
{
"allocation": 20.000000000000004,
"operation": "CS2",
"project": "P1",
"time": 1.0
},
{
"allocation": 40.00000000000001,
"operation": "CS2",
"project": "P2",
"time": 1.0
},
{
"allocation": 29.999999999999996,
"operation": "CS2",
"project": "P1",
"time": 2.0
},
{
"allocation": 59.99999999999999,
"operation": "CS2",
"project": "P2",
"time": 2.0
}
],
"meanUtilization": 0.4190476190476191
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS3",
"results": {
"capacityUsed": [
{
"P1": 16.666666666666668,
"P2": 33.333333333333336,
"period": 0.0,
"utilization": 1.0
},
{
"P1": 33.33333333333333,
"P2": 66.66666666666666,
"period": 1.0,
"utilization": 0.9999999999999999
},
{
"period": 2.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 16.666666666666668,
"operation": "CS3",
"project": "P1",
"time": 0.0
},
{
"allocation": 33.333333333333336,
"operation": "CS3",
"project": "P2",
"time": 0.0
},
{
"allocation": 33.33333333333333,
"operation": "CS3",
"project": "P1",
"time": 1.0
},
{
"allocation": 66.66666666666666,
"operation": "CS3",
"project": "P2",
"time": 1.0
}
],
"meanUtilization": 0.6666666666666666
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS4",
"results": {
"capacityUsed": [
{
"period": 0.0,
"utilization": 0.0
},
{
"P1": 16.666666666666668,
"P2": 16.666666666666668,
"period": 1.0,
"utilization": 0.33333333333333337
},
{
"P1": 53.33333333333333,
"P2": 53.33333333333333,
"period": 2.0,
"utilization": 0.711111111111111
}
],
"detailedWorkPlan": [
{
"allocation": 16.666666666666668,
"operation": "CS4",
"project": "P1",
"time": 1.0
},
{
"allocation": 16.666666666666668,
"operation": "CS4",
"project": "P2",
"time": 1.0
},
{
"allocation": 53.33333333333333,
"operation": "CS4",
"project": "P1",
"time": 2.0
},
{
"allocation": 53.33333333333333,
"operation": "CS4",
"project": "P2",
"time": 2.0
}
],
"meanUtilization": 0.34814814814814815
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
},
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS3"
},
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS4"
},
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
},
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS3"
},
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS4"
},
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.Queue",
"id": "QD"
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
dream/tests/dump/Topology78.json.result
View file @
75678d6e
...
...
@@ -199,4 +199,4 @@
"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