Commit f179c737 authored by Georgios Dagkakis's avatar Georgios Dagkakis

new plugin to implement the stochastic ACO approach added and model that calls it also added

parent 9ccdb129
from dream.plugins import plugin
from pprint import pformat
from copy import copy, deepcopy
import json
import time
import random
import operator
import xmlrpclib
from dream.simulation.Queue import Queue
from dream.simulation.Operator import Operator
from dream.simulation.Globals import getClassFromName
from dream.plugins.Batches.BatchesACO import BatchesACO
class BatchesStochasticACO(BatchesACO):
# def run(self, data):
# ant_data = copy(data)
# # if there are no operators act as default execution plugin
# if not self.checkIfThereAreOperators(data):
# data["result"]["result_list"] = self.runOneScenario(data)['result']['result_list']
# data["result"]["result_list"][-1]["score"] = ''
# data["result"]["result_list"][-1]["key"] = "Go To Results Page"
# return data
# # else run ACO
# data['general']['numberOfSolutions']=1 # default of 1 solution for this instance
# data["general"]["distributorURL"]=None # no distributor currently, to be added in the GUI
# # use multiprocessing in the PC. This can be an option, but default for now
# import multiprocessing
# data["general"]["multiprocessorCount"] = None # multiprocessing.cpu_count()-1 or 1
# ACO.run(self, data)
# data["result"]["result_list"][-1]["score"] = ''
# data["result"]["result_list"][-1]["key"] = "Go To Results Page"
# return data
def run(self, data):
"""Preprocess the data.
"""
print 'I am in'
distributor_url = data['general'].get('distributorURL')
distributor = None
if distributor_url:
distributor = xmlrpclib.Server(distributor_url)
multiprocessorCount = data['general'].get('multiprocessorCount')
tested_ants = set()
start = time.time() # start counting execution time
collated=self.createCollatedScenarios(data)
assert collated
max_results = int(data['general'].get('numberOfSolutions',1))
assert max_results >= 1
ants = [] #list of ants for keeping track of their performance
# Number of times new ants are to be created, i.e. number of generations (a
# generation can have more than 1 ant)
seedPlus = 0
for i in range(int(data["general"]["numberOfGenerations"])):
scenario_list = [] # for the distributor
# number of ants created per generation
for j in range(int(data["general"]["numberOfAntsPerGenerations"])):
# an ant dictionary to contain rule to queue assignment information
ant = {}
# for each of the machines, rules are randomly picked from the
# options list
seed = data['general'].get('seed', 10)
if seed == '' or seed == ' ' or seed == None:
seed = 10
for k in collated.keys():
random.seed(seed+seedPlus)
ant[k] = random.choice(collated[k])
seedPlus +=1
# TODO: function to calculate ant id. Store ant id in ant dict
ant_key = repr(ant)
# if the ant was not already tested, only then test it
if ant_key not in tested_ants:
tested_ants.add(ant_key)
ant_data=deepcopy(self.createAntData(data, ant))
ant['key'] = ant_key
ant['input'] = ant_data
scenario_list.append(ant)
if distributor is None:
if multiprocessorCount:
self.logger.info("running multiprocessing ACO with %s processes" % multiprocessorCount)
# We unset our signal handler to print traceback at the end
# otherwise logs are confusing.
sigterm_handler = signal.getsignal(signal.SIGTERM)
pool = Pool(processes=multiprocessorCount)
try:
signal.signal(signal.SIGTERM, signal.SIG_DFL)
scenario_list = pool.map(runAntInSubProcess, scenario_list)
pool.close()
pool.join()
finally:
signal.signal(signal.SIGTERM, sigterm_handler)
else:
# synchronous
for ant in scenario_list:
ant['result'] = self.runOneScenario(ant['input'])['result']
else: # asynchronous
self.logger.info("Registering a job for %s scenarios" % len(scenario_list))
start_register = time.time()
job_id = distributor.requestSimulationRun(
[json.dumps(x).encode('zlib').encode('base64') for x in scenario_list])
self.logger.info("Job registered as %s (took %0.2fs)" % (job_id, time.time() - start_register ))
while True:
time.sleep(1.)
result_list = distributor.getJobResult(job_id)
# The distributor returns None when calculation is still ongoing,
# or the list of result in the same order.
if result_list is not None:
self.logger.info("Job %s terminated" % job_id)
break
for ant, result in zip(scenario_list, result_list):
result = json.loads(result)
if 'result' in result: # XXX is this still needed ???
result = result['result']
assert "result_list" in result
else:
result = {'result_list': [result]}
ant['result'] = result
for ant in scenario_list:
ant['score'] = self._calculateAntScore(ant)
ants.extend(scenario_list)
# remove ants that outputs the same schedules
# XXX we in fact remove ants that produce the same output json
ants_without_duplicates = dict()
for ant in ants:
ant_result, = copy(ant['result']['result_list'])
ant_result['general'].pop('totalExecutionTime', None)
ant_result = json.dumps(ant_result, sort_keys=True)
ants_without_duplicates[ant_result] = ant
# The ants in this generation are ranked based on their scores and the
# best (max_results) are selected
ants = sorted(ants_without_duplicates.values(),
key=operator.itemgetter('score'))[:max_results]
for l in ants:
# update the options list to ensure that good performing queue-rule
# combinations have increased representation and good chance of
# being selected in the next generation
for m in collated.keys():
# e.g. if using EDD gave good performance for Q1, then another
# 'EDD' is added to Q1 so there is a higher chance that it is
# selected by the next ants.
collated[m].append(l[m])
data['result']['result_list'] = result_list = []
for ant in ants:
result, = ant['result']['result_list']
result['score'] = ant['score']
result['key'] = ant['key']
result_list.append(result)
self.logger.info("ACO finished, execution time %0.2fs" % (time.time() - start))
return data
{
"application_configuration": {
"general": {
"properties": {
"confidenceLevel": {
"default": 0.95,
"description": "Confidence level for statistical analysis of stochastic experiments",
"name": "Confidence level",
"priority": 4,
"type": "number"
},
"currentDate": {
"default": "2014/02/18",
"description": "The day the experiment starts, in YYYY/MM/DD HH:MM:DD format",
"name": "Simulation start time",
"priority": 9,
"type": "string"
},
"ke_url": {
"default": "http://git.erp5.org/gitweb/dream.git/blob_plain/refs/heads/KEtool:/dream/KnowledgeExtraction/KEtool_examples/KE%20tool&GUI/test_data.xlsx?js=1",
"description": "The URL for KE tool to access the data set",
"title": "URL for Knowledge Extraction Spreadsheet",
"type": "string"
},
"maxSimTime": {
"default": 100,
"description": "Length of the simulation run",
"name": "Length of experiment",
"priority": 10,
"type": "number"
},
"numberOfAntsPerGenerations": {
"default": 3,
"description": "Number of scenarios per optimization generation",
"priority": 2,
"title": "Number of scenarios per optimization generation",
"type": "integer"
},
"numberOfGenerations": {
"default": 3,
"description": "Number of optimization generations",
"priority": 3,
"title": "Number of optimization generations",
"type": "integer"
},
"numberOfReplications": {
"default": 10,
"description": "Number of replications to run",
"name": "Number of replications",
"priority": 5,
"type": "number"
},
"processTimeout": {
"default": 10,
"description": "Number of seconds before the calculation process is interrupted",
"name": "Process timeout",
"type": "number"
},
"seed": {
"default": "1",
"description": "When using the same seed, the random number generator produce the same sequence of numbers",
"name": "Seed for random number generator",
"priority": 3.5,
"type": "number"
},
"timeUnit": {
"default": "minute",
"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"
],
"name": "Output Trace",
"type": "string"
},
"wipSource": {
"default": "Manually",
"description": "Would the WIP be inputted by KE tool or Manually",
"enum": [
"Manually",
"KE tool"
],
"name": "WIP Source. Would the WIP be inputted by KE or Manually?",
"priority": 8.5,
"type": "string"
}
}
},
"input": {
"debug": {
"gadget": "Input_viewDebugJson",
"priority": 1,
"title": "Edit GUI (Super User)",
"type": "object_view"
},
"view": {
"gadget": "Input_viewProductionLine",
"priority": 10,
"title": "Production Line",
"type": "object_view"
},
"view_ACO_weights_spreadsheet": {
"configuration": {
"columns": [
{
"name": "",
"type": "string"
},
{
"name": "Assignment to machines with higher WIPB",
"type": "string"
},
{
"name": "Uniform assignment across stations",
"type": "string"
},
{
"name": "Min assignment variations",
"type": "string"
},
{
"name": "Machines with furthest last assignment time",
"type": "string"
},
{
"name": "Max number of assigned PB",
"type": "string"
}
]
},
"gadget": "Input_viewSpreadsheet",
"priority": 2,
"title": "Optimization Weights",
"type": "object_view"
},
"view_machine_shift_spreadsheet": {
"configuration": {
"columns": [
{
"format": "date-time",
"name": "Date",
"type": "string"
},
{
"name": "Machine",
"type": "string"
},
{
"name": "Start",
"type": "string"
},
{
"name": "Stop",
"type": "string"
}
]
},
"gadget": "Input_viewSpreadsheet",
"priority": 5,
"title": "Machine Shifts Spreadsheet",
"type": "object_view"
},
"view_management": {
"gadget": "Input_viewDocumentManagement",
"priority": 0,
"title": "Manage Document",
"type": "object_view"
},
"view_operator_shift_spreadsheet": {
"configuration": {
"columns": [
{
"format": "date-time",
"name": "Date",
"type": "string"
},
{
"name": "Product Builder",
"type": "string"
},
{
"name": "Start",
"type": "string"
},
{
"name": "Stop",
"type": "string"
},
{
"name": "Break1 Start",
"type": "string"
},
{
"name": "Break1 Stop",
"type": "string"
},
{
"name": "Break2 Start",
"type": "string"
},
{
"name": "Break2 Stop",
"type": "string"
}
],
"extend": [
"x",
"y"
],
"handsontable_options": {
"minSpareCols": 1
}
},
"gadget": "Input_viewSpreadsheet",
"priority": 8,
"title": "Product Builder Shifts Spreadsheet",
"type": "object_view"
},
"view_operator_skill_spreadsheet": {
"configuration": {
"columns": [
{
"name": "Product Builder",
"type": "string"
},
{
"name": "Responsibilities",
"type": "array"
}
]
},
"gadget": "Input_viewSpreadsheet",
"priority": 9,
"title": "Product Builder Responsibilities",
"type": "object_view"
},
"view_result": {
"gadget": "Input_viewResultList",
"priority": -4,
"title": "Results",
"type": "object_view"
},
"view_run_simulation": {
"gadget": "Input_viewSimulation",
"priority": -2,
"title": "Run Simulation",
"type": "object_view"
},
"view_upload_wip_report": {
"gadget": "Input_viewAttachDocument",
"input_id": "wip_report",
"priority": 4,
"title": "Upload WIP report (from MES)",
"type": "object_view"
},
"view_wip_spreadsheet": {
"configuration": {
"columns": [
{
"name": "Station",
"type": "string"
},
{
"name": "# units awaiting processing",
"type": "number"
},
{
"name": "# units complete but not passed on",
"type": "number"
}
]
},
"gadget": "Input_viewSpreadsheet",
"priority": 3.5,
"title": "WIP Spreadsheet (Manual Input)",
"type": "object_view"
}
},
"output": {
"view_buffer_state": {
"configuration": {
"handsontable_options": {},
"output_id": "buffer_output"
},
"gadget": "Output_viewSpreadsheet",
"priority": 5,
"title": "Buffer Statistics",
"type": "object_view"
},
"view_download_spreadsheet": {
"configuration": {
"output_id": "operator_spreadsheet"
},
"gadget": "Output_viewDownloadFile",
"priority": 0,
"title": "PB Schedule Spreadsheet",
"type": "object_view"
},
"view_exit_results": {
"configuration": {
"handsontable_options": {},
"output_id": "exit_output"
},
"gadget": "Output_viewSpreadsheet",
"priority": 10,
"title": "Exit statistics",
"type": "object_view"
},
"view_operator_gantt": {
"configuration": {
"output_id": "operator_gantt"
},
"gadget": "Output_viewGantt",
"priority": 8,
"title": "PB Schedule Gantt",
"type": "object_view"
},
"view_operator_utilization": {
"configuration": {
"output_id": "operator_utilization"
},
"gadget": "Output_viewGraph",
"priority": 7,
"title": "PB Utilization",
"type": "object_view"
},
"view_output_wip_spreadsheet": {
"configuration": {
"handsontable_options": {},
"output_id": "output_wip_spreadsheet"
},
"gadget": "Output_viewSpreadsheet",
"priority": -5,
"title": "Starting WIP (KE tool result)",
"type": "object_view"
},
"view_queue_stats": {
"configuration": {
"output_id": "queue_statistics"
},
"gadget": "Output_viewGraph",
"priority": 5,
"title": "Buffer Graph",
"type": "object_view"
},
"view_station_utilization": {
"configuration": {
"output_id": "station_utilization"
},
"gadget": "Output_viewGraph",
"priority": 6,
"title": "Station Utilization",
"type": "object_view"
}
},
"post_processing": {
"description": "",
"plugin_list": [
{
"_class": "dream.plugins.Batches.BatchesStationUtilization.BatchesStationUtilization",
"family": "Server",
"output_id": "station_utilization"
},
{
"_class": "dream.plugins.PostProcessQueueStatistics.PostProcessQueueStatistics",
"output_id": "queue_statistics"
},
{
"_class": "dream.plugins.Batches.BatchesTabularExit.BatchesTabularExit",
"output_id": "exit_output"
},
{
"_class": "dream.plugins.Batches.BatchesTabularQueues.BatchesTabularQueues",
"output_id": "buffer_output"
},
{
"_class": "dream.plugins.Batches.BatchesOperatorUtilization.BatchesOperatorUtilization",
"output_id": "operator_utilization"
},
{
"_class": "dream.plugins.Batches.BatchesOperatorGantt.BatchesOperatorGantt",
"output_id": "operator_gantt"
},
{
"_class": "dream.plugins.Batches.BatchesOperatorSpreadsheet.BatchesOperatorSpreadsheet",
"output_id": "operator_spreadsheet"
},
{
"_class": "dream.plugins.Batches.OutputKEWIP.OutputKEWIP",
"output_id": "output_wip_spreadsheet"
}
]
},
"pre_processing": {
"description": "",
"plugin_list": [
{
"_class": "dream.plugins.Batches.BatchesWIPKEtool.BatchesWIPKEtool",
"input_id": "wip_report"
},
{
"_class": "dream.plugins.Batches.AddBatchStations.AddBatchStations",
"input_id": "batchStations"
},
{
"_class": "dream.plugins.GatherWIPStat.GatherWIPStat",
"input_id": "WIPStat"
},
{
"_class": "dream.plugins.ReadEntryData.ReadEntryData",
"input_id": "EntryData"
},
{
"_class": "dream.plugins.Batches.BatchesWIPShort.BatchesWIPShort",
"input_id": "wip_spreadsheet"
},
{
"_class": "dream.plugins.Batches.ReadSkilledOperators.ReadSkilledOperators",
"input_id": "SkilledOperatorsSpreadsheet"
},
{
"_class": "dream.plugins.Batches.BatchesShift.BatchesShift",
"input_id": "ShiftSpreadsheet"
},
{
"_class": "dream.plugins.Batches.BatchesOperatorBreaks.BatchesOperatorBreaks",
"input_id": "BreakSpreadsheet"
}
]
},
"processing_plugin": {
"_class": "dream.plugins.Batches.BatchesStochasticACO.BatchesStochasticACO",
"description": ""
}
},
"class_definition": {
"Dream.BatchDecomposition": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"id": {
"default": "D",
"name": "Name",
"type": "string"
},
"numberOfSubBatches": {
"default": 10,
"description": "Number Of Sub-Batches",
"type": "number"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#dfd",
"backgroundImage": "linear-gradient(to bottom, #dfd 0%, #cec 100%)",
"border": "1px solid #bcb"
},
"description": "A station that decomposes a batch into sub-batches",
"name": "Decomposition"
},
"Dream.BatchDecompositionStartTime": {
"_class": "Dream.BatchDecompositionStartTime",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"id": {
"default": "D",
"name": "Name",
"type": "string"
},
"numberOfSubBatches": {
"default": 10,
"description": "Number Of Sub-Batches",
"type": "number"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#dfd",
"backgroundImage": "linear-gradient(to bottom, #dfd 0%, #cec 100%)",
"border": "1px solid #bcb"
},
"description": "A station that decomposes batches into sub-batches",
"name": "Decomposition"
},
"Dream.BatchReassembly": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"id": {
"default": "R",
"name": "Name",
"type": "string"
},
"numberOfSubBatches": {
"default": 10,
"description": "Number Of Sub-Batches",
"type": "number"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#dfd",
"backgroundImage": "linear-gradient(to bottom, #dfd 0%, #cec 100%)",
"border": "1px solid #bcb"
},
"description": "A station that assembles sub-batches back into a parent batch",
"name": "Reassembly"
},
"Dream.BatchScrapMachine": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"id": {
"default": "M",
"name": "Unique Station Name",
"priority": 10,
"required": true,
"type": "string"
},
"processingTime": {
"$ref": "#/definitions/_dist",
"default": 0.1,
"description": "The time that this station needs in order to process a unit",
"name": "Processing time (per unit)",
"priority": 5,
"required": true
},
"technology": {
"default": "M",
"name": "Operation",
"priority": 9,
"required": true,
"type": "string"
},
"workingBatchSize": {
"default": 10,
"name": "Working batch size in this station",
"priority": 0,
"type": "number"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#fef",
"backgroundImage": "linear-gradient(to bottom, #fef 0%, #ede 100%)",
"border": "1px solid #cbc",
"border-radius": "50px",
"height": "80px",
"line-height": "40px",
"width": "80px"
},
"description": "A station processing batches for some time given by a distribution provided by the entities that are processed. A random number of batch units is scrapped",
"name": "Machine"
},
"Dream.BatchSource": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"batchNumberOfUnits": {
"default": 80,
"description": "the number of units of the created batches",
"name": "Number Of Units",
"required": true,
"type": "number"
},
"entity": {
"default": "Dream.Batch",
"description": "Manpy class for entities",
"name": "Entity Class",
"required": true,
"type": "string"
},
"id": {
"default": "S",
"name": "Name",
"required": true,
"type": "string"
},
"interArrivalTime": {
"$ref": "#/definitions/_dist",
"default": {
"Fixed": {
"mean": 1
}
},
"description": "Inter-arrival time",
"name": "Inter-arrival time",
"required": true
}
},
"type": "object"
}
],
"description": "A station creating entities",
"name": "Source"
},
"Dream.Edge": {
"_class": "edge",
"allOf": [
{
"$ref": "#/edge"
}
],
"description": "Connect stations together"
},
"Dream.EventGenerator": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"argumentDict": {
"default": "{}",
"description": "arguments to be used by the method",
"required": true,
"type": "string"
},
"duration": {
"default": 10,
"description": "duration",
"required": true,
"type": "number"
},
"id": {
"default": "A",
"required": true,
"type": "string"
},
"interval": {
"default": 10,
"description": "interval time",
"required": true,
"type": "number"
},
"method": {
"default": "Globals.countIntervalThroughput",
"description": "method to be performed",
"required": true,
"type": "string"
},
"name": {
"default": "Attainment",
"type": "string"
},
"start": {
"default": 1,
"description": "Start time",
"required": true,
"type": "number"
},
"stop": {
"default": -1,
"description": "Stop time",
"required": true,
"type": "number"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#fdc",
"backgroundImage": "linear-gradient(to bottom, #fdc 0%, #ecb 100%)",
"border": "1px solid #cba"
},
"description": "Attainment",
"name": "Attainment"
},
"Dream.Exit": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"id": {
"default": "E",
"name": "Name",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#eef",
"backgroundImage": "linear-gradient(to bottom, #eef 0%, #dde 100%)",
"border": "1px solid #ccb"
},
"description": "A station where entities exits from the system",
"name": "Exit",
"shape": "rectangle"
},
"Dream.LineClearance": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"capacity": {
"$ref": "#/definitions/_capacity",
"required": true
},
"id": {
"default": "C",
"name": "Name",
"type": "string"
},
"schedulingRule": {
"$ref": "#/definitions/_schedulingRule",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#eff",
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)",
"border": "1px solid #bcc"
},
"description": "A buffer where entities of the same group can be held until the next station is ready to process them. Entities of other groups cannot be accepted",
"name": "Clearance"
},
"Dream.NonStarvingEntry": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"entityData": {
"description": "Entity produced related information",
"properties": {
"class": {
"default": "Dream.Batch",
"description": "Entity class",
"required": true,
"type": "string"
},
"numberOfUnits": {
"default": 80,
"description": "Number of units per batch",
"required": true,
"type": "number"
}
},
"required": true,
"type": "object"
},
"id": {
"default": "E",
"name": "Name",
"required": true,
"type": "string"
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#ffe",
"backgroundImage": "linear-gradient(to bottom, #ffe 0%, #dde 100%)",
"border": "1px solid #bbc"
},
"description": "A station creating batches",
"name": "Entry"
},
"Dream.Queue": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"capacity": {
"$ref": "#/definitions/_capacity",
"required": true
},
"id": {
"default": "Q",
"name": "Name",
"type": "string"
},
"schedulingRule": {
"$ref": "#/definitions/_schedulingRule",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#eff",
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)",
"border": "1px solid #bcc"
},
"description": "A buffer where entities can be hold until the next station is ready to process them",
"name": "Queue"
},
"Dream.RoutingQueue": {
"_class": "node",
"allOf": [
{
"$ref": "#/node"
},
{
"properties": {
"capacity": {
"$ref": "#/definitions/_capacity",
"required": true
},
"id": {
"default": "RQ",
"name": "Name",
"type": "string"
},
"schedulingRule": {
"$ref": "#/definitions/_schedulingRule",
"required": true
}
},
"type": "object"
}
],
"css": {
"backgroundColor": "#eff",
"backgroundImage": "linear-gradient(to bottom, #eff 0%, #dee 100%)",
"border": "1px solid #bcc"
},
"description": "A buffer that directs sub-batches of the same batch directed to the same machine",
"name": "RoutingQueue"
},
"definitions": {
"_capacity": {
"default": 1,
"description": "capacity of the queue. -1 means infinite",
"name": "Capacity",
"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",
"description": "Is this machine subject to failures, if not then Time to Repair and Time to failure are ignored",
"enum": [
"No",
"Yes"
],
"name": "Has failure ?",
"type": "string"
}
},
"type": "object"
},
{
"$ref": "#/definitions/distributionTypes/_failure"
}
]
},
"_operationType": {
"description": "the type of operations that are performed manually in the machine",
"enum": [
"MT-Load",
"MT-Load-Setup",
"MT-Load-Setup-Processing"
],
"name": "Operation type",
"type": "string"
},
"_schedulingRule": {
"default": "FIFO",
"description": "Scheduling Rule of this buffer",
"enum": [
"FIFO",
"Priority",
"EDD",
"EOD",
"NumStages",
"RPC",
"LPT",
"SPT",
"MS",
"WINQ",
"WT"
],
"name": "Scheduling Rule",
"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": {
"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": {
"properties": {
"mean": {
"default": 0,
"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"
}
}
},
"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"
}
},
"required": [
"_class"
],
"type": "object"
}
},
"constraints": {},
"general": {
"confidenceLevel": 0.95,
"currentDate": "2015/02/16 07:00",
"maxSimTime": 540,
"name": "BatchesStochasticACO.json",
"numberOfAntsPerGenerations": 3,
"numberOfGenerations": 3,
"numberOfReplications": 1,
"processTimeout": 1000,
"seed": 1,
"throughputTarget": 1000,
"timeUnit": "minute",
"trace": "No"
},
"graph": {
"edge": {
"con_1001": {
"_class": "Dream.Edge",
"destination": "B8",
"source": "4_Cut & Bend"
},
"con_1043": {
"_class": "Dream.Edge",
"destination": "5_Moulding",
"source": "B8"
},
"con_1083": {
"_class": "Dream.Edge",
"destination": "B9",
"source": "5_Moulding"
},
"con_1121": {
"_class": "Dream.Edge",
"destination": "6_Flag Labelling",
"source": "B9"
},
"con_1229": {
"_class": "Dream.Edge",
"destination": "B10",
"source": "6_Flag Labelling"
},
"con_1261": {
"_class": "Dream.Edge",
"destination": "7_Pressure A",
"source": "B10"
},
"con_1293": {
"_class": "Dream.Edge",
"destination": "7_Pressure B",
"source": "B10"
},
"con_1321": {
"_class": "Dream.Edge",
"destination": "B11",
"source": "7_Pressure B"
},
"con_1351": {
"_class": "Dream.Edge",
"destination": "B11",
"source": "7_Pressure A"
},
"con_1377": {
"_class": "Dream.Edge",
"destination": "St7D",
"source": "B11"
},
"con_1401": {
"_class": "Dream.Edge",
"destination": "8_Carding",
"source": "St7D"
},
"con_1423": {
"_class": "Dream.Edge",
"destination": "B12",
"source": "8_Carding"
},
"con_1497": {
"_class": "Dream.Edge",
"destination": "St8RA",
"source": "9_Packaging A"
},
"con_1509": {
"_class": "Dream.Edge",
"destination": "Dream.Exit1",
"source": "St8RB"
},
"con_1523": {
"_class": "Dream.Edge",
"destination": "Dream.Exit1",
"source": "St8RA"
},
"con_273": {
"_class": "Dream.Edge",
"destination": "B1",
"source": "1_RO_E_M_A_A"
},
"con_339": {
"_class": "Dream.Edge",
"destination": "2_P_B_A_A",
"source": "B1"
},
"con_39": {
"_class": "Dream.Edge",
"destination": "BDA",
"source": "Source"
},
"con_393": {
"_class": "Dream.Edge",
"destination": "9_Packaging A",
"source": "B12"
},
"con_401": {
"_class": "Dream.Edge",
"destination": "B2",
"source": "2_P_B_A_A"
},
"con_459": {
"_class": "Dream.Edge",
"destination": "3_D_B_A_A",
"source": "B2"
},
"con_513": {
"_class": "Dream.Edge",
"destination": "BRA",
"source": "3_D_B_A_A"
},
"con_57": {
"_class": "Dream.Edge",
"destination": "BDB",
"source": "Source"
},
"con_581": {
"_class": "Dream.Edge",
"destination": "B3",
"source": "1_RO_E_M_A_B"
},
"con_594": {
"_class": "Dream.Edge",
"destination": "9_Packaging B",
"source": "B12"
},
"con_604": {
"_class": "Dream.Edge",
"destination": "St8RB",
"source": "9_Packaging B"
},
"con_645": {
"_class": "Dream.Edge",
"destination": "2_P_B_A_B",
"source": "B3"
},
"con_705": {
"_class": "Dream.Edge",
"destination": "B4",
"source": "2_P_B_A_B"
},
"con_71": {
"_class": "Dream.Edge",
"destination": "1_RO_E_M_A_B",
"source": "BDB"
},
"con_761": {
"_class": "Dream.Edge",
"destination": "3_D_B_A_B",
"source": "B4"
},
"con_813": {
"_class": "Dream.Edge",
"destination": "BRB",
"source": "3_D_B_A_B"
},
"con_861": {
"_class": "Dream.Edge",
"destination": "B7",
"source": "BRB"
},
"con_87": {
"_class": "Dream.Edge",
"destination": "1_RO_E_M_A_A",
"source": "BDA"
},
"con_911": {
"_class": "Dream.Edge",
"destination": "B7",
"source": "BRA"
},
"con_957": {
"_class": "Dream.Edge",
"destination": "4_Cut & Bend",
"source": "B7"
}
},
"node": {
"1_RO_E_M_A_A": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.20124013508759986,
"top": 0.013362728902320656
},
"id": "1_RO_E_M_A_A",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.77
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "1_RO_E_M_A",
"workingBatchSize": 20
},
"1_RO_E_M_A_B": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.2018021659108287,
"top": 0.22399692088997386
},
"id": "1_RO_E_M_A_B",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.77
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "1_RO_E_M_A",
"workingBatchSize": 20
},
"2_P_B_A_A": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.41773081483750907,
"top": 0.01541903648040755
},
"id": "2_P_B_A_A",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.82
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "2_P_B_A",
"workingBatchSize": 20
},
"2_P_B_A_B": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.41230602697692575,
"top": 0.2219242159080133
},
"id": "2_P_B_A_B",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.82
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "2_P_B_A",
"workingBatchSize": 20
},
"3_D_B_A_A": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.6332996089721042,
"top": 0.01725281110758568
},
"id": "3_D_B_A_A",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.8
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "3_D_B_A",
"workingBatchSize": 20
},
"3_D_B_A_B": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.6340488812407455,
"top": 0.22379953969289082
},
"id": "3_D_B_A_B",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.8
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "3_D_B_A",
"workingBatchSize": 20
},
"4_Cut & Bend": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.9660242062681554,
"top": 0.17336308060894598
},
"id": "4_Cut & Bend",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.2
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "4_Cut & Bend",
"workingBatchSize": 80
},
"5_Moulding": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.10327653739447205,
"top": 0.7730867922482839
},
"id": "5_Moulding",
"interruption": {
"failure": ""
},
"processingTime": {
"Fixed": {
"mean": 0.4
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "5_Moulding",
"workingBatchSize": 40
},
"6_Flag Labelling": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.2970488955292209,
"top": 0.5764883070945124
},
"id": "6_Flag Labelling",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.22
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "6_Flag Labelling",
"workingBatchSize": 80
},
"7_Pressure A": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.4590469615218773,
"top": 0.560438540581452
},
"id": "7_Pressure A",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.82
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "7_Pressure",
"workingBatchSize": 10
},
"7_Pressure B": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.4590469615218773,
"top": 0.9608962942130924
},
"id": "7_Pressure B",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.82
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "7_Pressure",
"workingBatchSize": 10
},
"8_Carding": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.7066792229768067,
"top": 0.6281334023947263
},
"id": "8_Carding",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 0.52
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "8_Carding",
"workingBatchSize": 10
},
"9_Packaging A": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.8276143790849673,
"top": 0.4918622893425504
},
"id": "9_Packaging A",
"interruption": {
"failure": {
"TTF": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"TTR": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"failureDistribution": "No",
"repairman": ""
}
},
"processingTime": {
"Fixed": {
"mean": 1
},
"distribution": "Fixed"
},
"scrapping": {
"Fixed": {
"mean": 0
},
"distribution": "Fixed"
},
"technology": "9_Packaging",
"workingBatchSize": 10
},
"9_Packaging B": {
"_class": "Dream.BatchScrapMachine",
"coordinate": {
"left": 0.8403105780796151,
"top": 0.9232952413566464
},
"id": "9_Packaging B",
"processingTime": {
"Fixed": {
"mean": 1
},
"distribution": "Fixed"
},
"technology": "9_Packaging",
"workingBatchSize": 10
},
"B1": {
"_class": "Dream.LineClearance",
"capacity": 3,
"coordinate": {
"left": 0.3081327478571614,
"top": 0.021036307350047176
},
"id": "B1",
"schedulingRule": "FIFO"
},
"B10": {
"_class": "Dream.Queue",
"capacity": 4,
"coordinate": {
"left": 0.37830510689257246,
"top": 0.7550041875821227
},
"id": "B10",
"schedulingRule": "FIFO"
},
"B11": {
"_class": "Dream.Queue",
"capacity": 4,
"coordinate": {
"left": 0.5418509694588267,
"top": 0.7716845469524345
},
"schedulingRule": "FIFO"
},
"B12": {
"_class": "Dream.RoutingQueue",
"capacity": 23,
"coordinate": {
"left": 0.7780022382216776,
"top": 0.7112343913913901
},
"schedulingRule": "FIFO"
},
"B2": {
"_class": "Dream.LineClearance",
"capacity": 3,
"coordinate": {
"left": 0.5229564880060821,
"top": 0.013362728902320656
},
"id": "B2",
"schedulingRule": "FIFO"
},
"B3": {
"_class": "Dream.LineClearance",
"capacity": 3,
"coordinate": {
"left": 0.30516154587152466,
"top": 0.21432431691821405
},
"id": "B3",
"schedulingRule": "FIFO"
},
"B4": {
"_class": "Dream.LineClearance",
"capacity": 3,
"coordinate": {
"left": 0.5187142701900398,
"top": 0.24087466145736686
},
"id": "B4",
"schedulingRule": "FIFO"
},
"B7": {
"_class": "Dream.Queue",
"capacity": 4,
"coordinate": {
"left": 0.8453666868818541,
"top": 0.07788764399810784
},
"schedulingRule": "FIFO"
},
"B8": {
"_class": "Dream.Queue",
"capacity": 4,
"coordinate": {
"left": 0.004430433936801263,
"top": 0.7879379917839283
},
"schedulingRule": "FIFO"
},
"B9": {
"_class": "Dream.Queue",
"capacity": 4,
"coordinate": {
"left": 0.18889698258498985,
"top": 0.7747840492453537
},
"schedulingRule": "FIFO"
},
"BDA": {
"_class": "Dream.BatchDecomposition",
"coordinate": {
"left": 0.09978623503357781,
"top": 0.01725281110758568
},
"numberOfSubBatches": 4
},
"BDB": {
"_class": "Dream.BatchDecomposition",
"coordinate": {
"left": 0.09762884137511894,
"top": 0.22590515117972654
},
"numberOfSubBatches": 4
},
"BRA": {
"_class": "Dream.BatchReassembly",
"coordinate": {
"left": 0.7345017315221779,
"top": 0.005869386959240394
},
"numberOfSubBatches": 4
},
"BRB": {
"_class": "Dream.BatchReassembly",
"coordinate": {
"left": 0.732266858260719,
"top": 0.22001598561825875
},
"numberOfSubBatches": 4
},
"Dream.Exit1": {
"_class": "Dream.Exit",
"coordinate": {
"left": 0.9994692573189933,
"top": 0.7470423170386943
}
},
"Source": {
"_class": "Dream.BatchSource",
"batchNumberOfUnits": "80",
"coordinate": {
"left": 0.002304632153726827,
"top": 0.10443803914040899
},
"entity": "Dream.Batch",
"id": "Source",
"interArrivalTime": {
"Fixed": {
"mean": 0.5
},
"distribution": "Fixed"
},
"numberOfUnits": "80"
},
"St7D": {
"_class": "Dream.BatchDecomposition",
"coordinate": {
"left": 0.6385832092381459,
"top": 0.7640847057948053
},
"numberOfSubBatches": 8
},
"St8RA": {
"_class": "Dream.BatchReassembly",
"coordinate": {
"left": 0.9697830337196626,
"top": 0.5350013587825962
},
"id": "St8RA",
"numberOfSubBatches": 8
},
"St8RB": {
"_class": "Dream.BatchReassembly",
"coordinate": {
"left": 0.9770689321903234,
"top": 0.960991679081057
},
"numberOfSubBatches": 8
}
}
},
"input": {
"ACO_weights_spreadsheet": [
[
"",
"Assignment to machines with higher WIP",
"Uniform assignment across stations",
"Min assignment variations",
"Machines with furthest last assignment time",
"Max number of assigned PB"
],
[
"Min weight value",
1.5,
0.5,
0,
1,
0.5
],
[
"Max weight value",
2.5,
1.5,
1,
2,
1.5
],
[
"Step",
"0.1",
0.1,
0.1,
0.1,
0.1
],
[
"Static weight value",
"",
"",
"",
"",
""
],
[
null,
"",
null,
null,
null,
null
]
],
"machine_shift_spreadsheet": [
[
"Date",
"Machines",
"Start",
"Stop"
],
[
"2015/02/16",
"ALL",
"07:00",
"16:00"
],
[
"",
"",
"",
""
]
],
"operator_shift_spreadsheet": [
[
"Date",
"Product Builder",
"Start",
"Stop",
"Break1 Start",
"Break1 Stop",
"Break2 Start",
"Break2 Stop",
null
],
[
"2015/02/16",
"All",
"07:00",
"16:00",
"9:45",
"10:00",
"13:00",
"13:30",
null
],
[
"",
"",
"",
"",
"",
"",
"",
"",
null
]
],
"operator_skill_spreadsheet": [
[
"Product Builder",
"Responsibilities"
],
[
"PB_1",
"1_RO_E_M_A"
],
[
"PB_2",
"1_RO_E_M_A,5_Moulding"
],
[
"PB_3",
"2_P_B_A"
],
[
"PB_4",
"2_P_B_A,6_Flag Labelling"
],
[
"PB_5",
"3_D_B_A"
],
[
"PB_6",
"3_D_B_A"
],
[
"PB_7",
"4_Cut & Bend,5_Moulding,6_Flag Labelling"
],
[
"PB_8",
"7_Pressure,6_Flag Labelling"
],
[
"PB_9",
"7_Pressure"
],
[
"PB_10",
"8_Carding,4_Cut & Bend"
],
[
"PB_11",
"9_Packaging,6_Flag Labelling"
],
[
"PB_12",
"9_Packaging"
],
[
null,
null
]
],
"wip_spreadsheet": [
[
"Station",
"# units awaiting processing",
"# units complete but not passed on"
],
[
"1_RO_E_M_A_A",
"",
""
],
[
"2_P_B_A_A",
"60",
"20"
],
[
"3_D_B_A_A",
"20",
"60"
],
[
"1_RO_E_M_A_B",
"40",
"40"
],
[
"2_P_B_A_B",
"80",
""
],
[
"3_D_B_A_B",
"40",
"40"
],
[
"4_Cut & Bend",
"320",
""
],
[
"5_Moulding",
"",
""
],
[
"6_Flag Labelling",
"",
""
],
[
"7_Pressure A",
"240",
""
],
[
"7_Pressure B",
"",
""
],
[
"8_Carding",
"",
""
],
[
"9_Packaging A",
"80",
""
],
[
"9_Packaging B",
"",
""
],
[
null,
null,
null
]
]
},
"result": {
"result_list": []
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment