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
ff890792
Commit
ff890792
authored
Aug 07, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3 new tests
parent
119b3595
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
686 additions
and
0 deletions
+686
-0
dream/simulation/JSONInputs/CapacityStationPrioritizeIfCanFinish1.json
...ion/JSONInputs/CapacityStationPrioritizeIfCanFinish1.json
+108
-0
dream/simulation/JSONInputs/CapacityStationPrioritizeIfCanFinish2.json
...ion/JSONInputs/CapacityStationPrioritizeIfCanFinish2.json
+108
-0
dream/simulation/JSONInputs/CapacityStationPrioritizeIfCanFinish3.json
...ion/JSONInputs/CapacityStationPrioritizeIfCanFinish3.json
+108
-0
dream/tests/dump/CapacityStationPrioritizeIfCanFinish1.json.result
...ts/dump/CapacityStationPrioritizeIfCanFinish1.json.result
+122
-0
dream/tests/dump/CapacityStationPrioritizeIfCanFinish2.json.result
...ts/dump/CapacityStationPrioritizeIfCanFinish2.json.result
+111
-0
dream/tests/dump/CapacityStationPrioritizeIfCanFinish3.json.result
...ts/dump/CapacityStationPrioritizeIfCanFinish3.json.result
+129
-0
No files found.
dream/simulation/JSONInputs/CapacityStationPrioritizeIfCanFinish1.json
0 → 100644
View file @
ff890792
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
]
},
"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_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_SMF_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P3"
,
"name"
:
"P3_SMF_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"SMF"
,
"intervalCapacity"
:
[
75
,
50
,
300
,
100
,
200
,
300
]
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"SMFExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
10
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
12
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P3"
,
"name"
:
"P3"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
30
}
]
},
"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/CapacityStationPrioritizeIfCanFinish2.json
0 → 100644
View file @
ff890792
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
]
},
"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_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_SMF_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P3"
,
"name"
:
"P3_SMF_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"SMF"
,
"intervalCapacity"
:
[
125
,
50
,
300
,
100
,
200
,
300
]
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"SMFExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
10
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
12
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P3"
,
"name"
:
"P3"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
11
}
]
},
"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/CapacityStationPrioritizeIfCanFinish3.json
0 → 100644
View file @
ff890792
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"0"
:
[
"CB1"
,
"CS1"
,
{}
],
"1"
:
[
"CS1"
,
"CE1"
,
{}
]
},
"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_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P2"
,
"name"
:
"P2_SMF_50"
,
"requiredCapacity"
:
50
},
{
"_class"
:
"Dream.CapacityEntity"
,
"capacityProjectId"
:
"P3"
,
"name"
:
"P3_SMF_50"
,
"requiredCapacity"
:
50
}
]
},
"CS1"
:
{
"_class"
:
"Dream.CapacityStation"
,
"name"
:
"SMF"
,
"intervalCapacity"
:
[
80
,
50
,
300
,
100
,
200
,
300
]
},
"CE1"
:
{
"_class"
:
"Dream.CapacityStationExit"
,
"name"
:
"SMFExit"
},
"QD"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
"-1"
,
"id"
:
"QD"
,
"name"
:
"DUMMY"
,
"wip"
:
[
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P1"
,
"name"
:
"P1"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
10
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P2"
,
"name"
:
"P2"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
12
},
{
"_class"
:
"Dream.CapacityProject"
,
"id"
:
"P3"
,
"name"
:
"P3"
,
"capacityRequirementDict"
:
{
"CS1"
:
50
},
"dueDate"
:
11
}
]
},
"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/CapacityStationPrioritizeIfCanFinish1.json.result
0 → 100644
View file @
ff890792
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.Exit",
"id": "CE1",
"results": {
"lifespan": 1.8,
"takt_time": 0.6,
"throughput": 5
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 50,
"P2": 25.0,
"period": 0.0,
"utilization": 1.0
},
{
"P2": 25.0,
"P3": 25.0,
"period": 1.0,
"utilization": 1.0
},
{
"P3": 25.0,
"period": 2.0,
"utilization": 0.08333333333333333
}
],
"detailedWorkPlan": [
{
"allocation": 50,
"operation": "CS1",
"project": "P1",
"time": 0.0
},
{
"allocation": 25.0,
"operation": "CS1",
"project": "P2",
"time": 0.0
},
{
"allocation": 25.0,
"operation": "CS1",
"project": "P2",
"time": 1.0
},
{
"allocation": 25.0,
"operation": "CS1",
"project": "P3",
"time": 1.0
},
{
"allocation": 25.0,
"operation": "CS1",
"project": "P3",
"time": 2.0
}
],
"meanUtilization": 0.6944444444444444
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 1.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P3",
"results": {
"schedule": [
{
"entranceTime": 1.0,
"exitTime": 3.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.Queue",
"id": "QD"
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
dream/tests/dump/CapacityStationPrioritizeIfCanFinish2.json.result
0 → 100644
View file @
ff890792
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.Exit",
"id": "CE1",
"results": {
"lifespan": 1.25,
"takt_time": 0.5,
"throughput": 4
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 50,
"P2": 25.0,
"P3": 50,
"period": 0.0,
"utilization": 1.0
},
{
"P2": 25.0,
"period": 1.0,
"utilization": 0.5
}
],
"detailedWorkPlan": [
{
"allocation": 50,
"operation": "CS1",
"project": "P1",
"time": 0.0
},
{
"allocation": 50,
"operation": "CS1",
"project": "P3",
"time": 0.0
},
{
"allocation": 25.0,
"operation": "CS1",
"project": "P2",
"time": 0.0
},
{
"allocation": 25.0,
"operation": "CS1",
"project": "P2",
"time": 1.0
}
],
"meanUtilization": 0.75
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 1.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P3",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 1.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.Queue",
"id": "QD"
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
dream/tests/dump/CapacityStationPrioritizeIfCanFinish3.json.result
0 → 100644
View file @
ff890792
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.CapacityStationBuffer",
"id": "CB1"
},
{
"_class": "Dream.Exit",
"id": "CE1",
"results": {
"lifespan": 1.6666666666666667,
"takt_time": 0.5,
"throughput": 6
}
},
{
"_class": "Dream.CapacityStation",
"id": "CS1",
"results": {
"capacityUsed": [
{
"P1": 50,
"P2": 15.0,
"P3": 15.0,
"period": 0.0,
"utilization": 1.0
},
{
"P2": 15.0,
"P3": 35.0,
"period": 1.0,
"utilization": 1.0
},
{
"P2": 20.0,
"period": 2.0,
"utilization": 0.06666666666666667
}
],
"detailedWorkPlan": [
{
"allocation": 50,
"operation": "CS1",
"project": "P1",
"time": 0.0
},
{
"allocation": 15.0,
"operation": "CS1",
"project": "P3",
"time": 0.0
},
{
"allocation": 15.0,
"operation": "CS1",
"project": "P2",
"time": 0.0
},
{
"allocation": 35.0,
"operation": "CS1",
"project": "P3",
"time": 1.0
},
{
"allocation": 15.0,
"operation": "CS1",
"project": "P2",
"time": 1.0
},
{
"allocation": 20.0,
"operation": "CS1",
"project": "P2",
"time": 2.0
}
],
"meanUtilization": 0.6888888888888889
}
},
{
"_class": "Dream.CapacityProject",
"id": "P1",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 1.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P2",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 3.0,
"stationId": "CS1"
}
]
}
},
{
"_class": "Dream.CapacityProject",
"id": "P3",
"results": {
"schedule": [
{
"entranceTime": 0.0,
"exitTime": 2.0,
"stationId": "CS1"
}
]
}
},
{
"_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