update for attach_document example

parent 9f60d3b2
...@@ -2,88 +2,62 @@ ...@@ -2,88 +2,62 @@
"application_configuration": { "application_configuration": {
"general": { "general": {
"properties": { "properties": {
"confidenceLevel": { "TargetPPOS": {
"default": 0.95, "_default": 1,
"description": "Confidence level for statistical analysis of stochastic experiments", "description": "Info on PPOS to be disaggregated",
"name": "Confidence level", "name": "PPOS ID",
"type": "number" "type": "number"
}, },
"currentDate": { "TargetPPOSqty": {
"default": "2014/10/01", "_default": 430,
"description": "The day the experiment starts, in YYYY/MM/DD format", "description": "Info on PPOS to be disaggregated",
"name": "Simulation start time", "name": "PPOS Quantity",
"type": "string"
},
"distributorURL": {
"default": "",
"description": "URL of distributor",
"name": "Distributor URL",
"type": "string"
},
"maxSimTime": {
"default": 100,
"description": "Length of the simulation run",
"name": "Length of experiment",
"type": "number" "type": "number"
}, },
"max_slave_count": { "TargetPPOSweek": {
"description": "Maximum number of nodes to use", "_default": 2,
"name": "Number of simulation nodes", "description": "Week when the disaggregation has to be performed",
"name": "PPOS Week",
"type": "number" "type": "number"
}, },
"name": { "planningHorizon": {
"default": "", "_default": 3,
"description": "The name that will appear in the interface", "description": "Planning horizon (consistent with capacity info)",
"name": "Name of the Scenario", "name": "Planning horizon",
"type": "string"
},
"numberOfAntsPerGenerations": {
"default": 20,
"description": "Number of ants per generation",
"name": "Number of ants per generation",
"type": "number" "type": "number"
}, },
"numberOfGenerations": { "maxEarliness": {
"default": 10, "_default": 1,
"description": "The number of generations", "description": "Info on Time Constraints for Allocation",
"name": "Number of generations",
"name": "Max Earliness",
"type": "number" "type": "number"
}, },
"numberOfReplications": { "maxLateness": {
"default": 10, "_default": 1,
"description": "Number of replications to run", "description": "Info on Time Constraints for Allocation",
"name": "Number of replications",
"name": "Max Lateness",
"type": "number" "type": "number"
}, },
"numberOfSolutions": { "minPackingSize": {
"default": 4, "_default": 10,
"description": "Number of solutions", "description": "Info on minimum allocable size",
"name": "Number of solutions",
"name": "Min Packing Size",
"type": "number" "type": "number"
}, },
"processTimeout": { "numberOfReplications": {
"default": 10, "_default": 1,
"description": "Number of seconds before the calculation process is interrupted", "name": "Number of replications",
"name": "Process timeout",
"type": "number" "type": "number"
}, },
"seed": { "ke_url": {
"default": "", "_default": "http://git.erp5.org/gitweb/dream.git/blob_plain/HEAD:/dream/simulation/Examples/DemandProfile.xlsx",
"description": "When using the same seed, the random number generator produce the same sequence of numbers", "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",
"name": "Seed for random number generator",
"name": "URL for Knowledge Extraction Spreadsheet",
"type": "string" "type": "string"
},
"timeUnitPerDay": {
"default": 24,
"description": "Used for input and reporting widgets. Forexample, 24 means that simulation clock time unit is one hour.",
"name": "Number of time units per day",
"type": "number"
},
"trace": {
"default": false,
"description": "Create an excel trace file (true or false)",
"name": "Output trace",
"type": "boolean"
} }
} }
}, },
...@@ -93,11 +67,11 @@ ...@@ -93,11 +67,11 @@
"title": "Debug JSON", "title": "Debug JSON",
"type": "object_view" "type": "object_view"
}, },
"view": { /* "view": {
"gadget": "Input_viewProductionLine", "gadget": "Input_viewProductionLine",
"title": "Production Line", "title": "Production Line",
"type": "object_view" "type": "object_view"
}, }, */
"view_attach_spreadsheet": { "view_attach_spreadsheet": {
"gadget": "Input_viewAttachDocument", "gadget": "Input_viewAttachDocument",
"input_id": "attached_document", "input_id": "attached_document",
...@@ -212,7 +186,7 @@ ...@@ -212,7 +186,7 @@
} }
}, },
"class_definition": { "class_definition": {
"Dream.ConditionalBuffer": { /* "Dream.ConditionalBuffer": {
"_class": "node", "_class": "node",
"allOf": [ "allOf": [
{ {
...@@ -466,9 +440,9 @@ ...@@ -466,9 +440,9 @@
}, },
"description": "A queue for jobs", "description": "A queue for jobs",
"name": "Queue" "name": "Queue"
}, }, */
"definitions": { "definitions": {
"_capacity": { /* "_capacity": {
"default": 1, "default": 1,
"description": "capacity of the queue. -1 means infinite", "description": "capacity of the queue. -1 means infinite",
"oneOf": [ "oneOf": [
...@@ -482,7 +456,7 @@ ...@@ -482,7 +456,7 @@
} }
], ],
"type": "number" "type": "number"
}, }, */
"_dist": { "_dist": {
"allOf": [ "allOf": [
{ {
...@@ -546,7 +520,7 @@ ...@@ -546,7 +520,7 @@
} }
] ]
}, },
"_failureDist": { /* "_failureDist": {
"allOf": [ "allOf": [
{ {
"properties": { "properties": {
...@@ -576,8 +550,8 @@ ...@@ -576,8 +550,8 @@
] ]
} }
] ]
}, }, */
"_operationType": { /* "_operationType": {
"description": "the type of operations that are performed manually in the machine", "description": "the type of operations that are performed manually in the machine",
"id": "operationType", "id": "operationType",
"name": "Operation type", "name": "Operation type",
...@@ -591,8 +565,8 @@ ...@@ -591,8 +565,8 @@
"type": "string" "type": "string"
} }
} }
}, }, */
"_schedulingRule": { /* "_schedulingRule": {
"default": "FIFO", "default": "FIFO",
"description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ", "description": "Scheduling Rule, one of FIFO Priority EDD EOD NumStages RPC LPT SPT MS WINQ",
"enum": [ "enum": [
...@@ -609,37 +583,8 @@ ...@@ -609,37 +583,8 @@
"WT" "WT"
], ],
"type": "string" "type": "string"
}, } */,
"distributionTypes": { "distributionTypes": {
"_availability": {
"description": "Availability",
"name": "Availability",
"properties": {
"MTTF": {
"default": 40,
"description": "Mean Time To Failure",
"required": true,
"type": "number"
},
"MTTR": {
"default": 10,
"description": "Mean Time To Failure",
"required": true,
"type": "number"
},
"availability": {
"default": 0,
"required": true,
"type": "number"
},
"repairman": {
"description": "Repairman",
"required": true,
"type": "string"
}
},
"type": "object"
},
"_binomial": { "_binomial": {
"description": "Binomial", "description": "Binomial",
"name": "Binomial", "name": "Binomial",
...@@ -694,30 +639,6 @@ ...@@ -694,30 +639,6 @@
}, },
"type": "object" "type": "object"
}, },
"_fixedFailure": {
"description": "Fixed",
"name": "Fixed",
"properties": {
"MTTF": {
"default": 40,
"description": "Mean Time To Failure",
"required": true,
"type": "number"
},
"MTTR": {
"default": 10,
"description": "Mean Time To Repair",
"required": true,
"type": "number"
},
"repairman": {
"description": "Repairman",
"required": true,
"type": "string"
}
},
"type": "object"
},
"_gama": { "_gama": {
"description": "Gama", "description": "Gama",
"name": "Gama", "name": "Gama",
...@@ -781,11 +702,11 @@ ...@@ -781,11 +702,11 @@
}, },
"type": "object" "type": "object"
}, },
"_no": { /* "_no": {
"description": "None", "description": "None",
"name": "No", "name": "No",
"type": "string" "type": "string"
}, }, */
"_normal": { "_normal": {
"description": "Normal", "description": "Normal",
"name": "Normal", "name": "Normal",
...@@ -899,22 +820,7 @@ ...@@ -899,22 +820,7 @@
} }
}, },
"constraints": {}, "constraints": {},
"general": { "general": {},
"confidenceLevel": 0.95,
"currentDate": "2015/01/01",
"distributorURL": "",
"maxSimTime": -1,
"max_slave_count": 1,
"name": "dream(4).json",
"numberOfAntsPerGenerations": 20,
"numberOfGenerations": 1,
"numberOfReplications": 1,
"numberOfSolutions": 10,
"processTimeout": 60,
"seed": "",
"timeUnitPerDay": 24,
"trace": "false"
},
"graph": { "graph": {
"edge": {}, "edge": {},
"node": {} "node": {}
......
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