# 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 # 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" ] } );