Example · Network Slicing
Slice scheduling as the satellite recedes
Three slices on one 5G-LENA NTN cell as the satellite recedes. Compare PF, QoS, BWP, static, predictive and reactive quota policies on deadline misses and throughput.
ntn-slice-pass-leo about 35 s on the server
Parameters (21)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Seed of the UE drop and classes --dropSeed | 0 | - | Seed of the UE drop and classes (0 = use the run number) |
Latitude offset of the UE cluster from the sub-satellite point --clusterOffsetDeg | 0 | deg | Latitude offset of the UE cluster from the sub-satellite point (deg) |
Model decoding errors and retransmissions --blockErrors | true | - | Model decoding errors and retransmissions (false = error-free) |
Simulated time --duration | 10 | s | Simulated time (s) (short dashboard default; full-scale value 100.0) |
Number of UEs --numUes | 12 | - | Number of UEs (a third per slice) |
Slicing policy --policy | reactive | - | Slicing policy: pf, qos, bwp, static, predict or reactive |
Static quotas for eMBB, delay-critical and mMTC --quotas | 0.4,0.5,0.1 | - | Static quotas for eMBB, delay-critical and mMTC (fractions, comma separated) |
Quotas of predict and reactive before their first step --initQuotas | 0.4,0.5,0.1 | - | Quotas of predict and reactive before their first step (fractions) |
Quota floors for eMBB, delay-critical and mMTC --floors | 0.1,0.1,0.05 | - | Quota floors for eMBB, delay-critical and mMTC (fractions) |
Predict policy --bprTable | (empty) | - | Predict policy: elevation:bytesPerRbg pairs, comma separated |
Control period --ctrlMs | 100 | ms | Control period (ms) |
Quota headroom over the measured or predicted need --headroom | 1.25 | - | Quota headroom over the measured or predicted need (factor) |
Satellite conducted power --satEirpDbm | 55 | dBm | Satellite conducted power (dBm) |
Place the UE cluster at the sub-satellite point this many... --ueBehindS | 20 | s | Place the UE cluster at the sub-satellite point this many seconds before the start (s) |
Offered load per eMBB UE --embbMbps | 30 | Mbit/s | Offered load per eMBB UE (Mb/s) |
Delay-critical packet size --critBytes | 500 | bytes | Delay-critical packet size (bytes) |
Delay-critical packet period per UE --critPeriodMs | 1 | ms | Delay-critical packet period per UE (ms) |
Delay-critical packet delay budget --deadlineMs | 50 | ms | Delay-critical packet delay budget (ms) |
Warm-up excluded from the statistics --warmupS | 3 | s | Warm-up excluded from the statistics (s) |
Window of the time series --windowS | 5 | s | Window of the time series (s) |
Offset added to the constellation epoch --startOffset | 0 | s | Offset added to the constellation epoch (s) |
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-pass-leo"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-slice-pass-leo --dropSeed=0 --clusterOffsetDeg=0 --blockErrors=true --duration=10 --numUes=12 --policy=reactive --quotas=0.4,0.5,0.1 --initQuotas=0.4,0.5,0.1 --floors=0.1,0.1,0.05 --ctrlMs=100 --headroom=1.25 --satEirpDbm=55 --ueBehindS=20 --embbMbps=30 --critBytes=500 --critPeriodMs=1 --deadlineMs=50 --warmupS=3 --windowS=5 --startOffset=0"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}
}