Skip to content
Example · Conditional Handover (CHO)

CHO over a Walker constellation

Walker shell of multi-beam LEO satellites over a measured NR cell. Pick a CHO trigger (TTE-aware, A3, location, D2, time, elevation) and compare handovers, failures and throughput. measSource=rrc feeds the CHO from UE 0's own RRC reports; measuredHoKpi=1 adds handover KPIs measured from RRC traces and packet arrivals.

ntn-cho-full-constellation about 75 s on the server 10 output files

Parameters (23)

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

ParameterDefaultUnitDescription
Simulation time
--simTime
40sSimulation time (s) (short dashboard default; full-scale value 60.0)
Number of TR 38.811 UEs on the serving cell
--numUes
3-Number of TR 38.811 UEs on the serving cell
NTN scenario label, written to the outputs only
--scenario
suburban-NTN scenario label, written to the outputs only (does not change the channel)
Algorithm
--algorithm
tte-aware-tte-aware | a3 | location | d2 | time | elevation | a3-baseline | location-baseline
D1 distance threshold
--d1Threshold
50000mD1 distance threshold (m)
SINR quality threshold
--qualityTh
-3dBSINR quality threshold (dB)
Minimum TTE for admission
--tteMinimum
20sMinimum TTE for admission (s)
Minimum TTE for CHO config
--tteMin
3sMinimum TTE for CHO config (s)
Carrier frequency
--carrierFreqGhz
2.185GHzCarrier frequency (GHz)
Allowed: 0.5 to 100
Satellite conducted Tx power at the array input
--satTxPower
-1dBmSatellite conducted Tx power at the array input (dBm); -1 = backend default (nr 70, mmwave 55; legacy, not TR 38.821 Set-1 calibrated) 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.
Constellation altitude
--altitude
780kmConstellation altitude (km)
Radio backend
--radio
nr-Radio backend: nr (5G-LENA FR1, 30 kHz SCS) | mmwave (FR2)
Number of candidate satellite cells
--numCandidates
2-Number of candidate satellite cells
Allowed: at least 1
Satellites in the whole Walker shell
--satsPerPlane
80-Satellites in the whole Walker shell (T in T/P/F), despite the name; must be a multiple of numPlanes. With the default single plane it is the in-plane count
Allowed: at least 3
Walker orbital planes
--numPlanes
1-Walker orbital planes
Allowed: at least 1
Walker inclination
--inclinationDeg
53degWalker inclination (deg)
RNG run number
--rngRun
1-RNG run number
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)
Candidate input
--measSource
friis-candidate input: friis (paper default: cell-mean SINR, cell-keyed RSRP, then Friis) | rrc (UE 0's own TS 38.331 reports; vendored A3 off so the CHO is the only decision maker)
Write handover KPIs measured from the UE RRC traces and...
--measuredHoKpi
false-write handover KPIs measured from the UE RRC traces and packet arrivals (handover_events_measured.csv, ho_kpm_measured.csv)
Allowed: true, false
Count the RRCReconfigurationComplete leg
--rachLessCompletion
false-count the RRCReconfigurationComplete leg (slant/c) in the modeled RACH-less interruption (TS 38.300 9.2.3.2); paper default off
Allowed: true, false
Success rate printed at 0 attempts
--zeroAttemptRate
legacy-success rate printed at 0 attempts: legacy (paper default, prints 100) | na

Outputs

Files the run writes and how the control center shows them. Every finished run also becomes a dataset with a zip of these files.

  • satellite_tracks.csvCSV, shown as globe, optional
  • satellite_positions.geojsonGEOJSON, shown as globe overlay, optional
  • ue_positions.geojsonGEOJSON, shown as globe overlay, optional
  • beam_footprints.geojsonGEOJSON, shown as globe overlay, optional
  • handover_events.geojsonGEOJSON, shown as globe overlay, optional
  • handover_events.csvCSV, shown as table, optional
  • measurements.csvCSV, shown as chart, optional
  • kpi_timeseries.csvCSV, shown as chart, optional
  • sim_health.csvCSV, shown as table, optional
  • kpi_summary.txtTXT, shown as download, optional

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-full-constellation"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-cho-full-constellation --simTime=40 --numUes=3 --scenario=suburban --algorithm=tte-aware --d1Threshold=50000 --qualityTh=-3 --tteMinimum=20 --tteMin=3 --carrierFreqGhz=2.185 --satTxPower=-1 --altitude=780 --radio=nr --numCandidates=2 --satsPerPlane=80 --numPlanes=1 --inclinationDeg=53 --rngRun=1 --measSource=friis --measuredHoKpi=false --rachLessCompletion=false --zeroAttemptRate=legacy"

List every argument with ./ns3 run "ntn-cho-full-constellation --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}
}