Example · Terahertz NTN
RIS control xApp under blockage
An xApp engages a ground RIS when KPM SINR falls below a threshold. Goodput collapses under an urban blockage, recovers when the RIS engages and holds when it clears.
thz-ntn-ric-controlled-traffic about 60 s on the server
Parameters (10)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --simSeconds | 40 | s | Simulation duration (s) |
THz carrier frequency --freqGHz | 100 | GHz | THz carrier frequency (GHz), capped at 100 |
Satellite EIRP / gNB Tx power --satEirpDbm | 115 | dBm | Satellite EIRP / gNB Tx power (dBm) |
Radio backend --radio | nr | - | Radio backend: nr (FR1) or mmwave |
Urban-canyon blockage applied mid-run --blockageDb | 35 | dB | Urban-canyon blockage applied mid-run (dB) |
Intrinsic SINR below which the xApp engages the RIS --sinrThreshDb | 15 | dB | Intrinsic SINR below which the xApp engages the RIS (dB) |
Enable the RIS control xApp --xapp | true | - | Enable the RIS control xApp |
RIS panel side N --risN | 64 | - | RIS panel side N (N x N elements) |
RIS-to-terminal distance in m --risDistM | 10 | - | RIS-to-terminal distance in m (far field) |
Humidity profile label --humidityProfile | mid_latitude_summer | - | Humidity profile label (reporting only) |
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-ric-controlled-traffic"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "thz-ntn-ric-controlled-traffic --simSeconds=40 --freqGHz=100 --satEirpDbm=115 --radio=nr --blockageDb=35 --sinrThreshDb=15 --xapp=true --risN=64 --risDistM=10 --humidityProfile=mid_latitude_summer"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
- THz atmospheric loss on a measured cell
- 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}
}