6G NTN
ns3-ntn-toolkit module

ntn-cho-framework

LEO conditional handover with time to exit in ns-3

ns-3 module for LEO conditional handover: time-to-exit estimation from propagated orbits plus the TS 38.331 A3, D1, D2 and T1 trigger classes.

Fig. 1 of the accompanying study: the system model. Click to zoom.
Fig. 1 of the accompanying study: the system model. Click to zoom.

What ntn-cho-framework does

ntn-cho is an ns-3 module for conditional handover (CHO) in LEO non-terrestrial networks that estimates each candidate satellite's time to exit from propagated orbits and conditions the handover decision on it. It also implements the 3GPP TS 38.331 CondEvent A3, D1, T1 and Rel-18 D2 triggers, plus elevation and timing-advance mechanisms from TR 38.821, each evaluated against live geometry.

Accompanying studyConditional Handover in LEO Satellite Networks Under Ephemeris Error: Handover-Rate Analysis and Exit-Error Propagation. Code and data are in this repository.

What it models

A LEO cell moves away from its users, so the neighbor that looks best now may be about to set. ntn-cho estimates time to exit (TTE), how long a candidate remains serviceable, by a coarse forward scan over the propagated orbit followed by a binary search for the beam-exit instant. With a line-of-sight probability table it also returns the expected usable time to exit, and it propagates an injected RTN ephemeris error into a first-order sigma of the exit time. The Rel-17 CHO state machine runs from idle through preparation, condition monitoring and execution to completion. Its trigger classes are 3GPP TS 38.331 CondEvent A3, D1 on a fixed reference location, T1 on an absolute window, Rel-18 D2 on a moving ephemeris reference (Section 5.5.4.15a), elevation and timing advance as studied in 3GPP TR 38.821, TTE-aware selection, Rel-19 conditional LTM and trajectory-predictive CHO, with optional RACH-less execution from timing-advance pre-compensation.

UEs move according to the 3GPP TR 38.811 Section 6.1.1.1 classes (handheld, pedestrian, vehicular, HST, maritime, aviation, fixed IoT) in ECEF, and a measurement model gives TR 38.811 RSRP, SINR and signed Doppler. In the real-stack examples the algorithm decides on the measured SINR of an NR NTN cell. CHO is modeled at the decision and timing level: there is no over-the-air conditional reconfiguration PDU, and the RACH interruption is priced as slant round trip plus processing. Trigger-decided and fallback-decided handovers are counted separately, so the CHO layer is not credited with a cell change the radio would have made anyway.

Measured numbers

134.6 ± 11.6 handovers per run

Handovers per run of the TTE-aware policy (A3 RSRP baseline: 463.3 ± 47.8)

ntn-cho-full-constellation, ten seeds per policy, 66 satellites (6 planes x 11) at 780 km and 86.4 deg, 30 UEs, 600 s, suburban; Student-t 95 % half-width; runs from April 2026 that predate later fixes to the module
83.14 ± 4.59 %

Handover success of the TTE-aware policy, with 0.00 % ping-pong

Same ten-seed ntn-cho-full-constellation runs as above
98.69 ± 0.48 %

Handover success of location-based (D1) CHO, with 57.07 ± 3.26 % ping-pong

Same ten-seed ntn-cho-full-constellation runs as above
69.16 ± 3.06 %

Handover success of the A3 RSRP baseline, with 50.23 ± 2.51 % ping-pong

Same ten-seed ntn-cho-full-constellation runs as above
8 s / 69 s / 81 s / 125 s / 248 s

Firing times of D2 and TA / D1 / A3 / T1 / elevation triggers

Shipped two-cell pass; elevation fired when the serving satellite reached the 10 degree floor
about 1932 km

Slant range at 10 deg elevation checked by the ntn-standards-validation suite

LEO-600 (TR 38.821 reference), spherical-Earth elevation and slant relation

Each number states the run it comes from; the README of the module lists the command that reproduces it.

Standards it follows

3GPP TS 38.331Conditional reconfiguration and CondEvent A3, A4, D1, D2, T1; SIB19
3GPP TS 38.300Handover procedure
3GPP TS 38.133Measurement
3GPP TS 38.321Random access
3GPP TR 38.821NTN mobility, interruption budget, Set-1; elevation and timing-advance mechanisms as study items
3GPP TR 38.811UE mobility classes (Section 6.1.1.1) and NTN channel scenarios for RSRP and SINR

New on 6g-ntn.live

The toolkit now runs in the browser at 6g-ntn.live: pick an example of ntn-cho-framework or any other module, change its parameters, and the real ns-3 binary runs on the server.

Watch

Watch on YouTube: the NTN Control Center running and visualizing the toolkit examples, in five minutes.

Install

Every module ships in the ready-built container image of the toolkit (version 3.0.1):

docker pull uzairdocker69/ns3-ntn-toolkit:latest
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest bash

To build from source, clone ns3-ntn-toolkit, which vendors this module under contrib/, or follow the README of this repository (branch ntn-cho-v4).

Cite

If you use ntn-cho-framework, please cite the toolkit article (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}
}

Links