Skip to content
Example · Terahertz NTN

RIS gain analysis

Direct against RIS-assisted THz satellite downlink at a chosen elevation. Analytic, no packets. The RIS gain column is the array factor over one element (the N squared law); the link improvement is the cascaded-law value printed beside it.

thz-ntn-ris-assisted about 60 s on the server

Parameters (9)

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

ParameterDefaultUnitDescription
Carrier frequency
--freq
300000000000HzCarrier frequency (Hz); 300e9 = 300 GHz
RIS elements per side
--risSize
64-RIS elements per side
Elevation angle
--elevation
30degElevation angle (deg)
Satellite transmit power
--txPower
34.77dBmSatellite transmit power (dBm)
Run the measured packet companion
--companion
true-Run the measured packet companion (direct vs RIS)
Allowed: true, false
Companion aperture gain at both ends
--companionGainDbi
55dBiCompanion aperture gain at both ends (dBi)
Companion channel bandwidth
--companionBandwidthGhz
1GHzCompanion channel bandwidth (GHz)
Companion run length
--simSeconds
20sCompanion run length (s)
Companion offered 5QI 2 load
--appRateMbps
500Mbit/sCompanion offered 5QI 2 load (Mb/s)

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

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-assisted --freq=300000000000 --risSize=64 --elevation=30 --txPower=34.77 --companion=true --companionGainDbi=55 --companionBandwidthGhz=1 --simSeconds=20 --appRateMbps=500"

List every argument with ./ns3 run "thz-ntn-ris-assisted --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}
}