Example · Traffic Models
NRTV video over a point-to-point link
Near-real-time video streaming between a server and a client over one point-to-point link. Writes a gnuplot trace of the traffic the client receives.
nrtv-p2p-example about 60 s on the server
Parameters (7)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulated duration --time | 10 | s | Simulated duration (s) |
Transport protocol --protocol | UDP | - | Transport protocol: TCP or UDP |
Print trace information --verbose | false | - | Print trace information |
Radio --radio | nr | - | nr (default: SGP4 satellite gNB, NR-NTN radio, EPC) or p2p (the original 5 Mb/s, 2 ms point-to-point link) |
Satellite altitude --altitudeKm | 600 | km | nr: satellite altitude (km) |
UE ground offset north of the t=0 sub-satellite point --ueNorthOffsetKm | 300 | km | nr: UE ground offset north of the t=0 sub-satellite point (km) |
Feeder gateway ground distance north of the UE --gwDistanceKm | 500 | km | nr: feeder gateway ground distance north of the UE (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 "nrtv-p2p-example"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "nrtv-p2p-example --time=10 --protocol=UDP --verbose=false --radio=nr --altitudeKm=600 --ueNorthOffsetKm=300 --gwDistanceKm=500"More Traffic Models examples
- NRTV traffic model distributions
- CBR traffic over a LEO-600 link
- 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}
}