2019-03-25 21:17:34 +01:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2023-08-31 11:25:01 +02:00
|
|
|
|
2019-03-25 21:17:34 +01:00
|
|
|
nodes = {
|
2024-04-09 14:17:35 +02:00
|
|
|
udp_node = {
|
|
|
|
type = "socket",
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2024-04-09 14:17:35 +02:00
|
|
|
format = "gtnet",
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
in = {
|
2024-04-09 14:17:35 +02:00
|
|
|
address = "127.0.0.1:12001"
|
2024-02-29 21:36:38 +01:00
|
|
|
},
|
|
|
|
out = {
|
2024-04-09 14:17:35 +02:00
|
|
|
address = "127.0.0.1:12000",
|
2024-02-29 21:36:38 +01:00
|
|
|
|
2024-04-09 14:17:35 +02:00
|
|
|
# Network emulation settings
|
|
|
|
# Those settings can be specified for each node individually!
|
|
|
|
netem = {
|
2024-02-29 21:36:38 +01:00
|
|
|
enabled = true,
|
2024-04-09 14:17:35 +02:00
|
|
|
|
|
|
|
# Additional latency in microseconds
|
|
|
|
delay = 100000,
|
|
|
|
|
|
|
|
# Jitter in uS
|
|
|
|
jitter = 30000,
|
|
|
|
|
|
|
|
# Distribution of delay: uniform, normal, pareto, paretonormal
|
|
|
|
distribution = "normal",
|
|
|
|
|
|
|
|
# Packet loss in percent
|
|
|
|
loss = 10
|
|
|
|
|
|
|
|
# Duplication in percent
|
|
|
|
duplicate = 10,
|
|
|
|
|
|
|
|
# Corruption in percent
|
|
|
|
corrupt = 10
|
2024-02-29 21:36:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-25 21:17:34 +01:00
|
|
|
}
|