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

DefaultAllInOneEmpty: defining failures in the currently supported way

expandable field cannot be nested at the moment
parent e29bb9e5
{ {
"application_configuration": { "application_configuration": {
"general": { "general": {
"properties": { "properties": {
"confidenceLevel": { "confidenceLevel": {
"default": 0.95, "default": 0.95,
"description": "Confidence level for statistical analysis of stochastic experiments", "description": "Confidence level for statistical analysis of stochastic experiments",
"title": "Confidence level", "title": "Confidence level",
"type": "number" "type": "number"
}, },
"currentDate": { "currentDate": {
"default": "2014/10/01", "default": "2014/10/01",
"description": "The day the experiment starts, in YYYY/MM/DD format", "description": "The day the experiment starts, in YYYY/MM/DD format",
"title": "SimulationStartTime", "title": "SimulationStartTime",
"type": "string" "type": "string"
}, },
"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"
}, },
"maxSimTime": { "maxSimTime": {
"default": 100, "default": 100,
"description": "Length of the simulation run", "description": "Length of the simulation run",
"title": "Length of Experiment", "title": "Length of Experiment",
"type": "number" "type": "number"
}, },
"numberOfReplications": { "numberOfReplications": {
"default": 10, "default": 10,
"description": "Number of replications to run", "description": "Number of replications to run",
"title": "Number of replications", "title": "Number of replications",
"type": "integer" "type": "integer"
}, },
"processTimeout": { "processTimeout": {
"default": 10, "default": 10,
"description": "Number of seconds before the calculation process is interrupted", "description": "Number of seconds before the calculation process is interrupted",
"title": "ProcessTimeout", "title": "ProcessTimeout",
"type": "number" "type": "number"
}, },
"seed": { "seed": {
"default": 1, "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": "number" "type": "number"
}, },
"timeUnit": { "timeUnit": {
"default": "hour", "default": "hour",
"description": "Used for input and reporting widgets.", "description": "Used for input and reporting widgets.",
"name": "Time unit", "enum": [
"type": "string", "minute",
"enum": [ "hour",
"minute", "day",
"hour", "week",
"day", "month",
"week", "year"
"month", ],
"year" "name": "Time unit",
] "type": "string"
}, },
"trace": { "trace": {
"default": "No", "default": "No",
"description": "Create an excel trace file (Yes or No)", "description": "Create an excel trace file (Yes or No)",
"enum": [ "enum": [
"No", "No",
"Yes" "Yes"
], ],
"title": "OutputTrace", "title": "OutputTrace",
"type": "string" "type": "string"
} }
}
},
"input": {
"debug": {
"gadget": "Input_viewDebugJson",
"title": "Debug JSON",
"type": "object_view"
},
"view": {
"gadget": "Input_viewProductionLine",
"title": "ProductionLine",
"type": "object_view"
},
"view_machine_shift_spreadsheet": {
"configuration": {
"columns": [
{
"format": "date-time",
"name": "Date",
"type": "string"
},
{
"name": "Machine",
"type": "string"
},
{
"name": "Start",
"type": "string"
},
{
"name": "Stop",
"type": "string"
} }
}, ]
"input": { },
"debug": { "gadget": "Input_viewSpreadsheet",
"gadget": "Input_viewDebugJson", "title": "Machine Shifts Spreadsheet",
"title": "Debug JSON", "type": "object_view"
"type": "object_view" },
}, "view_management": {
"view": { "gadget": "Input_viewDocumentManagement",
"gadget": "Input_viewProductionLine", "title": "Manage document",
"title": "ProductionLine", "type": "object_view"
"type": "object_view" },
}, "view_repairman_shift_spreadsheet": {
"view_machine_shift_spreadsheet": { "configuration": {
"configuration": { "columns": [
"columns": [ {
{ "format": "date-time",
"format": "date-time", "name": "Date",
"name": "Date", "type": "string"
"type": "string" },
}, {
{ "name": "Repairman",
"name": "Machine", "type": "string"
"type": "string" },
}, {
{ "name": "Start",
"name": "Start", "type": "string"
"type": "string" },
}, {
{ "name": "Stop",
"name": "Stop", "type": "string"
"type": "string"
}
]
},
"gadget": "Input_viewSpreadsheet",
"title": "Machine Shifts Spreadsheet",
"type": "object_view"
},
"view_management": {
"gadget": "Input_viewDocumentManagement",
"title": "Manage document",
"type": "object_view"
},
"view_repairman_shift_spreadsheet": {
"configuration": {
"columns": [
{
"format": "date-time",
"name": "Date",
"type": "string"
},
{
"name": "Repairman",
"type": "string"
},
{
"name": "Start",
"type": "string"
},
{
"name": "Stop",
"type": "string"
}
]
},
"gadget": "Input_viewSpreadsheet",
"title": "Repairman Shifts Spreadsheet",
"type": "object_view"
},
"view_result": {
"gadget": "Input_viewResultList",
"title": "Results",
"type": "object_view"
},
"view_run_simulation": {
"gadget": "Input_viewSimulation",
"title": "Run Simulation",
"type": "object_view"
},
"view_wip_spreadsheet": {
"configuration": {
"columns": [
{
"name": "ID",
"type": "string"
},
{
"name": "StationID",
"type": "string"
},
{
"name": "Remaining Processing Time",
"type": "number"
}
]
},
"gadget": "Input_viewSpreadsheet",
"title": "WIP Spreadsheet",
"type": "object_view"
} }
}, ]
"output": { },
"view_exit_stats": { "gadget": "Input_viewSpreadsheet",
"configuration": { "title": "Repairman Shifts Spreadsheet",
"properties": { "type": "object_view"
"lifespan": { },
"type": "number" "view_result": {
}, "gadget": "Input_viewResultList",
"taktTime": { "title": "Results",
"type": "number" "type": "object_view"
}, },
"throughput": { "view_run_simulation": {
"type": "number" "gadget": "Input_viewSimulation",
} "title": "Run Simulation",
} "type": "object_view"
}, },
"gadget": "Output_viewExitStatistics", "view_wip_spreadsheet": {
"title": "Exit Statistics", "configuration": {
"type": "object_view" "columns": [
}, {
"view_queue_stats": { "name": "ID",
"configuration": { "type": "string"
"columns": [] },
}, {
"gadget": "Output_viewQueueStatGraph", "name": "StationID",
"title": "Queue Statistics", "type": "string"
"type": "object_view" },
}, {
"view_station_utilization": { "name": "Remaining Processing Time",
"configuration": { "type": "number"
"columns": []
},
"gadget": "Output_viewStationUtilisationGraph",
"title": "Station Utilization",
"type": "object_view"
},
"view_tabular_results": {
"configuration": {
"handsontable_options": {},
"output_id": "exit_output"
},
"gadget": "Output_viewSpreadsheet",
"title": "Tabular_Results",
"type": "object_view"
} }
}, ]
"post_processing": { },
"description": "", "gadget": "Input_viewSpreadsheet",
"plugin_list": [ "title": "WIP Spreadsheet",
{ "type": "object_view"
"_class": "dream.plugins.DefaultTabularExit.DefaultTabularExit" }
} },
] "output": {
}, "view_exit_stats": {
"pre_processing": { "configuration": {
"description": "", "properties": {
"plugin_list": [ "lifespan": {
{ "type": "number"
"_class": "dream.plugins.GatherWIPStat.GatherWIPStat", },
"input_id": "WIPStat" "taktTime": {
}, "type": "number"
{ },
"_class": "dream.plugins.WIPSpreadsheet.WIPSpreadsheet", "throughput": {
"input_id": "WIPdata" "type": "number"
} }
] }
}, },
"processing_plugin": { "gadget": "Output_viewExitStatistics",
"_class": "dream.plugins.plugin.DefaultExecutionPlugin", "title": "Exit Statistics",
"description": "", "type": "object_view"
"input_id": "Simulation" },
"view_queue_stats": {
"configuration": {
"columns": []
},
"gadget": "Output_viewQueueStatGraph",
"title": "Queue Statistics",
"type": "object_view"
},
"view_station_utilization": {
"configuration": {
"columns": []
},
"gadget": "Output_viewStationUtilisationGraph",
"title": "Station Utilization",
"type": "object_view"
},
"view_tabular_results": {
"configuration": {
"handsontable_options": {},
"output_id": "exit_output"
},
"gadget": "Output_viewSpreadsheet",
"title": "Tabular_Results",
"type": "object_view"
}
},
"post_processing": {
"description": "",
"plugin_list": [
{
"_class": "dream.plugins.DefaultTabularExit.DefaultTabularExit"
} }
}, ]
"class_definition": { },
"Dream.Edge": { "pre_processing": {
"_class": "edge", "description": "",
"allOf": [ "plugin_list": [
{ {
"$ref": "#/edge" "_class": "dream.plugins.GatherWIPStat.GatherWIPStat",
} "input_id": "WIPStat"
], },
"description": "Connect stations together" {
}, "_class": "dream.plugins.WIPSpreadsheet.WIPSpreadsheet",
"Dream.EventGenerator": { "input_id": "WIPdata"
"_class": "node", }
"allOf": [ ]
{ },
"$ref": "#/node" "processing_plugin": {
}, "_class": "dream.plugins.plugin.DefaultExecutionPlugin",
{ "description": "",
"properties": { "input_id": "Simulation"
"argumentDict": { }
"default": "{}", },
"description": "arguments to be used by the method", "class_definition": {
"required": true, "Dream.Edge": {
"type": "string" "_class": "edge",
}, "allOf": [
"duration": { {
"default": 10, "$ref": "#/edge"
"description": "duration", }
"required": true, ],
"type": "number" "description": "Connect stations together"
}, },
"id": { "Dream.EventGenerator": {
"default": "A", "_class": "node",
"required": true, "allOf": [
"type": "string" {
}, "$ref": "#/node"
"interval": { },
"default": 10, {
"description": "interval time", "properties": {
"required": true, "argumentDict": {
"type": "number" "default": "{}",
}, "description": "arguments to be used by the method",
"method": { "required": true,
"default": "Globals.countIntervalThroughput", "type": "string"
"description": "method to be performed", },
"required": true, "duration": {
"type": "string" "default": 10,
}, "description": "duration",
"name": { "required": true,
"default": "Attainment", "type": "number"
"type": "string" },
}, "id": {
"start": { "default": "A",
"default": 1, "required": true,
"description": "Start time", "type": "string"
"required": true, },
"type": "number" "interval": {
}, "default": 10,
"stop": { "description": "interval time",
"default": -1, "required": true,
"description": "Stop time", "type": "number"
"required": true, },
"type": "number" "method": {
} "default": "Globals.countIntervalThroughput",
}, "description": "method to be performed",
"type": "object" "required": true,
} "type": "string"
], },
"css": { "name": {
"backgroundColor": "#fdc", "default": "Attainment",
"backgroundImage": "linear-gradient(to bottom, #fdc 0%, #ecb 100%)", "type": "string"
"border": "1px solid #cba" },
}, "start": {
"description": "Attainment", "default": 1,
"name": "Attainment" "description": "Start time",
}, "required": true,
"Dream.Exit": { "type": "number"
"_class": "node", },
"allOf": [ "stop": {
{ "default": -1,
"$ref": "#/node" "description": "Stop time",
}, "required": true,
{ "type": "number"
"properties": { }
"id": { },
"default": "E", "type": "object"
"required": true }
}, ],
"name": { "css": {
"default": "Exit", "backgroundColor": "#fdc",
"type": "string" "backgroundImage": "linear-gradient(to bottom, #fdc 0%, #ecb 100%)",
} "border": "1px solid #cba"
}, },
"type": "object" "description": "Attainment",
} "name": "Attainment"
], },
"css": { "Dream.Exit": {
"backgroundColor": "#eef", "_class": "node",
"backgroundImage": "linear-gradient(to bottom, #eef 0%, #dde 100%)", "allOf": [
"border": "1px solid #ccb" {
}, "$ref": "#/node"
"description": "A station where entities exits from the system", },
"name": "Exit", {
"shape": "rectangle" "properties": {
}, "id": {
"Dream.Machine": { "default": "E",
"_class": "node", "required": true
"allOf": [ },
{ "name": {
"$ref": "#/node" "default": "Exit",
}, "type": "string"
{ }
"properties": { },
"id": { "type": "object"
"default": "M", }
"required": true, ],
"type": "string" "css": {
}, "backgroundColor": "#eef",
"interruption": { "backgroundImage": "linear-gradient(to bottom, #eef 0%, #dde 100%)",
"properties": { "border": "1px solid #ccb"
"failure": { },
"$ref": "#/definitions/_failureDist", "description": "A station where entities exits from the system",
"required": true "name": "Exit",
} "shape": "rectangle"
}, },
"type": "object" "Dream.Machine": {
}, "_class": "node",
"loadTime": { "allOf": [
"$ref": "#/definitions/_dist", {
"required": true "$ref": "#/node"
}, },
"name": { {
"default": "Machine", "properties": {
"type": "string" "id": {
}, "default": "M",
"operationType": { "required": true,
"description": "Type Of Operation", "type": "string"
"name": "Operation Type", },
"properties": { "interruption": {
"load": { "properties": {
"$ref": "#/definitions/_operationType", "failure": {
"description": "Operation type for loading" "$ref": "#/definitions/_failureDist",
}, "required": true
"processing": {
"$ref": "#/definitions/_operationType",
"description": "Operation type for processing"
},
"setup": {
"$ref": "#/definitions/_operationType",
"description": "Operation type for setup"
}
},
"required": [
"load",
"setup",
"processing"
],
"type": "object"
},
"processingTime": {
"$ref": "#/definitions/_dist",
"required": true
},
"setupTime": {
"$ref": "#/definitions/_dist",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#fef",
"backgroundImage": "linear-gradient(to bottom, #fef 0%, #ede 100%)",
"border": "1px solid #cbc"
},
"description": "A station processing items for some time given by a distribution",
"name": "Machine"
},
"Dream.Queue": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"capacity": {
"$ref": "#/definitions/_capacity",
"required": true
},
"id": {
"default": "Q",
"type": "string"
},
"name": {
"default": "Queue",
"type": "string"
},
"schedulingRule": {
"$ref": "#/definitions/_schedulingRule",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#eff",
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)",
"border": "1px solid #bcc"
},
"description": "A buffer where entites can be hold until the next station is ready to process them",
"name": "Queue"
},
"Dream.Repairman": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"capacity": {
"$ref": "#/definitions/_capacity",
"required": true
},
"id": {
"default": "R",
"required": true,
"type": "string"
},
"name": {
"default": "Repairman",
"type": "string"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#fdd",
"backgroundImage": "linear-gradient(to bottom, #fdd 0%, #dcc 100%)",
"border": "1px solid #cbb"
},
"description": "A resource that repairs stations in failure",
"name": "Repairman"
},
"Dream.Source": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"entity": {
"default": "Dream.Part",
"description": "EntityClass",
"required": true,
"type": "string"
},
"id": {
"default": "S",
"required": true,
"type": "string"
},
"interArrivalTime": {
"$ref": "#/definitions/_dist",
"description": "Inter-arrivaltime",
"required": true
},
"name": {
"default": "Source",
"type": "string"
}
},
"type": "object"
} }
], },
"css": { "type": "object"
"backgroundColor": "#ffe", },
"backgroundImage": "linear-gradient(to bottom, #ffe 0%, #dde 100%)", "loadTime": {
"border": "1px solid #bbc" "$ref": "#/definitions/_dist",
}, "required": true
"description": "A station creating entities", },
"name": "Source" "name": {
}, "default": "Machine",
"definitions": { "type": "string"
"_capacity": { },
"default": 1, "operationType": {
"description": "capacity of the queue. -1 means infinite", "description": "Type Of Operation",
"oneOf": [ "name": "Operation Type",
{ "properties": {
"enum": [ "load": {
-1 "$ref": "#/definitions/_operationType",
] "description": "Operation type for loading"
}, },
{ "processing": {
"multipleOf": 1 "$ref": "#/definitions/_operationType",
} "description": "Operation type for processing"
], },
"type": "number" "setup": {
}, "$ref": "#/definitions/_operationType",
"_dist": { "description": "Operation type for setup"
"allOf": [
{
"properties": {
"distribution": {
"default": "Fixed",
"enum": [
"Fixed",
"Exp",
"Normal",
"Lognormal",
"Binomial",
"Poisson",
"Logistic",
"Cauchy",
"Geometric",
"Gama",
"Weibull"
],
"type": "string"
}
},
"type": "object"
},
{
"oneOf": [
{
"$ref": "#/definitions/distributionTypes/_fixed"
},
{
"$ref": "#/definitions/distributionTypes/_exp"
},
{
"$ref": "#/definitions/distributionTypes/_normal"
},
{
"$ref": "#/definitions/distributionTypes/_lognormal"
},
{
"$ref": "#/definitions/distributionTypes/_binomial"
},
{
"$ref": "#/definitions/distributionTypes/_poisson"
},
{
"$ref": "#/definitions/distributionTypes/_logistic"
},
{
"$ref": "#/definitions/distributionTypes/_cauchy"
},
{
"$ref": "#/definitions/distributionTypes/_geometric"
},
{
"$ref": "#/definitions/distributionTypes/_gama"
},
{
"$ref": "#/definitions/distributionTypes/_weibull"
}
]
}
]
},
"_failureDist": {
"allOf": [
{
"properties": {
"failureDistribution": {
"default": "No",
"enum": [
"No",
"Yes"
],
"type": "string"
}
},
"type": "object"
},
{
"oneOf": [
{
"$ref": "#/definitions/distributionTypes/_failure"
},
{
"$ref": "#/definitions/distributionTypes/_no"
}
]
}
]
},
"_operationType": {
"default": "Automatic",
"description": "the type of operations that are performed manually in the machine",
"enum": [
"Automatic",
"Manual"
],
"type": "string"
},
"_schedulingRule": {
"default": "FIFO",
"description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ",
"enum": [
"FIFO",
"Priority",
"EDD",
"EOD",
"NumStages",
"RPC",
"LPT",
"SPT",
"MS",
"WINQ",
"WT"
],
"type": "string"
},
"distributionTypes": {
"_binomial": {
"description": "Binomial",
"properties": {
"mean": {
"default": 0,
"type": "number"
},
"size": {
"default": 0,
"type": "number"
}
},
"title": "Binomial",
"type": "object"
},
"_cauchy": {
"description": "Cauchy",
"properties": {
"location": {
"default": 0,
"type": "number"
},
"scale": {
"default": 0,
"type": "number"
}
},
"title": "Cauchy",
"type": "object"
},
"_exp": {
"description": "Exponential",
"properties": {
"mean": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Exp",
"type": "object"
},
"_failure": {
"description": "Fixed",
"properties": {
"Time to Failure": {
"$ref": "#/definitions/_dist"
},
"Time to Repair": {
"$ref": "#/definitions/_dist"
},
"repairman": {
"description": "Repairman",
"required": true,
"type": "string"
}
},
"title": "Yes",
"type": "object"
},
"_fixed": {
"description": "Fixed",
"properties": {
"mean": {
"default": 0.75,
"required": true,
"type": "number"
}
},
"title": "Fixed",
"type": "object"
},
"_gama": {
"description": "Gama",
"properties": {
"rate": {
"default": 0,
"required": true,
"type": "number"
},
"shape": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Gama",
"type": "object"
},
"_geometric": {
"description": "Geometric",
"properties": {
"probability": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Geometric",
"type": "object"
},
"_logistic": {
"description": "Logistic",
"properties": {
"location": {
"default": 0,
"required": true,
"type": "number"
},
"scale": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Logistic",
"type": "object"
},
"_lognormal": {
"description": "Lognormal",
"properties": {
"mean": {
"_class": "Dream.Property",
"default": 0,
"name": "Mean",
"type": "number"
},
"stdev": {
"_class": "Dream.Property",
"default": 0,
"name": "Standard Deviation",
"type": "number"
}
},
"title": "Lognormal",
"type": "object"
},
"_no": {
"description": "None",
"title": "No",
"type": "string"
},
"_normal": {
"description": "Normal",
"properties": {
"mean": {
"default": 0,
"required": true,
"type": "number"
},
"stdev": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Normal",
"type": "object"
},
"_poisson": {
"description": "Poisson",
"properties": {
"lambda": {
"default": 0,
"type": "number"
}
},
"title": "Poisson",
"type": "object"
},
"_weibull": {
"description": "Weibull",
"properties": {
"scale": {
"default": 0,
"required": true,
"type": "number"
},
"shape": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Weibull",
"type": "object"
} }
},
"required": [
"load",
"setup",
"processing"
],
"type": "object"
},
"processingTime": {
"$ref": "#/definitions/_dist",
"required": true
},
"setupTime": {
"$ref": "#/definitions/_dist",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#fef",
"backgroundImage": "linear-gradient(to bottom, #fef 0%, #ede 100%)",
"border": "1px solid #cbc"
},
"description": "A station processing items for some time given by a distribution",
"name": "Machine"
},
"Dream.Queue": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"capacity": {
"$ref": "#/definitions/_capacity",
"required": true
},
"id": {
"default": "Q",
"type": "string"
},
"name": {
"default": "Queue",
"type": "string"
},
"schedulingRule": {
"$ref": "#/definitions/_schedulingRule",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#eff",
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)",
"border": "1px solid #bcc"
},
"description": "A buffer where entites can be hold until the next station is ready to process them",
"name": "Queue"
},
"Dream.Repairman": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"capacity": {
"$ref": "#/definitions/_capacity",
"required": true
},
"id": {
"default": "R",
"required": true,
"type": "string"
},
"name": {
"default": "Repairman",
"type": "string"
} }
}, },
"edge": { "type": "object"
"description": "Base definition for edge", }
],
"css": {
"backgroundColor": "#fdd",
"backgroundImage": "linear-gradient(to bottom, #fdd 0%, #dcc 100%)",
"border": "1px solid #cbb"
},
"description": "A resource that repairs stations in failure",
"name": "Repairman"
},
"Dream.Source": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"entity": {
"default": "Dream.Part",
"description": "EntityClass",
"required": true,
"type": "string"
},
"id": {
"default": "S",
"required": true,
"type": "string"
},
"interArrivalTime": {
"$ref": "#/definitions/_dist",
"description": "Inter-arrivaltime",
"required": true
},
"name": {
"default": "Source",
"type": "string"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#ffe",
"backgroundImage": "linear-gradient(to bottom, #ffe 0%, #dde 100%)",
"border": "1px solid #bbc"
},
"description": "A station creating entities",
"name": "Source"
},
"definitions": {
"_capacity": {
"default": 1,
"description": "capacity of the queue. -1 means infinite",
"oneOf": [
{
"enum": [
-1
]
},
{
"multipleOf": 1
}
],
"type": "number"
},
"_dist": {
"allOf": [
{
"properties": { "properties": {
"_class": { "distribution": {
"type": "string" "default": "Fixed",
}, "enum": [
"destination": { "Fixed",
"type": "string" "Exp",
}, "Normal",
"name": { "Lognormal",
"type": "string" "Binomial",
}, "Poisson",
"source": { "Logistic",
"type": "string" "Cauchy",
} "Geometric",
}, "Gama",
"required": [ "Weibull"
"_class", ],
"source", "type": "string"
"destination" }
], },
"type": "object" "type": "object"
}, },
"node": { {
"description": "Base definition for node", "oneOf": [
{
"$ref": "#/definitions/distributionTypes/_fixed"
},
{
"$ref": "#/definitions/distributionTypes/_exp"
},
{
"$ref": "#/definitions/distributionTypes/_normal"
},
{
"$ref": "#/definitions/distributionTypes/_lognormal"
},
{
"$ref": "#/definitions/distributionTypes/_binomial"
},
{
"$ref": "#/definitions/distributionTypes/_poisson"
},
{
"$ref": "#/definitions/distributionTypes/_logistic"
},
{
"$ref": "#/definitions/distributionTypes/_cauchy"
},
{
"$ref": "#/definitions/distributionTypes/_geometric"
},
{
"$ref": "#/definitions/distributionTypes/_gama"
},
{
"$ref": "#/definitions/distributionTypes/_weibull"
}
]
}
]
},
"_failureDist": {
"allOf": [
{
"properties": { "properties": {
"_class": { "failureDistribution": {
"type": "string" "default": "No",
}, "description": "Is this machine subject to failures, if not then Time to Repair and Time to failure are ignored",
"coordinate": { "enum": [
"properties": { "No",
"left": "number", "Yes"
"top": "number" ],
}, "name": "Has failure ?",
"type": "object" "type": "string"
}, }
"name": { },
"type": "string"
}
},
"required": [
"name",
"_class"
],
"type": "object" "type": "object"
} },
}, {
"constraints": {}, "$ref": "#/definitions/distributionTypes/_failure"
"general": { }
"confidenceLevel": 0.95,
"currentDate": "2015/01/01",
"ke_url": "",
"maxSimTime": 1000,
"name": "DefaultAllInOneEmpty2.json",
"numberOfReplications": "1",
"processTimeout": 20,
"seed": null,
"timeUnit": "hour",
"trace": "No"
},
"graph": {
"edge": {},
"node": {}
},
"input": {
"machine_shift_spreadsheet": [
[
"Date",
"Machine",
"Start",
"Stop"
],
[
null,
null,
null,
null
]
],
"repairman_shift_spreadsheet": [
[
"Date",
"Repairman",
"Start",
"Stop"
],
[
null,
null,
null,
null
]
],
"wip_spreadsheet": [
[
"ID",
"StationID",
"Remaining Processing Time"
],
[
null,
null,
null
]
] ]
}, },
"result": { "_operationType": {
"result_list": [] "default": "Automatic",
"description": "the type of operations that are performed manually in the machine",
"enum": [
"Automatic",
"Manual"
],
"type": "string"
},
"_schedulingRule": {
"default": "FIFO",
"description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ",
"enum": [
"FIFO",
"Priority",
"EDD",
"EOD",
"NumStages",
"RPC",
"LPT",
"SPT",
"MS",
"WINQ",
"WT"
],
"type": "string"
},
"distributionTypes": {
"_binomial": {
"description": "Binomial",
"properties": {
"mean": {
"default": 0,
"type": "number"
},
"size": {
"default": 0,
"type": "number"
}
},
"title": "Binomial",
"type": "object"
},
"_cauchy": {
"description": "Cauchy",
"properties": {
"location": {
"default": 0,
"type": "number"
},
"scale": {
"default": 0,
"type": "number"
}
},
"title": "Cauchy",
"type": "object"
},
"_exp": {
"description": "Exponential",
"properties": {
"mean": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Exp",
"type": "object"
},
"_failure": {
"description": "Fixed",
"properties": {
"Time to Failure": {
"$ref": "#/definitions/_dist"
},
"Time to Repair": {
"$ref": "#/definitions/_dist"
},
"repairman": {
"description": "Repairman",
"required": true,
"type": "string"
}
},
"title": "Yes",
"type": "object"
},
"_fixed": {
"description": "Fixed",
"properties": {
"mean": {
"default": 0.75,
"required": true,
"type": "number"
}
},
"title": "Fixed",
"type": "object"
},
"_gama": {
"description": "Gama",
"properties": {
"rate": {
"default": 0,
"required": true,
"type": "number"
},
"shape": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Gama",
"type": "object"
},
"_geometric": {
"description": "Geometric",
"properties": {
"probability": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Geometric",
"type": "object"
},
"_logistic": {
"description": "Logistic",
"properties": {
"location": {
"default": 0,
"required": true,
"type": "number"
},
"scale": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Logistic",
"type": "object"
},
"_lognormal": {
"description": "Lognormal",
"properties": {
"mean": {
"_class": "Dream.Property",
"default": 0,
"name": "Mean",
"type": "number"
},
"stdev": {
"_class": "Dream.Property",
"default": 0,
"name": "Standard Deviation",
"type": "number"
}
},
"title": "Lognormal",
"type": "object"
},
"_no": {
"description": "No",
"title": "No",
"type": "string"
},
"_normal": {
"description": "Normal",
"properties": {
"mean": {
"default": 0,
"required": true,
"type": "number"
},
"stdev": {
"default": 0,
"required": true,
"type": "number"
}
},
"title": "Normal",
"type": "object"
},
"_poisson": {
"description": "Poisson",
"properties": {
"lambda": {
"default": 0,
"type": "number"
}
},
"title": "Poisson",
"type": "object"
},
"_weibull": {
"description": "Weibull",
"properties": {
"scale": {
"default": 0,
"required": true,
"type": "number"
},
"shape": {
"default": 0,
"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": {
"confidenceLevel": 0.95,
"currentDate": "2015/01/01",
"ke_url": "",
"maxSimTime": 1000,
"name": "DefaultAllInOneEmpty.json",
"numberOfReplications": "1",
"processTimeout": 20,
"seed": null,
"timeUnit": "hour",
"trace": "No"
},
"graph": {
"edge": {
"con_15": {
"_class": "Dream.Edge",
"destination": "Dream.Machine1",
"source": "Dream.Machine1"
}
},
"node": {
"Dream.Machine1": {
"_class": "Dream.Machine",
"coordinate": {
"left": 0.4150799193559014,
"top": 0.14750978240434856
},
"id": "Dream.Machine1",
"name": "Machine"
},
"Dream.Source1": {
"_class": "Dream.Source",
"coordinate": {
"left": 0.08578563429533574,
"top": 0.10401330810563039
},
"entity": "Dream.Part",
"id": "Dream.Source1",
"interArrivalTime": {
"Lognormal": {
"mean": 0,
"stdev": 0
},
"distribution": "Lognormal"
},
"name": "Source"
}
} }
},
"input": {
"machine_shift_spreadsheet": [
[
"Date",
"Machine",
"Start",
"Stop"
],
[
null,
null,
null,
null
]
],
"repairman_shift_spreadsheet": [
[
"Date",
"Repairman",
"Start",
"Stop"
],
[
null,
null,
null,
null
]
],
"wip_spreadsheet": [
[
"ID",
"StationID",
"Remaining Processing Time"
],
[
null,
null,
null
]
]
},
"result": {
"result_list": []
}
} }
\ No newline at end of file
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