Beruflich Dokumente
Kultur Dokumente
Tutorial:
Simulating VANET and ITS
(using OMNeT++ and SUMO)
MJ (Thinus) Booysen
mjbooysen at sun dot ac dot za
Faculty of Engineering
Presentation Overview
Recent developments:
Intra-car
Networks
Servers and
Consumers
Servers and
databases
ITS network
RSU
Navigation
Emergency
detectors
Internet
WIMAX
Wi-Fi
Cellular
WAVE WAVE
OBU
MM
CAN bus
Audio-visual
sources
MOST
ring
Displays
CAN
ISP
ITS
MM
MOST
WIMAX
WAVE
Inter-car Extra-car
V2V
V2I
Safety and
traffic management
Entertainment and
Internet connectivity
Fast
Safety critical
Infotainment
Power usage
VANET:
signal propagation
networking
Accurate simulation of vehicle mobility
Comms simulation use mobility info
ITS:
Same as VANET
More applications support
Comms simulation (application) affects mobility
6
Some approaches
Mobility
Communications
Advantages
Disadvantages
No feedback is provided
from ns-2 to SUMO.
Development suspended
recently.
NCTUns is UNIX-based
and only runs on Fedora.
Limited support.
No feedback is provided
from ns-2 to
VanetMobiSim.
Separate simulators.
Vehicles in Network
Simulation
(Veins), which integrates
SUMO and OMNeT++
Urban routes
HD traffic flows
LD traffic flows
SUMO TraCI
OMNeT++ Metrics
MiXiM
Urban map
Highway map
OpenStreetMap
Highway routes
Veins
Application
MAC layer
PHY layer
Mobility
Veins
: veins.car2x.org/ (easy installation here)
OMNeT++
: www.omnetpp.org/ (easy thorough tutorial here)
MiXiM
: mixim.sourceforge.net/
SUMO
: sumo.sourceforge.net/
OpenStreetMap : www.openstreetmap.org/
net.net.xml
Export map from web site, and convert to XML with SUMOs netconvert
10
netconvert --osm rc.osm
trips.trips.xml
routes.routes.xml
Convert the trips to routes (what is between A and B) and traffic flow
duarouter -n net.net.xml t trips.trips.xml -o routes.rou.xml
--ignore-errors
11
Configure the simulation by specifying the network, the routes, and the
duration in a config file.
sumo.sumo.cfg
12
SUMO simulation
13
OMNeT++ Setup
14
OMNeT++ setup
15
16
In Car.NED:
17
Initialization file
In config.ini:
For each node, you can also specify location and speed, managed
by the mobility module.
18
BaseNetwork example that ships with MiXiM installation, just run the
config.ini file (right click, run as OMNeT simulation)
19
Veins setup
20
Demo that ships with Veins installation, just run the config.ini file
(Traci launch demo) (right click, run as OMNeT simulation)
Only thing replaced are the SUMO net.net.xml and routes.rou.xml
files.
21
Remaining challenges
Data dissemination
Signal propagation with obstacles
Multichannel management in IEEE 802.11p
22
Questions or comments?
23