Example · O-RAN over NTN
Constellation-scale RIC scenario
66-satellite Walker shell, terrestrial gNBs and mixed UEs under a Near-RT RIC with several xApps; on-board Space RICs take over handovers during a regional feeder outage.
oran-ntn-full-scenario about 61 s on the server 7 output files
Parameters (22)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --duration | 120 | s | Simulation duration (s) |
Number of orbital planes --numPlanes | 6 | - | Number of orbital planes |
Satellites per plane --satsPerPlane | 11 | - | Satellites per plane |
Satellite altitude --altitude | 550 | km | Satellite altitude (km) |
Orbital inclination --inclination | 53 | deg | Orbital inclination (deg) |
Number of terrestrial gNBs --numTnGnbs | 5 | - | Number of terrestrial gNBs |
Number of UEs --numUes | 30 | - | Number of UEs (anchored plus scale-out) |
Number of satellites carrying a measured NR cell --numRealCells | 1 | - | Number of satellites carrying a measured NR cell (0 = link budget only) |
UEs on each measured cell --realUesPerCell | 3 | - | UEs on each measured cell |
Time the measured cell carries traffic --measuredWindowS | 90 | s | Time the measured cell carries traffic (s); geometry and Space RIC run the full duration |
KPM reporting interval --kpmInterval | 0.1 | s | KPM reporting interval (s) |
Hard coverage floor --minElev | 10 | deg | Hard coverage floor; UEs reacquire below this elevation (deg) |
Service elevation the TTE predictor counts down to --serviceElev | 30 | deg | Service elevation the TTE predictor counts down to; the on-board RIC hands over near it (deg) |
Hysteretic CHO serving --stickyServing | true | - | Hysteretic CHO serving (needed for the feeder-outage demo); false = reselect the highest satellite every tick |
Serving TTE at which the ground RIC hands a UE over --groundHoTteS | 20 | s | Serving TTE at which the ground RIC hands a UE over (s) |
Satellite EIRP --satEirpDbm | -1 | dBm | Satellite EIRP (measured cells AND budget); -1 = backend default 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. |
Radio backend --radio | nr | - | Radio backend: nr (FR1) or mmwave |
Carrier frequency --freqGhz | 2.185 | GHz | Carrier frequency (GHz) |
Bw Mhz --bwMhz | 20 | MHz | Bandwidth (MHz) |
XApp conflict resolution --conflictStrategy | priority | - | xApp conflict resolution: priority, temporal, merge or reject_lower |
Enable on-board Space RICs --enableSpaceRic | true | - | Enable on-board Space RICs |
Enable federated learning --enableFL | false | - | Enable federated learning |
Outputs
kpm_dataset.csvxapp_metrics.csvaction_log.csvconflict_log.csvspace_ric_metrics.csvsim_health.csvric_metrics.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 "oran-ntn-full-scenario"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "oran-ntn-full-scenario --duration=120 --numPlanes=6 --satsPerPlane=11 --altitude=550 --inclination=53 --numTnGnbs=5 --numUes=30 --numRealCells=1 --realUesPerCell=3 --measuredWindowS=90 --kpmInterval=0.1 --minElev=10 --serviceElev=30 --stickyServing=true --groundHoTteS=20 --satEirpDbm=-1 --radio=nr --freqGhz=2.185 --bwMhz=20 --conflictStrategy=priority --enableSpaceRic=true --enableFL=false"More O-RAN over NTN examples
- RIC, slicing and KPIs on one cell
- Latency by platform class
- Cross-domain closed loop
- E2 exchange over SCTP
- Post-disaster emergency slice
- Control over intermittent feeder links
- RL handover environment (Gym)
- Satellite payload options compared
- Near-RT RIC on a measured LEO cell
- mMIMO beam xApp closed loop
- RIC placement comparison
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}
}