Skip to content
Example · Terahertz NTN

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.

thz-ntn-ris-relay-traffic about 60 s on the server

Parameters (19)

Defaults are the values the browser run form starts from. Pass any of them on the command line as --name=value.

ParameterDefaultUnitDescription
Simulation duration
--simSeconds
30sSimulation duration (s)
Satellite transmitter output
--satTxW
20WSatellite transmitter output (W)
Satellite reflector diameter
--satDishM
0.5mSatellite reflector diameter (m)
Terminal steerable-array gain
--ueGainDbi
30dBiTerminal steerable-array gain (dBi)
Terminal noise figure
--nfDb
7dBTerminal noise figure (dB)
Channel bandwidth
--bandwidthMHz
100MHzChannel 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
15mRIS distance north of the terminal (m)
RIS height
--risHeightM
6mRIS height (m)
Truck speed toward east
--truckSpeed
1.5m/sTruck speed toward east (m/s)
Truck center east offset at t=0
--truckStartX
-15mTruck center east offset at t=0 (m)
Offered downlink CBR
--offeredMbps
100Mbit/sOffered downlink CBR (Mb/s)
Controller time-to-trigger
--tttS
1sController time-to-trigger (s)
Direct-ray terminal gain when the beam is on the RIS
--sidelobeDb
-20dBDirect-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
Allowed: true, false

Reproduce it locally

With the example's built-in defaults, in the public Docker image:

shell
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:

shell
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"

List every argument with ./ns3 run "thz-ntn-ris-relay-traffic --PrintHelp".

More Terahertz NTN 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.

BibTeX
@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}
}