Skip to content
Example · SAGIN

UAV swarm served by a ground gNB

Eight UAVs on waypoint, patrol and search patterns served by a ground gNB over a measured NR cell with the TR 36.777 rural air-to-ground channel. Per-UAV SINR and throughput.

sagin-uav-swarm about 60 s on the server

Parameters (12)

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

ParameterDefaultUnitDescription
Simulation duration
--simTime
30sSimulation duration (s)
Carrier frequency
--fcGHz
2.185GHzCarrier frequency (GHz)
Ground gNB transmit power
--gnbTxDbm
0dBmGround gNB transmit power (dBm)
Radio backend
--radio
nr-Radio backend: nr (FR1) or mmwave
TR 38.811 ground terminals served next to the swarm
--groundUes
2-TR 38.811 ground terminals served next to the swarm
GNB backhaul over a bent-pipe LEO hop
--leoBackhaul
true-gNB backhaul over a bent-pipe LEO hop (SGP4 Walker shell)
Allowed: true, false
GNB site latitude
--siteLat
46deggNB site latitude (deg)
GNB site longitude
--siteLon
-100deggNB site longitude (deg)
LEO gateway latitude
--gwLat
46.88degLEO gateway latitude (deg)
LEO gateway longitude
--gwLon
-96.79degLEO 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-uav-swarm"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "sagin-uav-swarm --simTime=30 --fcGHz=2.185 --gnbTxDbm=0 --radio=nr --groundUes=2 --leoBackhaul=true --siteLat=46 --siteLon=-100 --gwLat=46.88 --gwLon=-96.79 --bhMaskDeg=25 --bhMbps=100"

List every argument with ./ns3 run "sagin-uav-swarm --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}
}