2019-03-25 21:17:34 +01:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2023-08-31 11:25:01 +02:00
|
|
|
|
2019-03-25 21:17:34 +01:00
|
|
|
nodes = {
|
2024-02-29 21:36:38 +01:00
|
|
|
file_node = {
|
2024-04-09 14:17:35 +02:00
|
|
|
type = "file"
|
2019-03-26 14:02:12 +01:00
|
|
|
|
2024-04-09 14:17:35 +02:00
|
|
|
# These options specify the URI where the the files are stored
|
|
|
|
# The URI accepts all format tokens of (see strftime(3))
|
|
|
|
uri = "logs/input.log",
|
|
|
|
# uri = "logs/output_%F_%T.log"
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
format = "csv"
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
in = {
|
2024-04-09 14:17:35 +02:00
|
|
|
# One of: direct (default), wait, relative, absolute
|
|
|
|
epoch_mode = "direct"
|
|
|
|
|
|
|
|
# The interpretation of this value depends on epoch_mode (default is 0)
|
|
|
|
# Consult the documentation of a full explanation
|
|
|
|
epoch = 10
|
|
|
|
|
|
|
|
# A constant rate at which the lines of the input files should be read
|
|
|
|
# A missing or zero value will use the timestamp in the first column
|
|
|
|
# of the file to determine the pause between consecutive lines
|
|
|
|
rate = 2.0
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2024-04-09 14:17:35 +02:00
|
|
|
# Rewind the file and start from the beginning
|
|
|
|
eof = "rewind"
|
2020-07-10 13:30:11 +02:00
|
|
|
|
2024-04-09 14:17:35 +02:00
|
|
|
# Creates a stream buffer if value is positive
|
|
|
|
buffer_size = 0
|
2024-02-29 21:36:38 +01:00
|
|
|
},
|
|
|
|
out = {
|
2024-04-09 14:17:35 +02:00
|
|
|
# Flush or upload contents of the file every time new samples are sent
|
|
|
|
flush = false
|
2020-07-10 13:30:11 +02:00
|
|
|
|
2024-04-09 14:17:35 +02:00
|
|
|
# Creates a stream buffer if value is positive
|
|
|
|
buffer_size = 0
|
2024-02-29 21:36:38 +01:00
|
|
|
}
|
|
|
|
}
|
2019-03-25 21:17:34 +01:00
|
|
|
}
|