Commit 33a4e3ef authored by Jérome Perrin's avatar Jérome Perrin

configure the number of time unit per day

parent b9228c9a
...@@ -51,6 +51,15 @@ schema = { ...@@ -51,6 +51,15 @@ schema = {
"name": "Maximum Value", "name": "Maximum Value",
"_class": "Dream.Property", "_class": "Dream.Property",
}, },
"timeUnitPerDay": {
"id": "timeUnitPerDay",
"type": "number",
"name": "Number of time units per day",
"description": "Used for input and reporting widgets."
" For example, 24 means that simulation clock time unit is one hour.",
"_class": "Dream.Property",
"_default": 24
},
"failureDistribution": { "failureDistribution": {
"id": "failureDistribution", "id": "failureDistribution",
"type": "string", "type": "string",
...@@ -333,6 +342,7 @@ class Simulation(object): ...@@ -333,6 +342,7 @@ class Simulation(object):
schema["confidenceLevel"], schema["confidenceLevel"],
schema["processTimeout"], schema["processTimeout"],
schema["currentDate"], schema["currentDate"],
schema["timeUnitPerDay"],
schema["trace"], schema["trace"],
schema["seed"], schema["seed"],
schema["ke_url"], schema["ke_url"],
......
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