Example · SAGIN
Flight with E2 KPM reporting
A long-haul flight served by a LEO satellite on a measured NR cell, with E2 KPM reports to a Near-RT RIC. A release occurs when SINR drops below the service threshold.
sagin-flight-leo-e2 about 60 s on the server
Parameters (9)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --simSeconds | 30 | s | Simulation duration (s) |
E2-KPM reporting period --reportMs | 500 | ms | E2-KPM reporting period (ms) |
Min elevation for in-service --minElevDeg | 10 | deg | Min elevation for in-service (deg) |
Aircraft cruise altitude --cruiseAltM | 11000 | m | Aircraft cruise altitude (m) |
Aircraft cruise speed --cruiseSpeed | 250 | m/s | Aircraft cruise speed (m/s) |
Satellite altitude --satAltM | 550000 | m | Satellite altitude (m) |
Sat Speed --satSpeed | 7500 | m/s | IGNORED: SGP4 sets the orbital speed from the altitude (m/s) |
Satellite EIRP / gNB Tx power --satEirpDbm | 80 | dBm | Satellite EIRP / gNB Tx power (dBm) |
Radio backend --radio | nr | - | Radio backend: nr (FR1) or mmwave |
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-flight-leo-e2"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "sagin-flight-leo-e2 --simSeconds=30 --reportMs=500 --minElevDeg=10 --cruiseAltM=11000 --cruiseSpeed=250 --satAltM=550000 --satSpeed=7500 --satEirpDbm=80 --radio=nr"More SAGIN examples
- HAPS, vessel and train mobility
- Remote coverage with shared infrastructure
- UAV air-to-ground link (TR 36.777)
- Aircraft replayed from an ADS-B trace
- Passenger broadband on a flight
- 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}
}