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/gate.conf

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

26 lines
586 B
Text
Raw Permalink Normal View History

2019-06-27 02:22:08 +02:00
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
2019-06-27 01:36:45 +02:00
@include "hook-nodes.conf"
paths = (
{
in = "signal_node"
out = "file_node"
2019-06-27 01:36:45 +02:00
hooks = (
{
type = "gate"
2019-06-27 01:36:45 +02:00
signal = "square"
mode = "above"
threshold = 0.5
# Once triggered, keep active for:
duration = 5 # In seconds
samples = 100 # In number of samples
}
)
}
2019-06-27 01:36:45 +02:00
)