2019-02-11 16:30:25 +01:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2023-08-31 11:25:01 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-02-11 16:30:25 +01:00
|
|
|
nodes = {
|
2024-02-29 21:36:38 +01:00
|
|
|
udp_node1 = {
|
|
|
|
type = "socket"
|
|
|
|
layer = "udp"
|
2019-02-11 16:30:25 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
in = {
|
|
|
|
address = "*:12000"
|
2019-02-11 16:30:25 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
signals = (
|
|
|
|
{ name = "sig1", type = "float" },
|
|
|
|
{ name = "sig2", type = "float" },
|
|
|
|
{ name = "sig3", type = "float" },
|
|
|
|
{ name = "sig4", type = "float" }
|
|
|
|
)
|
|
|
|
}
|
|
|
|
out = {
|
|
|
|
address = "127.0.0.1:12001"
|
|
|
|
}
|
|
|
|
}
|
2019-02-11 16:30:25 +01:00
|
|
|
}
|
|
|
|
|
2019-03-26 14:02:12 +01:00
|
|
|
paths = (
|
2024-02-29 21:36:38 +01:00
|
|
|
{
|
|
|
|
in = [ "udp_node1" ]
|
|
|
|
out = [ "udp_node1" ]
|
2019-02-11 16:30:25 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
hooks = (
|
|
|
|
{
|
|
|
|
type = "decimate"
|
|
|
|
priority = 1
|
2019-02-11 16:30:25 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
# Hook specific parameters follow
|
|
|
|
# [parameter1] = [value1]
|
|
|
|
ratio = 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type = "scale"
|
2019-02-11 16:30:25 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
signal = "sig3"
|
|
|
|
offset = 10.0
|
|
|
|
scale = 2.5
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
2019-03-26 14:02:12 +01:00
|
|
|
)
|