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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
589 B
Text
Raw Permalink Normal View History

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
@include "hook-nodes.conf"
2019-03-31 19:59:37 +02:00
paths = (
{
in = "signal_node"
out = "file_node"
hooks = (
{
type = "dp"
2019-03-31 19:59:37 +02:00
signal = "sine"
f0 = 50 # In Hz
dt = 0.1 # In seconds
2019-03-31 19:59:37 +02:00
# Alternative to dt
# rate = 10 Hz
2019-03-31 19:59:37 +02:00
harmonics = [ 0, 1, 3, 5, 7 ]
inverse = false
}
)
}
2019-03-31 19:59:37 +02:00
)