1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/etc/websocket.conf

59 lines
1.4 KiB
Text

# Example configuration file for VILLASnode
#
# This example includes all valid configuration options for the server.
# Please note, that using all options at the same time does not really
# makes sense. The purpose of this example is to serve as a reference.
#
# The syntax of this file is similar to JSON.
# A detailed description of the format can be found here:
# http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files
#
# Author: Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
# Copyright: 2016, Institute for Automation of Complex Power Systems, EONERC
##
# Some global settings are used by multiple configuration files
# and therefore defined in separate files
@include "global.conf"
@include "plugins.conf"
############ Dictionary of nodes ############
nodes = {
file = {
type = "file",
#vectorize = 10,
in = {
path = "/test_fifo"
}
},
ws = {
type = "websocket",
unit = "MVa",
units = [ "V", "A", "Var" ],
description = "Das ist ein Test",
vectorize = 100,
source = {
simulator = "OP5600",
location = "ACS lab"
}
}
ws_stats = {
type = "websocket",
description = "Statistics",
@include "websocket-stats.conf" /* This adds a caption to the statistics plot */
}
};
############ List of paths ############
paths = (
{
in = "file",
out = "ws",
hook = [ "stats_send:ws_stats" ]
}
);