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/labs/lab11.conf

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

89 lines
1.4 KiB
Text
Raw Permalink Normal View History

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