Example · Constellation
Contact-graph routing with link errors
A contact-graph router installs routes as satellites rise and set, so traffic reroutes between them; GSL losses follow a C/N0 to BLER model. Also reports TR 38.821 residuals.
ntn-constellation-real-routed about 60 s on the server
Parameters (6)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --duration | 40 | s | Simulation duration (s) |
Satellite altitude --altKm | 550 | km | Satellite altitude (km) |
Ignored, kept for CLI compatibility --satSpeed | 7500 | - | Ignored, kept for CLI compatibility: the orbital speed follows from altKm (the measured value is printed and written to sim_health.csv) |
Attach the per-packet C/N0->BLER error model to the GSL hops --blerLinks | true | - | Attach the per-packet C/N0->BLER error model to the GSL hops (replaces the binary contact gate with measured link quality) |
Per-hop EIRP --linkEirpDbw | 52 | dBW | Per-hop EIRP (dBW) for the BLER link model |
Per-packet light-time delay on the exact SGP4 state --delayModel | exact | - | exact: per-packet light-time delay on the exact SGP4 state; fixed: delay refreshed on the route tick (pre-Wave-7B) |
Reproduce it locally
With the example's built-in defaults, in the public Docker image:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-constellation-real-routed"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-constellation-real-routed --duration=40 --altKm=550 --satSpeed=7500 --blerLinks=true --linkEirpDbw=52 --delayModel=exact"More Constellation 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.
@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}
}