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 @@
"timeUnit": {
"default": "hour",
"description": "Used for input and reporting widgets.",
"name": "Time unit",
"type": "string",
"enum": [
"minute",
"hour",
......@@ -56,7 +54,9 @@
"week",
"month",
"year"
]
],
"name": "Time unit",
"type": "string"
},
"trace": {
"default": "No",
......@@ -614,24 +614,19 @@
"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"
},
{
"oneOf": [
{
"$ref": "#/definitions/distributionTypes/_failure"
},
{
"$ref": "#/definitions/distributionTypes/_no"
}
]
}
]
},
......@@ -801,7 +796,7 @@
"type": "object"
},
"_no": {
"description": "None",
"description": "No",
"title": "No",
"type": "string"
},
......@@ -905,7 +900,7 @@
"currentDate": "2015/01/01",
"ke_url": "",
"maxSimTime": 1000,
"name": "DefaultAllInOneEmpty2.json",
"name": "DefaultAllInOneEmpty.json",
"numberOfReplications": "1",
"processTimeout": 20,
"seed": null,
......@@ -913,8 +908,41 @@
"trace": "No"
},
"graph": {
"edge": {},
"node": {}
"edge": {
"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": {
"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