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)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --duration | 12 | s | Simulation duration (s) |
Number of ground UEs --numUes | 4 | - | Number of ground UEs |
Aerial gNB altitude above ground --uavAlt | 100 | m | Aerial gNB altitude above ground (m) |
Aerial gNB conducted transmit power --gnbTxDbm | 24 | dBm | Aerial gNB conducted transmit power (dBm); 24 is the TS 38.104 Local Area BS class |
Offered eMBB load per UE --offeredLoadMbps | 5 | Mbit/s | Offered eMBB load per UE (Mb/s); raise it to drive the cell into overload |
Carrier frequency --freqGhz | 2.185 | GHz | Carrier frequency (GHz) |
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) |
Platform ground-point latitude --siteLat | 39.74 | deg | platform ground-point latitude (deg) |
Platform ground-point longitude --siteLon | -104.99 | deg | platform ground-point longitude (deg) |
LEO gateway latitude --gwLat | 40.58 | deg | LEO gateway latitude (deg) |
LEO gateway longitude --gwLon | -105.08 | deg | LEO gateway longitude (deg) |
Backhaul elevation mask at site and gateway --bhMaskDeg | 25 | deg | backhaul elevation mask at site and gateway (deg) |
Backhaul rate --bhMbps | 100 | Mbit/s | backhaul rate (Mb/s), sets the Ka noise bandwidth |
Reproduce it locally
With the example's built-in defaults, in the public Docker image:
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:
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"More SAGIN examples
- HAPS, vessel and train mobility
- Remote coverage with shared infrastructure
- Aircraft replayed from an ADS-B trace
- Passenger broadband on a flight
- Flight with E2 KPM reporting
- UAV, HAPS and LEO relay path
- High-speed train under a LEO pass
- Vessel replayed from an AIS trace
- Router-steered multi-hop path
- Shortest-path routing on the contact graph
- Slice steering across HAPS, LEO and GEO
- Store-and-forward IoT over sparse LEO
- UAV swarm served by a ground gNB
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.
@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}
}