Example · Network Slicing
MAC quota scheduler over an SGP4 pass
eMBB, URLLC and mMTC slices on one NR NTN cell with the partition enforced by the MAC quota scheduler. Compare PF, BWP, static and reactive policies, with an optional surge.
ntn-slice-quota-leo about 45 s on the server
Parameters (17)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulated time --duration | 30 | s | Simulated time (s) |
Number of UEs --numUes | 12 | - | Number of UEs (a third per slice) |
Slicing policy --policy | reactive | - | Slicing policy: pf, bwp, static or reactive |
Static quotas for eMBB, URLLC and mMTC --quotas | 0.5,0.3,0.2 | - | Static quotas for eMBB, URLLC and mMTC (fractions, comma separated) |
Control period of the reactive policy --ctrlMs | 100 | ms | control period of the reactive policy (ms) |
Satellite conducted power --satEirpDbm | -1 | dBm | Satellite conducted power (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. |
Gateway ground distance north of the UE site --gwDistanceKm | 500 | km | gateway ground distance north of the UE site (km); the feeder delay follows the live satellite-gateway range. <= 0 keeps the constant 5 ms backhaul |
Start time into the pass --startOffset | 0 | s | Start time into the pass (s) |
Offered load per eMBB UE --embbMbps | 5 | Mbit/s | offered load per eMBB UE (Mb/s) |
Offered load per eMBB UE during the surge --surgeMbps | 0 | Mbit/s | offered load per eMBB UE during the surge (Mb/s, 0 = none) |
Surge start --surgeStart | 10 | s | surge start (s) |
Surge end --surgeStop | 20 | s | surge end (s) |
URLLC packet size --urllcBytes | 0 | bytes | URLLC packet size (bytes, 0 = default) |
URLLC period --urllcPeriodMs | 0 | ms | URLLC period (ms, 0 = default) |
Reactive policy --headroom | 1.25 | - | Reactive policy: quota headroom over the measured need (factor) |
UE cluster offset north of the sub-satellite point --ueOffsetDeg | 0 | deg | UE cluster offset north of the sub-satellite point (deg) |
Carrier bandwidth --bwMhz | 20 | MHz | Carrier bandwidth (MHz) |
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-slice-quota-leo"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-slice-quota-leo --duration=30 --numUes=12 --policy=reactive --quotas=0.5,0.3,0.2 --ctrlMs=100 --satEirpDbm=-1 --gwDistanceKm=500 --startOffset=0 --embbMbps=5 --surgeMbps=0 --surgeStart=10 --surgeStop=20 --urllcBytes=0 --urllcPeriodMs=0 --headroom=1.25 --ueOffsetDeg=0 --bwMhz=20"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}
}