Commit 16648376 authored by Jérome Perrin's avatar Jérome Perrin

DefaultAllInOneEmpty: defining failures in the currently supported way

expandable field cannot be nested at the moment
parent e29bb9e5
...@@ -47,8 +47,6 @@ ...@@ -47,8 +47,6 @@
"timeUnit": { "timeUnit": {
"default": "hour", "default": "hour",
"description": "Used for input and reporting widgets.", "description": "Used for input and reporting widgets.",
"name": "Time unit",
"type": "string",
"enum": [ "enum": [
"minute", "minute",
"hour", "hour",
...@@ -56,7 +54,9 @@ ...@@ -56,7 +54,9 @@
"week", "week",
"month", "month",
"year" "year"
] ],
"name": "Time unit",
"type": "string"
}, },
"trace": { "trace": {
"default": "No", "default": "No",
...@@ -614,24 +614,19 @@ ...@@ -614,24 +614,19 @@
"properties": { "properties": {
"failureDistribution": { "failureDistribution": {
"default": "No", "default": "No",
"description": "Is this machine subject to failures, if not then Time to Repair and Time to failure are ignored",
"enum": [ "enum": [
"No", "No",
"Yes" "Yes"
], ],
"name": "Has failure ?",
"type": "string" "type": "string"
} }
}, },
"type": "object" "type": "object"
}, },
{
"oneOf": [
{ {
"$ref": "#/definitions/distributionTypes/_failure" "$ref": "#/definitions/distributionTypes/_failure"
},
{
"$ref": "#/definitions/distributionTypes/_no"
}
]
} }
] ]
}, },
...@@ -801,7 +796,7 @@ ...@@ -801,7 +796,7 @@
"type": "object" "type": "object"
}, },
"_no": { "_no": {
"description": "None", "description": "No",
"title": "No", "title": "No",
"type": "string" "type": "string"
}, },
...@@ -905,7 +900,7 @@ ...@@ -905,7 +900,7 @@
"currentDate": "2015/01/01", "currentDate": "2015/01/01",
"ke_url": "", "ke_url": "",
"maxSimTime": 1000, "maxSimTime": 1000,
"name": "DefaultAllInOneEmpty2.json", "name": "DefaultAllInOneEmpty.json",
"numberOfReplications": "1", "numberOfReplications": "1",
"processTimeout": 20, "processTimeout": 20,
"seed": null, "seed": null,
...@@ -913,8 +908,41 @@ ...@@ -913,8 +908,41 @@
"trace": "No" "trace": "No"
}, },
"graph": { "graph": {
"edge": {}, "edge": {
"node": {} "con_15": {
"_class": "Dream.Edge",
"destination": "Dream.Machine1",
"source": "Dream.Machine1"
}
},
"node": {
"Dream.Machine1": {
"_class": "Dream.Machine",
"coordinate": {
"left": 0.4150799193559014,
"top": 0.14750978240434856
},
"id": "Dream.Machine1",
"name": "Machine"
},
"Dream.Source1": {
"_class": "Dream.Source",
"coordinate": {
"left": 0.08578563429533574,
"top": 0.10401330810563039
},
"entity": "Dream.Part",
"id": "Dream.Source1",
"interArrivalTime": {
"Lognormal": {
"mean": 0,
"stdev": 0
},
"distribution": "Lognormal"
},
"name": "Source"
}
}
}, },
"input": { "input": {
"machine_shift_spreadsheet": [ "machine_shift_spreadsheet": [
......
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