Commit 363b3a59 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Jérome Perrin

latest updates in batch-example-all-inclusive file

parent fb688169
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
}, },
"_exp" : { "_exp" : {
"type" : "object", "type" : "object",
"title": "Exp", "title" : "Exp",
"description" : "Exponential", "description" : "Exponential",
"properties" : { "properties" : {
"mean" : { "mean" : {
...@@ -105,10 +105,10 @@ ...@@ -105,10 +105,10 @@
} }
} }
}, },
"_caucy" : { "_cauchy" : {
"type" : "object", "type" : "object",
"title" : "Caucy", "title" : "Cauchy",
"description" : "Caucy", "description" : "Cauchy",
"properties" : { "properties" : {
"location" : { "location" : {
"type" : "number", "type" : "number",
...@@ -166,22 +166,16 @@ ...@@ -166,22 +166,16 @@
} }
} }
}, },
"_fixedFailure" : { "_failure" : {
"type" : "object", "type" : "object",
"title" : "Fixed", "title" : "Yes",
"description" : "Fixed", "description" : "Fixed",
"properties" : { "properties" : {
"MTTF" : { "Time to Failure" : {
"description" : "Mean Time To Failure", "$ref" : "#/definitions/_dist"
"type" : "number",
"default" : 40,
"required" : true
}, },
"MTTR" : { "Time to Repair" : {
"description" : "Mean Time To Repair", "$ref" : "#/definitions/_dist"
"type" : "number",
"default" : 10,
"required" : true
}, },
"repairman" : { "repairman" : {
"description" : "Repairman", "description" : "Repairman",
...@@ -194,35 +188,6 @@ ...@@ -194,35 +188,6 @@
"type" : "string", "type" : "string",
"title" : "No", "title" : "No",
"description" : "None" "description" : "None"
},
"_availability" : {
"type" : "object",
"title" : "Availability",
"description" : "Availability",
"properties" : {
"MTTF" : {
"description" : "Mean Time To Failure",
"type" : "number",
"default" : 40,
"required" : true
},
"MTTR" : {
"description" : "Mean Time To Failure",
"default" : 10,
"type" : "number",
"required" : true
},
"availability" : {
"type" : "number",
"default" : 0,
"required" : true
},
"repairman" : {
"description" : "Repairman",
"type" : "string",
"required" : true
}
}
} }
}, },
"_failureDist" : { "_failureDist" : {
...@@ -234,18 +199,15 @@ ...@@ -234,18 +199,15 @@
"default" : "No", "default" : "No",
"enum" : [ "enum" : [
"No", "No",
"Fixed", "Yes"
"Availability"
] ]
} }
} }
}, { }, {
"oneOf" : [{ "oneOf" : [{
"$ref" : "#/definitions/distributionTypes/_fixedFailure" "$ref" : "#/definitions/distributionTypes/_failure"
}, { }, {
"$ref" : "#/definitions/distributionTypes/_no" "$ref" : "#/definitions/distributionTypes/_no"
}, {
"$ref" : "#/definitions/distributionTypes/_availability"
} }
] ]
} }
...@@ -266,7 +228,7 @@ ...@@ -266,7 +228,7 @@
"Binomial", "Binomial",
"Poisson", "Poisson",
"Logistic", "Logistic",
"Caucy", "Cauchy",
"Geometric", "Geometric",
"Gama", "Gama",
"Weibull" "Weibull"
...@@ -289,7 +251,7 @@ ...@@ -289,7 +251,7 @@
}, { }, {
"$ref" : "#/definitions/distributionTypes/_logistic" "$ref" : "#/definitions/distributionTypes/_logistic"
}, { }, {
"$ref" : "#/definitions/distributionTypes/_caucy" "$ref" : "#/definitions/distributionTypes/_cauchy"
}, { }, {
"$ref" : "#/definitions/distributionTypes/_geometric" "$ref" : "#/definitions/distributionTypes/_geometric"
}, { }, {
...@@ -403,10 +365,14 @@ ...@@ -403,10 +365,14 @@
], ],
"description" : "Connect stations together" "description" : "Connect stations together"
}, },
"Dream.Exit":{ "Dream.Exit" : {
"_class" : "node", "_class" : "node",
"name" : "Exit", "name" : "Exit",
"colour" : "#F0F", "css": {
"border" : "1px solid #ccb",
"backgroundColor" : "#eef",
"backgroundImage" : "linear-gradient(to bottom, #eef 0%, #dde 100%)"
},
"shape" : "rectangle", "shape" : "rectangle",
"description" : "A station where entities exits from the system", "description" : "A station where entities exits from the system",
"allOf" : [{ "allOf" : [{
...@@ -426,9 +392,14 @@ ...@@ -426,9 +392,14 @@
} }
] ]
}, },
"Dream.Queue":{ "Dream.Queue" : {
"name" : "Queue", "name" : "Queue",
"_class":"node", "_class" : "node",
"css": {
"border": "1px solid #bcc",
"backgroundColor":"#eff",
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)"
},
"description" : "A buffer where entities can be hold until the next station is ready to process them", "description" : "A buffer where entities can be hold until the next station is ready to process them",
"allOf" : [{ "allOf" : [{
"$ref" : "#/node" "$ref" : "#/node"
...@@ -450,31 +421,32 @@ ...@@ -450,31 +421,32 @@
"schedulingRule" : { "schedulingRule" : {
"$ref" : "#/definitions/_schedulingRule", "$ref" : "#/definitions/_schedulingRule",
"required" : true "required" : true
},
"isDummy" : {
"type" : "boolean",
"default" : false
} }
} }
} }
] ]
}, },
"Dream.LineClearance":{ "Dream.LineClearance" : {
"name" : "Clearance", "name" : "Clearance",
"_class":"node", "_class" : "node",
"css": {
"border": "1px solid #bcc",
"backgroundColor":"#eff",
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)"
},
"description" : "A buffer where entities of the same group can be held until the next station is ready to process them. Entities of other groups cannot be accepted", "description" : "A buffer where entities of the same group can be held until the next station is ready to process them. Entities of other groups cannot be accepted",
"allOf" : [{ "allOf" : [{
"$ref":"#Dream.Queue", "$ref" : "#/node"
}, { }, {
"type" : "object", "type" : "object",
"properties" : { "properties" : {
"name" : { "name" : {
"type" : "string", "type" : "string",
"default" : "Clearence" "default" : "Clearance"
}, },
"id" : { "id" : {
"type" : "string", "type" : "string",
"default" : "c" "default" : "C"
}, },
"capacity" : { "capacity" : {
"$ref" : "#/definitions/_capacity", "$ref" : "#/definitions/_capacity",
...@@ -483,10 +455,6 @@ ...@@ -483,10 +455,6 @@
"schedulingRule" : { "schedulingRule" : {
"$ref" : "#/definitions/_schedulingRule", "$ref" : "#/definitions/_schedulingRule",
"required" : true "required" : true
},
"isDummy" : {
"type" : "boolean",
"default" : false
} }
} }
} }
...@@ -495,9 +463,14 @@ ...@@ -495,9 +463,14 @@
"Dream.EventGenerator" : { "Dream.EventGenerator" : {
"name" : "Attainment", "name" : "Attainment",
"_class" : "node", "_class" : "node",
"css": {
"border" : "1px solid #cba",
"backgroundColor" : "#fdc",
"backgroundImage" : "linear-gradient(to bottom, #fdc 0%, #ecb 100%)"
},
"description" : "Attainment", "description" : "Attainment",
"allOf" : [{ "allOf" : [{
"$ref" : "#/class_definition/node" "$ref" : "#/node"
}, { }, {
"type" : "object", "type" : "object",
"properties" : { "properties" : {
...@@ -511,13 +484,13 @@ ...@@ -511,13 +484,13 @@
"required" : true "required" : true
}, },
"start" : { "start" : {
"description" : "Starttime", "description" : "Start time",
"type" : "number", "type" : "number",
"default" : 1, "default" : 1,
"required" : true "required" : true
}, },
"stop" : { "stop" : {
"description" : "Stoptime", "description" : "Stop time",
"type" : "number", "type" : "number",
"default" : -1, "default" : -1,
"required" : true "required" : true
...@@ -529,7 +502,7 @@ ...@@ -529,7 +502,7 @@
"required" : true "required" : true
}, },
"interval" : { "interval" : {
"description" : "intervaltime", "description" : "interval time",
"type" : "number", "type" : "number",
"default" : 10, "default" : 10,
"required" : true "required" : true
...@@ -550,9 +523,14 @@ ...@@ -550,9 +523,14 @@
} }
] ]
}, },
"Dream.BatchSource" : { "Dream.NonStarvingEntry" : {
"name" : "BatchSource", "name" : "Entry",
"_class" : "node", "_class" : "node",
"css": {
"border" : "1px solid #bbc",
"backgroundColor" : "#ffe",
"backgroundImage": "linear-gradient(to bottom, #ffe 0%, #dde 100%)"
},
"description" : "A station creating batches", "description" : "A station creating batches",
"allOf" : [{ "allOf" : [{
"$ref" : "#/node" "$ref" : "#/node"
...@@ -561,57 +539,98 @@ ...@@ -561,57 +539,98 @@
"properties" : { "properties" : {
"name" : { "name" : {
"type" : "string", "type" : "string",
"default" : "Source" "default" : "Entry"
}, },
"id" : { "id" : {
"type" : "string", "type" : "string",
"default" : "S", "default" : "E",
"required" : true
},
"interArrivalTime" : {
"description" : "Inter-arrival time",
"$ref" : "#/definitions/_dist",
"required" : true "required" : true
}, },
"entity" : { "entity" : {
"type" : "string", "type" : "string",
"description" : "Entity Class", "description" : "Entity Class",
"default" : "Dream.Part", "default" : "Dream.Batch",
"required" : true "required" : true
}, },
"batchNumberOfUnits" : { "NumberOfUnits" : {
"description": "Number of units of the created batch", "description" : "Number of units per batch",
"type":"number", "type" : "number",
"default":80, "default" : 80,
"required" : true "required" : true
}
}
}
]
},
"Dream.BatchReassembly" : {
"name" : "Reassembly",
"css": {
"border" : "1px solid #bcb",
"backgroundColor" : "#dfd",
"backgroundImage" : "linear-gradient(to bottom, #dfd 0%, #cec 100%)"
},
"description" : "A station that assembles sub-batches back into a parent batch ",
"_class" : "node",
"allOf" : [{
"$ref" : "#/node"
}, {
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"default" : "Reassembly"
}, },
"id" : {
"type" : "string",
"default" : "R"
},
"numberOfSubBatches" : {
"description" : "Number Of Sub-Batches",
"type" : "number",
"default" : 10
}
} }
} }
] ]
}, },
"Dream.BatchDecompositionStartTime":{ "Dream.BatchDecompositionStartTime" : {
"_class":"Dream.BatchDecompositionStartTime", "_class" : "Dream.BatchDecompositionStartTime",
"name": "Batch Decomposition", "name" : "Decomposition",
"css": {
"border" : "1px solid #bcb",
"backgroundColor" : "#dfd",
"backgroundImage" : "linear-gradient(to bottom, #dfd 0%, #cec 100%)"
},
"description" : "A station that decomposes batches into sub-batches", "description" : "A station that decomposes batches into sub-batches",
"allOf": [{ "allOf" : [{
"$ref":"#/Dream.BatchReassembly" "$ref" : "#/node"
}, { }, {
"type" : "object", "type" : "object",
"properties" : { "properties" : {
"name":{ "name" : {
"type":"string", "type" : "string",
"default":"Decomposition" "default" : "Decomposition"
}, },
"id":{ "id" : {
"type":"string", "type" : "string",
"default":"D" "default" : "D"
},
"numberOfSubBatches" : {
"description" : "Number Of Sub-Batches",
"type" : "number",
"default" : 10
} }
} }
} }
] ]
}, },
"Dream.BatchScrapMachine":{ "Dream.BatchScrapMachine" : {
"name" : "Machine", "name" : "Machine",
"css": {
"border" : "1px solid #cbc",
"backgroundColor" : "#fef",
"backgroundImage" : "linear-gradient(to bottom, #fef 0%, #ede 100%)"
},
"description" : "A station processing batches for some time given by a distribution provided by the entities that are processed. A random number of batch units is scrapped", "description" : "A station processing batches for some time given by a distribution provided by the entities that are processed. A random number of batch units is scrapped",
"_class" : "node", "_class" : "node",
"allOf" : [{ "allOf" : [{
...@@ -632,36 +651,19 @@ ...@@ -632,36 +651,19 @@
"$ref" : "#/definitions/_dist", "$ref" : "#/definitions/_dist",
"required" : true "required" : true
}, },
"failures" : { "interruption" : {
"type" : "object",
"properties" : {
"failure" : {
"$ref" : "#/definitions/_failureDist", "$ref" : "#/definitions/_failureDist",
"required" : true "required" : true
} }
} }
}
]
},
"Dream.BatchReassembly":{
"name" : "Reassembly",
"description" : "A station that assembles sub-batches back into a parent batch ",
"_class":"node",
"allOf" : [{
"$ref" : "#/node"
}, {
"name":{
"type":"string",
"default":"Reassembly"
}, },
"id":{ "scrapping" : {
"type":"string", "$ref" : "#/definitions/_dist",
"default":"R" "required" : true
}, }
"processingTime":{
"$ref":"#/definitions/_dist"
},
"numberOfSubBatches":{
"description":"Number Of Sub-Batches",
"type":"number",
"default":10
} }
} }
] ]
...@@ -674,43 +676,10 @@ ...@@ -674,43 +676,10 @@
"type" : "object_view", "type" : "object_view",
"gadget" : "Input_viewProductionLine" "gadget" : "Input_viewProductionLine"
}, },
"view_parent_entities_spreadsheet" : { "view_management": {
"gadget" : "Input_viewSpreadsheet", "gadget": "Input_viewDocumentManagement",
"type" : "object_view", "type": "object_view",
"title" : "Batches Spreadsheet", "title": "Manage document"
"configuration" : {
"columns" : [{
"name":"Batch ID",
"type":"string"
}, {
"name":"Priority",
"type":"number",
"default":1
}, {
"name":"Number of sub-batches",
"type":"number",
"default":4
}, {
"name":"Sub-Batch IDs",
"type":"string"
}
]
}
},
"view_child_components_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet",
"type" : "object_view",
"title" : "Sub-Batches Spreadsheet",
"configuration" : {
"columns" : [{
"name":"Sub-batch ID",
"type":"string"
}, {
"name":"Batch ID",
"type":"string"
}
]
}
}, },
"view_machine_shift_spreadsheet" : { "view_machine_shift_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet", "gadget" : "Input_viewSpreadsheet",
...@@ -737,14 +706,14 @@ ...@@ -737,14 +706,14 @@
"view_operator_shift_spreadsheet" : { "view_operator_shift_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet", "gadget" : "Input_viewSpreadsheet",
"type" : "object_view", "type" : "object_view",
"title" : "Operators Shifts Spreadsheet", "title" : "Product Builder Shifts Spreadsheet",
"configuration" : { "configuration" : {
"columns" : [{ "columns" : [{
"name" : "Date", "name" : "Date",
"type" : "string", "type" : "string",
"format" : "date-time" "format" : "date-time"
}, { }, {
"name" : "Repairman", "name" : "Product Builder",
"type" : "string" "type" : "string"
}, { }, {
"name" : "Start", "name" : "Start",
...@@ -756,23 +725,41 @@ ...@@ -756,23 +725,41 @@
] ]
} }
}, },
"view_operator_skill_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet",
"type" : "object_view",
"title" : "Product Builder Skills",
"configuration" : {
"columns" : [{
"name" : "Product Builder",
"type" : "string"
}, {
"name" : "Skills",
"type" : "array"
}
]
}
},
"view_wip_spreadsheet" : { "view_wip_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet", "gadget" : "Input_viewSpreadsheet",
"type" : "object_view", "type" : "object_view",
"title" : "WIP Spreadsheet", "title" : "WIP Spreadsheet",
"configuration" : { "configuration" : {
"columns" : [{ "columns" : [{
"name" : "entity ID", "name" : "ID",
"type" : "string" "type" : "string"
}, { }, {
"name" : "StationID", "name" : "StationID",
"type" : "string" "type" : "string"
}, { // do we need sequence
"name":"Sequence",
"type":"string"
}, { }, {
"name" : "Remaining Processing Time", "name" : "Remaining Units",
"type" : "number" "type" : "number"
}, {
"name" : "Type",
"type" : "string"
}, {
"name" : "Batch ID",
"type" : "string"
} }
] ]
} }
...@@ -782,10 +769,10 @@ ...@@ -782,10 +769,10 @@
"type" : "object_view", "type" : "object_view",
"gadget" : "Input_viewSimulation" "gadget" : "Input_viewSimulation"
}, },
"view_result": { "view_result" : {
"gadget": "Input_viewResultList", "gadget" : "Input_viewResultList",
"type": "object_view", "type" : "object_view",
"title": "Results" "title" : "Results"
} }
}, },
"output" : { "output" : {
...@@ -798,7 +785,7 @@ ...@@ -798,7 +785,7 @@
} }
}, },
"view_queue_stats" : { "view_queue_stats" : {
"title" : "QueueStatistics", "title" : "Queue Statistics",
"type" : "object_view", "type" : "object_view",
"gadget" : "Output_viewQueueStatGraph", "gadget" : "Output_viewQueueStatGraph",
"configuration" : { "configuration" : {
...@@ -808,7 +795,7 @@ ...@@ -808,7 +795,7 @@
} }
}, },
"view_exit_stats" : { "view_exit_stats" : {
"title" : "ExitStatistics", "title" : "Exit Statistics",
"type" : "object_view", "type" : "object_view",
"gadget" : "Output_viewExitStatistics", "gadget" : "Output_viewExitStatistics",
"configuration" : { "configuration" : {
...@@ -841,9 +828,6 @@ ...@@ -841,9 +828,6 @@
}, },
"preprocessing" : { "preprocessing" : {
"plugin_list" : [{ "plugin_list" : [{
"plugin" : "PartJobShop",
"input_id" : "Simulation"
}, {
"plugin" : "ReadShiftFromSpreadsheet", "plugin" : "ReadShiftFromSpreadsheet",
"input_id" : "ShiftSpreadsheet" "input_id" : "ShiftSpreadsheet"
}, { }, {
...@@ -852,10 +836,18 @@ ...@@ -852,10 +836,18 @@
} }
] ]
}, },
"processing" : {
"plugin_list" : [{
"plugin" : "plugin.PartJobShop",
"input_id" : "Simulation"
}
]
},
"postprocessing" : { "postprocessing" : {
"plugin_list" : [{ "plugin_list" : [{
"plugin" : "CalculateConfidenceIntervals" "plugin" : "CalculateConfidenceIntervals"
}] }
]
}, },
"general" : { "general" : {
"properties" : { "properties" : {
...@@ -896,28 +888,29 @@ ...@@ -896,28 +888,29 @@
"type" : "number" "type" : "number"
}, },
"trace" : { "trace" : {
"default" : false, "default" : "No",
"description" : "Create an excel trace file (true or false)", "enum" : ["No", "Yes"],
"title" : "Output Trace", "description" : "Create an excel trace file (Yes or No)",
"type" : "boolean" "title" : "OutputTrace",
"type" : "string"
}, },
"seed" : { "seed" : {
"default" : "", "default" : "1",
"description" : "When using the same seed, the random number generator produce the same sequence of numbers", "description" : "When using the same seed, the random number generator produce the same sequence of numbers",
"title" : "Seed for random number generator", "title" : "Seed for random number generator",
"type" : "string" "type" : "number"
}, },
"ke_url":{ "ke_url" : {
"default": "http://git.erp5.org/gitweb/dream.git/blob_plain/HEAD:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls", "default" : "http://git.erp5.org/gitweb/dream.git/blob_plain/HEAD:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"description": "The URL for knowledge extraction to access its data for example http://git.erp5.org/gitweb/dream.git/blob_plain/HEAD:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls", "description" : "The URL for knowledge extraction to access its data for example http://git.erp5.org/gitweb/dream.git/blob_plain/HEAD:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"title": "URL for Knowledge Extraction Spreadsheet", "title" : "URL for Knowledge Extraction Spreadsheet",
"type": "string" "type" : "string"
}, },
"throughputTarget":{ "throughputTarget" : {
"default": 10, "default" : 10,
"description": "The daily throughput target in units.", "description" : "The daily throughput target in units.",
"title": "Daily Throughput Target", "title" : "Daily Throughput Target",
"type": "number" "type" : "number"
} }
} }
} }
...@@ -928,6 +921,8 @@ ...@@ -928,6 +921,8 @@
"edge" : {} "edge" : {}
}, },
"input" : {}, "input" : {},
"result" : {}, "result" : {
"result_list" : []
},
"constraints" : {} "constraints" : {}
} }
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