Skip to content
Example · Traffic Models

Measured NR NTN cell quick test

One LEO gNB serves a few ground UEs over a measured NR air interface with UDP traffic, using the TR 38.821 Set-1 terminal and payload (77 dBm EIRP over 20 MHz) and a real gateway feeder. Reports SINR, TBLER and throughput; channel=ns3ntn, fading=0 and excessLoss=0 help with link-budget checks.

ntn-real-stack-smoke about 60 s on the server

Parameters (20)

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

ParameterDefaultUnitDescription
Abort the run if any fidelity gate fails, instead of...
--strictGates
false-Abort the run if any fidelity gate fails, instead of printing FAIL and continuing
Allowed: true, false
Simulation time
--simTime
10sSimulation time [s]
3GPP spatial-channel regeneration period
--channelUpdateMs
-1ms3GPP spatial-channel regeneration period [ms]. 0 freezes the cluster geometry at t=0 for the whole run; -1 keeps the helper default.
Apply the service-link propagation delay on the air...
--airDelay
false-Apply the service-link propagation delay on the air interface instead of the backhaul Known limitation: with this on, the vendored NR stack cannot carry a multi-millisecond LEO slant on the air interface; most LEO geometries then abort or deliver no data (see the toolkit's SCOPE_AND_LIMITATIONS.md, A6). Leave it off for realistic throughput; the delay is still modeled on the backhaul.
Allowed: true, false
GNB TDD slot pattern, e.g
--tddPattern
(empty)-gNB TDD slot pattern, e.g. "DL|DL|DL|F|UL|DL|DL|DL|F|UL|". Empty keeps the ns-3 all-flexible default.
Number of ground UEs
--numUes
4-Number of ground UEs
Satellite altitude
--altKm
600kmSatellite altitude [km]
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.
Carrier frequency
--freqGhz
2.185GHzCarrier frequency [GHz]
Allowed: 0.5 to 100
Bw Mhz
--bwMhz
20MHzBandwidth [MHz]
Radio backend
--radio
nr-Radio backend: nr (FR1) or mmwave
Apply the TR 38.811 6.4.1 satellite beam pattern
--satBeam
false-Apply the TR 38.811 6.4.1 satellite beam pattern (off-boresight roll-off) to the measured channel; changes every measured SINR
Allowed: true, false
3 dB beamwidth for --satBeam
--beamwidthDeg
4.4127deg3 dB beamwidth for --satBeam [deg]
Fixed beam-center offset along +x for satBeam
--beamCenterXKm
0kmFixed beam-center offset along +x for satBeam (km); 0 keeps the beam on the terminal, so the roll-off is 0 dB
TR 38.811 scenario for shadow-fading sigma
--ntnScenario
suburban-TR 38.811 scenario for shadow-fading sigma: denseurban, urban, suburban or rural
With the default --satEirpDbm on the nr S-band carrier
--set1
true-With the default --satEirpDbm on the nr S-band carrier: TR 38.821 Set-1 handheld terminal (1T2R 0 dBi, NF 7 dB, 23 dBm) and payload (34 dBW/MHz). 0 = the legacy 70 dBm conducted operating point.
Allowed: true, false
Channel
--channel
legacy-legacy (Friis + TR 38.811 excess + UMi LOS spatial) or ns3ntn (ns-3 mainline TR 38.811 NTN path loss, condition and fast fading)
Small-scale fading on the spatial channel
--fading
true-Small-scale fading on the spatial channel (0 = LOS plane wave)
Allowed: true, false
Gateway ground distance north of the UE site
--gwDistanceKm
500kmGateway ground distance north of the UE site (km) for the feeder; <= 0 keeps the 5 ms constant backhaul
Legacy channel only
--excessLoss
true-Legacy channel only: chain the TR 38.811 excess terms (gas, shadow fading, scintillation). 0 leaves free space, for a closed-form link-budget check.
Allowed: true, false

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-real-stack-smoke"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-real-stack-smoke --strictGates=false --simTime=10 --channelUpdateMs=-1 --airDelay=false --numUes=4 --altKm=600 --satEirpDbm=-1 --freqGhz=2.185 --bwMhz=20 --radio=nr --satBeam=false --beamwidthDeg=4.4127 --beamCenterXKm=0 --ntnScenario=suburban --set1=true --channel=legacy --fading=true --gwDistanceKm=500 --excessLoss=true"

List every argument with ./ns3 run "ntn-real-stack-smoke --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}
}