Commit 92cb7299 authored by Georgios Dagkakis's avatar Georgios Dagkakis

model updated to use pool definition

parent 5130f84f
{ {
"application_configuration": { "application_configuration": {
"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"
}
]
},
"general": { "general": {
"properties": { "properties": {
"assemblySpace": { "assemblySpace": {
"default": 100, "default": 100,
"type": "number",
"description": "Total assembly Space in square meters", "description": "Total assembly Space in square meters",
"title": "Assembly Space" "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"
}, },
"dateFormat": { "dateFormat": {
"default": "%Y/%m/%d", "default": "%Y/%m/%d",
"name": "Date format", "name": "Date format",
"type": "string" "type": "string"
}, },
"numberOfReplications": {
"default": 10,
"type": "integer",
"description": "Number of replications to run",
"title": "Number of replications"
},
"trace": {
"default": "No",
"enum": [
"No",
"Yes"
],
"type": "string",
"description": "Create an excel trace file (Yes or No)",
"title": "OutputTrace"
},
"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",
"type": "string",
"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"
},
"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": { "processTimeout": {
"default": 10, "default": 10,
"type": "number",
"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"
}, },
"seed": { "seed": {
"default": "1", "default": "1",
"type": "number",
"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"
"confidenceLevel": {
"default": 0.95,
"type": "number",
"description": "Confidence level for statistical analysis of stochastic experiments",
"title": "Confidence level"
},
"maxSimTime": {
"default": 100,
"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": { "timeUnit": {
"default": "day", "default": "day",
"description": "Used for input and reporting widgets.",
"enum": [ "enum": [
"minute", "minute",
"hour", "hour",
...@@ -99,401 +66,254 @@ ...@@ -99,401 +66,254 @@
"month", "month",
"year" "year"
], ],
"type": "string", "name": "Time unit",
"description": "Used for input and reporting widgets.", "type": "string"
"name": "Time unit"
}
}
},
"output": {
"view_station_gantt": {
"gadget": "Output_viewGantt",
"configuration": {
"output_id": "capacity_station_gantt"
},
"type": "object_view",
"title": "Station Schedule"
},
"view_project_gantt": {
"gadget": "Output_viewGantt",
"configuration": {
"output_id": "capacity_project_gantt"
},
"type": "object_view",
"title": "Project Schedule"
},
"view_station_utilization": {
"gadget": "Output_viewGraph",
"configuration": {
"output_id": "station_utilization"
}, },
"type": "object_view", "trace": {
"title": "Station Utilization" "default": "No",
"description": "Create an excel trace file (Yes or No)",
"enum": [
"No",
"Yes"
],
"title": "OutputTrace",
"type": "string"
}
} }
}, },
"input": { "input": {
"view_management": { "debug": {
"gadget": "Input_viewDocumentManagement", "gadget": "Input_viewDebugJson",
"type": "object_view", "title": "Edit Configuration",
"title": "Manage document" "type": "object_view"
}, },
"view_result": { "view": {
"gadget": "Input_viewResultComparison", "gadget": "Input_viewProductionLine",
"output_id": "order_lateness", "title": "ProductionLine",
"title": "Results",
"type": "object_view" "type": "object_view"
}, },
"view_wip_spreadsheet": { "view_available_capacity_spreadsheet": {
"gadget": "Input_viewSpreadsheet",
"configuration": { "configuration": {
"handsontable_options": {
"minSpareCols": 1
},
"columns": [ "columns": [
{ {
"type": "string", "format": "date-time",
"name": "Operation" "name": "Day",
"type": "string"
}, },
{ {
"type": "string", "name": "Station 1 (Rename)",
"name": "Project1 (Rename)" "type": "string"
}, },
{ {
"type": "string", "name": "Station 2 (Rename)",
"name": "Project2 (Rename)" "type": "string"
} }
], ],
"extend": [ "extend": [
"x", "x",
"y" "y"
] ],
"handsontable_options": {
"minSpareCols": 1
}
},
"gadget": "Input_viewSpreadsheet",
"title": "Available Capacity Spreadsheet",
"type": "object_view"
}, },
"type": "object_view", "view_management": {
"title": "Work in Progress Spreadsheet" "gadget": "Input_viewDocumentManagement",
"title": "Manage document",
"type": "object_view"
}, },
"view_projects_spreadsheet": { "view_projects_spreadsheet": {
"gadget": "Input_viewSpreadsheet",
"configuration": { "configuration": {
"columns": [ "columns": [
{ {
"type": "string", "name": "Project ID",
"name": "Project ID" "type": "string"
}, },
{ {
"type": "string", "format": "date",
"name": "Order Date", "name": "Order Date",
"format": "date" "type": "string"
}, },
{ {
"type": "string", "format": "date",
"name": "Due Date", "name": "Due Date",
"format": "date" "type": "string"
}, },
{ {
"type": "number", "name": "Assembly Space",
"name": "Assembly Space" "type": "number"
}, },
{ {
"type": "string", "name": "Operation",
"name": "Operation" "type": "string"
}, },
{ {
"type": "number", "name": "Capacity Requirement",
"name": "Capacity Requirement" "type": "number"
}, },
{ {
"type": "string", "format": "date",
"name": "Earliest Start Date", "name": "Earliest Start Date",
"format": "date" "type": "string"
} }
], ],
"extend": [ "extend": [
"y" "y"
] ]
}, },
"type": "object_view", "gadget": "Input_viewSpreadsheet",
"title": "Projects Spreadsheet" "title": "Projects Spreadsheet",
"type": "object_view"
}, },
"debug": { "view_result": {
"gadget": "Input_viewDebugJson", "gadget": "Input_viewResultComparison",
"type": "object_view", "output_id": "order_lateness",
"title": "Edit Configuration" "title": "Results",
"type": "object_view"
}, },
"view_run_simulation": { "view_run_simulation": {
"gadget": "Input_viewSimulation", "gadget": "Input_viewSimulation",
"type": "object_view", "title": "Run Simulation",
"title": "Run Simulation" "type": "object_view"
}, },
"view_available_capacity_spreadsheet": { "view_wip_spreadsheet": {
"gadget": "Input_viewSpreadsheet",
"configuration": { "configuration": {
"handsontable_options": {
"minSpareCols": 1
},
"columns": [ "columns": [
{ {
"type": "string", "name": "Operation",
"name": "Day", "type": "string"
"format": "date-time"
}, },
{ {
"type": "string", "name": "Project1 (Rename)",
"name": "Station 1 (Rename)" "type": "string"
}, },
{ {
"type": "string", "name": "Project2 (Rename)",
"name": "Station 2 (Rename)" "type": "string"
} }
], ],
"extend": [ "extend": [
"x", "x",
"y" "y"
] ],
"handsontable_options": {
"minSpareCols": 1
}
}, },
"type": "object_view", "gadget": "Input_viewSpreadsheet",
"title": "Available Capacity Spreadsheet" "title": "Work in Progress Spreadsheet",
"type": "object_view"
}
}, },
"view": { "output": {
"gadget": "Input_viewProductionLine", "view_project_gantt": {
"type": "object_view", "configuration": {
"title": "ProductionLine" "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": { "post_processing": {
"plugin_list": [ "plugin_list": [
{ {
"output_id": "station_utilization",
"_class": "dream.plugins.CapacityProjectStationUtilization.CapacityProjectStationUtilization", "_class": "dream.plugins.CapacityProjectStationUtilization.CapacityProjectStationUtilization",
"family": "CapacityStation" "family": "CapacityStation",
"output_id": "station_utilization"
}, },
{ {
"_class": "dream.plugins.PostProcessOrderLateness.PostProcessOrderLateness", "_class": "dream.plugins.PostProcessOrderLateness.PostProcessOrderLateness",
"output_id": "order_lateness" "output_id": "order_lateness"
}, },
{ {
"output_id": "capacity_project_gantt", "_class": "dream.plugins.CapacityProjectGantt.CapacityProjectGantt",
"_class": "dream.plugins.CapacityProjectGantt.CapacityProjectGantt" "output_id": "capacity_project_gantt"
}, },
{ {
"output_id": "capacity_station_gantt", "_class": "dream.plugins.CapacityStationGantt.CapacityStationGantt",
"_class": "dream.plugins.CapacityStationGantt.CapacityStationGantt" "output_id": "capacity_station_gantt"
} }
] ]
}, },
"processing_plugin": { "pre_processing": {
"_class": "dream.plugins.plugin.NewOrderExecutionPlugin", "plugin_list": [
"input_id": "Simulation" {
} "_class": "dream.plugins.CapacityStationsSetAssemblySpace.CapacityStationsSetAssemblySpace",
}, "input_id": "assemblySpace"
"graph": {
"node": {
"WELD": {
"coordinate": {
"top": 0.4879169725682298,
"left": 0.03769064060628088
}, },
"requireFullProject": 0, {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation", "_class": "dream.plugins.AvailableCapacitySpreadsheet.AvailableCapacitySpreadsheet",
"name": "WELD" "input_id": "availableCapacity"
}, },
"MCH": { {
"coordinate": { "_class": "dream.plugins.CapacityProjectSpreadsheet.CapacityProjectSpreadsheet",
"top": 0.08510179754097032, "input_id": "capacityProject"
"left": 0.4280579897427614
}, },
"requireFullProject": 0, {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation", "_class": "dream.plugins.CreateCapacityStations.CreateCapacityStations",
"name": "MCH" "input_id": "createCapacityStations"
}, },
"EEP": { {
"coordinate": { "_class": "dream.plugins.CapacityStationWIPSpreadsheet.CapacityStationWIPSpreadsheet",
"top": 0.06240798486337823, "input_id": "createCapacityStationWIP"
"left": 0.7847729811950626 }
]
}, },
"requireFullProject": 0, "processing_plugin": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation", "_class": "dream.plugins.plugin.NewOrderExecutionPlugin",
"name": "EEP" "input_id": "Simulation"
}
}, },
"ASBTST": { "class_definition": {
"coordinate": { "Dream.Edge": {
"top": 0.7243108546264807, "_class": "edge",
"left": 0.7565050007403519 "allOf": [
{
"$ref": "#/class_defintion/edge"
}
],
"description": "Connect stations together"
}, },
"requireFullProject": 1, "definitions": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation", "_capacity": {
"name": "ASBTST" "default": 1,
}, "description": "capacity of the queue. -1 means infinite",
"PAINT": { "oneOf": [
"coordinate": { {
"top": 0.7224197035700147, "enum": [
"left": 0.49940098803322164 -1
}, ]
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "PAINT"
},
"CNC": {
"coordinate": {
"top": 0.07375489120217428,
"left": 0.2342204094818883
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"name": "CNC"
},
"PPASB": {
"coordinate": {
"top": 0.7545692715299368,
"left": 0.21133680625664633
},
"requireFullProject": 1,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"id": "PPASB",
"name": "PPASB"
},
"SMF": {
"coordinate": {
"top": 0.047278776411650174,
"left": 0.04038282922101522
},
"requireFullProject": 0,
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"id": "SMF",
"name": "Sheet Metal Forming"
}
},
"edge": {
"con_53": {
"destination": "WELD",
"_class": "Dream.Edge",
"source": "SMF"
},
"con_143": {
"destination": "PAINT",
"_class": "Dream.Edge",
"source": "PPASB"
},
"con_111": {
"destination": "PPASB",
"_class": "Dream.Edge",
"source": "MCH"
},
"con_129": {
"destination": "ASBTST",
"_class": "Dream.Edge",
"source": "EEP"
},
"con_69": {
"destination": "PPASB",
"_class": "Dream.Edge",
"source": "WELD"
},
"con_155": {
"destination": "ASBTST",
"_class": "Dream.Edge",
"source": "PAINT"
},
"con_91": {
"destination": "PPASB",
"_class": "Dream.Edge",
"source": "CNC"
}
}
},
"general": {
"assemblySpace": 600,
"numberOfReplications": "1",
"trace": "No",
"dateFormat": "%Y/%m/%d",
"ke_url": "http: //git.erp5.org/gitweb/dream.git/blob_plain/HEAD: /dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"processTimeout": 20,
"seed": 1,
"confidenceLevel": 0.95,
"maxSimTime": -1,
"currentDate": "2015/02/23",
"dateFormat": "%Y/%m/%d",
"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": {
"_capacity": {
"default": 1,
"oneOf": [
{
"enum": [
-1
]
}, },
{ {
"multipleOf": 1 "multipleOf": 1
} }
], ],
"type": "number", "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": { "_dist": {
"allOf": [ "allOf": [
{ {
"type": "object",
"properties": { "properties": {
"distribution": { "distribution": {
"default": "Fixed", "default": "Fixed",
...@@ -512,7 +332,8 @@ ...@@ -512,7 +332,8 @@
], ],
"type": "string" "type": "string"
} }
} },
"type": "object"
}, },
{ {
"oneOf": [ "oneOf": [
...@@ -553,37 +374,93 @@ ...@@ -553,37 +374,93 @@
} }
] ]
}, },
"_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": { "distributionTypes": {
"_geometric": { "_binomial": {
"description": "Binomial",
"properties": { "properties": {
"probability": { "mean": {
"default": 0,
"type": "number"
},
"size": {
"default": 0, "default": 0,
"required": true,
"type": "number" "type": "number"
} }
}, },
"type": "object", "title": "Binomial",
"description": "Geometric", "type": "object"
"title": "Geometric"
}, },
"_weibull": { "_cauchy": {
"description": "Cauchy",
"properties": { "properties": {
"shape": { "location": {
"default": 0, "default": 0,
"required": true,
"type": "number" "type": "number"
}, },
"scale": { "scale": {
"default": 0, "default": 0,
"required": true,
"type": "number" "type": "number"
} }
}, },
"type": "object", "title": "Cauchy",
"description": "Weibull", "type": "object"
"title": "Weibull"
}, },
"_exp": { "_exp": {
"description": "Exponential",
"properties": { "properties": {
"mean": { "mean": {
"default": 0, "default": 0,
...@@ -591,324 +468,387 @@ ...@@ -591,324 +468,387 @@
"type": "number" "type": "number"
} }
}, },
"type": "object", "title": "Exp",
"description": "Exponential", "type": "object"
"title": "Exp"
}, },
"_gama": { "_failure": {
"description": "Fixed",
"properties": { "properties": {
"shape": { "TTF": {
"default": 0, "$ref": "#/definitions/_dist",
"required": true, "name": "Time to Failure"
"type": "number"
}, },
"rate": { "TTR": {
"default": 0, "$ref": "#/definitions/_dist",
"name": "Time to Repair"
},
"repairman": {
"description": "Repairman",
"required": true, "required": true,
"type": "number" "type": "string"
} }
}, },
"type": "object", "title": "Yes",
"description": "Gama", "type": "object"
"title": "Gama"
}, },
"_lognormal": { "_fixed": {
"description": "Fixed",
"properties": { "properties": {
"stdev": {
"default": 0,
"_class": "Dream.Property",
"type": "number",
"name": "Standard Deviation"
},
"mean": { "mean": {
"default": 0, "default": 0.75,
"_class": "Dream.Property", "required": true,
"type": "number", "type": "number"
"name": "Mean"
} }
}, },
"type": "object", "title": "Fixed",
"description": "Lognormal", "type": "object"
"title": "Lognormal"
}, },
"_normal": { "_gama": {
"description": "Gama",
"properties": { "properties": {
"stdev": { "rate": {
"default": 0, "default": 0,
"required": true, "required": true,
"type": "number" "type": "number"
}, },
"mean": { "shape": {
"default": 0, "default": 0,
"required": true, "required": true,
"type": "number" "type": "number"
} }
}, },
"type": "object", "title": "Gama",
"description": "Normal", "type": "object"
"title": "Normal"
}, },
"_logistic": { "_geometric": {
"description": "Geometric",
"properties": { "properties": {
"scale": { "probability": {
"default": 0, "default": 0,
"required": true, "required": true,
"type": "number" "type": "number"
}
},
"title": "Geometric",
"type": "object"
}, },
"_logistic": {
"description": "Logistic",
"properties": {
"location": { "location": {
"default": 0, "default": 0,
"required": true, "required": true,
"type": "number" "type": "number"
},
"scale": {
"default": 0,
"required": true,
"type": "number"
} }
}, },
"type": "object", "title": "Logistic",
"description": "Logistic", "type": "object"
"title": "Logistic"
}, },
"_cauchy": { "_lognormal": {
"description": "Lognormal",
"properties": { "properties": {
"scale": { "mean": {
"_class": "Dream.Property",
"default": 0, "default": 0,
"name": "Mean",
"type": "number" "type": "number"
}, },
"location": { "stdev": {
"_class": "Dream.Property",
"default": 0, "default": 0,
"name": "Standard Deviation",
"type": "number" "type": "number"
} }
}, },
"type": "object", "title": "Lognormal",
"description": "Cauchy", "type": "object"
"title": "Cauchy"
}, },
"_binomial": { "_no": {
"description": "None",
"title": "No",
"type": "string"
},
"_normal": {
"description": "Normal",
"properties": { "properties": {
"size": { "mean": {
"default": 0, "default": 0,
"required": true,
"type": "number" "type": "number"
}, },
"mean": { "stdev": {
"default": 0, "default": 0,
"required": true,
"type": "number" "type": "number"
} }
}, },
"type": "object", "title": "Normal",
"description": "Binomial", "type": "object"
"title": "Binomial"
}, },
"_poisson": { "_poisson": {
"description": "Poisson",
"properties": { "properties": {
"lambda": { "lambda": {
"default": 0, "default": 0,
"type": "number" "type": "number"
} }
}, },
"type": "object", "title": "Poisson",
"description": "Poisson", "type": "object"
"title": "Poisson"
}, },
"_failure": { "_weibull": {
"description": "Weibull",
"properties": { "properties": {
"TTR": { "scale": {
"name": "Time to Repair", "default": 0,
"$ref": "#/definitions/_dist" "required": true,
"type": "number"
}, },
"repairman": { "shape": {
"default": 0,
"required": true, "required": true,
"type": "string", "type": "number"
"description": "Repairman" }
}, },
"TTF": { "title": "Weibull",
"name": "Time to Failure", "type": "object"
"$ref": "#/definitions/_dist" }
} }
}, },
"type": "object", "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation": {
"description": "Fixed", "_class": "node",
"title": "Yes" "allOf": [
{
"$ref": "#/node"
}, },
"_fixed": { {
"properties": { "properties": {
"mean": { "id": {
"default": 0.75, "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, "required": true,
"type": "number" "type": "number"
} }
}, },
"type": "object", "type": "object"
"description": "Fixed", }
"title": "Fixed" ],
"css": {
"backgroundColor": "#fef",
"backgroundImage": "linear-gradient(to bottom, #fef 0%, #ede 100%)",
"border": "1px solid #cbc"
}, },
"_no": { "description": "A station processing items for some time given by a distribution",
"type": "string", "name": "Machine"
"description": "None", },
"title": "No" "edge": {
"description": "Base definition for edge",
"properties": {
"_class": {
"type": "string"
},
"destination": {
"type": "string"
},
"name": {
"type": "string"
},
"source": {
"type": "string"
} }
}, },
"_schedulingRule": { "required": [
"default": "FIFO", "_class",
"enum": [ "source",
"FIFO", "destination"
"Priority", ],
"EDD", "type": "object"
"EOD", },
"NumStages", "node": {
"RPC", "description": "Base definition for node",
"LPT", "properties": {
"SPT", "_class": {
"MS", "type": "string"
"WINQ", },
"WT" "coordinate": {
"properties": {
"left": "number",
"top": "number"
},
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"_class"
], ],
"type": "string", "type": "object"
"description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ" }
},
"constraints": {},
"general": {
"assemblySpace": 600,
"confidenceLevel": 0.95,
"currentDate": "2015/02/23",
"dateFormat": "%Y/%m/%d",
"ke_url": "http: //git.erp5.org/gitweb/dream.git/blob_plain/HEAD: /dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"maxSimTime": -1,
"numberOfReplications": "1",
"processTimeout": 20,
"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"
} }
}, },
"dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation": { "node": {
"allOf": [ "ASBTST": {
{ "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"$ref": "#/node" "coordinate": {
"left": 0.7565050007403519,
"top": 0.7243108546264807
},
"id": "ASBTST",
"name": "ASBTST",
"pool": "ASB",
"priority": 2,
"requireFullProject": 1
},
"CNC": {
"_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.2342204094818883,
"top": 0.07375489120217428
},
"name": "CNC",
"requireFullProject": 0
}, },
{ "EEP": {
"type": "object", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"properties": { "coordinate": {
"priority": { "left": 0.7847729811950626,
"_default": "", "top": 0.06240798486337823
"required": false,
"type": "number",
"description": "The priority against other stations. If this station does not share resources leave empty"
}, },
"requireFullProject": { "name": "EEP",
"_default": 0, "requireFullProject": 0
"required": true,
"type": "number",
"description": "Is this station an assembly? Yes: 1, No: 0"
}, },
"name": { "MCH": {
"default": "Machine", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"type": "string" "coordinate": {
"left": 0.4280579897427614,
"top": 0.08510179754097032
}, },
"pool": { "name": "MCH",
"_default": "", "requireFullProject": 0
"required": false,
"type": "string",
"description": "The pool of workers that is used for this station. If this station does not share resources leave empty"
}, },
"id": { "PAINT": {
"default": "M", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"required": true, "coordinate": {
"type": "string" "left": 0.49940098803322164,
} "top": 0.7224197035700147
}
}
],
"_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" "name": "PAINT",
"requireFullProject": 0
}, },
"edge": { "PPASB": {
"required": [ "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"_class", "coordinate": {
"source", "left": 0.21133680625664633,
"destination" "top": 0.7545692715299368
],
"type": "object",
"description": "Base definition for edge",
"properties": {
"source": {
"type": "string"
}, },
"destination": { "id": "PPASB",
"type": "string" "name": "PPASB",
"pool": "ASB",
"priority": 1,
"requireFullProject": 1
}, },
"_class": { "SMF": {
"type": "string" "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"coordinate": {
"left": 0.04038282922101522,
"top": 0.047278776411650174
}, },
"name": { "id": "SMF",
"type": "string" "name": "Sheet Metal Forming",
} "requireFullProject": 0
}
}, },
"Dream.Edge": { "WELD": {
"_class": "edge", "_class": "dream.simulation.applications.CapacityStations.CapacityStation.CapacityStation",
"description": "Connect stations together", "coordinate": {
"allOf": [ "left": 0.03769064060628088,
{ "top": 0.4879169725682298
"$ref": "#/class_defintion/edge" },
"name": "WELD",
"requireFullProject": 0
} }
]
} }
}, },
"result": {
"result_list": []
},
"input": { "input": {
"wip_spreadsheet": [
[
"Operation",
"P1",
"NEW",
null
],
[
"SMF",
"80",
"0",
null
],
[
"WELD",
"0",
"0",
null
],
[
"CNC",
"130",
"45",
null
],
[
"MCH",
"125",
"90",
null
],
[
"EEP",
"30",
"50",
null
],
[
"PPASB",
"0",
"0",
null
],
[
"PAINT",
"0",
"0",
null
],
[
"ASBTST",
"0",
"0",
null
],
[
null,
null,
null,
null
]
],
"available_capacity_spreadsheet": [ "available_capacity_spreadsheet": [
[ [
"DAY", "DAY",
...@@ -917,10 +857,9 @@ ...@@ -917,10 +857,9 @@
"CNC", "CNC",
"MCH", "MCH",
"EEP", "EEP",
"PPASB", "ASB",
"ASBTST",
"PAINT", "PAINT",
null ""
], ],
[ [
"2015/02/23", "2015/02/23",
...@@ -930,9 +869,8 @@ ...@@ -930,9 +869,8 @@
"20", "20",
"290", "290",
"170", "170",
"170",
"20", "20",
null ""
], ],
[ [
"2015/02/24", "2015/02/24",
...@@ -942,9 +880,8 @@ ...@@ -942,9 +880,8 @@
"70", "70",
"100", "100",
"270", "270",
"270",
"20", "20",
null ""
], ],
[ [
"2015/02/25", "2015/02/25",
...@@ -954,9 +891,8 @@ ...@@ -954,9 +891,8 @@
"170", "170",
"200", "200",
"370", "370",
"370",
"20", "20",
null ""
], ],
[ [
"2015/02/26", "2015/02/26",
...@@ -966,9 +902,8 @@ ...@@ -966,9 +902,8 @@
"270", "270",
"300", "300",
"20", "20",
"20",
"320", "320",
null ""
], ],
[ [
"2015/02/27", "2015/02/27",
...@@ -978,9 +913,8 @@ ...@@ -978,9 +913,8 @@
"370", "370",
"390", "390",
"20", "20",
"20",
"420", "420",
null ""
], ],
[ [
"2015/02/28", "2015/02/28",
...@@ -991,8 +925,7 @@ ...@@ -991,8 +925,7 @@
"20", "20",
"20", "20",
"20", "20",
"20", ""
null
], ],
[ [
"2015/03/01", "2015/03/01",
...@@ -1003,8 +936,7 @@ ...@@ -1003,8 +936,7 @@
"0", "0",
"0", "0",
"0", "0",
"0", ""
null
], ],
[ [
"2015/03/02", "2015/03/02",
...@@ -1014,9 +946,8 @@ ...@@ -1014,9 +946,8 @@
"20", "20",
"290", "290",
"170", "170",
"170",
"20", "20",
null ""
], ],
[ [
"2015/03/03", "2015/03/03",
...@@ -1026,9 +957,8 @@ ...@@ -1026,9 +957,8 @@
"70", "70",
"100", "100",
"270", "270",
"270",
"20", "20",
null ""
], ],
[ [
"2015/03/04", "2015/03/04",
...@@ -1038,9 +968,8 @@ ...@@ -1038,9 +968,8 @@
"170", "170",
"200", "200",
"370", "370",
"370",
"20", "20",
null ""
], ],
[ [
"2015/03/05", "2015/03/05",
...@@ -1050,9 +979,8 @@ ...@@ -1050,9 +979,8 @@
"270", "270",
"300", "300",
"20", "20",
"20",
"320", "320",
null ""
], ],
[ [
"2015/03/06", "2015/03/06",
...@@ -1062,9 +990,8 @@ ...@@ -1062,9 +990,8 @@
"370", "370",
"390", "390",
"20", "20",
"20",
"420", "420",
null ""
], ],
[ [
"2015/03/07", "2015/03/07",
...@@ -1075,8 +1002,7 @@ ...@@ -1075,8 +1002,7 @@
"20", "20",
"20", "20",
"20", "20",
"20", ""
null
], ],
[ [
"2015/03/08", "2015/03/08",
...@@ -1087,8 +1013,7 @@ ...@@ -1087,8 +1013,7 @@
"0", "0",
"0", "0",
"0", "0",
"0", ""
null
], ],
[ [
"2015/03/09", "2015/03/09",
...@@ -1098,9 +1023,8 @@ ...@@ -1098,9 +1023,8 @@
"20", "20",
"290", "290",
"170", "170",
"170",
"20", "20",
null ""
], ],
[ [
null, null,
...@@ -1111,7 +1035,6 @@ ...@@ -1111,7 +1035,6 @@
null, null,
null, null,
null, null,
null,
null null
] ]
], ],
...@@ -1278,7 +1201,71 @@ ...@@ -1278,7 +1201,71 @@
null, null,
null null
] ]
],
"wip_spreadsheet": [
[
"Operation",
"P1",
"NEW",
null
],
[
"SMF",
"80",
"0",
null
],
[
"WELD",
"0",
"0",
null
],
[
"CNC",
"130",
"45",
null
],
[
"MCH",
"125",
"90",
null
],
[
"EEP",
"30",
"50",
null
],
[
"PPASB",
"0",
"0",
null
],
[
"PAINT",
"0",
"0",
null
],
[
"ASBTST",
"0",
"0",
null
],
[
null,
null,
null,
null
]
] ]
}, },
"constraints": {} "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