RIS recovery of a blocked sub-THz link
A truck blocks the line of sight by geometry (TR 38.901 blockage model B on the radio). A 64x64 RIS adds a coherent second ray per the cascaded aperture law, engaged by a measured-SINR controller. Blocked goodput is about 5 % of LOS without the RIS and 55 % with it.
Parameters (19)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --simSeconds | 30 | s | Simulation duration (s) |
Satellite transmitter output --satTxW | 20 | W | Satellite transmitter output (W) |
Satellite reflector diameter --satDishM | 0.5 | m | Satellite reflector diameter (m) |
Terminal steerable-array gain --ueGainDbi | 30 | dBi | Terminal steerable-array gain (dBi) |
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) |
RIS elements along x --risX | 64 | - | RIS elements along x |
RIS elements along y --risY | 64 | - | RIS elements along y |
RIS reflection efficiency --reflEff | 0.9 | - | RIS reflection efficiency |
RIS distance north of the terminal --risNorthM | 15 | m | RIS distance north of the terminal (m) |
RIS height --risHeightM | 6 | m | RIS height (m) |
Truck speed toward east --truckSpeed | 1.5 | m/s | Truck speed toward east (m/s) |
Truck center east offset at t=0 --truckStartX | -15 | m | Truck center east offset at t=0 (m) |
Offered downlink CBR --offeredMbps | 100 | Mbit/s | Offered downlink CBR (Mb/s) |
Controller time-to-trigger --tttS | 1 | s | Controller time-to-trigger (s) |
Direct-ray terminal gain when the beam is on the RIS --sidelobeDb | -20 | dB | Direct-ray terminal gain when the beam is on the RIS (dB) |
RIS --ris | true | - | 1 = RIS deployed (default), 0 = no RIS |
Scripted --scripted | false | - | 1 = earlier scripted blockage and RIS timeline |
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-ris-relay-traffic"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "thz-ntn-ris-relay-traffic --simSeconds=30 --satTxW=20 --satDishM=0.5 --ueGainDbi=30 --nfDb=7 --bandwidthMHz=100 --numerology=3 --risX=64 --risY=64 --reflEff=0.9 --risNorthM=15 --risHeightM=6 --truckSpeed=1.5 --truckStartX=-15 --offeredMbps=100 --tttS=1 --sidelobeDb=-20 --ris=true --scripted=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
- THz atmospheric loss on a measured cell
- RIS control xApp under blockage
- RIS gain analysis
- 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}
}