Example · Traffic Models
Satellite array gain against angle
The same LEO-600 pass (Kepler orbit with J2) with a steered and a fixed beam, showing that the satellite array gain depends on the off-boresight angle. Measured CNR against the TR 38.821 closed form.
ntn-tr38821-array-gain-calibration about 35 s on the server
Parameters (9)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration per regime --simSeconds | 120 | s | Simulation duration per regime (s) |
Sampling period --samplePeriodS | 1 | s | Sampling period (s) |
Satellite beam 3 dB beamwidth --beamwidthDeg | 4.4127 | deg | Satellite beam 3 dB beamwidth (deg) |
Deepest applied sidelobe roll-off --rolloffFloorDb | -40 | dB | Deepest applied sidelobe roll-off (dB) |
Regime B boresight --boresightMode | point | - | Regime B boresight: point (fixed ground cell centre) | nadir | direction |
Regime B 'point' mode --boresightOffsetKm | 60 | km | Regime B 'point' mode: cell-centre offset along the ground track (km) |
Keep the TR 38.811 excess-loss chain --excessLoss | true | - | Keep the TR 38.811 excess-loss chain |
Radio backend --radio | mmwave | - | Radio backend: mmwave (calibrated) or nr (experimental) |
Pattern-fidelity RMS gate --patternTolDb | 3 | dB | Pattern-fidelity RMS gate (dB) |
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-tr38821-array-gain-calibration"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-tr38821-array-gain-calibration --simSeconds=120 --samplePeriodS=1 --beamwidthDeg=4.4127 --rolloffFloorDb=-40 --boresightMode=point --boresightOffsetKm=60 --excessLoss=true --radio=mmwave --patternTolDb=3"More Traffic Models examples
- NRTV video over a point-to-point link
- 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
- 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}
}