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
97977c49
Commit
97977c49
authored
Aug 08, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3 new tests on shared resources
parent
7c246a10
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
849 additions
and
0 deletions
+849
-0
dream/simulation/JSONInputs/CapacityStationSharedResources1.json
...imulation/JSONInputs/CapacityStationSharedResources1.json
+139
-0
dream/simulation/JSONInputs/CapacityStationSharedResources2.json
...imulation/JSONInputs/CapacityStationSharedResources2.json
+139
-0
dream/simulation/JSONInputs/CapacityStationSharedResources3.json
...imulation/JSONInputs/CapacityStationSharedResources3.json
+140
-0
dream/tests/dump/CapacityStationSharedResources1.json.result
dream/tests/dump/CapacityStationSharedResources1.json.result
+156
-0
dream/tests/dump/CapacityStationSharedResources2.json.result
dream/tests/dump/CapacityStationSharedResources2.json.result
+141
-0
dream/tests/dump/CapacityStationSharedResources3.json.result
dream/tests/dump/CapacityStationSharedResources3.json.result
+134
-0
No files found.
dream/simulation/JSONInputs/CapacityStationSharedResources1.json
0 → 100644
View file @
97977c49
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
],
"2"
:
[
"CB2"
,
"CS2"
,
{}
],
"3"
:
[
"CS2"
,
"CE2"
,
{}
]
},
"general"
:
{
"_class"
:
"Dream.Configuration"
,
"confidenceLevel"
:
"0.95"
,
"maxSimTime"
:
"-1"
,
"numberOfReplications"
:
"1"
,
"trace"
:
"Yes"
},
"nodes"
:
{
"CB1"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"PPASBBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P1"
,
"name"
:
"P1_ASBTST_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"PPASB"
,
"intervalCapacity"
:
[
80
,
50
,
300
,
100
,
200
,
300
],
"sharedResources"
:
{
"stationIds"
:
[
"CS2"
],
"priority"
:
1
}
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"PPASBExit"
,
"nextCapacityStationBufferId"
:
"CB2"
},
"CB2"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"ASBTSTBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_ASBTST_50"
,
"requiredCapacity"
:
50
}
]
},
"CS2"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"ASBTST"
,
"intervalCapacity"
:
[
80
,
50
,
300
,
100
,
200
,
300
],
"sharedResources"
:
{
"stationIds"
:
[
"CS1"
],
"priority"
:
2
}
},
"CE2"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"ASBTSTExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
,
"CS2"
:
100
},
"dueDate"
:
10
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS2"
:
50
},
"dueDate"
:
10
}
]
},
"CSC"
:
{
"_class"
:
"Dream.CapacityStationController"
,
"name"
:
"CSC"
,
"start"
:
"0"
,
"interval"
:
"1"
,
"method"
:
"Dream.None"
,
"prioritizeIfCanFinish"
:
1
,
"dueDateThreshold"
:
7
}
}
}
\ No newline at end of file
dream/simulation/JSONInputs/CapacityStationSharedResources2.json
0 → 100644
View file @
97977c49
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
],
"2"
:
[
"CB2"
,
"CS2"
,
{}
],
"3"
:
[
"CS2"
,
"CE2"
,
{}
]
},
"general"
:
{
"_class"
:
"Dream.Configuration"
,
"confidenceLevel"
:
"0.95"
,
"maxSimTime"
:
"-1"
,
"numberOfReplications"
:
"1"
,
"trace"
:
"Yes"
},
"nodes"
:
{
"CB1"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"PPASBBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P1"
,
"name"
:
"P1_PPASB_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"PPASB"
,
"intervalCapacity"
:
[
80
,
50
,
300
,
100
,
200
,
300
],
"sharedResources"
:
{
"stationIds"
:
[
"CS2"
],
"priority"
:
2
}
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"PPASBExit"
,
"nextCapacityStationBufferId"
:
"CB2"
},
"CB2"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"ASBTSTBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_ASBTST_50"
,
"requiredCapacity"
:
50
}
]
},
"CS2"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"ASBTST"
,
"intervalCapacity"
:
[
80
,
50
,
300
,
100
,
200
,
300
],
"sharedResources"
:
{
"stationIds"
:
[
"CS1"
],
"priority"
:
1
}
},
"CE2"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"ASBTSTExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
,
"CS2"
:
100
},
"dueDate"
:
10
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS2"
:
50
},
"dueDate"
:
10
}
]
},
"CSC"
:
{
"_class"
:
"Dream.CapacityStationController"
,
"name"
:
"CSC"
,
"start"
:
"0"
,
"interval"
:
"1"
,
"method"
:
"Dream.None"
,
"prioritizeIfCanFinish"
:
1
,
"dueDateThreshold"
:
7
}
}
}
\ No newline at end of file
dream/simulation/JSONInputs/CapacityStationSharedResources3.json
0 → 100644
View file @
97977c49
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
],
"2"
:
[
"CB2"
,
"CS2"
,
{}
],
"3"
:
[
"CS2"
,
"CE2"
,
{}
]
},
"general"
:
{
"_class"
:
"Dream.Configuration"
,
"confidenceLevel"
:
"0.95"
,
"maxSimTime"
:
"-1"
,
"numberOfReplications"
:
"1"
,
"trace"
:
"Yes"
},
"nodes"
:
{
"CB1"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"PPASBBuffer"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P1"
,
"name"
:
"P1_ASBTST_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"PPASB"
,
"intervalCapacity"
:
[
80
,
50
,
300
,
100
,
200
,
300
],
"sharedResources"
:
{
"stationIds"
:
[
"CS2"
],
"priority"
:
1
}
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"PPASBExit"
,
"nextCapacityStationBufferId"
:
"CB2"
},
"CB2"
:
{
"_class"
:
"Dream.CapacityStationBuffer"
,
"name"
:
"ASBTSTBuffer"
,
"requireFullProject"
:
1
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_ASBTST_50"
,
"requiredCapacity"
:
50
}
]
},
"CS2"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"ASBTST"
,
"intervalCapacity"
:
[
80
,
50
,
300
,
100
,
200
,
300
],
"sharedResources"
:
{
"stationIds"
:
[
"CS1"
],
"priority"
:
2
}
},
"CE2"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"ASBTSTExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
,
"CS2"
:
100
},
"dueDate"
:
10
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS2"
:
50
},
"dueDate"
:
10
}
]
},
"CSC"
:
{
"_class"
:
"Dream.CapacityStationController"
,
"name"
:
"CSC"
,
"start"
:
"0"
,
"interval"
:
"1"
,
"method"
:
"Dream.None"
,
"prioritizeIfCanFinish"
:
1
,
"dueDateThreshold"
:
7
}
}
}
\ No newline at end of file
dream/tests/dump/CapacityStationSharedResources1.json.result
0 → 100644
View file @
97977c49
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB2"
},
{
"_class": "Dream.Exit",
"id": "CE2",
"results": {
"lifespan": 2.5,
"takt_time": 1.0,
"throughput": 4
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 30.0,
"period": 0.0,
"utilization": 1.0
},
{
"period": 1.0,
"utilization": 0
},
{
"P1": 20.0,
"period": 2.0,
"utilization": 0.06896551724137931
},
{
"period": 3.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 30.0,
"operation": "CS1",
"project": "P1",
"time": 0.0
},
{
"allocation": 20.0,
"operation": "CS1",
"project": "P1",
"time": 2.0
}
],
"meanUtilization": 0.2672413793103448
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS2",
"results": {
"capacityUsed": [
{
"P2": 50,
"period": 0.0,
"utilization": 0
},
{
"P1": 50.0,
"period": 1.0,
"utilization": 0
},
{
"P1": 10.0,
"period": 2.0,
"utilization": 0.037037037037037035
},
{
"P1": 40.0,
"period": 3.0,
"utilization": 0.6666666666666666
}
],
"detailedWorkPlan": [
{
"allocation": 50,
"operation": "CS2",
"project": "P2",
"time": 0.0
},
{
"allocation": 50.0,
"operation": "CS2",
"project": "P1",
"time": 1.0
},
{
"allocation": 10.0,
"operation": "CS2",
"project": "P1",
"time": 2.0
},
{
"allocation": 40.0,
"operation": "CS2",
"project": "P1",
"time": 3.0
}
],
"meanUtilization": 0.17592592592592593
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 3.0,
"stationId": "CS1"
},
{
"entranceTime": 1.0,
"exitTime": 4.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 1.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.Queue",
"id": "QD"
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
dream/tests/dump/CapacityStationSharedResources2.json.result
0 → 100644
View file @
97977c49
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB2"
},
{
"_class": "Dream.Exit",
"id": "CE2",
"results": {
"lifespan": 2.0,
"takt_time": 0.75,
"throughput": 4
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 50,
"period": 0.0,
"utilization": 0
},
{
"period": 1.0,
"utilization": 0
},
{
"period": 2.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 50,
"operation": "CS1",
"project": "P1",
"time": 0.0
}
],
"meanUtilization": 0.0
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS2",
"results": {
"capacityUsed": [
{
"P2": 30.0,
"period": 0.0,
"utilization": 1.0
},
{
"P1": 30.0,
"P2": 20.0,
"period": 1.0,
"utilization": 1.0
},
{
"P1": 70.0,
"period": 2.0,
"utilization": 0.23333333333333334
}
],
"detailedWorkPlan": [
{
"allocation": 30.0,
"operation": "CS2",
"project": "P2",
"time": 0.0
},
{
"allocation": 20.0,
"operation": "CS2",
"project": "P2",
"time": 1.0
},
{
"allocation": 30.0,
"operation": "CS2",
"project": "P1",
"time": 1.0
},
{
"allocation": 70.0,
"operation": "CS2",
"project": "P1",
"time": 2.0
}
],
"meanUtilization": 0.7444444444444445
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 1.0,
"stationId": "CS1"
},
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.Queue",
"id": "QD"
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
dream/tests/dump/CapacityStationSharedResources3.json.result
0 → 100644
View file @
97977c49
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB2"
},
{
"_class": "Dream.Exit",
"id": "CE2",
"results": {
"lifespan": 2.0,
"takt_time": 1.5,
"throughput": 2
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 30.0,
"period": 0.0,
"utilization": 1.0
},
{
"P1": 20.0,
"period": 1.0,
"utilization": 0.4
},
{
"period": 2.0,
"utilization": 0.0
}
],
"detailedWorkPlan": [
{
"allocation": 30.0,
"operation": "CS1",
"project": "P1",
"time": 0.0
},
{
"allocation": 20.0,
"operation": "CS1",
"project": "P1",
"time": 1.0
}
],
"meanUtilization": 0.4666666666666667
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS2",
"results": {
"capacityUsed": [
{
"P2": 50,
"period": 0.0,
"utilization": 0
},
{
"period": 1.0,
"utilization": 0.0
},
{
"P1": 100,
"period": 2.0,
"utilization": 0.5
}
],
"detailedWorkPlan": [
{
"allocation": 50,
"operation": "CS2",
"project": "P2",
"time": 0.0
},
{
"allocation": 100,
"operation": "CS2",
"project": "P1",
"time": 2.0
}
],
"meanUtilization": 0.16666666666666666
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
},
{
"entranceTime": 2.0,
"exitTime": 3.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 1.0,
"stationId": "CS2"
}
]
}
},
{
"_class": "Dream.Queue",
"id": "QD"
}
],
"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