Skip to content
Example · Terahertz NTN

Rain cell over a sub-THz pass

A rain cell drifts over the ground station during a sub-THz pass. Per-RB P.838 rain attenuation is integrated along the live slant path, so nothing is scripted (scripted=1 restores the old timed front). Measured SINR and goodput follow the rain.

thz-ntn-weather-traffic about 60 s on the server

Parameters (20)

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
40sSimulation duration (s)
Carrier frequency
--freqGHz
100GHzCarrier frequency (GHz)
Allowed: 0.5 to 100
Satellite EIRP / gNB Tx power
--satEirpDbm
115dBmSatellite EIRP / gNB Tx power (dBm)
Radio backend
--radio
nr-Radio backend: nr (FR1) or mmwave
Rain rate during the rain phase
--rainMmH
25mm/hRain rate during the rain phase (mm/h)
Fog liquid water content
--fogLwc
0.5-Fog liquid water content (g/m^3)
Snow rate during the snow phase
--snowMmH
10mm/hSnow rate during the snow phase (mm/h)
Scripted
--scripted
false-1 = earlier timed weather front (fog, rain, wet snow)
Allowed: true, false
Satellite transmitter output power
--satTxW
10WSatellite transmitter output power (W)
Satellite reflector diameter
--satDishM
0.5mSatellite reflector diameter (m)
Ground reflector diameter
--gndDishM
0.6mGround reflector diameter (m)
Ground receiver noise figure
--nfDb
7dBGround receiver noise figure (dB)
Channel bandwidth
--bandwidthMHz
100MHzChannel bandwidth (MHz)
NR numerology
--numerology
3-NR numerology (3 = 120 kHz, extrapolated)
Rain-cell peak rate
--cellPeakMmH
30mm/hRain-cell peak rate (mm/h)
Rain-cell e-folding radius
--cellR0Km
1.5kmRain-cell e-folding radius (km)
Cell advection speed toward east
--windMps
20m/sCell advection speed toward east (m/s)
Rain-cell center east offset at t=0
--cellStartKm
-1.2kmRain-cell center east offset at t=0 (km, negative = west)
Cloud liquid water content
--cloudLwc
0-Cloud liquid water content (g/m^3)
Offered downlink CBR
--offeredMbps
5Mbit/sOffered downlink CBR (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-weather-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-weather-traffic --simSeconds=40 --freqGHz=100 --satEirpDbm=115 --radio=nr --rainMmH=25 --fogLwc=0.5 --snowMmH=10 --scripted=false --satTxW=10 --satDishM=0.5 --gndDishM=0.6 --nfDb=7 --bandwidthMHz=100 --numerology=3 --cellPeakMmH=30 --cellR0Km=1.5 --windMps=20 --cellStartKm=-1.2 --cloudLwc=0 --offeredMbps=5"

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