Files
scim/docs/wiki/config/config_preview.yml
Pascal 112683ea42 [add][mod] added output files and modified config
- added OutputFile class to library
 - [mod] use file from arg as config if exists
 - [mod] added readme text
2020-01-29 03:43:51 -06:00

133 lines
3.0 KiB
YAML

simulation:
duration: 24
tickfactor: 1
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]
- [4, 4, 5]
- group: faultyTemp
parent: temperature
cells:
- [0, 0, 5]
- [1, 1, 5]
- [2, 2, 5]
- [3, 3, 5]
- group: humidity
cells:
- [3, 3, 5]
# all cells are declared to output the gt
# of baseline for each into the console
- group: baseline
blocks:
- [0, 0, 0]
- [1, 1, 0]
- [2, 2, 0]
- [3, 3, 0]
- [4, 4, 0]
groundtruths:
- group: baseline
truth:
- value: 7.0
timeline:
- start: 0
end: 2
- [19, 22]
- [2, 7.0]
- [22, 7.0]
delta:
- name: fluctuate
args: {range: 0.0, center: [3, 3], distOffset: -0.5, time:[0, 19, 22]}
timeline:
- [0, 2]
- [3, 5]
- [8, 9]
- [19, 22]
- [23, 24]
- [2, change, {range: 0.0, target: 6.0, targetTime: 3, center: [3, 3], distOffset: -0.5, time:[2]}]
- [5, change, {range: 0.0, target: 4.0, targetTime: 7, center: [3, 3], distOffset: -0.5, time:[]}]
- [7, change, {range: 0.0, target: 5.0, targetTime: 8, center: [3, 3], distOffset: -0.5, time:[]}]
- [9, change, {range: 0.0, target: 9.0, targetTime: 17, center: [3, 3], distOffset: -0.5, time:[]}]
- [17, change, {range: 0.0, target: 7.0, targetTime: 19, center: [3, 3], distOffset: -0.5, time:[]}]
- [22, change, {range: 0.0, target: 6.0, targetTime: 23, center: [3, 3], distOffset: -0.5, time:[22]}]
- group: temperature
parent: baseline
delta:
- name: fluctuate
args: {range: 0.3}
timeline:
- [0, 7]
- [12, 16]
- [18, 24]
- [7, fluctuate, {range: 0.5}]
- [16, fluctuate, {range: 0.5}]
- group: humidity
parent: temperature
delta:
- [0, humidFromTemp, {dewpoint: 10.0,}]
behaviours:
- group: temperature
functions:
- name: measureTempMod
args:
range: [-50.0, 150.0]
resolution: 0.125
accuracy: 0.1
offset: 0.0
modifier: {type: offset, value: 20.0, time: 10, x: 1, y: 1}
timeline:
- start: 0
end: 24
- group: faultyTemp
functions:
- name: measureTemp
args:
range: [-50.0, 150.0]
resolution: 0.1
accuracy: 1.0
offset: 10.0
timeline:
- [0, 12]
- [12, noOutput, {}]
- name: measureTemp
args:
range: [-50.0, 150.0]
resolution: 0.1
accuracy: 20.0
offset: 0.0
timeline:
- [15, 24]
- group: humidity
functions:
- name: measureHumid
args:
range: [5.0, 100.0]
resolution: 1.0
accuracy: 2.0
offset: 0.0
timeline:
- start: 0
end: 24