Skip to content
Example · SAGIN

UAV air-to-ground link (TR 36.777)

A UAV or HAPS gNB serves ground UEs over a measured NR cell with the TR 36.777 air-to-ground path loss. Compare the LOS and NLOS branches across scenarios.

sagin-a2g-real-stack about 60 s on the server

Parameters (17)

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

ParameterDefaultUnitDescription
Simulation duration
--duration
12sSimulation duration (s)
Number of ground UEs
--numUes
4-Number of ground UEs
Aerial gNB altitude above ground
--uavAlt
100mAerial gNB altitude above ground (m)
Aerial gNB conducted transmit power
--gnbTxDbm
24dBmAerial gNB conducted transmit power (dBm); 24 is the TS 38.104 Local Area BS class
Offered eMBB load per UE
--offeredLoadMbps
5Mbit/sOffered eMBB load per UE (Mb/s); raise it to drive the cell into overload
Carrier frequency
--freqGhz
2.185GHzCarrier frequency (GHz)
Allowed: 0.5 to 100
TR 36.777 link branch
--link
NLOS-TR 36.777 link branch: LOS | NLOS
TR 36.777 scenario
--scenario
UMa_AV-TR 36.777 scenario: UMa_AV | RMa_AV | UMi_AV
Radio backend
--radio
nr-Radio backend: nr (FR1) or mmwave
Ground UEs
--ueLayout
tr38811-ground UEs: tr38811 (TR 38.811 class mix, default) | line (fixed line)
Aerial gNB backhaul over a bent-pipe LEO hop
--leoBackhaul
true-aerial gNB backhaul over a bent-pipe LEO hop (SGP4 Walker shell)
Allowed: true, false
Platform ground-point latitude
--siteLat
39.74degplatform ground-point latitude (deg)
Platform ground-point longitude
--siteLon
-104.99degplatform ground-point longitude (deg)
LEO gateway latitude
--gwLat
40.58degLEO gateway latitude (deg)
LEO gateway longitude
--gwLon
-105.08degLEO gateway longitude (deg)
Backhaul elevation mask at site and gateway
--bhMaskDeg
25degbackhaul elevation mask at site and gateway (deg)
Backhaul rate
--bhMbps
100Mbit/sbackhaul rate (Mb/s), sets the Ka noise bandwidth

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 "sagin-a2g-real-stack"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "sagin-a2g-real-stack --duration=12 --numUes=4 --uavAlt=100 --gnbTxDbm=24 --offeredLoadMbps=5 --freqGhz=2.185 --link=NLOS --scenario=UMa_AV --radio=nr --ueLayout=tr38811 --leoBackhaul=true --siteLat=39.74 --siteLon=-104.99 --gwLat=40.58 --gwLon=-105.08 --bhMaskDeg=25 --bhMbps=100"

List every argument with ./ns3 run "sagin-a2g-real-stack --PrintHelp".

More SAGIN 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}
}