Example · Traffic Models
CBR traffic over a LEO-600 link
Constant-bit-rate traffic over a point-to-point link with a fixed LEO-600 worst-case delay (25.77 ms RTD) and a packet error model; no orbit and no radio. Measures delivered bytes, throughput, delay and jitter (FlowMonitor mean IPDV, RFC 3393).
ntn-cbr-leo-link about 60 s on the server
Parameters (11)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulated duration --simTime | 10 | s | Simulated duration (s) |
CBR inter-packet interval --intervalMs | 5 | ms | CBR inter-packet interval (ms) |
CBR payload size --pktSize | 1024 | bytes | CBR payload size (bytes) |
Packet error rate on the receiver --errorRate | 0.01 | - | Packet error rate on the receiver (0 to 1) |
One-way link propagation delay --delayMs | 12.885 | ms | One-way link propagation delay (ms) |
Link data rate --dataRateMbps | 50 | Mbit/s | Link data rate (Mbps) |
Radio --radio | nr | - | nr (default: SGP4 satellite gNB, NR-NTN radio, EPC) or p2p (the fixed LEO-600 reference link that --delayMs/--dataRateMbps/--errorRate configure) |
TR 38.811 UEs, one CBR flow each --numUes | 1 | - | nr: TR 38.811 UEs, one CBR flow each |
Satellite altitude --altitudeKm | 600 | km | nr: satellite altitude (km) |
UE cluster ground offset north of the t=0 sub-satellite point --ueNorthOffsetKm | 300 | km | nr: UE cluster ground offset north of the t=0 sub-satellite point (km); 300 km puts the UE near 60 deg elevation at 600 km |
Feeder gateway ground distance north of the UEs --gwDistanceKm | 500 | km | nr: feeder gateway ground distance north of the UEs (km) |
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-cbr-leo-link"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-cbr-leo-link --simTime=10 --intervalMs=5 --pktSize=1024 --errorRate=0.01 --delayMs=12.885 --dataRateMbps=50 --radio=nr --numUes=1 --altitudeKm=600 --ueNorthOffsetKm=300 --gwDistanceKm=500"More Traffic Models examples
- NRTV video over a point-to-point link
- NRTV traffic model distributions
- Native NR features over NTN
- 5G-LENA FR1 link in S-band
- NR A3 handover between two satellites
- Four 5QI QoS flows on one LEO cell
- Measured NR NTN cell quick test
- Scalability envelope by load regime
- Satellite array gain against angle
- TR 38.821 link budget calibration
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}
}