Example · Network Slicing
Three slices across LEO and GEO
eMBB, URLLC and mMTC slices on a combined LEO and GEO network, with URLLC kept off GEO. The 1 Hz orchestrator's PRB split is checked against measured LEO and GEO latency.
ntn-three-slice-leo-geo about 60 s on the server
Parameters (10)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --simTime | 30 | s | Simulation duration (s) |
UEs on the measured LEO cell --numUes | 3 | - | UEs on the measured LEO cell |
Force URLLC over GEO --urllcViaGeo | false | - | Force URLLC over GEO (tests the GEO-skip rule) |
Drive the orchestrator with priority shares --useRlShares | false | - | Drive the orchestrator with priority shares (RL hook) instead of its default step |
Total PRB budget --totalPrb | 0 | - | Total PRB budget (resource blocks) |
LEO power --satEirpDbm | -1 | dBm | LEO power (dBm): -1 = TR 38.821 Set-1 (nr) or 55 dBm conducted (mmwave); else conducted dBm Leave at -1 for the TR 38.821 Set-1 S-band EIRP density (34 dBW/MHz, about 77 dBm EIRP over 20 MHz; the conducted power is derived from it and the array gain). Any other value is the conducted power at the array input in dBm (the array adds about 18 dB); values below about 40 dBm leave the link without usable throughput. |
Radio backend --radio | nr | - | Radio backend: nr (FR1) or mmwave |
Per-slice KPI CSV file --csv | ntn-three-slice.csv | - | Per-slice KPI CSV file |
LEO feeder+core one-way delay --backhaulMs | 5 | ms | LEO feeder+core one-way delay (ms), used only when gwDistanceKm <= 0 |
Gateway ground distance north of the UE site --gwDistanceKm | 500 | km | Gateway ground distance north of the UE site (km); the LEO feeder delay follows the live satellite-gateway range. <= 0 keeps the constant backhaulMs |
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 "ntn-three-slice-leo-geo"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-three-slice-leo-geo --simTime=30 --numUes=3 --urllcViaGeo=false --useRlShares=false --totalPrb=0 --satEirpDbm=-1 --radio=nr --csv=ntn-three-slice.csv --backhaulMs=5 --gwDistanceKm=500"More Network Slicing 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.
@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}
}