CHO triggers on a measured NR cell
SGP4 Walker pair, TR 38.821 Set-1 handheld UEs and a gateway feeder on a measured NR cell. The CHO (default PCHO with RACH-less execution) decides on measured inputs only: serving SINR at the UE PHY and candidates from the UE's TS 38.331 SS-RSRP reports, then executes a real X2 handover (one near 38 s at defaults). Measured interruption, ping-pong, RLF and time of stay go to handover_events.csv.
Parameters (21)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --duration | 60 | s | Simulation duration (s) |
Number of TR 38.811 UEs on the serving cell --numUes | 2 | - | Number of TR 38.811 UEs on the serving cell |
Constellation altitude --altitude | 550 | km | Constellation altitude (km) |
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. |
Carrier frequency --freqGhz | 2.185 | GHz | Carrier frequency (GHz) |
Radio spine --radio | nr | - | Radio spine: nr (5G-LENA FR1, 30 kHz SCS) | mmwave (FR2) |
Minimum TTE for CHO admission --tteMin | 3 | s | Minimum TTE for CHO admission (s) |
Handover trigger --trigger | pcho | - | Handover trigger: a3|d1|t1|ta|elevation|d2|tte-aware|ltm|pcho |
RACH-less execution with ephemeris-based timing advance... --rachLess | true | - | RACH-less execution with ephemeris-based timing advance pre-compensation |
Satellites per Walker plane --satsPerPlane | 80 | - | Satellites per Walker plane (sets the in-plane spacing) |
CHO candidate input --candSource | rrc | - | CHO candidate input: rrc (the UE's measurement reports, measured SS-RSRP) or friis (ephemeris extrapolation, for comparison only) |
SSB on an Earth-fixed cell beam --cellBeam | true | - | SSB on an Earth-fixed cell beam (cell-level SS-RSRP, nr only) |
Channel --channel | legacy | - | legacy (toolkit excess-loss chain) or ns3ntn (TR 38.811 path loss, LOS condition and NTN fast fading) |
Pcho Min Samples --pchoMinSamples | 16 | - | PCHO: minimum 1 s samples before the linear forecast is trusted (span >= 2x the 8 s horizon; reports are quantized to 1 dB, TS 38.133) |
Small-scale fading on --fading | true | - | Small-scale fading on (0 = deterministic LOS plane wave) |
TR 38.821 Set-1 terminal and payload --set1 | true | - | TR 38.821 Set-1 terminal and payload (nr S band) |
Feeder gateway distance north of the UEs --gwDistanceKm | 500 | km | feeder gateway distance north of the UEs (km); <= 0 = 5 ms constant |
Ping-pong window for the measured KPI --ppWindowS | 1 | s | ping-pong window for the measured KPI (s, TS 38.300 15.5.2.2) |
NetSimulyzer 3D JSON trace output path --netSim | (empty) | - | NetSimulyzer 3D JSON trace output path (empty = off) |
Cesium CZML 3D trace output path --czml | (empty) | - | Cesium CZML 3D trace output path (empty = off) |
Stream live 3D scene frames during the run --liveScene | false | - | Stream live 3D scene frames during the run |
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-cho-real-stack"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-cho-real-stack --duration=60 --numUes=2 --altitude=550 --satEirpDbm=-1 --freqGhz=2.185 --radio=nr --tteMin=3 --trigger=pcho --rachLess=true --satsPerPlane=80 --candSource=rrc --cellBeam=true --channel=legacy --pchoMinSamples=16 --fading=true --set1=true --gwDistanceKm=500 --ppWindowS=1 --liveScene=false"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}
}