[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
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
simulation:
|
||||
duration: 24
|
||||
tickfactor: 10
|
||||
tickfactor: 1
|
||||
runs: 1
|
||||
parCell: 0
|
||||
parCellThreads: 5
|
||||
@@ -19,10 +19,7 @@ sensors:
|
||||
- [1, 1, 5]
|
||||
- [2, 2, 5]
|
||||
- [3, 3, 5]
|
||||
blocks:
|
||||
- start: [0, 4]
|
||||
end: [6, 6]
|
||||
count: 210
|
||||
- [4, 4, 5]
|
||||
|
||||
- group: faultyTemp
|
||||
parent: temperature
|
||||
@@ -36,39 +33,47 @@ sensors:
|
||||
cells:
|
||||
- [3, 3, 5]
|
||||
|
||||
# all cells are declared to output the gt
|
||||
# of baseline for each into the console
|
||||
# all cells are declared to output the gt
|
||||
# of baseline for each into the console
|
||||
- group: baseline
|
||||
blocks:
|
||||
- start: [0, 0]
|
||||
end: [6, 6]
|
||||
count: 0
|
||||
- [0, 0, 0]
|
||||
- [1, 1, 0]
|
||||
- [2, 2, 0]
|
||||
- [3, 3, 0]
|
||||
- [4, 4, 0]
|
||||
|
||||
groundtruths:
|
||||
- group: baseline
|
||||
truth:
|
||||
- value: 10.0
|
||||
- value: 7.0
|
||||
timeline:
|
||||
- start: 0
|
||||
end: 7
|
||||
- [18, 24]
|
||||
- [7, 10]
|
||||
- [12, 16.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, 12, 18]}
|
||||
args: {range: 0.0, center: [3, 3], distOffset: -0.5, time:[0, 19, 22]}
|
||||
timeline:
|
||||
- [0, 7]
|
||||
- [12, 16]
|
||||
- [18, 24]
|
||||
- [7, change, {range: 0.0, target: 16.0, targetTime: 12, center: [3, 3], distOffset: -0.5, time:[7]}]
|
||||
- [16, change, {range: 0.0, target: 10.0, targetTime: 18, center: [3, 3], distOffset: -0.5, time:[]}]
|
||||
- [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: 1.0}
|
||||
args: {range: 0.3}
|
||||
timeline:
|
||||
- [0, 7]
|
||||
- [12, 16]
|
||||
@@ -97,23 +102,23 @@ behaviours:
|
||||
|
||||
- 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]
|
||||
- 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:
|
||||
|
||||
Reference in New Issue
Block a user