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

gtwif: added an example configuration

This commit is contained in:
Steffen Vogel 2017-06-29 19:05:10 +02:00
parent 3b10c62368
commit 296dacead4

View file

@ -189,6 +189,38 @@ nodes = {
"tcp://localhost:1235",
"tcp://localhost:12444"
],
},
gtwif_node = {
type = "gtwif",
rate = 10, # Poll the GTWIF card with a rate of 10 Hz for new values.
timeout = 1, # Timeout after 1 second if GTWIF does not respond.
remote = "134.130.40.71" # The IP address of the GTWIF card
rack = 4, # The number of the rack which is controlled by the GTWIF card
inf = "/data/rscad/Vdiv.inf", # The path to the RSCAD Draft information file
# The following 'in' and 'out' settings define a mapping between
# Signal names as seen in the RSCAD runtime and the indices
# of the samples which are processed by VILLASnode
# Have a look at the .inf file for available signal names
# or adresses.
# The strings of the following list are constructed by
# concatenating the "Group" and "Desc" attributes with an "|".
in = [
"Subsystem #1|Node Voltages|S1) N1",
"Subsystem #1|Node Voltages|S1) N2",
"Subsystem #1|Node Voltages|S1) N3",
0x200050 # Alternatively, you can specify addresses manually
# The adresses can be found in the .inf file as well.
],
out = [
"Subsystem #1|Sources|src|ABCmag",
"Subsystem #1|Sources|src|Phase",
"Subsystem #1|Sources|src|Freq",
]
}
};