mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
33 lines
1,006 B
Text
33 lines
1,006 B
Text
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
nodes = {
|
|
api_node = {
|
|
type = "api"
|
|
|
|
in = {
|
|
signals = (
|
|
{
|
|
name = "" # Same as 'id' in uAPI context
|
|
description = "Volts on Bus A" # A human readable description of the channel
|
|
type = "float" # Same as 'datatype' in uAPI context
|
|
unit = "V"
|
|
payload = "events" # or 'samples'
|
|
rate = 100.0 # An expected refresh/sample rate of the signal
|
|
range = {
|
|
min = 20.0
|
|
max = 100.0
|
|
}
|
|
readable = true
|
|
writable = false
|
|
}
|
|
)
|
|
}
|
|
|
|
out = {
|
|
signals = (
|
|
# Similar to above
|
|
)
|
|
}
|
|
}
|
|
}
|