Commit f9def490 authored by Georgios Dagkakis's avatar Georgios Dagkakis

instance and examples updated so that user can add priority

parent 6aaa08e1
...@@ -416,6 +416,12 @@ ...@@ -416,6 +416,12 @@
"description": "The pool of workers that is used for this station. If this station does not share resources leave empty", "description": "The pool of workers that is used for this station. If this station does not share resources leave empty",
"type": "string", "type": "string",
"required": false "required": false
},
"priority": {
"_default": "",
"description": "The priority against other stations. If this station does not share resources leave empty",
"type": "number",
"required": false
} }
} }
} }
......
{ {
"application_configuration": { "application_configuration": {
"pre_processing": { "general": {
"plugin_list": [ "properties": {
{ "assemblySpace": {
"_class": "dream.plugins.CapacityStationsSetAssemblySpace.CapacityStationsSetAssemblySpace", "default": 100,
"input_id": "assemblySpace" "description": "Total assembly Space in square meters",
}, "title": "Assembly Space",
{ "type": "number"
"_class": "dream.plugins.AvailableCapacitySpreadsheet.AvailableCapacitySpreadsheet", },
"input_id": "availableCapacity" "confidenceLevel": {
}, "default": 0.95,
{ "description": "Confidence level for statistical analysis of stochastic experiments",
"_class": "dream.plugins.CapacityProjectSpreadsheet.CapacityProjectSpreadsheet", "title": "Confidence level",
"input_id": "capacityProject" "type": "number"
}, },
{ "currentDate": {
"_class": "dream.plugins.CreateCapacityStations.CreateCapacityStations", "default": "2014/10/01",
"input_id": "createCapacityStations" "description": "The day the experiment starts, in YYYY/MM/DD format",
}, "title": "SimulationStartTime",
{ "type": "string"
"_class": "dream.plugins.CapacityStationWIPSpreadsheet.CapacityStationWIPSpreadsheet", },
"input_id": "createCapacityStationWIP" "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"
},
"maxSimTime": {
"default": 100,
"description": "Length of the simulation run",
"title": "Length of Experiment",
"type": "number"
},
"numberOfReplications": {
"default": 10,
"description": "Number of replications to run",
"title": "Number of replications",
"type": "integer"
},
"processTimeout": {
"default": 10,
"description": "Number of seconds before the calculation process is interrupted",
"title": "ProcessTimeout",
"type": "number"
},
"seed": {
"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"
},
"timeUnit": {
"default": "day",
"description": "Used for input and reporting widgets.",
"enum": [
"minute",
"hour",
"day",
"week",
"month",
"year"
],
"name": "Time unit",
"type": "string"
},
"trace": {
"default": "No",
"description": "Create an excel trace file (Yes or No)",
"enum": [
"No",
"Yes"
],
"title": "OutputTrace",
"type": "string"
}
}
},
"input": {
"debug": {
"gadget": "Input_viewDebugJson",
"title": "Edit Configuration",
"type": "object_view"
},
"view": {
"gadget": "Input_viewProductionLine",
"title": "ProductionLine",
"type": "object_view"
},
"view_available_capacity_spreadsheet": {
"configuration": {
"columns": [
{
"format": "date-time",
"name": "Day",
"type": "string"
},
{
"name": "Station 1 (Rename)",
"type": "string"
},
{
"name": "Station 2 (Rename)",
"type": "string"
}
],
"extend": [
"x",
"y"
],
"handsontable_options": {
"minSpareCols": 1
}
},
"gadget": "Input_viewSpreadsheet",
"title": "Available Capacity Spreadsheet",
"type": "object_view"
},
"view_management": {
"gadget": "Input_viewDocumentManagement",
"title": "Manage document",
"type": "object_view"
},
"view_projects_spreadsheet": {
"configuration": {
"columns": [
{
"name": "Project ID",
"type": "string"
},
{
"format": "date",
"name": "Order Date",
"type": "string"
},
{
"format": "date",
"name": "Due Date",
"type": "string"
},
{
"name": "Assembly Space",
"type": "number"
},
{
"name": "Operation",
"type": "string"
},
{
"name": "Capacity Requirement",
"type": "number"
},
{
"format": "date",
"name": "Earliest Start Date",
"type": "string"
}
],
"extend": [
"y"
]
},
"gadget": "Input_viewSpreadsheet",
"title": "Projects 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": "Operation",
"type": "string"
},
{
"name": "Project1 (Rename)",
"type": "string"
},
{
"name": "Project2 (Rename)",
"type": "string"
}
],
"extend": [
"x",
"y"
],
"handsontable_options": {
"minSpareCols": 1
}
},
"gadget": "Input_viewSpreadsheet",
"title": "Work in Progress Spreadsheet",
"type": "object_view"
}
},
"output": {
"view_project_gantt": {
"configuration": {
"output_id": "capacity_project_gantt"
},
"gadget": "Output_viewGantt",
"title": "Project Schedule",
"type": "object_view"
},
"view_station_gantt": {
"configuration": {
"output_id": "capacity_station_gantt"
},
"gadget": "Output_viewGantt",
"title": "Station Schedule",
"type": "object_view"
},
"view_station_utilization": {
"configuration": {
"output_id": "station_utilization"
},
"gadget": "Output_viewGraph",
"title": "Station Utilization",
"type": "object_view"
}
},
"post_processing": {
"plugin_list": [
{
"_class": "dream.plugins.CapacityProjectStationUtilization.CapacityProjectStationUtilization",
"family": "CapacityStation",
"output_id": "station_utilization"
},
{
"_class": "dream.plugins.CapacityProjectGantt.CapacityProjectGantt",
"output_id": "capacity_project_gantt"
},
{
"_class": "dream.plugins.CapacityStationGantt.CapacityStationGantt",
"output_id": "capacity_station_gantt"
}
]
},
"pre_processing": {
"plugin_list": [
{
"_class": "dream.plugins.CapacityStationsSetAssemblySpace.CapacityStationsSetAssemblySpace",
"input_id": "assemblySpace"
},
{
"_class": "dream.plugins.AvailableCapacitySpreadsheet.AvailableCapacitySpreadsheet",
"input_id": "availableCapacity"
},
{
"_class": "dream.plugins.CapacityProjectSpreadsheet.CapacityProjectSpreadsheet",
"input_id": "capacityProject"
},
{
"_class": "dream.plugins.CreateCapacityStations.CreateCapacityStations",
"input_id": "createCapacityStations"
},
{
"_class": "dream.plugins.CapacityStationWIPSpreadsheet.CapacityStationWIPSpreadsheet",
"input_id": "createCapacityStationWIP"
}
]
},
"processing_plugin": {
"_class": "dream.plugins.plugin.DefaultExecutionPlugin",
"input_id": "Simulation"
}
},
"class_definition": {
"Dream.Edge": {
"_class": "edge",
"allOf": [
{
"$ref": "#/class_defintion/edge"
}
],
"description": "Connect stations together"
},
"definitions": {
"_capacity": {
"default": 1,
"description": "capacity of the queue. -1 means infinite",
"oneOf": [
{
"enum": [
-1
]
},
{
"multipleOf": 1
}
],
"type": "number"
},
"_dist": {
"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"
}, },
"general": { {
"properties": { "oneOf": [
"assemblySpace": { {
"default": 100, "$ref": "#/definitions/distributionTypes/_failure"
"type": "number", },
"description": "Total assembly Space in square meters", {
"title": "Assembly Space" "$ref": "#/definitions/distributionTypes/_no"
}, }
"numberOfReplications": { ]
"default": 10, }
"type": "integer", ]
"description": "Number of replications to run", },
"title": "Number of replications" "_operationType": {
}, "default": "Automatic",
"trace": { "description": "the type of operations that are performed manually in the machine",
"default": "No", "enum": [
"enum": [ "Automatic",
"No", "Manual"
"Yes" ],
], "type": "string"
"type": "string", },
"description": "Create an excel trace file (Yes or No)", "_schedulingRule": {
"title": "OutputTrace" "default": "FIFO",
}, "description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ",
"ke_url": { "enum": [
"default": "http: //git.erp5.org/gitweb/dream.git/blob_plain/HEAD: /dream/KnowledgeExtraction/Mockup_Processingtimes.xls", "FIFO",
"type": "string", "Priority",
"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", "EDD",
"title": "URL for Knowledge Extraction Spreadsheet" "EOD",
}, "NumStages",
"processTimeout": { "RPC",
"default": 10, "LPT",
"type": "number", "SPT",
"description": "Number of seconds before the calculation process is interrupted", "MS",
"title": "ProcessTimeout" "WINQ",
}, "WT"
"seed": { ],
"default": "1", "type": "string"
"type": "number", },
"description": "When using the same seed, the random number generator produce the same sequence of numbers", "distributionTypes": {
"title": "Seed for random number generator" "_binomial": {
}, "description": "Binomial",
"confidenceLevel": { "properties": {
"default": 0.95, "mean": {
"type": "number", "default": 0,
"description": "Confidence level for statistical analysis of stochastic experiments", "type": "number"
"title": "Confidence level" },
}, "size": {
"maxSimTime": { "default": 0,
"default": 100, "type": "number"
"type": "number", }
"description": "Length of the simulation run",
"title": "Length of Experiment"
},
"currentDate": {
"default": "2014/10/01",
"type": "string",
"description": "The day the experiment starts, in YYYY/MM/DD format",
"title": "SimulationStartTime"
},
"timeUnit": {
"default": "hour",
"enum": [
"minute",
"hour",
"day",
"week",
"month",
"year"
],
"type": "string",
"description": "Used for input and reporting widgets.",
"name": "Time unit"
}
}
}, },
"output": { "title": "Binomial",
"view_station_gantt": { "type": "object"
"gadget": "Output_viewGantt", },
"configuration": { "_cauchy": {
"output_id": "capacity_station_gantt" "description": "Cauchy",
}, "properties": {
"type": "object_view", "location": {
"title": "Station Schedule" "default": 0,
}, "type": "number"
"view_project_gantt": { },
"gadget": "Output_viewGantt", "scale": {
"configuration": { "default": 0,
"output_id": "capacity_project_gantt" "type": "number"
}, }
"type": "object_view",
"title": "Project Schedule"
},
"view_station_utilization": {
"gadget": "Output_viewGraph",
"configuration": {
"output_id": "station_utilization"
},
"type": "object_view",
"title": "Station Utilization"
}
}, },
"input": { "title": "Cauchy",
"view_management": { "type": "object"
"gadget": "Input_viewDocumentManagement", },
"type": "object_view", "_exp": {
"title": "Manage document" "description": "Exponential",
}, "properties": {
"debug": { "mean": {
"gadget": "Input_viewDebugJson", "default": 0,
"title": "Edit Configuration", "required": true,
"type": "object_view" "type": "number"
}, }
"view_wip_spreadsheet": {
"gadget": "Input_viewSpreadsheet",
"configuration": {
"handsontable_options": {
"minSpareCols": 1
},
"columns": [
{
"type": "string",
"name": "Operation"
},
{
"type": "string",
"name": "Project1 (Rename)"
},
{
"type": "string",
"name": "Project2 (Rename)"
}
],
"extend": [
"x",
"y"
]
},
"type": "object_view",
"title": "Work in Progress Spreadsheet"
},
"view_projects_spreadsheet": {
"gadget": "Input_viewSpreadsheet",
"configuration": {
"columns": [
{
"type": "string",
"name": "Project ID"
},
{
"type": "string",
"name": "Order Date",
"format": "date"
},
{
"type": "string",
"name": "Due Date",
"format": "date"
},
{
"type": "number",
"name": "Assembly Space"
},
{
"type": "string",
"name": "Operation"
},
{
"type": "number",
"name": "Capacity Requirement"
},
{
"type": "string",
"name": "Earliest Start Date",
"format": "date"
}
],
"extend": [
"y"
]
},
"type": "object_view",
"title": "Projects Spreadsheet"
},
"view_run_simulation": {
"gadget": "Input_viewSimulation",
"type": "object_view",
"title": "Run Simulation"
},
"view_result": {
"gadget": "Input_viewResultList",
"type": "object_view",
"title": "Results"
},
"view_available_capacity_spreadsheet": {
"gadget": "Input_viewSpreadsheet",
"configuration": {
"handsontable_options": {
"minSpareCols": 1
},
"columns": [
{
"type": "string",
"name": "Day",
"format": "date-time"
},
{
"type": "string",
"name": "Station 1 (Rename)"
},
{
"type": "string",
"name": "Station 2 (Rename)"
}
],
"extend": [
"x",
"y"
]
},
"type": "object_view",
"title": "Available Capacity Spreadsheet"
},
"view": {
"gadget": "Input_viewProductionLine",
"type": "object_view",
"title": "ProductionLine"
}
}, },
"post_processing": { "title": "Exp",
"plugin_list": [ "type": "object"
{ },
"output_id": "station_utilization", "_failure": {
"_class": "dream.plugins.CapacityProjectStationUtilization.CapacityProjectStationUtilization", "description": "Fixed",
"family": "CapacityStation" "properties": {
}, "TTF": {
{ "$ref": "#/definitions/_dist",
"output_id": "capacity_project_gantt", "name": "Time to Failure"
"_class": "dream.plugins.CapacityProjectGantt.CapacityProjectGantt" },
}, "TTR": {
{ "$ref": "#/definitions/_dist",
"output_id": "capacity_station_gantt", "name": "Time to Repair"
"_class": "dream.plugins.CapacityStationGantt.CapacityStationGantt" },
} "repairman": {
] "description": "Repairman",
"required": true,
"type": "string"
}
}, },
"processing_plugin": { "title": "Yes",
"_class": "dream.plugins.plugin.DefaultExecutionPlugin", "type": "object"
"input_id": "Simulation" },
} "_fixed": {
}, "description": "Fixed",
"graph": { "properties": {
"node": { "mean": {
"WELD": { "default": 0.75,
"coordinate": { "required": true,
"top": 0.47035271303157006, "type": "number"
"left": 0.05224682159961414 }
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "WELD"
},
"MCH": {
"coordinate": {
"top": 0.06653715527072322,
"left": 0.3349253399057431
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "MCH"
},
"EEP": {
"coordinate": {
"top": 0.08206596769592567,
"left": 0.47570913933753145
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "EEP"
},
"ASBTST": {
"coordinate": {
"top": 0.725986317834675,
"left": 0.4748049078628899
},
"requireFullProject": 1,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "ASBTST"
},
"PAINT": {
"coordinate": {
"top": 0.7430615552634912,
"left": 0.3111040179667153
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "PAINT"
},
"CNC": {
"coordinate": {
"top": 0.055153702206292815,
"left": 0.19503291923602395
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "CNC"
},
"PPASB": {
"coordinate": {
"top": 0.7563202742806299,
"left": 0.15782822210919625
},
"id": "PPASB",
"requireFullProject": 1,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "PPASB"
},
"SMF": {
"coordinate": {
"top": 0.06693194658097301,
"left": 0.0679425723598465
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "SMF"
}
}, },
"edge": { "title": "Fixed",
"con_53": { "type": "object"
"source": "SMF", },
"destination": "WELD", "_gama": {
"_class": "Dream.Edge" "description": "Gama",
}, "properties": {
"con_143": { "rate": {
"source": "PPASB", "default": 0,
"destination": "PAINT", "required": true,
"_class": "Dream.Edge" "type": "number"
}, },
"con_111": { "shape": {
"source": "MCH", "default": 0,
"destination": "PPASB", "required": true,
"_class": "Dream.Edge" "type": "number"
}, }
"con_129": {
"source": "EEP",
"destination": "ASBTST",
"_class": "Dream.Edge"
},
"con_69": {
"source": "WELD",
"destination": "PPASB",
"_class": "Dream.Edge"
},
"con_155": {
"source": "PAINT",
"destination": "ASBTST",
"_class": "Dream.Edge"
},
"con_91": {
"source": "CNC",
"destination": "PPASB",
"_class": "Dream.Edge"
}
}
},
"general": {
"assemblySpace": 600,
"numberOfReplications": "1",
"trace": "No",
"ke_url": "http: //git.erp5.org/gitweb/dream.git/blob_plain/HEAD: /dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"processTimeout": 10,
"seed": 1,
"confidenceLevel": 0.95,
"maxSimTime": -1,
"currentDate": "2014/02/20",
"timeUnit": "day"
},
"class_definition": {
"node": {
"required": [
"name",
"_class"
],
"type": "object",
"description": "Base definition for node",
"properties": {
"coordinate": {
"type": "object",
"properties": {
"top": "number",
"left": "number"
}
},
"_class": {
"type": "string"
},
"name": {
"type": "string"
}
}
}, },
"definitions": { "title": "Gama",
"_capacity": { "type": "object"
"default": 1, },
"oneOf": [ "_geometric": {
{ "description": "Geometric",
"enum": [ "properties": {
-1 "probability": {
] "default": 0,
}, "required": true,
{ "type": "number"
"multipleOf": 1 }
}
],
"type": "number",
"description": "capacity of the queue. -1 means infinite"
},
"_failureDist": {
"allOf": [
{
"type": "object",
"properties": {
"failureDistribution": {
"default": "No",
"enum": [
"No",
"Yes"
],
"type": "string"
}
}
},
{
"oneOf": [
{
"$ref": "#/definitions/distributionTypes/_failure"
},
{
"$ref": "#/definitions/distributionTypes/_no"
}
]
}
]
},
"_operationType": {
"default": "Automatic",
"enum": [
"Automatic",
"Manual"
],
"type": "string",
"description": "the type of operations that are performed manually in the machine"
},
"_dist": {
"allOf": [
{
"type": "object",
"properties": {
"distribution": {
"default": "Fixed",
"enum": [
"Fixed",
"Exp",
"Normal",
"Lognormal",
"Binomial",
"Poisson",
"Logistic",
"Cauchy",
"Geometric",
"Gama",
"Weibull"
],
"type": "string"
}
}
},
{
"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"
}
]
}
]
},
"distributionTypes": {
"_geometric": {
"properties": {
"probability": {
"default": 0,
"required": true,
"type": "number"
}
},
"type": "object",
"description": "Geometric",
"title": "Geometric"
},
"_weibull": {
"properties": {
"shape": {
"default": 0,
"required": true,
"type": "number"
},
"scale": {
"default": 0,
"required": true,
"type": "number"
}
},
"type": "object",
"description": "Weibull",
"title": "Weibull"
},
"_exp": {
"properties": {
"mean": {
"default": 0,
"required": true,
"type": "number"
}
},
"type": "object",
"description": "Exponential",
"title": "Exp"
},
"_gama": {
"properties": {
"shape": {
"default": 0,
"required": true,
"type": "number"
},
"rate": {
"default": 0,
"required": true,
"type": "number"
}
},
"type": "object",
"description": "Gama",
"title": "Gama"
},
"_lognormal": {
"properties": {
"stdev": {
"default": 0,
"_class": "Dream.Property",
"type": "number",
"name": "Standard Deviation"
},
"mean": {
"default": 0,
"_class": "Dream.Property",
"type": "number",
"name": "Mean"
}
},
"type": "object",
"description": "Lognormal",
"title": "Lognormal"
},
"_normal": {
"properties": {
"stdev": {
"default": 0,
"required": true,
"type": "number"
},
"mean": {
"default": 0,
"required": true,
"type": "number"
}
},
"type": "object",
"description": "Normal",
"title": "Normal"
},
"_logistic": {
"properties": {
"scale": {
"default": 0,
"required": true,
"type": "number"
},
"location": {
"default": 0,
"required": true,
"type": "number"
}
},
"type": "object",
"description": "Logistic",
"title": "Logistic"
},
"_cauchy": {
"properties": {
"scale": {
"default": 0,
"type": "number"
},
"location": {
"default": 0,
"type": "number"
}
},
"type": "object",
"description": "Cauchy",
"title": "Cauchy"
},
"_binomial": {
"properties": {
"size": {
"default": 0,
"type": "number"
},
"mean": {
"default": 0,
"type": "number"
}
},
"type": "object",
"description": "Binomial",
"title": "Binomial"
},
"_poisson": {
"properties": {
"lambda": {
"default": 0,
"type": "number"
}
},
"type": "object",
"description": "Poisson",
"title": "Poisson"
},
"_failure": {
"properties": {
"TTR": {
"name": "Time to Repair",
"$ref": "#/definitions/_dist"
},
"repairman": {
"required": true,
"type": "string",
"description": "Repairman"
},
"TTF": {
"name": "Time to Failure",
"$ref": "#/definitions/_dist"
}
},
"type": "object",
"description": "Fixed",
"title": "Yes"
},
"_fixed": {
"properties": {
"mean": {
"default": 0.75,
"required": true,
"type": "number"
}
},
"type": "object",
"description": "Fixed",
"title": "Fixed"
},
"_no": {
"type": "string",
"description": "None",
"title": "No"
}
},
"_schedulingRule": {
"default": "FIFO",
"enum": [
"FIFO",
"Priority",
"EDD",
"EOD",
"NumStages",
"RPC",
"LPT",
"SPT",
"MS",
"WINQ",
"WT"
],
"type": "string",
"description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ"
}
}, },
"dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation": { "title": "Geometric",
"allOf": [ "type": "object"
{ },
"$ref": "#/node" "_logistic": {
}, "description": "Logistic",
{ "properties": {
"type": "object", "location": {
"properties": { "default": 0,
"requireFullProject": { "required": true,
"_default": 0, "type": "number"
"required": true, },
"type": "number", "scale": {
"description": "Is this station an assembly? Yes: 1, No: 0" "default": 0,
}, "required": true,
"name": { "type": "number"
"default": "Machine", }
"type": "string"
},
"id": {
"default": "M",
"required": true,
"type": "string"
}
}
}
],
"_class": "node",
"name": "Machine",
"css": {
"backgroundImage": "linear-gradient(to bottom, #fef 0%, #ede 100%)",
"border": "1px solid #cbc",
"backgroundColor": "#fef"
},
"description": "A station processing items for some time given by a distribution"
}, },
"edge": { "title": "Logistic",
"required": [ "type": "object"
"_class", },
"source", "_lognormal": {
"destination" "description": "Lognormal",
], "properties": {
"type": "object", "mean": {
"description": "Base definition for edge", "_class": "Dream.Property",
"properties": { "default": 0,
"source": { "name": "Mean",
"type": "string" "type": "number"
}, },
"destination": { "stdev": {
"type": "string" "_class": "Dream.Property",
}, "default": 0,
"_class": { "name": "Standard Deviation",
"type": "string" "type": "number"
}, }
"name": {
"type": "string"
}
}
}, },
"Dream.Edge": { "title": "Lognormal",
"_class": "edge", "type": "object"
"description": "Connect stations together", },
"allOf": [ "_no": {
{ "description": "None",
"$ref": "#/class_defintion/edge" "title": "No",
} "type": "string"
] },
} "_normal": {
}, "description": "Normal",
"result": { "properties": {
"result_list": [] "mean": {
}, "default": 0,
"input": { "required": true,
"wip_spreadsheet": [ "type": "number"
[ },
"Operation", "stdev": {
"P1", "default": 0,
"" "required": true,
], "type": "number"
[ }
"SMF", },
"80", "title": "Normal",
null "type": "object"
], },
[ "_poisson": {
"WELD", "description": "Poisson",
"0", "properties": {
null "lambda": {
], "default": 0,
[ "type": "number"
"CNC", }
"130", },
null "title": "Poisson",
], "type": "object"
[ },
"MCH", "_weibull": {
"125", "description": "Weibull",
null "properties": {
], "scale": {
[ "default": 0,
"EEP", "required": true,
"30", "type": "number"
null },
], "shape": {
[ "default": 0,
"PPASB", "required": true,
"0", "type": "number"
null }
], },
[ "title": "Weibull",
"PAINT", "type": "object"
"0", }
null }
], },
[ "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation": {
"ASBTST", "_class": "node",
"0", "allOf": [
null {
], "$ref": "#/node"
[ },
null, {
null, "properties": {
null "id": {
] "default": "M",
], "required": true,
"available_capacity_spreadsheet": [ "type": "string"
[ },
"DAY", "name": {
"SMF", "default": "Machine",
"WELD", "type": "string"
"CNC", },
"MCH", "pool": {
"EEP", "_default": "",
"PPASB", "description": "The pool of workers that is used for this station. If this station does not share resources leave empty",
"ASBTST", "required": false,
"PAINT", "type": "string"
null },
], "priority": {
[ "_default": "",
"MONDAY", "description": "The priority against other stations. If this station does not share resources leave empty",
"20", "required": false,
"70", "type": "number"
"90", },
"20", "requireFullProject": {
"290", "_default": 0,
"170", "description": "Is this station an assembly? Yes: 1, No: 0",
"170", "required": true,
"20", "type": "number"
null }
], },
[ "type": "object"
"TUESDAY", }
"30", ],
"170", "css": {
"190", "backgroundColor": "#fef",
"70", "backgroundImage": "linear-gradient(to bottom, #fef 0%, #ede 100%)",
"100", "border": "1px solid #cbc"
"270", },
"270", "description": "A station processing items for some time given by a distribution",
"20", "name": "Machine"
null },
], "edge": {
[ "description": "Base definition for edge",
"WEDNESDAY", "properties": {
"130", "_class": {
"270", "type": "string"
"290", },
"170", "destination": {
"200", "type": "string"
"370", },
"370", "name": {
"20", "type": "string"
null },
], "source": {
[ "type": "string"
"THURSDAY", }
"80", },
"80", "required": [
"390", "_class",
"270", "source",
"300", "destination"
"20", ],
"20", "type": "object"
"320", },
null "node": {
], "description": "Base definition for node",
[ "properties": {
"FRIDAY", "_class": {
"180", "type": "string"
"180", },
"490", "coordinate": {
"370", "properties": {
"390", "left": "number",
"20", "top": "number"
"20", },
"420", "type": "object"
null },
], "name": {
[ "type": "string"
"SATURDAY", }
"20", },
"20", "required": [
"20", "name",
"20", "_class"
"20", ],
"20", "type": "object"
"20", }
"20", },
null "constraints": {},
], "general": {
[ "assemblySpace": 600,
"SUNDAY", "confidenceLevel": 0.95,
"0", "currentDate": "2014/02/20",
"0", "ke_url": "http: //git.erp5.org/gitweb/dream.git/blob_plain/HEAD: /dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"0", "maxSimTime": -1,
"0", "name": "CapacityProject1Order.json",
"0", "numberOfReplications": "1",
"0", "processTimeout": 10,
"0", "seed": 1,
"0", "timeUnit": "day",
null "trace": "No"
], },
[ "graph": {
"2014/02/22", "edge": {
"70", "con_111": {
"90", "_class": "Dream.Edge",
"80", "destination": "PPASB",
"20", "source": "MCH"
"70", },
"50", "con_129": {
"50", "_class": "Dream.Edge",
"70", "destination": "ASBTST",
null "source": "EEP"
], },
[ "con_143": {
"2014/03/01", "_class": "Dream.Edge",
"70", "destination": "PAINT",
"90", "source": "PPASB"
"80", },
"60", "con_155": {
"70", "_class": "Dream.Edge",
"80", "destination": "ASBTST",
"80", "source": "PAINT"
"170", },
null "con_53": {
], "_class": "Dream.Edge",
[ "destination": "WELD",
"2014/03/25", "source": "SMF"
"120", },
"170", "con_69": {
"80", "_class": "Dream.Edge",
"160", "destination": "PPASB",
"370", "source": "WELD"
"80", },
"80", "con_91": {
"170", "_class": "Dream.Edge",
null "destination": "PPASB",
], "source": "CNC"
[ }
"", },
null, "node": {
null, "ASBTST": {
null, "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
null, "coordinate": {
null, "left": 0.4748049078628899,
null, "top": 0.725986317834675
null, },
null, "id": "ASBTST",
null "name": "ASBTST",
] "pool": "ASB",
], "priority": 3,
"projects_spreadsheet": [ "requireFullProject": 1
[ },
"Project ID", "CNC": {
"Order Date", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"Due Date", "coordinate": {
"Assembly Space", "left": 0.19503291923602395,
"Operation", "top": 0.055153702206292815
"Capacity Requirement", },
"Earliest Start Date" "name": "CNC",
], "requireFullProject": 0
[ },
"P1", "EEP": {
"2014/01/26", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"2014/03/26", "coordinate": {
"400", "left": 0.47570913933753145,
"SMF", "top": 0.08206596769592567
"80", },
"" "name": "EEP",
], "requireFullProject": 0
[ },
"", "MCH": {
"", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"", "coordinate": {
"", "left": 0.3349253399057431,
"WELD", "top": 0.06653715527072322
"90", },
"" "name": "MCH",
], "requireFullProject": 0
[ },
"", "PAINT": {
"", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"", "coordinate": {
"", "left": 0.3111040179667153,
"CNC", "top": 0.7430615552634912
"130", },
"" "name": "PAINT",
], "requireFullProject": 0
[ },
"", "PPASB": {
"", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"", "coordinate": {
"", "left": 0.15782822210919625,
"MCH", "top": 0.7563202742806299
"125", },
"" "id": "PPASB",
], "name": "PPASB",
[ "pool": "ASB",
"", "priority": 2,
"", "requireFullProject": 1
"", },
"", "SMF": {
"EEP", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"30", "coordinate": {
"" "left": 0.0679425723598465,
], "top": 0.06693194658097301
[ },
"", "name": "SMF",
"", "requireFullProject": 0
"", },
"", "WELD": {
"PPASB", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"700", "coordinate": {
"" "left": 0.05224682159961414,
], "top": 0.47035271303157006
[ },
"", "name": "WELD",
"", "requireFullProject": 0
"", }
"", }
"PAINT", },
"50", "input": {
"" "available_capacity_spreadsheet": [
], [
[ "DAY",
"", "SMF",
"", "WELD",
"", "CNC",
"", "MCH",
"ASBTST", "EEP",
"300", "PPASB",
"" "ASBTST",
], "PAINT",
[ null
null, ],
null, [
null, "MONDAY",
null, "20",
null, "70",
null, "90",
null "20",
] "290",
] "170",
}, "170",
"constraints": {} "20",
null
],
[
"TUESDAY",
"30",
"170",
"190",
"70",
"100",
"270",
"270",
"20",
null
],
[
"WEDNESDAY",
"130",
"270",
"290",
"170",
"200",
"370",
"370",
"20",
null
],
[
"THURSDAY",
"80",
"80",
"390",
"270",
"300",
"20",
"20",
"320",
null
],
[
"FRIDAY",
"180",
"180",
"490",
"370",
"390",
"20",
"20",
"420",
null
],
[
"SATURDAY",
"20",
"20",
"20",
"20",
"20",
"20",
"20",
"20",
null
],
[
"SUNDAY",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
null
],
[
"2014/02/22",
"70",
"90",
"80",
"20",
"70",
"50",
"50",
"70",
null
],
[
"2014/03/01",
"70",
"90",
"80",
"60",
"70",
"80",
"80",
"170",
null
],
[
"2014/03/25",
"120",
"170",
"80",
"160",
"370",
"80",
"80",
"170",
null
],
[
"",
null,
null,
null,
null,
null,
null,
null,
null,
null
]
],
"projects_spreadsheet": [
[
"Project ID",
"Order Date",
"Due Date",
"Assembly Space",
"Operation",
"Capacity Requirement",
"Earliest Start Date"
],
[
"P1",
"2014/01/26",
"2014/03/26",
"400",
"SMF",
"80",
""
],
[
"",
"",
"",
"",
"WELD",
"90",
""
],
[
"",
"",
"",
"",
"CNC",
"130",
""
],
[
"",
"",
"",
"",
"MCH",
"125",
""
],
[
"",
"",
"",
"",
"EEP",
"30",
""
],
[
"",
"",
"",
"",
"PPASB",
"700",
""
],
[
"",
"",
"",
"",
"PAINT",
"50",
""
],
[
"",
"",
"",
"",
"ASBTST",
"300",
""
],
[
null,
null,
null,
null,
null,
null,
null
]
],
"wip_spreadsheet": [
[
"Operation",
"P1",
""
],
[
"SMF",
"80",
null
],
[
"WELD",
"0",
null
],
[
"CNC",
"130",
null
],
[
"MCH",
"125",
null
],
[
"EEP",
"30",
null
],
[
"PPASB",
"0",
null
],
[
"PAINT",
"0",
null
],
[
"ASBTST",
"0",
null
],
[
null,
null,
null
]
]
},
"result": {
"result_list": []
}
} }
\ No newline at end of file
{
"application_configuration": {
"general": {
"properties": {
"assemblySpace": {
"default": 100,
"description": "Total assembly Space in square meters",
"title": "Assembly Space",
"type": "number"
},
"confidenceLevel": {
"default": 0.95,
"description": "Confidence level for statistical analysis of stochastic experiments",
"title": "Confidence level",
"type": "number"
},
"currentDate": {
"default": "2014/10/01",
"description": "The day the experiment starts, in YYYY/MM/DD format",
"title": "SimulationStartTime",
"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"
},
"maxSimTime": {
"default": 100,
"description": "Length of the simulation run",
"title": "Length of Experiment",
"type": "number"
},
"numberOfReplications": {
"default": 10,
"description": "Number of replications to run",
"title": "Number of replications",
"type": "integer"
},
"processTimeout": {
"default": 10,
"description": "Number of seconds before the calculation process is interrupted",
"title": "ProcessTimeout",
"type": "number"
},
"seed": {
"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"
},
"timeUnit": {
"default": "day",
"description": "Used for input and reporting widgets.",
"enum": [
"minute",
"hour",
"day",
"week",
"month",
"year"
],
"name": "Time unit",
"type": "string"
},
"trace": {
"default": "No",
"description": "Create an excel trace file (Yes or No)",
"enum": [
"No",
"Yes"
],
"title": "OutputTrace",
"type": "string"
}
}
},
"input": {
"debug": {
"gadget": "Input_viewDebugJson",
"title": "Edit Configuration",
"type": "object_view"
},
"view": {
"gadget": "Input_viewProductionLine",
"title": "ProductionLine",
"type": "object_view"
},
"view_available_capacity_spreadsheet": {
"configuration": {
"columns": [
{
"format": "date-time",
"name": "Day",
"type": "string"
},
{
"name": "Station 1 (Rename)",
"type": "string"
},
{
"name": "Station 2 (Rename)",
"type": "string"
}
],
"extend": [
"x",
"y"
],
"handsontable_options": {
"minSpareCols": 1
}
},
"gadget": "Input_viewSpreadsheet",
"title": "Available Capacity Spreadsheet",
"type": "object_view"
},
"view_management": {
"gadget": "Input_viewDocumentManagement",
"title": "Manage document",
"type": "object_view"
},
"view_projects_spreadsheet": {
"configuration": {
"columns": [
{
"name": "Project ID",
"type": "string"
},
{
"format": "date",
"name": "Order Date",
"type": "string"
},
{
"format": "date",
"name": "Due Date",
"type": "string"
},
{
"name": "Assembly Space",
"type": "number"
},
{
"name": "Operation",
"type": "string"
},
{
"name": "Capacity Requirement",
"type": "number"
},
{
"format": "date",
"name": "Earliest Start Date",
"type": "string"
}
],
"extend": [
"y"
]
},
"gadget": "Input_viewSpreadsheet",
"title": "Projects 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": "Operation",
"type": "string"
},
{
"name": "Project1 (Rename)",
"type": "string"
},
{
"name": "Project2 (Rename)",
"type": "string"
}
],
"extend": [
"x",
"y"
],
"handsontable_options": {
"minSpareCols": 1
}
},
"gadget": "Input_viewSpreadsheet",
"title": "Work in Progress Spreadsheet",
"type": "object_view"
}
},
"output": {
"view_project_gantt": {
"configuration": {
"output_id": "capacity_project_gantt"
},
"gadget": "Output_viewGantt",
"title": "Project Schedule",
"type": "object_view"
},
"view_station_gantt": {
"configuration": {
"output_id": "capacity_station_gantt"
},
"gadget": "Output_viewGantt",
"title": "Station Schedule",
"type": "object_view"
},
"view_station_utilization": {
"configuration": {
"output_id": "station_utilization"
},
"gadget": "Output_viewGraph",
"title": "Station Utilization",
"type": "object_view"
}
},
"post_processing": {
"plugin_list": [
{
"_class": "dream.plugins.CapacityProjectStationUtilization.CapacityProjectStationUtilization",
"family": "CapacityStation",
"output_id": "station_utilization"
},
{
"_class": "dream.plugins.CapacityProjectGantt.CapacityProjectGantt",
"output_id": "capacity_project_gantt"
},
{
"_class": "dream.plugins.CapacityStationGantt.CapacityStationGantt",
"output_id": "capacity_station_gantt"
}
]
},
"pre_processing": {
"plugin_list": [
{
"_class": "dream.plugins.CapacityStationsSetAssemblySpace.CapacityStationsSetAssemblySpace",
"input_id": "assemblySpace"
},
{
"_class": "dream.plugins.AvailableCapacitySpreadsheet.AvailableCapacitySpreadsheet",
"input_id": "availableCapacity"
},
{
"_class": "dream.plugins.CapacityProjectSpreadsheet.CapacityProjectSpreadsheet",
"input_id": "capacityProject"
},
{
"_class": "dream.plugins.CreateCapacityStations.CreateCapacityStations",
"input_id": "createCapacityStations"
},
{
"_class": "dream.plugins.CapacityStationWIPSpreadsheet.CapacityStationWIPSpreadsheet",
"input_id": "createCapacityStationWIP"
}
]
},
"processing_plugin": {
"_class": "dream.plugins.plugin.DefaultExecutionPlugin",
"input_id": "Simulation"
}
},
"class_definition": {
"Dream.Edge": {
"_class": "edge",
"allOf": [
{
"$ref": "#/class_defintion/edge"
}
],
"description": "Connect stations together"
},
"definitions": {
"_capacity": {
"default": 1,
"description": "capacity of the queue. -1 means infinite",
"oneOf": [
{
"enum": [
-1
]
},
{
"multipleOf": 1
}
],
"type": "number"
},
"_dist": {
"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": {
"TTF": {
"$ref": "#/definitions/_dist",
"name": "Time to Failure"
},
"TTR": {
"$ref": "#/definitions/_dist",
"name": "Time to Repair"
},
"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"
}
}
},
"dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"id": {
"default": "M",
"required": true,
"type": "string"
},
"name": {
"default": "Machine",
"type": "string"
},
"pool": {
"_default": "",
"description": "The pool of workers that is used for this station. If this station does not share resources leave empty",
"required": false,
"type": "string"
},
"priority": {
"_default": "",
"description": "The priority against other stations. If this station does not share resources leave empty",
"required": false,
"type": "number"
},
"requireFullProject": {
"_default": 0,
"description": "Is this station an assembly? Yes: 1, No: 0",
"required": true,
"type": "number"
}
},
"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"
},
"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": {
"assemblySpace": 600,
"confidenceLevel": 0.95,
"currentDate": "2014/02/20",
"ke_url": "http: //git.erp5.org/gitweb/dream.git/blob_plain/HEAD: /dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"maxSimTime": -1,
"name": "CapacityProject7Orders.json",
"numberOfReplications": "1",
"processTimeout": 10,
"seed": 1,
"timeUnit": "day",
"trace": "No"
},
"graph": {
"edge": {
"con_111": {
"_class": "Dream.Edge",
"destination": "PPASB",
"source": "MCH"
},
"con_129": {
"_class": "Dream.Edge",
"destination": "ASBTST",
"source": "EEP"
},
"con_143": {
"_class": "Dream.Edge",
"destination": "PAINT",
"source": "PPASB"
},
"con_155": {
"_class": "Dream.Edge",
"destination": "ASBTST",
"source": "PAINT"
},
"con_53": {
"_class": "Dream.Edge",
"destination": "WELD",
"source": "SMF"
},
"con_69": {
"_class": "Dream.Edge",
"destination": "PPASB",
"source": "WELD"
},
"con_91": {
"_class": "Dream.Edge",
"destination": "PPASB",
"source": "CNC"
}
},
"node": {
"ASBTST": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.4748049078628899,
"top": 0.725986317834675
},
"id": "ASBTST",
"name": "ASBTST",
"pool": "ASB",
"priority": 3,
"requireFullProject": 1
},
"CNC": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.19503291923602395,
"top": 0.055153702206292815
},
"name": "CNC",
"requireFullProject": 0
},
"EEP": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.47570913933753145,
"top": 0.08206596769592567
},
"name": "EEP",
"requireFullProject": 0
},
"MCH": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.3349253399057431,
"top": 0.06653715527072322
},
"name": "MCH",
"requireFullProject": 0
},
"PAINT": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.3111040179667153,
"top": 0.7430615552634912
},
"name": "PAINT",
"requireFullProject": 0
},
"PPASB": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.15782822210919625,
"top": 0.7563202742806299
},
"id": "PPASB",
"name": "PPASB",
"pool": "ASB",
"priority": 1,
"requireFullProject": 1
},
"SMF": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.0679425723598465,
"top": 0.06693194658097301
},
"name": "SMF",
"requireFullProject": 0
},
"WELD": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.05224682159961414,
"top": 0.47035271303157006
},
"name": "WELD",
"requireFullProject": 0
}
}
},
"input": {
"available_capacity_spreadsheet": [
[
"DAY",
"SMF",
"WELD",
"CNC",
"MCH",
"EEP",
"ASB",
"PAINT",
""
],
[
"MONDAY",
"20",
"70",
"90",
"20",
"290",
"170",
"20",
""
],
[
"TUESDAY",
"30",
"170",
"190",
"70",
"100",
"270",
"20",
""
],
[
"WEDNESDAY",
"130",
"270",
"290",
"170",
"200",
"370",
"20",
""
],
[
"THURSDAY",
"80",
"80",
"390",
"270",
"300",
"20",
"320",
""
],
[
"FRIDAY",
"180",
"180",
"490",
"370",
"390",
"20",
"420",
""
],
[
"SATURDAY",
"20",
"20",
"20",
"20",
"20",
"20",
"20",
""
],
[
"SUNDAY",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
""
],
[
"2014/03/22",
"70",
"90",
"80",
"20",
"70",
"50",
"70",
""
],
[
"2014/04/24",
"70",
"90",
"80",
"60",
"70",
"80",
"170",
""
],
[
"2014/03/25",
"120",
"170",
"80",
"160",
"370",
"80",
"170",
""
],
[
"",
null,
null,
null,
null,
null,
null,
null,
null
]
],
"projects_spreadsheet": [
[
"Project ID",
"Order Date",
"Due Date",
"Assembly Space",
"Operation",
"Capacity Requirement",
"Earliest Start Date"
],
[
"P1",
"2014/01/26",
"2014/03/26",
"400",
"SMF",
"80",
""
],
[
"",
"",
"",
"",
"WELD",
"90",
""
],
[
"",
"",
"",
"",
"CNC",
"130",
""
],
[
"",
"",
"",
"",
"MCH",
"125",
""
],
[
"",
"",
"",
"",
"EEP",
"30",
""
],
[
"",
"",
"",
"",
"PPASB",
"700",
""
],
[
"",
"",
"",
"",
"PAINT",
"50",
""
],
[
"",
"",
"",
"",
"ASBTST",
"300",
""
],
[
"P2",
"2014/01/26",
"2014/04/04",
"300",
"SMF",
"70",
null
],
[
"",
"",
"",
"",
"WELD",
"180",
null
],
[
"",
"",
"",
"",
"CNC",
"45",
null
],
[
"",
"",
"",
"",
"MCH",
"90",
null
],
[
"",
"",
"",
"",
"EEP",
"50",
null
],
[
"",
"",
"",
"",
"PPASB",
"900",
null
],
[
"",
"",
"",
"",
"PAINT",
"250",
null
],
[
"",
"",
"",
"",
"ASBTST",
"380",
null
],
[
"P3",
"2014/01/26",
"",
"400",
"SMF",
"130",
null
],
[
"",
"",
"",
"",
"WELD",
"115",
null
],
[
"",
"",
"",
"",
"CNC",
"145",
null
],
[
"",
"",
"",
"",
"MCH",
"90",
null
],
[
"",
"",
"",
"",
"EEP",
"35",
null
],
[
"",
"",
"",
"",
"PPASB",
"600",
null
],
[
"",
"",
"",
"",
"PAINT",
"100",
null
],
[
"",
"",
"",
"",
"ASBTST",
"130",
null
],
[
"",
"",
"",
"",
"",
"",
null
]
],
"wip_spreadsheet": [
[
"Operation",
"P1",
"P2",
"P3",
""
],
[
"SMF",
"80",
"70",
"130",
""
],
[
"WELD",
"0",
"0",
"0",
""
],
[
"CNC",
"130",
"45",
"145",
""
],
[
"MCH",
"125",
"90",
"90",
""
],
[
"EEP",
"30",
"50",
"35",
""
],
[
"PPASB",
"0",
"0",
"0",
""
],
[
"PAINT",
"0",
"0",
"0",
""
],
[
"ASBTST",
"0",
"0",
"0",
""
],
[
null,
null,
"",
null,
null
]
]
},
"result": {
"result_list": []
}
}
\ No newline at end of file
...@@ -633,6 +633,12 @@ ...@@ -633,6 +633,12 @@
"required": false, "required": false,
"type": "string" "type": "string"
}, },
"priority": {
"_default": "",
"description": "The priority against other stations. If this station does not share resources leave empty",
"required": false,
"type": "number"
},
"requireFullProject": { "requireFullProject": {
"_default": 0, "_default": 0,
"description": "Is this station an assembly? Yes: 1, No: 0", "description": "Is this station an assembly? Yes: 1, No: 0",
...@@ -760,6 +766,7 @@ ...@@ -760,6 +766,7 @@
"id": "ASBTST", "id": "ASBTST",
"name": "ASBTST", "name": "ASBTST",
"pool": "ASB", "pool": "ASB",
"priority": 3,
"requireFullProject": 1 "requireFullProject": 1
}, },
"CNC": { "CNC": {
...@@ -807,6 +814,7 @@ ...@@ -807,6 +814,7 @@
"id": "PPASB", "id": "PPASB",
"name": "PPASB", "name": "PPASB",
"pool": "ASB", "pool": "ASB",
"priority": 1,
"requireFullProject": 1 "requireFullProject": 1
}, },
"SMF": { "SMF": {
......
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