VILLASframework
Modular co-simulation framework
Lab 13: Measure Round-trip time between RTDS and VILLASnode

Configuration

1 affinity = 0x8,
2 
3 nodes = {
4  rtds_gtnet1 = {
5  type = "socket",
6  layer = "udp",
7  format = "gtnet",
8 
9  in = {
10  address = "*:12000"
11 
12  signals = {
13  count = 8,
14  type = "float"
15  }
16  },
17  out = {
18  address = "134.130.169.98:12000"
19  }
20  },
21  rtds_gtnet2 = {
22  type = "socket",
23  layer = "udp",
24  format = "gtnet",
25 
26  in = {
27  address = "*:12001"
28 
29  signals = {
30  count = 8,
31  type = "float"
32  }
33  },
34  out = {
35  address = "134.130.169.99:12001"
36  }
37  }
38 }
39 
40 paths = (
41  {
42  in = "rtds_gtnet1"
43  out = "rtds_gtnet2"
44 
45  reverse = true
46  }
47 )

RSCAD

Source: https://git.rwth-aachen.de/acs/public/villas/node/tree/master/clients/rtds/gtnet_skt/gtnet_skt_udp_loopback_rtt

rscad_gtnet_skt_udp_loopback_rtt_draft.png
RSCAD draft for GTNET interface to VILLASnode.
rscad_gtnet_skt_udp_loopback_rtt_runtime.png
RSCAD runtime of GTNET interface to VILLASnode.

Go to [lab 14] =>(node-lab-14)