1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/etc/labs/lab11.conf
Steffen Vogel 1b1643834c Use spaces for indention of .conf files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00

88 lines
1.9 KiB
Text

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
nodes = {
rtds_gtnet1 = {
type = "socket"
layer = "udp"
format = "gtnet"
in = {
address = "*:12000"
signals = {
count = 8
type = "float"
}
}
out = {
address = "134.130.169.89:12000"
}
},
rtds_gtnet2 = {
type = "socket"
layer = "udp"
format = "gtnet"
in = {
address = "*:12001"
signals = {
count = 8
type = "float"
}
}
out = {
address = "134.130.169.90:12001"
}
}
monitoring = {
type = "websocket"
}
monitoring_log = {
type = "file",
uri = "ftp://acs:fake@134.130.169.32/var/villas/log/monitoring_%Y-%m-%d_%H_%M_%S.dat"
out = {
}
}
}
paths = (
{
# Combine data from rtds_gtnet1 and rtds_gtnet2
in = [
"rtds_gtnet1.ts.origin",
"rtds_gtnet1.hdr.sequence",
"rtds_gtnet1.data[0-6]",
"rtds_gtnet2.ts.origin",
"rtds_gtnet2.hdr.sequence",
"rtds_gtnet2.data[0-6]"
],
out = [
"monitoring",
"monitoring_log"
],
reverse = false,
# The mode of a path determines when the path is triggered
# and forwarding samples to its destination nodes.
mode = "any",
# List of nodes which trigger the path
mask = [ "rtds_gtnet1", "rtds_gtnet2" ],
hooks = (
# We do not want to overload the WebBrowsers
{
type = "decimate",
ratio = 10
}
)
}
)