Commit 76388990 authored by Sebastien Robin's avatar Sebastien Robin

another possible format

parent 5126cb74
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"Q1",
"M1",
{}
],
"4": [
"E1",
"M2",
{}
],
"5": [
"M1",
"DummyQ",
{}
],
"6": [
"M2",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
"isDummy": "1",
"name": "DummyQ"
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "Fixed"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"Q1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "Fixed"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"M1"
]
},
{
"_class": "Dream.Queue",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"predecessorList": [
"M1"
],
"successorList": [
"M2"
]
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material"
},
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"name": "W1"
}
},
"preferences": {
"DummyQ": {
"left": 0.6979166666666667,
"top": 0.7720588235294118
},
"E1": {
"left": 0.296875,
"top": 0.04656862745098034
},
"M1": {
"left": 0.4375,
"top": 0.5906862745098039
},
"M2": {
"left": 0.296875,
"top": 0.2279411764705882
},
"Q1": {
"left": 0.4375,
"top": 0.40931372549019607
},
"S1": {
"left": 0.6979166666666667,
"top": 0.9534313725490196
},
"W1": {
"left": 0.15104166666666663,
"top": 0.7720588235294118
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Parts",
"successorList": [
"A1"
]
},
{
"_class": "Dream.Source",
"entity": "Frame",
"id": "S2",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Frames",
"successorList": [
"A1"
]
},
{
"edges": {
"0": [
"A1",
"S1",
{}
],
"1": [
"A1",
"S2",
{}
],
"2": [
"M1",
"A1",
{}
],
"3": [
"E1",
"M1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"A1": {
"_class": "Dream.Assembly",
"id": "A1",
"name": "Assembly",
"processingTime": {
"distributionType": "Fixed",
"mean": "2"
},
"successorList": [
"M1"
]
}
},
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
......@@ -47,27 +50,51 @@
"failureDistribution": "Fixed",
"repairman": "None"
},
"id": "M1",
"name": "Moulding",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
}
},
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"successorList": [
"E1"
]
"name": "Parts"
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"S2": {
"_class": "Dream.Source",
"entity": "Frame",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Frames"
}
},
"preferences": {
"A1": {
"left": 0.5,
"top": 0.6423076923076922
},
"E1": {
"left": 0.5,
"top": 0.07307692307692304
},
"M1": {
"left": 0.5,
"top": 0.35769230769230764
},
"S1": {
"left": 0.7857142857142857,
"top": 0.926923076923077
},
"S2": {
"left": 0.2142857142857143,
"top": 0.926923076923077
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"M2",
"M1",
{}
],
"4": [
"E1",
"M2",
{}
],
"5": [
"M1",
"DummyQ",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
"isDummy": "1",
"name": "DummyQ"
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"E1": {
"_class": "Dream.Exit"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "Fixed"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"M2"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "Fixed"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
}
},
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"successorList": [
"E1"
]
"name": "Raw Material"
},
{
"_class": "Dream.Queue",
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"M1"
]
"name": "W1"
}
},
"preferences": {
"DummyQ": {
"left": 0.30208333333333337,
"top": 0.721556886227545
},
"E1": {
"left": 0.7083333333333333,
"top": 0.05688622754491013
},
{
"_class": "Dream.Exit",
"id": "E1"
"M1": {
"left": 0.5625,
"top": 0.5
},
"M2": {
"left": 0.7083333333333333,
"top": 0.2784431137724551
},
"S1": {
"left": 0.30208333333333337,
"top": 0.9431137724550899
},
"W1": {
"left": 0.8489583333333334,
"top": 0.721556886227545
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"E1",
"M1",
{}
],
"4": [
"Q1",
"M2",
{}
],
"5": [
"M2",
"DummyQ",
{}
],
"6": [
"M1",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
"isDummy": "1",
"name": "DummyQ"
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "Fixed"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"E1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "Fixed"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"Q1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"M2"
]
"isDummy": "0",
"name": "Q1"
},
{
"_class": "Dream.Queue",
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material"
},
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M1"
]
"name": "W1"
}
},
"preferences": {
"DummyQ": {
"left": 0.6979166666666667,
"top": 0.7720588235294118
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"E1": {
"left": 0.296875,
"top": 0.04656862745098034
},
"M1": {
"left": 0.296875,
"top": 0.2279411764705882
},
"M2": {
"left": 0.4375,
"top": 0.5906862745098039
},
"Q1": {
"left": 0.4375,
"top": 0.40931372549019607
},
"S1": {
"left": 0.6979166666666667,
"top": 0.9534313725490196
},
"W1": {
"left": 0.15104166666666663,
"top": 0.7720588235294118
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Parts",
"successorList": [
"A1"
]
},
{
"_class": "Dream.Source",
"entity": "Frame",
"id": "S2",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Frames",
"successorList": [
"A1"
]
},
{
"edges": {
"0": [
"A1",
"S1",
{}
],
"1": [
"A1",
"S2",
{}
],
"2": [
"M1",
"A1",
{}
],
"3": [
"Q1",
"M1",
{}
],
"4": [
"E1",
"M2",
{}
],
"5": [
"M2",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"A1": {
"_class": "Dream.Assembly",
"id": "A1",
"name": "Assembly",
"processingTime": {
"distributionType": "Fixed",
"mean": "2"
},
"successorList": [
"M1"
]
}
},
{
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
......@@ -47,17 +60,13 @@
"failureDistribution": "Fixed",
"repairman": "None"
},
"id": "M1",
"name": "Moulding",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"Q1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
......@@ -65,37 +74,65 @@
"failureDistribution": "Fixed",
"repairman": "None"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M2"
]
"name": "Q1"
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Parts"
},
"S2": {
"_class": "Dream.Source",
"entity": "Frame",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Frames"
}
},
"preferences": {
"A1": {
"left": 0.5,
"top": 0.7720588235294118
},
"E1": {
"left": 0.5,
"top": 0.04656862745098034
},
"M1": {
"left": 0.5,
"top": 0.5906862745098039
},
"M2": {
"left": 0.5,
"top": 0.2279411764705882
},
"Q1": {
"left": 0.5,
"top": 0.40931372549019607
},
"S1": {
"left": 0.2142857142857143,
"top": 0.9534313725490196
},
"S2": {
"left": 0.7857142857142857,
"top": 0.9534313725490196
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"Q1",
"M1",
{}
],
"4": [
"M3",
"M2",
{}
],
"5": [
"E1",
"M3",
{}
],
"6": [
"M1",
"DummyQ",
{}
],
"7": [
"M2",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
"isDummy": "1",
"name": "DummyQ"
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "Fixed"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"Q1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "Fixed"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"M3"
]
}
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M3",
"name": "Machine3",
"processingTime": {
"distributionType": "Fixed",
"mean": "3"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"M1"
]
"isDummy": "0",
"name": "Q1"
},
{
"_class": "Dream.Queue",
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material"
},
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M2"
]
"name": "W1"
}
},
"preferences": {
"DummyQ": {
"left": 0.6979166666666667,
"top": 0.8070539419087137
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"E1": {
"left": 0.296875,
"top": 0.03941908713692943
},
"M1": {
"left": 0.4375,
"top": 0.6535269709543569
},
"M2": {
"left": 0.296875,
"top": 0.34647302904564314
},
"M3": {
"left": 0.296875,
"top": 0.1929460580912863
},
"Q1": {
"left": 0.4375,
"top": 0.5
},
"S1": {
"left": 0.6979166666666667,
"top": 0.9605809128630706
},
"W1": {
"left": 0.15104166666666663,
"top": 0.8070539419087137
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material 1",
"successorList": [
"M1"
]
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S2",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "1"
},
"name": "Raw Material 2",
"successorList": [
"M2"
]
"edges": {
"0": [
"M1",
"S1",
{}
],
"1": [
"M2",
"S2",
{}
],
"2": [
"Q1",
"M1",
{}
],
"3": [
"Q1",
"M2",
{}
],
"4": [
"E1",
"M3",
{}
],
"5": [
"M3",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
......@@ -35,17 +52,13 @@
"failureDistribution": "Fixed",
"repairman": "None"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"Q1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
......@@ -53,52 +66,76 @@
"failureDistribution": "Fixed",
"repairman": "None"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"Q1"
]
}
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M3",
"name": "Machine3",
"processingTime": {
"distributionType": "Fixed",
"mean": "1"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M3"
]
"name": "Q1"
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material 1"
},
"S2": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "1"
},
"name": "Raw Material 2"
}
},
"preferences": {
"E1": {
"left": 0.5,
"top": 0.05688622754491013
},
"M1": {
"left": 0.7857142857142857,
"top": 0.721556886227545
},
"M2": {
"left": 0.2142857142857143,
"top": 0.721556886227545
},
"M3": {
"left": 0.5,
"top": 0.2784431137724551
},
"Q1": {
"left": 0.5,
"top": 0.5
},
"S1": {
"left": 0.7857142857142857,
"top": 0.9431137724550899
},
"S2": {
"left": 0.2142857142857143,
"top": 0.9431137724550899
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material 1",
"successorList": [
"M1"
]
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S2",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "1"
},
"name": "Raw Material 2",
"successorList": [
"M2"
]
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S3",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Raw Material 3",
"successorList": [
"M3"
]
"edges": {
"0": [
"M1",
"S1",
{}
],
"1": [
"M2",
"S2",
{}
],
"2": [
"M3",
"S3",
{}
],
"3": [
"Q1",
"M1",
{}
],
"4": [
"Q1",
"M2",
{}
],
"5": [
"Q1",
"M3",
{}
],
"6": [
"E1",
"M4",
{}
],
"7": [
"M4",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"Q1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"Q1"
]
}
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M3",
"name": "Machine3",
"processingTime": {
"distributionType": "Fixed",
"mean": "1"
},
"successorList": [
"Q1"
]
}
},
{
"M4": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M4",
"name": "Machine4",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.25"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M4"
]
"name": "Q1"
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material 1"
},
"S2": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "1"
},
"name": "Raw Material 2"
},
"S3": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Raw Material 3"
}
},
"preferences": {
"E1": {
"left": 0.5,
"top": 0.05688622754491013
},
"M1": {
"left": 0.8636363636363636,
"top": 0.721556886227545
},
"M2": {
"left": 0.13636363636363635,
"top": 0.721556886227545
},
"M3": {
"left": 0.5,
"top": 0.721556886227545
},
"M4": {
"left": 0.5,
"top": 0.2784431137724551
},
"Q1": {
"left": 0.5,
"top": 0.5
},
"S1": {
"left": 0.8636363636363636,
"top": 0.9431137724550899
},
"S2": {
"left": 0.13636363636363635,
"top": 0.9431137724550899
},
"S3": {
"left": 0.5,
"top": 0.9431137724550899
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"M1"
]
"edges": {
"0": [
"M1",
"S1",
{}
],
"1": [
"E1",
"M1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M1",
"name": "Moulding",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
}
},
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"successorList": [
"E1"
]
"name": "Raw Material"
}
},
"preferences": {
"E1": {
"left": 0.5,
"top": 0.10215053763440862
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"M1": {
"left": 0.5,
"top": 0.5
},
"S1": {
"left": 0.5,
"top": 0.8978494623655914
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material 1",
"successorList": [
"M1"
]
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S2",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "1"
},
"name": "Raw Material 2",
"successorList": [
"M2"
]
"edges": {
"0": [
"M1",
"S1",
{}
],
"1": [
"M2",
"S2",
{}
],
"2": [
"Q1",
"M1",
{}
],
"3": [
"Q1",
"M2",
{}
],
"4": [
"E1",
"M3",
{}
],
"5": [
"E1",
"M4",
{}
],
"6": [
"M3",
"Q1",
{}
],
"7": [
"M4",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"Q1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"Q1"
]
}
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M3",
"name": "Machine3",
"processingTime": {
"distributionType": "Fixed",
"mean": "1"
},
"successorList": [
"E1"
]
}
},
{
"M4": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M4",
"name": "Machine4",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.25"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M3",
"M4"
]
"name": "Q1"
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material 1"
},
"S2": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "1"
},
"name": "Raw Material 2"
}
},
"preferences": {
"E1": {
"left": 0.5,
"top": 0.05688622754491013
},
"M1": {
"left": 0.7857142857142857,
"top": 0.721556886227545
},
"M2": {
"left": 0.2142857142857143,
"top": 0.721556886227545
},
"M3": {
"left": 0.2142857142857143,
"top": 0.2784431137724551
},
"M4": {
"left": 0.7857142857142857,
"top": 0.2784431137724551
},
"Q1": {
"left": 0.5,
"top": 0.5
},
"S1": {
"left": 0.7857142857142857,
"top": 0.9431137724550899
},
"S2": {
"left": 0.2142857142857143,
"top": 0.9431137724550899
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"M3",
"M1",
{}
],
"4": [
"M3",
"M2",
{}
],
"5": [
"E1",
"M3",
{}
],
"6": [
"Q1",
"DummyQ",
{}
],
"7": [
"M1",
"Q1",
{}
],
"8": [
"M2",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
"isDummy": "1",
"name": "DummyQ"
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "No"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"M3"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "No"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"M3"
]
}
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M3",
"name": "Machine3",
"processingTime": {
"distributionType": "Fixed",
"mean": "2"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"Q1"
]
"isDummy": "0",
"name": "Q1"
},
{
"_class": "Dream.Queue",
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material"
},
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M1",
"M2"
]
"name": "W1"
}
},
"preferences": {
"DummyQ": {
"left": 0.639751552795031,
"top": 0.7720588235294118
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"E1": {
"left": 0.40993788819875776,
"top": 0.04656862745098034
},
"M1": {
"left": 0.6335403726708074,
"top": 0.40931372549019607
},
"M2": {
"left": 0.1863354037267081,
"top": 0.40931372549019607
},
"M3": {
"left": 0.40993788819875776,
"top": 0.2279411764705882
},
"Q1": {
"left": 0.639751552795031,
"top": 0.5906862745098039
},
"S1": {
"left": 0.639751552795031,
"top": 0.9534313725490196
},
"W1": {
"left": 0.18012422360248448,
"top": 0.5906862745098039
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"M3",
"M1",
{}
],
"4": [
"M4",
"M1",
{}
],
"5": [
"M3",
"M2",
{}
],
"6": [
"M4",
"M2",
{}
],
"7": [
"E1",
"M3",
{}
],
"8": [
"E1",
"M4",
{}
],
"9": [
"Q1",
"DummyQ",
{}
],
"10": [
"M1",
"Q1",
{}
],
"11": [
"M2",
"Q1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"isDummy": "1",
"name": "DummyQ"
},
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "No"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"M3",
"M4"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "No"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"M3",
"M4"
]
}
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M3",
"name": "Machine3",
"processingTime": {
"distributionType": "Fixed",
"mean": "2"
},
"successorList": [
"E1"
]
}
},
{
"M4": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M4",
"name": "Machine4",
"processingTime": {
"distributionType": "Fixed",
"mean": "2"
},
"successorList": [
"E1"
]
}
},
{
"Q1": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"Q1"
]
"isDummy": "0",
"name": "Q1"
},
{
"_class": "Dream.Queue",
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material"
},
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"id": "Q1",
"isDummy": "0",
"name": "Q1",
"successorList": [
"M1",
"M2"
]
"name": "W1"
}
},
"preferences": {
"DummyQ": {
"left": 0.639751552795031,
"top": 0.7720588235294118
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"E1": {
"left": 0.40993788819875776,
"top": 0.04656862745098034
},
"M1": {
"left": 0.6335403726708074,
"top": 0.40931372549019607
},
"M2": {
"left": 0.1863354037267081,
"top": 0.40931372549019607
},
"M3": {
"left": 0.1863354037267081,
"top": 0.2279411764705882
},
"M4": {
"left": 0.6335403726708074,
"top": 0.2279411764705882
},
"Q1": {
"left": 0.639751552795031,
"top": 0.5906862745098039
},
"S1": {
"left": 0.639751552795031,
"top": 0.9534313725490196
},
"W1": {
"left": 0.18012422360248448,
"top": 0.5906862745098039
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Parts",
"successorList": [
"A1"
]
},
{
"_class": "Dream.Source",
"entity": "Frame",
"id": "S2",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Frames",
"successorList": [
"A1"
]
},
{
"edges": {
"0": [
"S1",
"A1",
{
"entity": "Part"
}
],
"1": [
"S2",
"A1",
{
"entity": "Frame"
}
],
"2": [
"A1",
"M1",
{}
],
"3": [
"M1",
"D1",
{}
],
"4": [
"D1",
"E1",
{
"entity": "Frame"
}
],
"5": [
"D1",
"E2",
{
"entity": "Part"
}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"A1": {
"_class": "Dream.Assembly",
"id": "A1",
"name": "Assembly",
"processingTime": {
"distributionType": "Fixed",
"mean": "2"
},
"successorList": [
"M1"
]
}
},
"D1": {
"_class": "Dream.Dismantle",
"name": "Dismantle",
"processingTime": {
"distributionType": "Fixed",
"mean": "1"
}
},
"E1": {
"_class": "Dream.Exit",
"name": "Parts Stock"
},
"E2": {
"_class": "Dream.Exit",
"name": "Frames Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
......@@ -47,51 +80,59 @@
"failureDistribution": "Fixed",
"repairman": "None"
},
"id": "M1",
"name": "Moulding",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
}
},
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"successorList": [
"D1"
]
"name": "Parts"
},
{
"_class": "Dream.Dismantle",
"id": "D1",
"name": "Dismantle",
"processingTime": {
"S2": {
"_class": "Dream.Source",
"entity": "Frame",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "1"
"mean": "2"
},
"successorFrameList": [
"E1"
],
"successorList": [
"E1",
"E2"
],
"successorPartList": [
"E2"
]
"name": "Frames"
}
},
"preferences": {
"A1": {
"left": 0.5,
"top": 0.2784431137724551
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Parts Stock"
"D1": {
"left": 0.5,
"top": 0.721556886227545
},
{
"_class": "Dream.Exit",
"id": "E2",
"name": "Frames Stock"
"E1": {
"left": 0.7857142857142857,
"top": 0.9431137724550899
},
"E2": {
"left": 0.2142857142857143,
"top": 0.9431137724550899
},
"M1": {
"left": 0.5,
"top": 0.5
},
"S1": {
"left": 0.2142857142857143,
"top": 0.05688622754491013
},
"S2": {
"left": 0.7857142857142857,
"top": 0.05688622754491013
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Parts",
"successorList": [
"A1"
]
},
{
"_class": "Dream.Source",
"entity": "Frame",
"id": "S2",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Frames",
"successorList": [
"A1"
]
},
{
"edges": {
"0": [
"A1",
"S1",
{}
],
"1": [
"A1",
"S2",
{}
],
"2": [
"M1",
"A1",
{}
],
"3": [
"D1",
"M1",
{}
],
"4": [
"M2",
"D1",
{}
],
"5": [
"M3",
"D1",
{}
],
"6": [
"E1",
"M2",
{}
],
"7": [
"E2",
"M3",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"A1": {
"_class": "Dream.Assembly",
"id": "A1",
"name": "Assembly",
"processingTime": {
"distributionType": "Fixed",
"mean": "2"
}
},
"D1": {
"_class": "Dream.Dismantle",
"name": "Dismantle",
"processingTime": {
"distributionType": "Fixed",
"mean": "1"
},
"successorList": [
"M1"
"successorFrameList": [
"M2"
],
"successorPartList": [
"M3"
]
},
{
"E1": {
"_class": "Dream.Exit",
"name": "Parts Stock"
},
"E2": {
"_class": "Dream.Exit",
"name": "Frames Stock"
},
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
......@@ -47,36 +88,13 @@
"failureDistribution": "Fixed",
"repairman": "None"
},
"id": "M1",
"name": "Moulding",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"D1"
]
}
},
{
"_class": "Dream.Dismantle",
"id": "D1",
"name": "Dismantle",
"processingTime": {
"distributionType": "Fixed",
"mean": "1"
},
"successorFrameList": [
"M2"
],
"successorList": [
"M2",
"M3"
],
"successorPartList": [
"M3"
]
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
......@@ -84,17 +102,13 @@
"failureDistribution": "No",
"repairman": "None"
},
"id": "M2",
"name": "Frame Wash",
"processingTime": {
"distributionType": "Fixed",
"mean": "1"
},
"successorList": [
"E1"
]
}
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
......@@ -102,32 +116,67 @@
"failureDistribution": "No",
"repairman": "None"
},
"id": "M3",
"name": "Part Wash",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.20"
}
},
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"successorList": [
"E2"
]
"name": "Parts"
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Parts Stock"
"S2": {
"_class": "Dream.Source",
"entity": "Frame",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "2"
},
"name": "Frames"
}
},
"preferences": {
"A1": {
"left": 0.5,
"top": 0.7720588235294118
},
{
"_class": "Dream.Exit",
"id": "E2",
"name": "Frames Stock"
"D1": {
"left": 0.5,
"top": 0.40931372549019607
},
"E1": {
"left": 0.2142857142857143,
"top": 0.04656862745098034
},
"E2": {
"left": 0.7857142857142857,
"top": 0.04656862745098034
},
"M1": {
"left": 0.5,
"top": 0.5906862745098039
},
"M2": {
"left": 0.2142857142857143,
"top": 0.2279411764705882
},
"M3": {
"left": 0.7857142857142857,
"top": 0.2279411764705882
},
"S1": {
"left": 0.2142857142857143,
"top": 0.9534313725490196
},
"S2": {
"left": 0.7857142857142857,
"top": 0.9534313725490196
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"C1",
"M1",
{}
],
"4": [
"E1",
"M2",
{}
],
"5": [
"M1",
"DummyQ",
{}
],
"6": [
"M2",
"C1",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"C1": {
"_class": "Dream.Conveyer",
"length": "8",
"name": "C1",
"speed": "1"
},
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
"isDummy": "1",
"name": "DummyQ"
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "Fixed"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"C1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "Fixed"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
}
},
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"successorList": [
"E1"
]
"name": "Raw Material"
},
{
"_class": "Dream.Queue",
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"M1"
]
"name": "W1"
}
},
"preferences": {
"C1": {
"left": 0.5625,
"top": 0.40931372549019607
},
{
"_class": "Dream.Conveyer",
"id": "C1",
"length": "8",
"name": "C1",
"speed": "1",
"successorList": [
"M2"
]
"DummyQ": {
"left": 0.30208333333333337,
"top": 0.7720588235294118
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"E1": {
"left": 0.7083333333333333,
"top": 0.04656862745098034
},
"M1": {
"left": 0.5625,
"top": 0.5906862745098039
},
"M2": {
"left": 0.7083333333333333,
"top": 0.2279411764705882
},
"S1": {
"left": 0.30208333333333337,
"top": 0.9534313725490196
},
"W1": {
"left": 0.8489583333333334,
"top": 0.7720588235294118
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Repairman",
"edges": {
"0": [
"M1",
"W1",
{}
],
"1": [
"M2",
"W1",
{}
],
"2": [
"DummyQ",
"S1",
{}
],
"3": [
"C1",
"M1",
{}
],
"4": [
"M3",
"M2",
{}
],
"5": [
"M1",
"DummyQ",
{}
],
"6": [
"M2",
"C1",
{}
],
"7": [
"E1",
"M3",
{}
]
},
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
},
"nodes": {
"C1": {
"_class": "Dream.Conveyer",
"length": "8",
"name": "C1",
"speed": "1"
},
"DummyQ": {
"_class": "Dream.Queue",
"capacity": "1",
"id": "W1",
"name": "W1",
"successorList": [
"M1",
"M2"
]
"isDummy": "1",
"name": "DummyQ"
},
{
"_class": "Dream.Source",
"entity": "Part",
"id": "S1",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"name": "Raw Material",
"successorList": [
"DummyQ"
]
"E1": {
"_class": "Dream.Exit",
"name": "Stock"
},
{
"M1": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "60",
"MTTR": "5",
"failureDistribution": "Fixed"
},
"id": "M1",
"name": "Machine1",
"processingTime": {
"distributionType": "Fixed",
"mean": "0.25"
},
"successorList": [
"C1"
]
}
},
{
"M2": {
"_class": "Dream.Machine",
"failures": {
"MTTF": "40",
"MTTR": "10",
"failureDistribution": "Fixed"
},
"id": "M2",
"name": "Machine2",
"processingTime": {
"distributionType": "Fixed",
"mean": "1.5"
},
"successorList": [
"M3"
]
}
},
{
"_class": "Dream.Queue",
"capacity": "1",
"id": "DummyQ",
"isDummy": "1",
"name": "DummyQ",
"successorList": [
"M1"
]
},
{
"_class": "Dream.Conveyer",
"id": "C1",
"length": "8",
"name": "C1",
"speed": "1",
"successorList": [
"M2"
]
},
{
"M3": {
"_class": "Dream.Machine",
"failures": {
"failureDistribution": "No"
},
"id": "M3",
"name": "Machine3",
"processingTime": {
"distributionType": "Fixed",
"mean": "3"
}
},
"S1": {
"_class": "Dream.Source",
"entity": "Part",
"interarrivalTime": {
"distributionType": "Fixed",
"mean": "0.5"
},
"successorList": [
"E1"
]
"name": "Raw Material"
},
{
"_class": "Dream.Exit",
"id": "E1",
"name": "Stock"
"W1": {
"_class": "Dream.Repairman",
"capacity": "1",
"name": "W1"
}
},
"preferences": {
"C1": {
"left": 0.5625,
"top": 0.5
},
"DummyQ": {
"left": 0.30208333333333337,
"top": 0.8070539419087137
},
"E1": {
"left": 0.7083333333333333,
"top": 0.03941908713692943
},
"M1": {
"left": 0.5625,
"top": 0.6535269709543569
},
"M2": {
"left": 0.7083333333333333,
"top": 0.34647302904564314
},
"M3": {
"left": 0.7083333333333333,
"top": 0.1929460580912863
},
"S1": {
"left": 0.30208333333333337,
"top": 0.9605809128630706
},
"W1": {
"left": 0.8489583333333334,
"top": 0.8070539419087137
}
],
"general": {
"_class": "Dream.Configuration",
"confidenceLevel": "0.95",
"maxSimTime": "1440",
"numberOfReplications": "1",
"trace": "No"
}
}
}
\ No newline at end of file
......@@ -81,10 +81,21 @@ def readGeneralInput():
#creates the simulation objects
def createObjects():
json_data = G.JSONData
#Read the json data
elementList = G.JSONData['elementList']
#modelResourceList = G.JSONData['modelResource']
nodes = json_data['nodes']
edges = json_data['edges']
# XXX slow implementation
def getSuccessorList(node_id, predicate=lambda source, destination, edge_data: True):
successor_list = []
for source, destination, edge_data in edges:
if source == node_id:
if predicate(source, destination, edge_data):
successor_list.append(destination)
return successor_list
#define the lists
G.SourceList=[]
G.MachineList=[]
......@@ -94,26 +105,25 @@ def createObjects():
G.AssemblyList=[]
G.DismantleList=[]
G.ConveyerList=[]
#loop through all the model resources
#search for repairmen in order to create them
#read the data and create them
for element in elementList:
for (element_id, element) in nodes.iteritems():
element['id'] = element_id
resourceClass = element.get('_class', 'not found')
if resourceClass=='Dream.Repairman':
id = element.get('id', 'not found')
name = element.get('name', 'not found')
capacity = int(element.get('capacity', '1'))
successorList=element.get('successorList', 'not found')
R = Repairman(id, name, capacity)
R.coreObjectIds=successorList
R = Repairman(element_id, name, capacity)
R.coreObjectIds=getSuccessorList(id)
G.RepairmanList.append(R)
#loop through all the elements
#read the data and create them
for element in elementList:
for (element_id, element) in nodes.iteritems():
element['id'] = element_id
objClass=element.get('_class', 'not found')
if objClass=='Dream.Source':
id=element.get('id', 'not found')
......@@ -122,9 +132,8 @@ def createObjects():
distributionType=interarrivalTime.get('distributionType', 'not found')
mean=float(interarrivalTime.get('mean', '0'))
entity=str_to_class(element.get('entity', 'not found'))
successorList=element.get('successorList', 'not found')
S=Source(id, name, distributionType, mean, entity)
S.nextIds=successorList
S.nextIds=getSuccessorList(id)
G.SourceList.append(S)
G.ObjList.append(S)
......@@ -147,10 +156,9 @@ def createObjects():
if(id in repairman.coreObjectIds):
r=repairman
successorList=element.get('successorList', 'not found')
M=Machine(id, name, 1, distributionType, [mean,stdev,min,max], failureDistribution,
MTTF, MTTR, availability, r)
M.nextIds=successorList
M.nextIds=getSuccessorList(id)
G.MachineList.append(M)
G.ObjList.append(M)
......@@ -164,11 +172,10 @@ def createObjects():
elif objClass=='Dream.Queue':
id=element.get('id', 'not found')
name=element.get('name', 'not found')
successorList=element.get('successorList', 'not found')
capacity=int(element.get('capacity', '1'))
isDummy=bool(int(element.get('isDummy', '0')))
Q=Queue(id, name, capacity, isDummy)
Q.nextIds=successorList
Q.nextIds=getSuccessorList(id)
G.QueueList.append(Q)
G.ObjList.append(Q)
......@@ -194,11 +201,10 @@ def createObjects():
max=float(processingTime.get('max', '0'))
#predecessorPartList=element.get('predecessorPartList', 'not found')
#predecessorFrameList=element.get('predecessorFrameList', 'not found')
successorList=element.get('successorList', 'not found')
A=Assembly(id, name, distributionType, [mean,stdev,min,max])
#A.previousPartIds=predecessorPartList
#A.previousFrameIds=predecessorFrameList
A.nextIds=successorList
A.nextIds=getSuccessorList(id)
G.AssemblyList.append(A)
G.ObjList.append(A)
......@@ -211,13 +217,10 @@ def createObjects():
stdev=float(processingTime.get('stdev', '0'))
min=float(processingTime.get('min', '0'))
max=float(processingTime.get('max', '0'))
successorList=element.get('successorList', 'not found')
successorPartList=element.get('successorPartList', 'not found')
successorFrameList=element.get('successorFrameList', 'not found')
D=Dismantle(id, name, distributionType, [mean,stdev,min,max])
D.nextPartIds=successorPartList
D.nextFrameIds=successorFrameList
D.nextIds=successorList
D.nextPartIds=getSuccessorList(id, lambda source, destination, edge_data: edge_data.get('entity') == 'Part')
D.nextFrameIds=getSuccessorList(id, lambda source, destination, edge_data: edge_data.get('entity') == 'Frame')
D.nextIds=getSuccessorList(id)
G.DismantleList.append(D)
G.ObjList.append(D)
......@@ -226,9 +229,8 @@ def createObjects():
name=element.get('name', 'not found')
length=float(element.get('length', '10'))
speed=float(element.get('speed', '1'))
successorList=element.get('successorList', 'not found')
C=Conveyer(id, name, length, speed)
C.nextIds=successorList
C.nextIds=getSuccessorList(id)
G.ObjList.append(C)
G.ConveyerList.append(C)
......
......@@ -13,7 +13,7 @@ def positionGraph(g):
graph = pydot.Dot()
for node in g['nodes']:
graph.add_node(pydot.Node(node))
for source, destination, data in g['edges']:
for edge, (source, destination, data) in g['edges'].items():
graph.add_edge(pydot.Edge(source, destination))
new_graph = pydot.graph_from_dot_data(graph.create_dot())
......@@ -37,7 +37,10 @@ def positionGraph(g):
return preference_dict
def format(m):
# hack here
edges = m.pop('edges')
m['edges'] = {}
for i, (s, d, data) in enumerate(edges):
m['edges'][i] = s, d, data
return m
with open(sys.argv[1]) as infile:
......
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