Skip to content
Example · Terahertz NTN

EKF beam tracking over an SGP4 pass

An EKF or position-based tracker steers the beam during an SGP4 pass. Pointing error becomes a live loss on a measured link, so the two modes can be compared on SINR and goodput.

thz-ntn-beam-tracking about 60 s on the server

Parameters (8)

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

ParameterDefaultUnitDescription
Tracking mode
--trackingMode
EKF-Tracking mode: EKF or POSITION_BASED
Tracking update rate
--updateRate
10HzTracking update rate (Hz)
Simulation duration
--simSeconds
40sSimulation duration (s)
Carrier frequency
--freqGHz
100GHzCarrier frequency (GHz), capped at 100
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
UM-MIMO array side N
--arraySize
32-UM-MIMO array side N (N x N elements)
Beam measurement noise RMS
--measNoiseDeg
0.05degBeam measurement noise RMS (deg)

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-beam-tracking"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "thz-ntn-beam-tracking --trackingMode=EKF --updateRate=10 --simSeconds=40 --freqGHz=100 --satEirpDbm=115 --radio=nr --arraySize=32 --measNoiseDeg=0.05"

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