Example · Terahertz NTN
THz atmospheric loss on a measured cell
Declared payload and dishes (10 W, 0.5 m satellite and 0.3 m terminal reflectors) on a measured NR LEO cell with per-RB P.676 absorption and P.618 rain, applied in the second half of the run so its effect on measured SINR is visible. Optional 3D export.
thz-ntn-real-stack about 80 s on the server
Parameters (16)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --duration | 4 | s | Simulation duration (s) (short dashboard default; full-scale value 16.0) |
Number of ground UEs --numUes | 4 | - | Number of ground UEs |
Satellite altitude --altitude | 550 | km | Satellite altitude (km) |
Carrier frequency --freqGhz | 100 | GHz | Carrier frequency (GHz) |
Satellite EIRP / gNB Tx power --satEirpDbm | 92 | dBm | Satellite EIRP / gNB Tx power (dBm) |
Radio backend --radio | nr | - | Radio backend: nr (FR1) or mmwave |
Rain rate applied in the second half of the run --rainMmH | 4 | mm/h | Rain rate applied in the second half of the run (mm/h) |
Satellite transmitter output --satTxW | 10 | W | Satellite transmitter output (W) |
Satellite reflector diameter --satDishM | 0.5 | m | Satellite reflector diameter (m) |
Terminal reflector diameter --ueDishM | 0.3 | m | Terminal reflector diameter (m) |
Terminal noise figure --nfDb | 7 | dB | Terminal noise figure (dB) |
Channel bandwidth --bandwidthMHz | 100 | MHz | Channel bandwidth (MHz) |
NR numerology --numerology | 3 | - | NR numerology (3 = 120 kHz, extrapolated above 71 GHz) |
Legacy conducted --legacyConductedDbm | false | dBm | 1 = earlier operating point: satEirpDbm used as conducted power, mu 1, one scalar loss |
NetSimulyzer 3D JSON trace output path --netSim | (empty) | - | NetSimulyzer 3D JSON trace output path (empty = off) |
Cesium CZML 3D trace output path --czml | (empty) | - | Cesium CZML 3D trace output path (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 "thz-ntn-real-stack"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "thz-ntn-real-stack --duration=4 --numUes=4 --altitude=550 --freqGhz=100 --satEirpDbm=92 --radio=nr --rainMmH=4 --satTxW=10 --satDishM=0.5 --ueDishM=0.3 --nfDb=7 --bandwidthMHz=100 --numerology=3 --legacyConductedDbm=false"More Terahertz NTN examples
- Gaseous absorption sweep
- Absorption avoided by a raised relay
- EKF beam tracking over an SGP4 pass
- D-band constellation access
- THz scenario collection and datasets
- Integrated THz system demo
- THz ISAC space-debris detection
- ISAC sensing and communication sharing
- THz ISL link budget
- Sub-THz ISL with real packets
- LEO-to-ground link budget at 225 GHz
- Sub-THz LEO downlink with real packets
- Packets at 300 GHz
- RIS control xApp under blockage
- RIS gain analysis
- RIS recovery of a blocked sub-THz link
- UM-MIMO array characterization
- Rain cell over a sub-THz pass
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}
}