Timing advance and SIB19 with 3D export
Timing advance and SIB19 over a LEO pass on a measured NR cell. UE 0 computes its TA from the SIB19 it decoded over the radio (carried on a data bearer, not yet as system information; 16 ns maximum error), the gateway is the uplink sync reference and the scheduler consumes the broadcast K_offset. Optional NetSimulyzer and Cesium CZML 3D export.
Parameters (13)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --duration | 20 | s | Simulation duration (s) |
Number of UEs on the serving cell --numUes | 4 | - | Number of UEs on the serving cell |
Satellite altitude --altitude | 550 | km | Satellite altitude (km) |
Satellite EIRP --satEirpDbm | -1 | dBm | -1 = TR 38.821 Set-1 S-band EIRP density (34 dBW/MHz); otherwise conducted power at the array input (dBm) 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. |
Radio backend --radio | nr | - | Radio backend: nr (FR1) or mmwave |
Carrier frequency --freqGhz | 2.185 | GHz | Carrier frequency (GHz) |
Transparent --transparent | true | - | Transparent (true) vs regenerative (false) payload |
UE 0 computes its TA from the decoded SIB19 --ueTa | true | - | UE 0 computes its TA from the decoded SIB19 (TS 38.213 4.2) |
Uplink sync reference --sib19Ref | auto | - | Uplink sync reference: auto (gateway if transparent, satellite if regenerative), legacy (beam center, double counts the service link), gateway or satellite |
Nr scheduler consumes the broadcast K_offset --kOffset | true | - | nr scheduler consumes the broadcast K_offset (N2Delay) |
UE GNSS horizontal 1-sigma error --gnssSigma | 0 | m | UE GNSS horizontal 1-sigma error (m) |
NetSimulyzer 3D JSON output --netSim | (empty) | - | NetSimulyzer 3D JSON output (empty=off) |
Cesium CZML 3D output --czml | (empty) | - | Cesium CZML 3D output (empty=off) |
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-rrc-real-stack"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-rrc-real-stack --duration=20 --numUes=4 --altitude=550 --satEirpDbm=-1 --radio=nr --freqGhz=2.185 --transparent=true --ueTa=true --sib19Ref=auto --kOffset=true --gnssSigma=0"More NR-NTN RRC 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.
@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}
}