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.
Parameters (23)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation time --simTime | 40 | s | Simulation 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 | 50000 | m | D1 distance threshold (m) |
SINR quality threshold --qualityTh | -3 | dB | SINR quality threshold (dB) |
Minimum TTE for admission --tteMinimum | 20 | s | Minimum TTE for admission (s) |
Minimum TTE for CHO config --tteMin | 3 | s | Minimum TTE for CHO config (s) |
Carrier frequency --carrierFreqGhz | 2.185 | GHz | Carrier frequency (GHz) |
Satellite conducted Tx power at the array input --satTxPower | -1 | dBm | Satellite 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 | 780 | km | Constellation 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 |
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 |
Walker orbital planes --numPlanes | 1 | - | Walker orbital planes |
Walker inclination --inclinationDeg | 53 | deg | Walker 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) |
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 |
Success rate printed at 0 attempts --zeroAttemptRate | legacy | - | success rate printed at 0 attempts: legacy (paper default, prints 100) | na |
Outputs
satellite_tracks.csvsatellite_positions.geojsonue_positions.geojsonbeam_footprints.geojsonhandover_events.geojsonhandover_events.csvmeasurements.csvkpi_timeseries.csvsim_health.csvkpi_summary.txt
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-full-constellation"With the same parameters the browser run form starts from:
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"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}
}