mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
add example configuration for smu node-type
Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
This commit is contained in:
parent
ea99bc0e73
commit
ce77164e74
1 changed files with 97 additions and 0 deletions
97
etc/examples/nodes/smu.conf
Normal file
97
etc/examples/nodes/smu.conf
Normal file
|
@ -0,0 +1,97 @@
|
|||
http = {
|
||||
enabled = false
|
||||
}
|
||||
logging = {
|
||||
# level = "warn"
|
||||
}
|
||||
nodes = {
|
||||
smu = {
|
||||
type = "smu"
|
||||
signals = (
|
||||
{ name = "ch1" type = "float"},
|
||||
{ name = "ch2" type = "float"},
|
||||
{ name = "signal3" type = "float"},
|
||||
{ name = "signal4" type = "float"},
|
||||
{ name = "signal5" type = "float"},
|
||||
{ name = "signal6" type = "float"},
|
||||
{ name = "signal7" type = "float"}
|
||||
)
|
||||
vectorize = 1000
|
||||
sample_rate = "FS_10kSPS"
|
||||
dumper = (
|
||||
{ name = "ch1" path = "/tmp/ch1"},
|
||||
{ name = "ch2" path = "/tmp/ch2"}
|
||||
)
|
||||
}
|
||||
|
||||
raw = {
|
||||
type = "file"
|
||||
format = "csv"
|
||||
uri = "./raw.csv",
|
||||
in = {
|
||||
epoch_mode = "original",
|
||||
eof = "wait"
|
||||
signals = (
|
||||
{ name = "ch1" type = "float"},
|
||||
{ name = "ch2" type = "float"},
|
||||
{ name = "signal3" type = "float"},
|
||||
{ name = "signal4" type = "float"},
|
||||
{ name = "signal5" type = "float"},
|
||||
{ name = "signal6" type = "float"},
|
||||
{ name = "signal7" type = "float"}
|
||||
)
|
||||
}
|
||||
}
|
||||
file1 = {
|
||||
type = "file"
|
||||
format = "csv"
|
||||
uri = "./raw.csv"
|
||||
}
|
||||
file = {
|
||||
type = "file"
|
||||
format = "csv"
|
||||
uri = "./phasor.csv"
|
||||
}
|
||||
}
|
||||
|
||||
paths = (
|
||||
{
|
||||
enabled = false
|
||||
queuelen = 30000
|
||||
enabled = false
|
||||
in = "smu"
|
||||
out = "file1"
|
||||
},
|
||||
{
|
||||
enabled = true
|
||||
#queuelen = 20000
|
||||
in = "raw"
|
||||
#out = "mqtt"
|
||||
#out="file"
|
||||
hooks = (
|
||||
{
|
||||
type = "scale"
|
||||
scale = 0.000305185 #10/32767
|
||||
offset = 0 #1280
|
||||
signal = "ch1"
|
||||
},
|
||||
{
|
||||
type = "ip-dft-pmu"
|
||||
enabled = true
|
||||
estimation_range = 10.
|
||||
nominal_freq = 50.
|
||||
number_plc = 10.
|
||||
sample_rate = 10000
|
||||
dft_rate = 10
|
||||
window_type = "hann"
|
||||
signals = ["ch1"]
|
||||
angle_unit = "degree"
|
||||
timestamp_align = "center"
|
||||
add_channel_name = true
|
||||
phase_offset = 0
|
||||
#frequency_offset = 0.0015
|
||||
amplitude_offset = 0
|
||||
}
|
||||
)
|
||||
}
|
||||
)
|
Loading…
Add table
Reference in a new issue