mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
70 lines
1.7 KiB
Text
70 lines
1.7 KiB
Text
![]() |
# SPDX-FileCopyrightText: 2014-2024 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
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"}
|
||
|
)
|
||
|
}
|
||
|
|
||
|
file = {
|
||
|
type = "file"
|
||
|
format = "csv"
|
||
|
uri = "./data.csv"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
paths = (
|
||
|
{
|
||
|
enabled = true
|
||
|
#queuelen = 20000
|
||
|
in = "smu"
|
||
|
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
|
||
|
}
|
||
|
)
|
||
|
}
|
||
|
)
|