1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

pmu_dft: add example config

This commit is contained in:
Steffen Vogel 2021-09-13 11:41:42 +02:00
parent 159347800b
commit d18a495274
2 changed files with 31 additions and 6 deletions

View file

@ -0,0 +1,31 @@
@include "hook-nodes.conf"
paths = (
{
in = "signal_node"
out = "file_node"
hooks = (
{
type = "pmu_dft",
sample_rate = 100, # sample rate of the input signal
dft_rate = 10.0, # how often is the DFT beeing calculated?
start_freqency = 47.7, # lowest freqyency bin
end_freqency = 52.5, # highst freqyency bin
frequency_resolution = 0.01, # freqyency bin resolution
window_size_factor = 1.0,
window_type = "hamming", # one of: flattop, hamming, hann
padding_type = "zero" # one of: signal_repeat, zero
freq_estimate_type = "quadratic", # one of: quadratic
sync = true,
pps_index = 0, # signal index of the PPS signal
angle_unit = "rad" # one of: rad, degree
}
)
}
)

View file

@ -18,12 +18,6 @@ nodes = {
}
},
sigGen = {
type = "signal"
signal = "sine"
frequency = 50
rate = 1000
}
vpmu = {
type = "socket",
layer = "udp",