Skip to content
Example · Vehicular (V2X)

Rural highway fleet on one satellite

Vehicles replayed from an FCD trace share one LEO satellite. Each uses its measured direct link or relays through a peer, giving the direct, relayed and unserved split.

ntn-v2x-rural-highway about 75 s on the server

Parameters (8)

Defaults are the values the browser run form starts from. Pass any of them on the command line as --name=value.

ParameterDefaultUnitDescription
Number of vehicles, at most 40
--vehicles
16-Number of vehicles, at most 40 (each is a real UE)
Allowed: 1 to 40
Simulation duration
--simTime
24sSimulation duration (s) (short dashboard default; full-scale value 30.0)
Satellite EIRP / gNB Tx power
--satEirpDbm
-1dBmSatellite EIRP / gNB Tx power (dBm); -1 = backend default Leave at -1 for the TR 38.821 Set-1 S-band EIRP density (34 dBW/MHz, about 77 dBm EIRP over 20 MHz; the conducted power is derived from it and the array gain). Any other value is the conducted power at the array input in dBm (the array adds about 18 dB); values below about 40 dBm leave the link without usable throughput.
Radio backend
--radio
nr-Radio backend: nr (FR1) or mmwave
Trace replay step
--dt
1sTrace replay step (s)
FCD-format CSV trace path
--trace
contrib/ntn-v2x/traces/rural-highway-fcd.csv-FCD-format CSV trace path (time,vehid,x,y,z,speed). Defaults to the shipped contrib/ntn-v2x/traces/rural-highway-fcd.csv, a synthetic constant-speed FCD-format CSV fixture (not a SUMO microsimulation; loader reads a CSV dialect, not native fcd-output XML).
Minimum SINR for a direct uplink
--minDirectSnr
4dBMinimum SINR for a direct uplink (dB)
Maximum V2V relay range
--maxV2vRange
1500mMaximum V2V relay range (m)

Reproduce it locally

With the example's built-in defaults, in the public Docker image:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-v2x-rural-highway"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-v2x-rural-highway --vehicles=16 --simTime=24 --satEirpDbm=-1 --radio=nr --dt=1 --trace=contrib/ntn-v2x/traces/rural-highway-fcd.csv --minDirectSnr=4 --maxV2vRange=1500"

List every argument with ./ns3 run "ntn-v2x-rural-highway --PrintHelp".

More Vehicular (V2X) examples

Cite this

If you use this module, please cite the article that describes the toolkit: doi:10.1109/OJCOMS.2026.3745010.

M. Uzair, B. G. Aldahlan, A. A. Albar, H. Althumali and A. Alghammas, "ns3-ntn-toolkit: An integrated ns-3 platform for 6G non-terrestrial networks," IEEE Open Journal of the Communications Society, vol. 7, pp. 13440-13467, 2026, doi: 10.1109/OJCOMS.2026.3745010.

BibTeX
@article{uzair2026ns3ntntoolkit,
  author  = {Uzair, Muhammad and Aldahlan, Bassma G. and Albar, Ali A. and
             Althumali, Huda and Alghammas, Adnan},
  title   = {ns3-ntn-toolkit: An Integrated ns-3 Platform for 6G
             Non-Terrestrial Networks},
  journal = {IEEE Open Journal of the Communications Society},
  volume  = {7},
  pages   = {13440--13467},
  year    = {2026},
  doi     = {10.1109/OJCOMS.2026.3745010}
}