Example · Conditional Handover (CHO)
TR 38.811 UE mobility classes
One UE per TR 38.811 mobility class moves under a LEO cell with a measured UDP downlink. Writes each UE's sampled trajectory so the motion of every class can be inspected; there is no handover in this scenario.
ntn-realistic-mobility-demo about 60 s on the server
Parameters (8)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --simTime | 20 | s | Simulation duration (s) |
Mobility sampling step --dt | 1 | s | Mobility sampling step (s) |
RNG run number --rngRun | 1 | - | RNG run number |
Serving constellation altitude --altitude | 550 | km | Serving constellation altitude (km) |
Carrier frequency --freqGhz | 2.185 | GHz | Carrier frequency (GHz) |
Satellite EIRP --satEirpDbm | -1 | dBm | -1 = TR 38.821 Set-1 S-band EIRP density (34 dBW/MHz); otherwise conducted power at the array input (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 (5G-LENA FR1, 30 kHz SCS) | mmwave (FR2) |
Number of real ns-3 UEs --numUes | 7 | - | Number of real ns-3 UEs; classes assigned round robin over the 7 TR 38.811 classes (7 = one per class) |
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-realistic-mobility-demo"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-realistic-mobility-demo --simTime=20 --dt=1 --rngRun=1 --altitude=550 --freqGhz=2.185 --satEirpDbm=-1 --radio=nr --numUes=7"More Conditional Handover (CHO) 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}
}