Skip to content
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)

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
120sSimulation duration (s)
Number of orbital planes
--numPlanes
6-Number of orbital planes
Satellites per plane
--satsPerPlane
11-Satellites per plane
Satellite altitude
--altitude
550kmSatellite altitude (km)
Orbital inclination
--inclination
53degOrbital 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
90sTime the measured cell carries traffic (s); geometry and Space RIC run the full duration
KPM reporting interval
--kpmInterval
0.1sKPM reporting interval (s)
Hard coverage floor
--minElev
10degHard coverage floor; UEs reacquire below this elevation (deg)
Service elevation the TTE predictor counts down to
--serviceElev
30degService 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
Allowed: true, false
Serving TTE at which the ground RIC hands a UE over
--groundHoTteS
20sServing TTE at which the ground RIC hands a UE over (s)
Satellite EIRP
--satEirpDbm
-1dBmSatellite 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.185GHzCarrier frequency (GHz)
Allowed: 0.5 to 100
Bw Mhz
--bwMhz
20MHzBandwidth (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
Allowed: true, false
Enable federated learning
--enableFL
false-Enable federated learning
Allowed: true, false

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.

  • kpm_dataset.csvCSV, shown as chart, optional
  • xapp_metrics.csvCSV, shown as table, optional
  • action_log.csvCSV, shown as table, optional
  • conflict_log.csvCSV, shown as table, optional
  • space_ric_metrics.csvCSV, shown as table, optional
  • sim_health.csvCSV, shown as table, optional
  • ric_metrics.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 "oran-ntn-full-scenario"

With the same parameters the browser run form starts from:

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

List every argument with ./ns3 run "oran-ntn-full-scenario --PrintHelp".

More O-RAN over NTN 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}
}