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/nodes/signal-v2.conf
Steffen Vogel abed592b9d Harmonize formatting and style of example configuration files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 09:38:57 +02:00

39 lines
1.2 KiB
Text

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
nodes = {
signal_node = {
type = "signal.v2",
rate = 10.0
# Wait between emitting each sample
realtime = true,
# Only emit 1000 samples, then stop
limit = 1000,
# Count and warn about missed steps
monitor_missed = true
in = {
signals = (
{ name = "sine1", signal = "sine", amplitude = 123.456, frequency = 10, offset = 1.0 },
{ name = "sine2", signal = "sine", amplitude = 12.456, frequency = 20, offset = 10.0 },
{ name = "sine3", signal = "sine", amplitude = 2, frequency = 1, offset = 100.0 },
{ name = "random1", signal = "random", amplitude = 2, stddev = 2, offset = 13.0 },
{ name = "pulse1", signal = "pulse", frequency = 1.0, pulse_width = 1, pulse_high = 100, pulse_low = 50 }
)
}
},
signal_node2 = {
type = "signal.v2",
in = {
signals = {
count = 8,
signal = "mixed"
}
}
}
}