Files
scim/docs/wiki/config/config_preview.yml
Pascal b264e0dba9 [add][fix] added numberUtil and behaviourUtil to library
- numberUtil adds functions to Double
 - behaviourUtil adds functions to Option[FunctionArgs]
 - [add] getParam function to FunctionArgs case class
 - [fix] fixed typo in config
2020-01-29 01:19:11 -06:00

107 lines
2.1 KiB
YAML

simulation:
duration: 24
tickfactor: 10
runs: 1
parCell: 0
parCellThreads: 5
parGroup: 0
parGroupThreads: 5
parSensor: 0
parSensorThreads: 5
sensors:
- group: temperature
cells:
- x: 0
y: 0
count: 5
- [1, 1, 5]
- [2, 2, 5]
- [3, 3, 5]
blocks:
- start: [0, 4]
end: [6, 6]
count: 180
- group: faultyTemp
parent: temperature
cells:
- [0, 0, 5]
- [1, 1, 5]
- [2, 2, 5]
- [3, 3, 5]
- group: humidity
cells:
- [3, 3, 5]
groundtruths:
- group: temperature
truth:
- value: 10.0
timeline:
- start: 0
end: 7
- [18, 24]
- [7, 10.0]
- [12, 16.0]
delta:
- name: fluctuate
args: {range: 1.0, center: [3, 3], distOffset: -0.5, time:[0, 12, 18]}
timeline:
- [0, 7]
- [12, 16]
- [18, 24]
- [7, change, {target: 16.0, targetTime: 12, center: [3, 3], distOffset: -0.5, time:[7]}]
- [16, change, {target: 10.0, targetTime: 18, center: [3, 3], distOffset: -0.5, time:[16]}]
- group: humidity
parent: temperature
delta:
- [0, humidFromTemp, {dewpoint: 12.0,}]
behaviours:
- group: temperature
functions:
- name: measureTemp
args:
- range: [-50, 150]
- resolution: 0.125
- accuracy: 0.1
- offset: 0
timeline:
- start: 0
end: 24
- group: faultyTemp
functions:
- name: measureTemp
args:
- range: [-50, 150]
- resolution: 0.1
- accuracy: 1.0
- offset: 10
timeline:
- [0, 12]
- [12, noOutput, {}]
- name: measureTemp
args:
- range: [-50, 150]
- resolution: 0.1
- accuracy: 20.0
- offset: 0
timeline:
- [15, 24]
- group: humidity
functions:
- name: measureHumid
args:
- range: [5, 100]
- resolution: 1.0
- accuracy: 2.0
- offset: 0
timeline:
- start: 0
end: 24