Skip to content
Example · Conditional Handover (CHO)

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.

ntn-cho-real-stack about 60 s on the server

Parameters (21)

Defaults are the values the browser run form starts from. Pass any of them on the command line as --name=value.

ParameterDefaultUnitDescription
Simulation duration
--duration
60sSimulation 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
550kmConstellation altitude (km)
Satellite EIRP
--satEirpDbm
-1dBm-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.185GHzCarrier frequency (GHz)
Allowed: 0.5 to 100
Radio spine
--radio
nr-Radio spine: nr (5G-LENA FR1, 30 kHz SCS) | mmwave (FR2)
Minimum TTE for CHO admission
--tteMin
3sMinimum 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
Allowed: true, false
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)
Allowed: true, false
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)
Allowed: true, false
TR 38.821 Set-1 terminal and payload
--set1
true-TR 38.821 Set-1 terminal and payload (nr S band)
Allowed: true, false
Feeder gateway distance north of the UEs
--gwDistanceKm
500kmfeeder gateway distance north of the UEs (km); <= 0 = 5 ms constant
Ping-pong window for the measured KPI
--ppWindowS
1sping-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
Allowed: true, false

Reproduce it locally

With the example's built-in defaults, in the public Docker image:

shell
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:

shell
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"

List every argument with ./ns3 run "ntn-cho-real-stack --PrintHelp".

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.

BibTeX
@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}
}