Commit a31423ab authored by Jérome Perrin's avatar Jérome Perrin

BatchAllInOneEmpty: format with python -m json.tool

parent a44768d8
{ {
"class_definition" : { "application_configuration": {
"definitions" : { "general": {
"distributionTypes" : { "properties": {
"_fixed" : { "confidenceLevel": {
"description" : "Fixed", "default": 0.95,
"title" : "Fixed", "description": "Confidence level for statistical analysis of stochastic experiments",
"type" : "object", "title": "Confidence level",
"properties" : { "type": "number"
"mean" : { },
"type" : "number", "currentDate": {
"default" : 0, "default": "2014/10/01",
"required" : true "description": "The day the experiment starts, in YYYY/MM/DD format",
} "title": "Simulation Start Time",
} "type": "string"
}, },
"_exp" : { "ke_url": {
"type" : "object", "default": "http://git.erp5.org/gitweb/dream.git/blob_plain/HEAD:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"title" : "Exp", "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" : "Exponential", "title": "URL for Knowledge Extraction Spreadsheet",
"properties" : { "type": "string"
"mean" : { },
"type" : "number", "maxSimTime": {
"default" : 0, "default": 100,
"required" : true "description": "Length of the simulationrun",
} "title": "Length of Experiment",
} "type": "number"
}, },
"_normal" : { "numberOfReplications": {
"type" : "object", "default": 10,
"title" : "Normal", "description": "Number of replications to run",
"description" : "Normal", "title": "Number of replications",
"properties" : { "type": "integer"
"mean" : { },
"type" : "number", "processTimeout": {
"default" : 0, "default": 10,
"required" : true "description": "Number of seconds before the calculation process is interrupted",
}, "title": "Process Timeout",
"stdev" : { "type": "number"
"type" : "number", },
"default" : 0, "seed": {
"required" : true "default": "1",
} "description": "When using the same seed, the random number generator produce the same sequence of numbers",
} "title": "Seed for random number generator",
}, "type": "number"
"_lognormal" : { },
"type" : "object", "throughputTarget": {
"title" : "Lognormal", "default": 10,
"description" : "Lognormal", "description": "The daily throughput target in units.",
"properties" : { "title": "Daily Throughput Target",
"mean" : { "type": "number"
"_class" : "Dream.Property", },
"name" : "Mean", "timeUnitPerDay": {
"type" : "number", "default": 24,
"default" : 0 "description": "Used for input and reporting widgets. Forexample, 24 means that simulation clock time unit is one hour.",
}, "title": "Number of time units per day",
"stdev" : { "type": "number"
"_class" : "Dream.Property", },
"name" : "Standard Deviation", "trace": {
"type" : "number", "default": "No",
"default" : 0 "description": "Create an excel trace file (Yes or No)",
} "enum": [
} "No",
}, "Yes"
"_binomial" : { ],
"type" : "object", "title": "OutputTrace",
"title" : "Binomial", "type": "string"
"description" : "Binomial", }
"properties" : { }
"mean" : { },
"type" : "number", "input": {
"default" : 0 "view": {
}, "gadget": "Input_viewProductionLine",
"size" : { "title": "ProductionLine",
"type" : "number", "type": "object_view"
"default" : 0 },
} "view_machine_shift_spreadsheet": {
} "configuration": {
}, "columns": [
"_poisson" : { {
"type" : "object", "format": "date-time",
"title" : "Poisson", "name": "Date",
"description" : "Poisson", "type": "string"
"properties" : { },
"lambda" : { {
"type" : "number", "name": "Machine",
"default" : 0 "type": "string"
} },
} {
}, "name": "Start",
"_logistic" : { "type": "string"
"type" : "object", },
"title" : "Logistic", {
"description" : "Logistic", "name": "Stop",
"properties" : { "type": "string"
"location" : { }
"type" : "number", ]
"default" : 0, },
"required" : true "gadget": "Input_viewSpreadsheet",
}, "title": "Machine Shifts Spreadsheet",
"scale" : { "type": "object_view"
"type" : "number", },
"default" : 0, "view_management": {
"required" : true "gadget": "Input_viewDocumentManagement",
} "title": "Manage document",
} "type": "object_view"
}, },
"_cauchy" : { "view_operator_shift_spreadsheet": {
"type" : "object", "configuration": {
"title" : "Cauchy", "columns": [
"description" : "Cauchy", {
"properties" : { "format": "date-time",
"location" : { "name": "Date",
"type" : "number", "type": "string"
"default" : 0 },
}, {
"scale" : { "name": "Product Builder",
"type" : "number", "type": "string"
"default" : 0 },
} {
} "name": "Start",
}, "type": "string"
"_geometric" : { },
"type" : "object", {
"title" : "Geometric", "name": "Stop",
"description" : "Geometric", "type": "string"
"properties" : { }
"probability" : { ]
"type" : "number", },
"default" : 0, "gadget": "Input_viewSpreadsheet",
"required" : true "title": "Product Builder Shifts Spreadsheet",
} "type": "object_view"
} },
}, "view_operator_skill_spreadsheet": {
"_gama" : { "configuration": {
"type" : "object", "columns": [
"title" : "Gama", {
"description" : "Gama", "name": "Product Builder",
"properties" : { "type": "string"
"shape" : { },
"type" : "number", {
"default" : 0, "name": "Skills",
"required" : true "type": "array"
}, }
"rate" : { ]
"type" : "number", },
"default" : 0, "gadget": "Input_viewSpreadsheet",
"required" : true "title": "Product Builder Skills",
} "type": "object_view"
} },
}, "view_wip_spreadsheet": {
"_weibull" : { "configuration": {
"type" : "object", "columns": [
"title" : "Weibull", {
"description" : "Weibull", "name": "ID",
"properties" : { "type": "string"
"shape" : { },
"type" : "number", {
"default" : 0, "name": "StationID",
"required" : true "type": "string"
}, },
"scale" : { {
"type" : "number", "name": "Number of Units",
"default" : 0, "type": "number"
"required" : true },
} {
} "name": "Remaining Units",
}, "type": "number"
"_failure" : { },
"type" : "object", {
"title" : "Yes", "name": "Type",
"description" : "Fixed", "type": "string"
"properties" : { },
"Time to Failure" : { {
"$ref" : "#/definitions/_dist" "name": "Batch ID",
}, "type": "string"
"Time to Repair" : { }
"$ref" : "#/definitions/_dist" ]
}, },
"repairman" : { "gadget": "Input_viewSpreadsheet",
"description" : "Repairman", "title": "WIP Spreadsheet",
"type" : "string", "type": "object_view"
"required" : true },
} "view_run_simulation": {
} "gadget": "Input_viewSimulation",
}, "title": "Run Simulation",
"_no" : { "type": "object_view"
"type" : "string", },
"title" : "No", "view_result": {
"description" : "None" "gadget": "Input_viewResultList",
} "title": "Results",
}, "type": "object_view"
"_failureDist" : { }
"allOf" : [{ },
"type" : "object", "output": {
"properties" : { "view_station_utilization": {
"failureDistribution" : { "configuration": {
"type" : "string", "data": {
"default" : "No", "blockage": [
"enum" : [ "blockage_ratio"
"No", ],
"Yes" "failure": [
] "failure_ratio"
} ],
} "waiting": [
}, { "waiting_ratio"
"oneOf" : [{ ],
"$ref" : "#/definitions/distributionTypes/_failure" "working": [
}, { "working_ratio",
"$ref" : "#/definitions/distributionTypes/_no" "setup_ratio",
} "load_ratio"
] ]
} },
] "family": "Server",
}, "plot": "bars"
"_dist" : { },
"allOf" : [{ "gadget": "Output_viewGraph",
"type" : "object", "title": "Station Utilization",
"properties" : { "type": "object_view"
"distribution" : { },
"type" : "string", "view_exit_stats": {
"default" : "Fixed", "configuration": {
"enum" : [ "properties": {
"Fixed", "lifespan": {
"Exp", "type": "number"
"Normal", },
"Lognormal", "taktTime": {
"Binomial", "type": "number"
"Poisson", },
"Logistic", "throughput": {
"Cauchy", "type": "number"
"Geometric", }
"Gama", }
"Weibull" },
] "gadget": "Output_viewExitStatistics",
} "title": "Exit Statistics",
} "type": "object_view"
}, { },
"oneOf" : [{ "view_operator_gantt": {
"$ref" : "#/definitions/distributionTypes/_fixed" "configuration": {
}, { "data": {
"$ref" : "#/definitions/distributionTypes/_exp" "Operator": []
}, { }
"$ref" : "#/definitions/distributionTypes/_normal" },
}, { "gadget": "Output_viewGantt",
"$ref" : "#/definitions/distributionTypes/_lognormal" "title": "Operator Gantt",
}, { "type": "object_view"
"$ref" : "#/definitions/distributionTypes/_binomial" },
}, { "view_queue_stats": {
"$ref" : "#/definitions/distributionTypes/_poisson" "configuration": {
}, { "data": {
"$ref" : "#/definitions/distributionTypes/_logistic" "queue_stat": [
}, { "wip_stat_list"
"$ref" : "#/definitions/distributionTypes/_cauchy" ]
}, { },
"$ref" : "#/definitions/distributionTypes/_geometric" "family": "Buffer",
}, { "plot": "line"
"$ref" : "#/definitions/distributionTypes/_gama" },
}, { "gadget": "Output_viewGraph",
"$ref" : "#/definitions/distributionTypes/_weibull" "title": "Queue Utilization Graph",
} "type": "object_view"
] },
} "view_debug_json": {
] "gadget": "Output_viewDebugJson",
}, "title": "Debug Json",
"_schedulingRule" : { "type": "object_view"
"description" : "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ", }
"type" : "string", },
"default" : "FIFO", "postprocessing": {
"enum" : [ "plugin_list": []
"FIFO", },
"Priority", "preprocessing": {
"EDD", "plugin_list": [
"EOD", {
"NumStages", "input_id": "WIPStat",
"RPC", "plugin": "GatherWIPStat.GatherWIPStat"
"LPT", },
"SPT", {
"MS", "input_id": "EntryData",
"WINQ", "plugin": "ReadEntryData.ReadEntryData"
"WT" },
] {
}, "input_id": "WipSpreadsheet",
"_capacity" : { "plugin": "BatchesWIPSpreadsheet.BatchesWIPSpreadsheet"
"description" : "capacity of the queue. -1 means infinite", },
"type" : "number", {
"default" : 1, "input_id": "SkilledOperatorsSpreadsheet",
"oneOf" : [{ "plugin": "ReadSkilledOperators.ReadSkilledOperators"
"enum" : [ },
-1 {
] "input_id": "ShiftSpreadsheet",
}, { "plugin": "ReadShiftFromSpreadsheet.ReadShiftFromSpreadsheet"
"multipleOf" : 1 }
} ]
] },
}, "processing": {
"_operationType" : { "plugin_list": [
"_class" : "Dream.PropertyList", {
"name" : "Operation type", "input_id": "Simulation",
"id" : "operationType", "plugin": "plugin.DefaultExecutionPlugin"
"description" : "the type of operations that are performed manually in the machine", }
"properties" : { ]
"operationType" : { }
"type" : "string", },
"enum" : [ "class_definition": {
"MT-Load", "Dream.BatchDecompositionStartTime": {
"MT-Load-Setup", "_class": "Dream.BatchDecompositionStartTime",
"MT-Load-Setup-Processing" "allOf": [
] {
} "$ref": "#/node"
} },
} {
}, "properties": {
"edge" : { "id": {
"description" : "Base definition for edge", "default": "D",
"properties" : { "type": "string"
"_class" : { },
"type" : "string" "name": {
}, "default": "Decomposition",
"source" : { "type": "string"
"type" : "string" },
}, "numberOfSubBatches": {
"destination" : { "default": 10,
"type" : "string" "description": "Number Of Sub-Batches",
}, "type": "number"
"name" : { }
"type" : "string" },
} "type": "object"
}, }
"required" : [ ],
"_class", "css": {
"source", "backgroundColor": "#dfd",
"destination" "backgroundImage": "linear-gradient(to bottom, #dfd 0%, #cec 100%)",
], "border": "1px solid #bcb"
"type" : "object" },
}, "description": "A station that decomposes batches into sub-batches",
"node" : { "name": "Decomposition"
"description" : "Base definition for node", },
"properties" : { "Dream.BatchReassembly": {
"_class" : { "_class": "node",
"type" : "string" "allOf": [
}, {
"coordinate" : { "$ref": "#/node"
"properties" : { },
"left" : "number", {
"top" : "number" "properties": {
}, "id": {
"type" : "object" "default": "R",
}, "type": "string"
"name" : { },
"type" : "string" "name": {
} "default": "Reassembly",
}, "type": "string"
"required" : [ },
"name", "numberOfSubBatches": {
"_class" "default": 10,
], "description": "Number Of Sub-Batches",
"type" : "object" "type": "number"
}, }
"Dream.Edge" : { },
"_class" : "edge", "type": "object"
"allOf" : [{ }
"$ref" : "#/edge" ],
} "css": {
], "backgroundColor": "#dfd",
"description" : "Connect stations together" "backgroundImage": "linear-gradient(to bottom, #dfd 0%, #cec 100%)",
}, "border": "1px solid #bcb"
"Dream.Exit" : { },
"_class" : "node", "description": "A station that assembles sub-batches back into a parent batch ",
"name" : "Exit", "name": "Reassembly"
"css": { },
"border" : "1px solid #ccb", "Dream.BatchScrapMachine": {
"backgroundColor" : "#eef", "_class": "node",
"backgroundImage" : "linear-gradient(to bottom, #eef 0%, #dde 100%)" "allOf": [
}, {
"shape" : "rectangle", "$ref": "#/node"
"description" : "A station where entities exits from the system", },
"allOf" : [{ {
"$ref" : "#/node" "properties": {
}, { "id": {
"type" : "object", "default": "M",
"properties" : { "required": true,
"name" : { "type": "string"
"type" : "string", },
"default" : "Exit" "interruption": {
}, "properties": {
"id" : { "failure": {
"default" : "E", "$ref": "#/definitions/_failureDist",
"required" : true "required": true
} }
} },
} "type": "object"
] },
}, "name": {
"Dream.Queue" : { "default": "Machine",
"name" : "Queue", "type": "string"
"_class" : "node", },
"css": { "processingTime": {
"border": "1px solid #bcc", "$ref": "#/definitions/_dist",
"backgroundColor":"#eff", "required": true
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)" },
}, "scrapping": {
"description" : "A buffer where entities can be hold until the next station is ready to process them", "$ref": "#/definitions/_dist",
"allOf" : [{ "required": true
"$ref" : "#/node" }
}, { },
"type" : "object", "type": "object"
"properties" : { }
"name" : { ],
"type" : "string", "css": {
"default" : "Queue" "backgroundColor": "#fef",
}, "backgroundImage": "linear-gradient(to bottom, #fef 0%, #ede 100%)",
"id" : { "border": "1px solid #cbc"
"type" : "string", },
"default" : "Q" "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",
}, "name": "Machine"
"capacity" : { },
"$ref" : "#/definitions/_capacity", "Dream.Edge": {
"required" : true "_class": "edge",
}, "allOf": [
"schedulingRule" : { {
"$ref" : "#/definitions/_schedulingRule", "$ref": "#/edge"
"required" : true }
} ],
} "description": "Connect stations together"
} },
] "Dream.EventGenerator": {
}, "_class": "node",
"Dream.LineClearance" : { "allOf": [
"name" : "Clearance", {
"_class" : "node", "$ref": "#/node"
"css": { },
"border": "1px solid #bcc", {
"backgroundColor":"#eff", "properties": {
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)" "argumentDict": {
}, "default": "{}",
"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": "arguments to be used by the method",
"allOf" : [{ "required": true,
"$ref" : "#/node" "type": "string"
}, { },
"type" : "object", "duration": {
"properties" : { "default": 10,
"name" : { "description": "duration",
"type" : "string", "required": true,
"default" : "Clearance" "type": "number"
}, },
"id" : { "id": {
"type" : "string", "default": "A",
"default" : "C" "required": true,
}, "type": "string"
"capacity" : { },
"$ref" : "#/definitions/_capacity", "interval": {
"required" : true "default": 10,
}, "description": "interval time",
"schedulingRule" : { "required": true,
"$ref" : "#/definitions/_schedulingRule", "type": "number"
"required" : true },
} "method": {
} "default": "Globals.countIntervalThroughput",
} "description": "method to be performed",
] "required": true,
}, "type": "string"
"Dream.EventGenerator" : { },
"name" : "Attainment", "name": {
"_class" : "node", "default": "Attainment",
"css": { "type": "string"
"border" : "1px solid #cba", },
"backgroundColor" : "#fdc", "start": {
"backgroundImage" : "linear-gradient(to bottom, #fdc 0%, #ecb 100%)" "default": 1,
}, "description": "Start time",
"description" : "Attainment", "required": true,
"allOf" : [{ "type": "number"
"$ref" : "#/node" },
}, { "stop": {
"type" : "object", "default": -1,
"properties" : { "description": "Stop time",
"name" : { "required": true,
"type" : "string", "type": "number"
"default" : "Attainment" }
}, },
"id" : { "type": "object"
"type" : "string", }
"default" : "A", ],
"required" : true "css": {
}, "backgroundColor": "#fdc",
"start" : { "backgroundImage": "linear-gradient(to bottom, #fdc 0%, #ecb 100%)",
"description" : "Start time", "border": "1px solid #cba"
"type" : "number", },
"default" : 1, "description": "Attainment",
"required" : true "name": "Attainment"
}, },
"stop" : { "Dream.Exit": {
"description" : "Stop time", "_class": "node",
"type" : "number", "allOf": [
"default" : -1, {
"required" : true "$ref": "#/node"
}, },
"duration" : { {
"description" : "duration", "properties": {
"type" : "number", "id": {
"default" : 10, "default": "E",
"required" : true "required": true
}, },
"interval" : { "name": {
"description" : "interval time", "default": "Exit",
"type" : "number", "type": "string"
"default" : 10, }
"required" : true },
}, "type": "object"
"method" : { }
"description" : "method to be performed", ],
"type" : "string", "css": {
"default" : "Globals.countIntervalThroughput", "backgroundColor": "#eef",
"required" : true "backgroundImage": "linear-gradient(to bottom, #eef 0%, #dde 100%)",
}, "border": "1px solid #ccb"
"argumentDict" : { },
"description" : "arguments to be used by the method", "description": "A station where entities exits from the system",
"type" : "string", "name": "Exit",
"default" : "{}", "shape": "rectangle"
"required" : true },
} "Dream.LineClearance": {
} "_class": "node",
} "allOf": [
] {
}, "$ref": "#/node"
"Dream.NonStarvingEntry" : { },
"name" : "Entry", {
"_class" : "node", "properties": {
"css": { "capacity": {
"border" : "1px solid #bbc", "$ref": "#/definitions/_capacity",
"backgroundColor" : "#ffe", "required": true
"backgroundImage": "linear-gradient(to bottom, #ffe 0%, #dde 100%)" },
}, "id": {
"description" : "A station creating batches", "default": "C",
"allOf" : [{ "type": "string"
"$ref" : "#/node" },
}, { "name": {
"type" : "object", "default": "Clearance",
"properties" : { "type": "string"
"name" : { },
"type" : "string", "schedulingRule": {
"default" : "Entry" "$ref": "#/definitions/_schedulingRule",
}, "required": true
"id" : { }
"type" : "string", },
"default" : "E", "type": "object"
"required" : true }
}, ],
"entityData" : { "css": {
"type" : "object", "backgroundColor": "#eff",
"description" : "Entity produced related information", "backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)",
"required" : true, "border": "1px solid #bcc"
"properties": { },
"class" : { "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",
"type" : "string", "name": "Clearance"
"default" : "Dream.Batch", },
"description" : "Entity class", "Dream.NonStarvingEntry": {
"required" : true "_class": "node",
}, "allOf": [
"numberOfUnits" : { {
"description" : "Number of units per batch", "$ref": "#/node"
"type" : "number", },
"default" : 80, {
"required" : true "properties": {
} "entityData": {
} "description": "Entity produced related information",
} "properties": {
} "class": {
} "default": "Dream.Batch",
] "description": "Entity class",
}, "required": true,
"Dream.BatchReassembly" : { "type": "string"
"name" : "Reassembly", },
"css": { "numberOfUnits": {
"border" : "1px solid #bcb", "default": 80,
"backgroundColor" : "#dfd", "description": "Number of units per batch",
"backgroundImage" : "linear-gradient(to bottom, #dfd 0%, #cec 100%)" "required": true,
}, "type": "number"
"description" : "A station that assembles sub-batches back into a parent batch ", }
"_class" : "node", },
"allOf" : [{ "required": true,
"$ref" : "#/node" "type": "object"
}, { },
"type" : "object", "id": {
"properties" : { "default": "E",
"name" : { "required": true,
"type" : "string", "type": "string"
"default" : "Reassembly" },
}, "name": {
"id" : { "default": "Entry",
"type" : "string", "type": "string"
"default" : "R" }
}, },
"numberOfSubBatches" : { "type": "object"
"description" : "Number Of Sub-Batches", }
"type" : "number", ],
"default" : 10 "css": {
} "backgroundColor": "#ffe",
} "backgroundImage": "linear-gradient(to bottom, #ffe 0%, #dde 100%)",
} "border": "1px solid #bbc"
] },
}, "description": "A station creating batches",
"Dream.BatchDecompositionStartTime" : { "name": "Entry"
"_class" : "Dream.BatchDecompositionStartTime", },
"name" : "Decomposition", "Dream.Queue": {
"css": { "_class": "node",
"border" : "1px solid #bcb", "allOf": [
"backgroundColor" : "#dfd", {
"backgroundImage" : "linear-gradient(to bottom, #dfd 0%, #cec 100%)" "$ref": "#/node"
}, },
"description" : "A station that decomposes batches into sub-batches", {
"allOf" : [{ "properties": {
"$ref" : "#/node" "capacity": {
}, { "$ref": "#/definitions/_capacity",
"type" : "object", "required": true
"properties" : { },
"name" : { "id": {
"type" : "string", "default": "Q",
"default" : "Decomposition" "type": "string"
}, },
"id" : { "name": {
"type" : "string", "default": "Queue",
"default" : "D" "type": "string"
}, },
"numberOfSubBatches" : { "schedulingRule": {
"description" : "Number Of Sub-Batches", "$ref": "#/definitions/_schedulingRule",
"type" : "number", "required": true
"default" : 10 }
} },
} "type": "object"
} }
] ],
}, "css": {
"Dream.BatchScrapMachine" : { "backgroundColor": "#eff",
"name" : "Machine", "backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)",
"css": { "border": "1px solid #bcc"
"border" : "1px solid #cbc", },
"backgroundColor" : "#fef", "description": "A buffer where entities can be hold until the next station is ready to process them",
"backgroundImage" : "linear-gradient(to bottom, #fef 0%, #ede 100%)" "name": "Queue"
}, },
"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", "definitions": {
"_class" : "node", "_capacity": {
"allOf" : [{ "default": 1,
"$ref" : "#/node" "description": "capacity of the queue. -1 means infinite",
}, { "oneOf": [
"type" : "object", {
"properties" : { "enum": [
"name" : { -1
"type" : "string", ]
"default" : "Machine" },
}, {
"id" : { "multipleOf": 1
"type" : "string", }
"default" : "M", ],
"required" : true "type": "number"
}, },
"processingTime" : { "_dist": {
"$ref" : "#/definitions/_dist", "allOf": [
"required" : true {
}, "properties": {
"interruption" : { "distribution": {
"type" : "object", "default": "Fixed",
"properties" : { "enum": [
"failure" : { "Fixed",
"$ref" : "#/definitions/_failureDist", "Exp",
"required" : true "Normal",
} "Lognormal",
} "Binomial",
}, "Poisson",
"scrapping" : { "Logistic",
"$ref" : "#/definitions/_dist", "Cauchy",
"required" : true "Geometric",
} "Gama",
} "Weibull"
} ],
] "type": "string"
} }
}, },
"application_configuration" : { "type": "object"
"input" : { },
"view" : { {
"title" : "ProductionLine", "oneOf": [
"type" : "object_view", {
"gadget" : "Input_viewProductionLine" "$ref": "#/definitions/distributionTypes/_fixed"
}, },
"view_management": { {
"gadget": "Input_viewDocumentManagement", "$ref": "#/definitions/distributionTypes/_exp"
"type": "object_view", },
"title": "Manage document" {
}, "$ref": "#/definitions/distributionTypes/_normal"
"view_machine_shift_spreadsheet" : { },
"gadget" : "Input_viewSpreadsheet", {
"type" : "object_view", "$ref": "#/definitions/distributionTypes/_lognormal"
"title" : "Machine Shifts Spreadsheet", },
"configuration" : { {
"columns" : [{ "$ref": "#/definitions/distributionTypes/_binomial"
"name" : "Date", },
"type" : "string", {
"format" : "date-time" "$ref": "#/definitions/distributionTypes/_poisson"
}, { },
"name" : "Machine", {
"type" : "string" "$ref": "#/definitions/distributionTypes/_logistic"
}, { },
"name" : "Start", {
"type" : "string" "$ref": "#/definitions/distributionTypes/_cauchy"
}, { },
"name" : "Stop", {
"type" : "string" "$ref": "#/definitions/distributionTypes/_geometric"
} },
] {
} "$ref": "#/definitions/distributionTypes/_gama"
}, },
"view_operator_shift_spreadsheet" : { {
"gadget" : "Input_viewSpreadsheet", "$ref": "#/definitions/distributionTypes/_weibull"
"type" : "object_view", }
"title" : "Product Builder Shifts Spreadsheet", ]
"configuration" : { }
"columns" : [{ ]
"name" : "Date", },
"type" : "string", "_failureDist": {
"format" : "date-time" "allOf": [
}, { {
"name" : "Product Builder", "properties": {
"type" : "string" "failureDistribution": {
}, { "default": "No",
"name" : "Start", "enum": [
"type" : "string" "No",
}, { "Yes"
"name" : "Stop", ],
"type" : "string" "type": "string"
} }
] },
} "type": "object"
}, },
"view_operator_skill_spreadsheet" : { {
"gadget" : "Input_viewSpreadsheet", "oneOf": [
"type" : "object_view", {
"title" : "Product Builder Skills", "$ref": "#/definitions/distributionTypes/_failure"
"configuration" : { },
"columns" : [{ {
"name" : "Product Builder", "$ref": "#/definitions/distributionTypes/_no"
"type" : "string" }
}, { ]
"name" : "Skills", }
"type" : "array" ]
} },
] "_operationType": {
} "_class": "Dream.PropertyList",
}, "description": "the type of operations that are performed manually in the machine",
"view_wip_spreadsheet" : { "id": "operationType",
"gadget" : "Input_viewSpreadsheet", "name": "Operation type",
"type" : "object_view", "properties": {
"title" : "WIP Spreadsheet", "operationType": {
"configuration" : { "enum": [
"columns" : [{ "MT-Load",
"name" : "ID", "MT-Load-Setup",
"type" : "string" "MT-Load-Setup-Processing"
}, { ],
"name" : "StationID", "type": "string"
"type" : "string" }
}, }
{ },
"name" : "Number of Units", "_schedulingRule": {
"type" : "number" "default": "FIFO",
}, "description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ",
{ "enum": [
"name" : "Remaining Units", "FIFO",
"type" : "number" "Priority",
}, { "EDD",
"name" : "Type", "EOD",
"type" : "string" "NumStages",
}, { "RPC",
"name" : "Batch ID", "LPT",
"type" : "string" "SPT",
} "MS",
] "WINQ",
} "WT"
}, ],
"view_run_simulation" : { "type": "string"
"title" : "Run Simulation", },
"type" : "object_view", "distributionTypes": {
"gadget" : "Input_viewSimulation" "_binomial": {
}, "description": "Binomial",
"view_result" : { "properties": {
"gadget" : "Input_viewResultList", "mean": {
"type" : "object_view", "default": 0,
"title" : "Results" "type": "number"
} },
}, "size": {
"output" : { "default": 0,
"view_station_utilization" : { "type": "number"
"title" : "Station Utilization", }
"type" : "object_view", },
"gadget" : "Output_viewGraph", "title": "Binomial",
"configuration" : { "type": "object"
"family" : "Server", },
"plot" : "bars", "_cauchy": {
"data" : { "description": "Cauchy",
"working" : [ "properties": {
"working_ratio", "location": {
"setup_ratio", "default": 0,
"load_ratio" "type": "number"
], },
"blockage" : ["blockage_ratio"], "scale": {
"waiting" : ["waiting_ratio"], "default": 0,
"failure" : ["failure_ratio"] "type": "number"
} }
} },
}, "title": "Cauchy",
"view_queue_stats" : { "type": "object"
"title" : "Queue Utilization Graph", },
"type" : "object_view", "_exp": {
"gadget" : "Output_viewGraph", "description": "Exponential",
"configuration" : { "properties": {
"family" : "Buffer", "mean": {
"plot" : "line", "default": 0,
"data" : { "required": true,
"queue_stat" : ["wip_stat_list"] "type": "number"
} }
} },
}, "title": "Exp",
"view_exit_stats" : { "type": "object"
"title" : "Exit Statistics", },
"type" : "object_view", "_failure": {
"gadget" : "Output_viewExitStatistics", "description": "Fixed",
"configuration" : { "properties": {
"properties" : { "Time to Failure": {
"throughput" : { "$ref": "#/definitions/_dist"
"type" : "number" },
}, "Time to Repair": {
"taktTime" : { "$ref": "#/definitions/_dist"
"type" : "number" },
}, "repairman": {
"lifespan" : { "description": "Repairman",
"type" : "number" "required": true,
} "type": "string"
} }
} },
}, "title": "Yes",
"view_operator_gantt" : { "type": "object"
"title" : "Operator Gantt", },
"type" : "object_view", "_fixed": {
"gadget" : "Output_viewGantt", "description": "Fixed",
"configuration" : { "properties": {
"data" : { "mean": {
"Operator" : [] "default": 0,
} "required": true,
} "type": "number"
}, }
"view_debug_json" : { },
"title" : "Debug Json", "title": "Fixed",
"type" : "object_view", "type": "object"
"gadget" : "Output_viewDebugJson" },
} "_gama": {
}, "description": "Gama",
"preprocessing" : { "properties": {
"plugin_list" : [{ "rate": {
"plugin" : "GatherWIPStat.GatherWIPStat", "default": 0,
"input_id" : "WIPStat" "required": true,
}, { "type": "number"
"plugin" : "ReadEntryData.ReadEntryData", },
"input_id" : "EntryData" "shape": {
}, { "default": 0,
"plugin" : "BatchesWIPSpreadsheet.BatchesWIPSpreadsheet", "required": true,
"input_id" : "WipSpreadsheet" "type": "number"
}, { }
"plugin" : "ReadSkilledOperators.ReadSkilledOperators", },
"input_id" : "SkilledOperatorsSpreadsheet" "title": "Gama",
}, "type": "object"
{ },
"plugin" : "ReadShiftFromSpreadsheet.ReadShiftFromSpreadsheet", "_geometric": {
"input_id" : "ShiftSpreadsheet" "description": "Geometric",
} "properties": {
] "probability": {
}, "default": 0,
"processing" : { "required": true,
"plugin_list" : [{ "type": "number"
"plugin" : "plugin.DefaultExecutionPlugin", }
"input_id" : "Simulation" },
} "title": "Geometric",
] "type": "object"
}, },
"postprocessing" : { "_logistic": {
"plugin_list" : [ "description": "Logistic",
] "properties": {
}, "location": {
"general" : { "default": 0,
"properties" : { "required": true,
"numberOfReplications" : { "type": "number"
"title" : "Number of replications", },
"type" : "integer", "scale": {
"description" : "Number of replications to run", "default": 0,
"default" : 10 "required": true,
}, "type": "number"
"maxSimTime" : { }
"title" : "Length of Experiment", },
"description" : "Length of the simulationrun", "title": "Logistic",
"type" : "number", "type": "object"
"default" : 100 },
}, "_lognormal": {
"confidenceLevel" : { "description": "Lognormal",
"title" : "Confidence level", "properties": {
"type" : "number", "mean": {
"default" : 0.95, "_class": "Dream.Property",
"description" : "Confidence level for statistical analysis of stochastic experiments" "default": 0,
}, "name": "Mean",
"processTimeout" : { "type": "number"
"title" : "Process Timeout", },
"type" : "number", "stdev": {
"default" : 10, "_class": "Dream.Property",
"description" : "Number of seconds before the calculation process is interrupted" "default": 0,
}, "name": "Standard Deviation",
"currentDate" : { "type": "number"
"default" : "2014/10/01", }
"description" : "The day the experiment starts, in YYYY/MM/DD format", },
"title" : "Simulation Start Time", "title": "Lognormal",
"type" : "string" "type": "object"
}, },
"timeUnitPerDay" : { "_no": {
"default" : 24, "description": "None",
"description" : "Used for input and reporting widgets. Forexample, 24 means that simulation clock time unit is one hour.", "title": "No",
"title" : "Number of time units per day", "type": "string"
"type" : "number" },
}, "_normal": {
"trace" : { "description": "Normal",
"default" : "No", "properties": {
"enum" : ["No", "Yes"], "mean": {
"description" : "Create an excel trace file (Yes or No)", "default": 0,
"title" : "OutputTrace", "required": true,
"type" : "string" "type": "number"
}, },
"seed" : { "stdev": {
"default" : "1", "default": 0,
"description" : "When using the same seed, the random number generator produce the same sequence of numbers", "required": true,
"title" : "Seed for random number generator", "type": "number"
"type" : "number" }
}, },
"ke_url" : { "title": "Normal",
"default" : "http://git.erp5.org/gitweb/dream.git/blob_plain/HEAD:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls", "type": "object"
"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", "_poisson": {
"type" : "string" "description": "Poisson",
}, "properties": {
"throughputTarget" : { "lambda": {
"default" : 10, "default": 0,
"description" : "The daily throughput target in units.", "type": "number"
"title" : "Daily Throughput Target", }
"type" : "number" },
} "title": "Poisson",
} "type": "object"
} },
}, "_weibull": {
"general" : {}, "description": "Weibull",
"graph" : { "properties": {
"node" : {}, "scale": {
"edge" : {} "default": 0,
}, "required": true,
"input" : {}, "type": "number"
"result" : { },
"result_list" : [] "shape": {
}, "default": 0,
"constraints" : {} "required": true,
"type": "number"
}
},
"title": "Weibull",
"type": "object"
}
}
},
"edge": {
"description": "Base definition for edge",
"properties": {
"_class": {
"type": "string"
},
"destination": {
"type": "string"
},
"name": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"_class",
"source",
"destination"
],
"type": "object"
},
"node": {
"description": "Base definition for node",
"properties": {
"_class": {
"type": "string"
},
"coordinate": {
"properties": {
"left": "number",
"top": "number"
},
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"_class"
],
"type": "object"
}
},
"constraints": {},
"general": {},
"graph": {
"edge": {},
"node": {}
},
"input": {},
"result": {
"result_list": []
}
} }
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