Skip to content
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)

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

ParameterDefaultUnitDescription
Simulated duration
--time
10sSimulated duration (s)
Transport protocol
--protocol
UDP-Transport protocol: TCP or UDP
Print trace information
--verbose
false-Print trace information
Allowed: true, false
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
600kmnr: satellite altitude (km)
UE ground offset north of the t=0 sub-satellite point
--ueNorthOffsetKm
300kmnr: UE ground offset north of the t=0 sub-satellite point (km)
Feeder gateway ground distance north of the UE
--gwDistanceKm
500kmnr: feeder gateway ground distance north of the UE (km)

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 "nrtv-p2p-example"

With the same parameters the browser run form starts from:

shell
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"

List every argument with ./ns3 run "nrtv-p2p-example --PrintHelp".

More Traffic Models 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}
}