1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/etc/examples/hooks/pmu_dft.conf

36 lines
800 B
Text
Raw Normal View History

2021-09-13 11:41:42 +02:00
@include "hook-nodes.conf"
paths = (
{
in = "signal_node"
out = "file_node"
hooks = (
{
type = "pmu_dft",
2021-09-21 14:25:39 +02:00
signals = (
"sine"
)
2021-09-13 11:41:42 +02:00
sample_rate = 100, # sample rate of the input signal
2021-09-21 14:25:39 +02:00
dft_rate = 10, # how often is the DFT beeing calculated?
2021-09-13 11:41:42 +02:00
start_freqency = 47.7, # lowest freqyency bin
end_freqency = 52.5, # highst freqyency bin
frequency_resolution = 0.01, # freqyency bin resolution
2021-09-21 14:25:39 +02:00
window_size_factor = 1,
2021-09-13 11:41:42 +02:00
window_type = "hamming", # one of: flattop, hamming, hann
padding_type = "zero" # one of: signal_repeat, zero
2021-09-21 14:25:39 +02:00
ffrequency_estimate_type = "quadratic", # one of: quadratic
2021-09-13 11:41:42 +02:00
sync = true,
pps_index = 0, # signal index of the PPS signal
angle_unit = "rad" # one of: rad, degree
}
)
}
)