new all inclusive file for batches case

parent 09faccb2
{
"class_definition" : {
"definitions" : {
"distributionTypes" : {
"_fixed" : {
"description" : "Fixed",
"title" : "Fixed",
"type" : "object",
"properties" : {
"mean" : {
"type" : "number",
"default" : 0,
"required" : true
}
}
},
"_exp" : {
"type" : "object",
"title": "Exp",
"description" : "Exponential",
"properties" : {
"mean" : {
"type" : "number",
"default" : 0,
"required" : true
}
}
},
"_normal" : {
"type" : "object",
"title" : "Normal",
"description" : "Normal",
"properties" : {
"mean" : {
"type" : "number",
"default" : 0,
"required" : true
},
"stdev" : {
"type" : "number",
"default" : 0,
"required" : true
}
}
},
"_lognormal" : {
"type" : "object",
"title" : "Lognormal",
"description" : "Lognormal",
"properties" : {
"mean" : {
"_class" : "Dream.Property",
"name" : "Mean",
"type" : "number",
"default" : 0
},
"stdev" : {
"_class" : "Dream.Property",
"name" : "Standard Deviation",
"type" : "number",
"default" : 0
}
}
},
"_binomial" : {
"type" : "object",
"title" : "Binomial",
"description" : "Binomial",
"properties" : {
"mean" : {
"type" : "number",
"default" : 0
},
"size" : {
"type" : "number",
"default" : 0
}
}
},
"_poisson" : {
"type" : "object",
"title" : "Poisson",
"description" : "Poisson",
"properties" : {
"lambda" : {
"type" : "number",
"default" : 0
}
}
},
"_logistic" : {
"type" : "object",
"title" : "Logistic",
"description" : "Logistic",
"properties" : {
"location" : {
"type" : "number",
"default" : 0,
"required" : true
},
"scale" : {
"type" : "number",
"default" : 0,
"required" : true
}
}
},
"_caucy" : {
"type" : "object",
"title" : "Caucy",
"description" : "Caucy",
"properties" : {
"location" : {
"type" : "number",
"default" : 0
},
"scale" : {
"type" : "number",
"default" : 0
}
}
},
"_geometric" : {
"type" : "object",
"title" : "Geometric",
"description" : "Geometric",
"properties" : {
"probability" : {
"type" : "number",
"default" : 0,
"required" : true
}
}
},
"_gama" : {
"type" : "object",
"title" : "Gama",
"description" : "Gama",
"properties" : {
"shape" : {
"type" : "number",
"default" : 0,
"required" : true
},
"rate" : {
"type" : "number",
"default" : 0,
"required" : true
}
}
},
"_weibull" : {
"type" : "object",
"title" : "Weibull",
"description" : "Weibull",
"properties" : {
"shape" : {
"type" : "number",
"default" : 0,
"required" : true
},
"scale" : {
"type" : "number",
"default" : 0,
"required" : true
}
}
},
"_fixedFailure" : {
"type" : "object",
"title" : "Fixed",
"description" : "Fixed",
"properties" : {
"MTTF" : {
"description" : "Mean Time To Failure",
"type" : "number",
"default" : 40,
"required" : true
},
"MTTR" : {
"description" : "Mean Time To Repair",
"type" : "number",
"default" : 10,
"required" : true
},
"repairman" : {
"description" : "Repairman",
"type" : "string",
"required" : true
}
}
},
"_no" : {
"type" : "string",
"title" : "No",
"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" : {
"allOf" : [{
"type" : "object",
"properties" : {
"failureDistribution" : {
"type" : "string",
"default" : "No",
"enum" : [
"No",
"Fixed",
"Availability"
]
}
}
}, {
"oneOf" : [{
"$ref" : "#/definitions/distributionTypes/_fixedFailure"
}, {
"$ref" : "#/definitions/distributionTypes/_no"
}, {
"$ref" : "#/definitions/distributionTypes/_availability"
}
]
}
]
},
"_dist" : {
"allOf" : [{
"type" : "object",
"properties" : {
"distribution" : {
"type" : "string",
"default" : "Fixed",
"enum" : [
"Fixed",
"Exp",
"Normal",
"Lognormal",
"Binomial",
"Poisson",
"Logistic",
"Caucy",
"Geometric",
"Gama",
"Weibull"
]
}
}
}, {
"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/_caucy"
}, {
"$ref" : "#/definitions/distributionTypes/_geometric"
}, {
"$ref" : "#/definitions/distributionTypes/_gama"
}, {
"$ref" : "#/definitions/distributionTypes/_weibull"
}
]
}
]
},
"_schedulingRule" : {
"description" : "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ",
"type" : "string",
"default" : "FIFO",
"enum" : [
"FIFO",
"Priority",
"EDD",
"EOD",
"NumStages",
"RPC",
"LPT",
"SPT",
"MS",
"WINQ",
"WT"
]
},
"_capacity" : {
"description" : "capacity of the queue. -1 means infinite",
"type" : "number",
"default" : 1,
"oneOf" : [{
"enum" : [
-1
]
}, {
"multipleOf" : 1
}
]
},
"_operationType" : {
"_class" : "Dream.PropertyList",
"name" : "Operation type",
"id" : "operationType",
"description" : "the type of operations that are performed manually in the machine",
"properties" : {
"operationType" : {
"type" : "string",
"enum" : [
"MT-Load",
"MT-Load-Setup",
"MT-Load-Setup-Processing"
]
}
}
}
},
"edge" : {
"description" : "Base definition for edge",
"properties" : {
"_class" : {
"type" : "string"
},
"source" : {
"type" : "string"
},
"destination" : {
"type" : "string"
},
"name" : {
"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"
},
"Dream.Edge" : {
"_class" : "edge",
"allOf" : [{
"$ref" : "#/edge"
}
],
"description" : "Connect stations together"
},
"Dream.Exit":{
"_class" : "node",
"name" : "Exit",
"colour" : "#F0F",
"shape" : "rectangle",
"description" : "A station where entities exits from the system",
"allOf" : [{
"$ref" : "#/node"
}, {
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"default" : "Exit"
},
"id" : {
"default" : "E",
"required" : true
}
}
}
]
},
"Dream.Queue":{
"name" : "Queue",
"_class":"node",
"description" : "A buffer where entities can be hold until the next station is ready to process them",
"allOf" : [{
"$ref" : "#/node"
}, {
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"default" : "Queue"
},
"id" : {
"type" : "string",
"default" : "Q"
},
"capacity" : {
"$ref" : "#/definitions/_capacity",
"required" : true
},
"schedulingRule" : {
"$ref" : "#/definitions/_schedulingRule",
"required" : true
},
"isDummy" : {
"type" : "boolean",
"default" : false
}
}
}
]
},
"Dream.LineClearance":{
"name" : "Clearance",
"_class":"node",
"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" : [{
"$ref":"#Dream.Queue",
}, {
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"default" : "Clearence"
},
"id" : {
"type" : "string",
"default" : "c"
},
"capacity" : {
"$ref" : "#/definitions/_capacity",
"required" : true
},
"schedulingRule" : {
"$ref" : "#/definitions/_schedulingRule",
"required" : true
},
"isDummy" : {
"type" : "boolean",
"default" : false
}
}
}
]
},
"Dream.EventGenerator" : {
"name" : "Attainment",
"_class" : "node",
"description" : "Attainment",
"allOf" : [{
"$ref" : "#/class_definition/node"
}, {
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"default" : "Attainment"
},
"id" : {
"type" : "string",
"default" : "A",
"required" : true
},
"start" : {
"description" : "Starttime",
"type" : "number",
"default" : 1,
"required" : true
},
"stop" : {
"description" : "Stoptime",
"type" : "number",
"default" : -1,
"required" : true
},
"duration" : {
"description" : "duration",
"type" : "number",
"default" : 10,
"required" : true
},
"interval" : {
"description" : "intervaltime",
"type" : "number",
"default" : 10,
"required" : true
},
"method" : {
"description" : "method to be performed",
"type" : "string",
"default" : "Globals.countIntervalThroughput",
"required" : true
},
"argumentDict" : {
"description" : "arguments to be used by the method",
"type" : "string",
"default" : "{}",
"required" : true
}
}
}
]
},
"Dream.BatchSource" : {
"name" : "BatchSource",
"_class" : "node",
"description" : "A station creating batches",
"allOf" : [{
"$ref" : "#/node"
}, {
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"default" : "Source"
},
"id" : {
"type" : "string",
"default" : "S",
"required" : true
},
"interArrivalTime" : {
"description" : "Inter-arrival time",
"$ref" : "#/definitions/_dist",
"required" : true
},
"entity" : {
"type" : "string",
"description" : "Entity Class",
"default" : "Dream.Part",
"required" : true
},
"batchNumberOfUnits" : {
"description": "Number of units of the created batch",
"type":"number",
"default":80,
"required" : true
},
}
}
]
},
"Dream.BatchDecompositionStartTime":{
"_class":"Dream.BatchDecompositionStartTime",
"name": "Batch Decomposition",
"description" : "A station that decomposes batches into sub-batches",
"allOf": [{
"$ref":"#/Dream.BatchReassembly"
}, {
"type" : "object",
"properties" : {
"name":{
"type":"string",
"default":"Decomposition"
},
"id":{
"type":"string",
"default":"D"
}
}
}
]
},
"Dream.BatchScrapMachine":{
"name" : "Machine",
"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",
"allOf" : [{
"$ref" : "#/node"
}, {
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"default" : "Machine"
},
"id" : {
"type" : "string",
"default" : "M",
"required" : true
},
"processingTime" : {
"$ref" : "#/definitions/_dist",
"required" : true
},
"failures" : {
"$ref" : "#/definitions/_failureDist",
"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":{
"type":"string",
"default":"R"
},
"processingTime":{
"$ref":"#/definitions/_dist"
},
"numberOfSubBatches":{
"description":"Number Of Sub-Batches",
"type":"number",
"default":10
}
}
]
}
},
"application_configuration" : {
"input" : {
"view" : {
"title" : "ProductionLine",
"type" : "object_view",
"gadget" : "Input_viewProductionLine"
},
"view_parent_entities_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet",
"type" : "object_view",
"title" : "Batches Spreadsheet",
"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" : {
"gadget" : "Input_viewSpreadsheet",
"type" : "object_view",
"title" : "Machine Shifts Spreadsheet",
"configuration" : {
"columns" : [{
"name" : "Date",
"type" : "string",
"format" : "date-time"
}, {
"name" : "Machine",
"type" : "string"
}, {
"name" : "Start",
"type" : "string"
}, {
"name" : "Stop",
"type" : "string"
}
]
}
},
"view_operator_shift_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet",
"type" : "object_view",
"title" : "Operators Shifts Spreadsheet",
"configuration" : {
"columns" : [{
"name" : "Date",
"type" : "string",
"format" : "date-time"
}, {
"name" : "Repairman",
"type" : "string"
}, {
"name" : "Start",
"type" : "string"
}, {
"name" : "Stop",
"type" : "string"
}
]
}
},
"view_wip_spreadsheet" : {
"gadget" : "Input_viewSpreadsheet",
"type" : "object_view",
"title" : "WIP Spreadsheet",
"configuration" : {
"columns" : [{
"name" : "entity ID",
"type" : "string"
}, {
"name" : "StationID",
"type" : "string"
}, { // do we need sequence
"name":"Sequence",
"type":"string"
}, {
"name" : "Remaining Processing Time",
"type" : "number"
}
]
}
},
"view_run_simulation" : {
"title" : "Run Simulation",
"type" : "object_view",
"gadget" : "Input_viewSimulation"
},
"view_result": {
"gadget": "Input_viewResultList",
"type": "object_view",
"title": "Results"
}
},
"output" : {
"view_station_utilization" : {
"title" : "StationUtilization",
"type" : "object_view",
"gadget" : "Output_viewStationUtilisationGraph",
"configuration" : {
"columns" : []
}
},
"view_queue_stats" : {
"title" : "QueueStatistics",
"type" : "object_view",
"gadget" : "Output_viewQueueStatGraph",
"configuration" : {
"columns" : [
]
}
},
"view_exit_stats" : {
"title" : "ExitStatistics",
"type" : "object_view",
"gadget" : "Output_viewExitStatistics",
"configuration" : {
"properties" : {
"throughput" : {
"type" : "number"
},
"taktTime" : {
"type" : "number"
},
"lifespan" : {
"type" : "number"
}
}
}
},
"view_operator_gantt" : {
"title" : "Operator Gantt",
"type" : "object_view",
"gadget" : "Output_viewJobGantt",
"configuration" : {
"properties" : {}
}
},
"view_debug_json" : {
"title" : "Debug Json",
"type" : "object_view",
"gadget" : "Output_viewDebugJson"
}
},
"preprocessing" : {
"plugin_list" : [{
"plugin" : "PartJobShop",
"input_id" : "Simulation"
}, {
"plugin" : "ReadShiftFromSpreadsheet",
"input_id" : "ShiftSpreadsheet"
}, {
"plugin" : "ReadWipFromSpreadsheet",
"input_id" : "WipSpreadsheet"
}
]
},
"postprocessing" : {
"plugin_list" : [{
"plugin" : "CalculateConfidenceIntervals"
}]
},
"general" : {
"properties" : {
"numberOfReplications" : {
"title" : "Number of replications",
"type" : "integer",
"description" : "Number of replications to run",
"default" : 10
},
"maxSimTime" : {
"title" : "Length of Experiment",
"description" : "Length of the simulationrun",
"type" : "number",
"default" : 100
},
"confidenceLevel" : {
"title" : "Confidence level",
"type" : "number",
"default" : 0.95,
"description" : "Confidence level for statistical analysis of stochastic experiments"
},
"processTimeout" : {
"title" : "Process Timeout",
"type" : "number",
"default" : 10,
"description" : "Number of seconds before the calculation process is interrupted"
},
"currentDate" : {
"default" : "2014/10/01",
"description" : "The day the experiment starts, in YYYY/MM/DD format",
"title" : "Simulation Start Time",
"type" : "string"
},
"timeUnitPerDay" : {
"default" : 24,
"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",
"type" : "number"
},
"trace" : {
"default" : false,
"description" : "Create an excel trace file (true or false)",
"title" : "Output Trace",
"type" : "boolean"
},
"seed" : {
"default" : "",
"description" : "When using the same seed, the random number generator produce the same sequence of numbers",
"title" : "Seed for random number generator",
"type" : "string"
},
"ke_url":{
"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",
"title": "URL for Knowledge Extraction Spreadsheet",
"type": "string"
},
"throughputTarget":{
"default": 10,
"description": "The daily throughput target in units.",
"title": "Daily Throughput Target",
"type": "number"
}
}
}
},
"general" : {},
"graph" : {
"node" : {},
"edge" : {}
},
"input" : {},
"result" : {},
"constraints" : {}
}
\ 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