Skip to content
Example · Terahertz NTN

Gaseous absorption sweep

Slant-path gaseous absorption over carrier frequency, elevation and water-vapor column (ITU-R P.676 line by line or lookup table), written to CSV.

thz-ntn-absorption-sweep about 25 s on the server

Parameters (15)

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

ParameterDefaultUnitDescription
Absorption engine
--mode
inproc-Absorption engine: inproc (line by line), lut (bundled table) or lutfile
Absorption table used by lut and lutfile modes
--lutFile
contrib/thz-ntn/data/hitran2024-lut-subthz.csv-Absorption table used by lut and lutfile modes
Reference atmosphere
--profile
global-annual-Reference atmosphere (humidity profile)
Output CSV file
--out
thz-ntn-absorption-sweep.csv-Output CSV file
Elevations, comma separated
--elevs
10,15,20,30,45,60,90degElevations, comma separated (deg)
Water-vapor columns, comma separated
--pwvs
1,2,5,10,15,20,30,45,60mmWater-vapor columns, comma separated (mm); none = profile as published
First carrier frequency
--fStart
300GHzFirst carrier frequency (GHz)
Last carrier frequency
--fStop
1000GHzLast carrier frequency (GHz)
Carrier frequency step
--fStep
2GHzCarrier frequency step (GHz) (dashboard default 2 GHz so a public run ends in about 20 s; 0.5 GHz takes about 5 min)
Satellite altitude
--hSat
550kmSatellite altitude (km)
Integration sub-steps per atmospheric layer
--steps
10-Integration sub-steps per atmospheric layer
Run the measured packet companion after the sweep
--companion
true-Run the measured packet companion after the sweep
Allowed: true, false
Companion carrier
--companionFreqGhz
300GHzCompanion carrier (GHz)
Companion run length
--simSeconds
20sCompanion run length (s)
Companion offered 5QI 2 load
--appRateMbps
1000Mbit/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-absorption-sweep"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "thz-ntn-absorption-sweep --mode=inproc --lutFile=contrib/thz-ntn/data/hitran2024-lut-subthz.csv --profile=global-annual --out=thz-ntn-absorption-sweep.csv --elevs=10,15,20,30,45,60,90 --pwvs=1,2,5,10,15,20,30,45,60 --fStart=300 --fStop=1000 --fStep=2 --hSat=550 --steps=10 --companion=true --companionFreqGhz=300 --simSeconds=20 --appRateMbps=1000"

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