-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathomnetpp.ini
257 lines (213 loc) · 8.35 KB
/
omnetpp.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
[General]
cmdenv-express-mode = true
cmdenv-autoflush = true
cmdenv-status-frequency = 10s
num-rngs = 6
debug-on-errors=false
network = org.car2x.plexe.vncd.Highway
allow-object-stealing-on-deletion = false
##########################################################
# Simulation parameters #
##########################################################
debug-on-errors = true
print-undisposed = true
*.playgroundSizeX = 65000m
*.playgroundSizeY = 25000m
*.playgroundSizeZ = 50m
sim-time-limit = 60 s
##########################################################
# Annotation parameters #
##########################################################
*.annotations.draw = false
##########################################################
# Obstacle parameters #
##########################################################
*.obstacles.debug = false
##########################################################
# WorldUtility parameters #
##########################################################
*.world.useTorus = false
*.world.use2D = false
##########################################################
# TraCIScenarioManager parameters #
##########################################################
*.manager.updateInterval = 0.01s
*.manager.host = "localhost"
*.manager.moduleType = "org.car2x.plexe.PlatoonCar"
*.manager.moduleName = "node"
*.manager.moduleDisplayString = ""
*.manager.autoShutdown = true
*.manager.margin = 25
##########################################################
# 11p specific parameters #
# #
# NIC-Settings #
##########################################################
*.connectionManager.sendDirect = true
*.connectionManager.maxInterfDist = 2600m
*.connectionManager.drawMaxIntfDist = false
*.**.nic.mac1609_4.useServiceChannel = false
*.**.nic.mac1609_4.txPower = 100mW
*.**.nic.mac1609_4.bitrate = 6Mbps
*.**.nic.mac1609_4.useAcks = true
*.**.nic.mac1609_4.ackErrorRate = 0.01
*.**.nic.mac1609_4.frameErrorRate = 0.01
*.**.nic.phy80211p.minPowerLevel = -94dBm
*.**.nic.phy80211p.maxTXPower = 100mW
*.**.nic.phy80211p.useNoiseFloor = true
*.**.nic.phy80211p.noiseFloor = -95dBm
*.**.nic.phy80211p.decider = xmldoc("config.xml")
*.**.nic.phy80211p.analogueModels = xmldoc("config.xml")
*.**.nic.phy80211p.usePropagationDelay = true
##########################################################
# Mobility #
##########################################################
*.node[*].mobility.x = 0
*.node[*].mobility.y = 0
*.node[*].mobility.z = 1.895
##########################################################
# Seeds and PRNGs #
##########################################################
#launch config. tells Veins which SUMO configuration to run
*.manager.configFile = "./sumocfg/freeway.sumo.cfg"
*.manager.launchConfig = xmldoc("./sumocfg/freeway.launchd.xml")
##########################################################
# Common parameters #
##########################################################
**.numberOfCars = ${nCars = 8}
**.numberOfCarsPerPlatoon = ${platoonSize = 8}
**.numberOfLanes = ${nLanes = 3}
##########################################################
# Position helper #
##########################################################
*.node[*].helper_type = "PositionHelper"
##########################################################
# Scenario common parameters #
##########################################################
#controller and engine related parameters
*.node[*].scenario.caccC1 = 0.5
*.node[*].scenario.caccXi = 1
*.node[*].scenario.caccOmegaN = 0.2 Hz
*.node[*].scenario.caccSpacing = 5 m
*.node[*].scenario.engineTau = 0.5 s
*.node[*].scenario.ploegH = ${ploegH = 0.5}s
*.node[*].scenario.ploegKp = 0.2
*.node[*].scenario.ploegKd = 0.7
*.node[*].scenario.useRealisticEngine = false
#via wireless send acceleration computed by the controller, not the actual one
*.node[*].scenario.useControllerAcceleration = true
*.node[*].scenario.nLanes = ${nLanes}
*.node[*].scenario.targetController = "PLOEG"
#controllers to be tested
**.numericController = 0
#headway for ACCs
**.headway = ${headway = 1}s
*.node[*].scenario.accHeadway = ${headway}s
*.node[*].scenario.leaderHeadway = ${leaderHeadway = 1.2}s
#average leader speed
*.node[*].scenario.leaderSpeed = 90kmph
##########################################################
# Application #
##########################################################
*.node[*].appl_type = "MyPlatooningApp"
#enable statistics recording for the application
*.node[*].appl.*.scalar-recording = true
*.node[*].appl.*.vector-recording = true
##########################################################
# Communication protocols #
##########################################################
*.node[*].protocol_type = "PlatooningProtocol"
*.node[*].prot.*.scalar-recording = true
*.node[*].prot.*.vector-recording = true
*.node[*].prot.beaconingInterval = 1s
*.node[*].prot.platoonAdvertisementInterval = 1s
*.node[*].prot.priority = ${priority = 4}
*.node[*].prot.packetSize = ${packetSize = 200}
##########################################################
# Traffic manager #
##########################################################
**.traffic_type = "TrafficManager"
#insert platooning vehicles at time
**.traffic.insertStartTime = 5 s
#insert platooning vehicles with a speed of
#insert nCars platooning vehicles
**.traffic.nCars = ${nCars}
#use nLanes lanes
**.traffic.nLanes = ${nLanes}
#SUMO vtype for platooning vehicles
**.traffic.platooningVType = "vtypeauto"
#controller being used in the different simulations
**.traffic.controller = "ACC"
#insert vehicles already at steady-state. distance depends on controller
**.traffic.platoonLeaderHeadway = ${leaderHeadway}s
#disable statistics recording for all other modules
**.scalar-recording = false
**.vector-recording = false
*.manager.ignoreGuiCommands = true
[Config SimpleTwoCars]
sim-time-limit = 1000 s
repeat=10
*.node[*].prot.platooningFormationSpeedRange = 0.5
*.node[*].prot.maxPlatoonSize = 8
*.manager.command = "sumo"
*.node[*].scenario_type = "Scenario"
**.traffic.nCars = 2
**.traffic.nLanes = 1
**.traffic.insertStartTime = 0.1s
**.traffic.platoonInsertSpeed = uniform(15mps, 20mps)
**.traffic.insertDelay = truncnormal(1s, 1s)
*.node[*].scenario.targetController = "PLOEG"
output-vector-file = ${resultdir}/${configname}_${repetition}.vec
output-scalar-file = ${resultdir}/${configname}_${repetition}.sca
*.node[*].maneuverSpeed.result-recording-modes = +histogram
[Config SimpleFourCars]
extends = SimpleTwoCars
**.traffic.nCars = 4
*.node[*].prot.maxPlatoonSize = 8
[Config SimpleHighNumberPLOEG]
extends = SimpleTwoCars
**.traffic.nCars = 1000
sim-time-limit = 1000 s
*.node[*].prot.maxPlatoonSize = 16
*.node[*].scenario.targetController = "PLOEG"
**.traffic.insertDelay = truncnormal(1s, 1s)
[Config SimpleHighNumberCACC]
extends = SimpleTwoCars
**.traffic.nCars = 1000
*.node[*].prot.maxPlatoonSize = 16
*.node[*].scenario.targetController = "CACC"
**.traffic.platoonLeaderHeadway = 3s
**.headway = 2s
*.node[*].scenario.accHeadway = 2s
*.node[*].scenario.leaderHeadway = 2s
[Config HighDensityTraffic]
extends = SimpleTwoCars
**.traffic.nCars = 1000
sim-time-limit = 1000 s
**.traffic.nLanes = 3
**.traffic.insertDelay = truncnormal(1s, 1s)
[Config SimpleTwoCarsDbg]
extends = SimpleTwoCars
*.manager.ignoreGuiCommands = false
*.manager.command = "sumo-gui"
debug-on-errors=true
[Config SimpleFourCarsDbg]
extends = SimpleFourCars
*.manager.ignoreGuiCommands = false
*.manager.command = "sumo-gui"
debug-on-errors=true
[Config SimpleHighNumberPLOEGDbg]
extends = SimpleHighNumberPLOEG
*.manager.ignoreGuiCommands = false
*.manager.command = "sumo-gui"
debug-on-errors=true
[Config SimpleHighNumberCACCDbg]
extends = SimpleHighNumberCACC
*.manager.ignoreGuiCommands = false
*.manager.command = "sumo-gui"
debug-on-errors=true
[Config HighDensityTrafficDbg]
extends = HighDensityTraffic
*.manager.ignoreGuiCommands = false
*.manager.command = "sumo-gui"
debug-on-errors=true