Vehicular Ad Hoc Networks

V2V · V2I · DSRC / WAVE · SUMO-coupled

NetSim models the information flow in connected-vehicle networks. The architecture combines the IEEE 1609 (WAVE) upper layers with the IEEE 802.11p and 802.11bd PHY and MAC in the 5.9 GHz band. Couple it with SUMO for realistic road traffic, and modify the stack through protocol source code in C.

Road safety Traffic management Connected vehicles Academia and research
NetSim · VANET scenario
A VANET scenario in NetSim with vehicles, roadside units, and wireless links over a road network imported from SUMO

What NetSim models

NetSim simulates the wireless communication between vehicles and infrastructure, including RF propagation, while SUMO supplies the road traffic.

WAVE architecture

IEEE 1609 (WAVE) upper layers run over the IEEE 802.11p and 802.11bd PHY and MAC, the standards purpose-built for vehicular communication.

SUMO coupling

Road traffic runs in SUMO, the open-source urban mobility simulator. NetSim reads vehicle coordinates at runtime through shared-memory pipes and drives mobility from them.

V2V and V2I

Vehicles (on-board units) and roadside units exchange both safety and non-safety traffic, forming spontaneous ad hoc networks.

Protocol source in C

The protocol stack ships as C source. Modify it in Visual Studio to implement and test your own algorithms.

The WAVE protocol stack

Every vehicle and roadside unit runs a full stack, from application traffic down to the 5.9 GHz radio.

Application

Vehicular and standard traffic

File transfer, Video, Voice, Email, HTTP, and Gaming, alongside the BSM safety application.

Transport

TCP and UDP

Standard transport protocols carry non-safety application flows across the network.

Network

Ad hoc routing

Spontaneous ad hoc network formation with AODV, DSR, OLSRv1 (RFC 3626), OLSRv2 (RFC 7181), and ZRP.

MAC

IEEE 802.11p (OCB)

Stations communicate outside the context of a BSS, with no association or authentication, so links form instantly. Access uses CSMA/CA over separate control and service channels.

PHY

802.11p and 802.11bd

OFDM PHY in the 5.9 GHz band with 5, 10, and 20 MHz channels, reaching up to 54 Mbps. 802.11bd adds the newer 10 and 20 MHz modes.

WAVE

WSMP over IEEE 1609

The WAVE Short Message Protocol carries Basic Safety Messages over IEEE 1609 (1609.1 to 1609.4) outside the IP stack, with no routing.

802.11p and DSRC at a glance

NetSim implements the PHY rates, channel plan, and safety messaging defined by the DSRC/WAVE standards, with configurable parameters.

PHY rates

OFDM rates from 1.5 to 54 Mbps across 5, 10, and 20 MHz channels. The MCS, from BPSK to 64-QAM, is selected by comparing received power against receiver sensitivity.

CSMA/CA, no BSS

Outside the context of a BSS, stations skip announcement, scanning, and association. A SIFS idle check and a random back-off window manage contention.

DSRC channels

One control channel (CCH 178, 5.890 GHz) for safety and management, plus service channels for non-safety traffic. Devices alternate CCH and SCH within a configurable synchronisation interval, 100 ms by default.

BSM safety messages

A 20-byte Basic Safety Message broadcast at a nominal 10 Hz, carried over WSMP and IEEE 1609. Configurable as broadcast (single hop) or unicast.

Realistic road traffic with SUMO

NetSim interfaces with SUMO, the open-source road-traffic simulator. SUMO computes vehicle positions over time as per the road conditions, while NetSim simulates the wireless communication and the RF propagation in the physical layer.

The two are joined through pipes, a section of shared memory. Import a SUMO road network and its vehicle flows straight into the NetSim GUI, then add roadside units where you need them. Mobility can also come from file-based traces or the inbuilt random models.

A VANET road network and vehicles modelled in NetSim coupled with SUMO

What you can study

Worked examples from the VANET manual, ready to load, run, and extend.

Import a SUMO scenario

Load a road network and its vehicle flows from SUMO, then run wireless communication over the imported topology.

V2V and V2I with RSUs

Set up vehicle-to-vehicle and vehicle-to-infrastructure communication involving vehicles and roadside units.

SCH and CCH time division

Measure throughput, delay, and collisions as the control and service channel intervals are varied, and as the node count and generation rate grow.

Manhattan mobility, multi-hop

Single-hop and multi-hop communication over a SUMO Manhattan-grid mobility model, including vehicles moving in a closed loop.

Performance metrics and log files

Time-series plots and a result dashboard appear when a run completes, with deeper detail in the trace and radio-measurement logs.

Time-series plots

Application throughput and latency, link throughput, and more, plotted over the course of the simulation.

Network metrics

Packets transmitted and received, errors, collisions, and retransmissions, drilled down per device or per application flow.

Packet trace

A per-packet log of arrival, queuing, and departure times, payload, overhead, errors, and collisions through every device on the path.

Radio measurements log

Per-packet path loss, shadowing, fading, transmit and receive power, SNR, SINR, interference, spatial streams, BER, and MCS index.

Featured projects and research

Worked NetSim projects, with documentation and code, that extend the VANET library into active research directions.

Road safety

UAV-to-vehicle communication for accident alert and rerouting: monitor traffic and warn vehicles when an accident occurs.

View project →

Traffic optimisation

Dynamic traffic light control: vehicles and roadside units cooperate to adjust signals based on traffic conditions and ease congestion.

View project (PDF) →

AI/ML for VANETs

An ML-based classifier for Sybil node detection, plus offline and online machine-learning interfacing with NetSim.

View project (PDF) →

Clustering with RSUs

RSU-based dynamic clustering in vehicular networks, with roadside units as cluster heads and MATLAB interfacing.

View project (PDF) →
Independent validation

Publications that have used NetSim

Peer-reviewed VANET and vehicular-network research built and validated in NetSim.

Watch it in action

Webinars on NetSim-SUMO co-simulation and vehicular network research.

Video Thumbnail

NetSim-SUMO Co-Simulation for VANETs (Part 1 of 2)

Video Thumbnail

NetSim-SUMO Co-Simulation for VANETs (Part 2 of 2)