Example · O-RAN over NTN
Near-RT RIC on a measured LEO cell
KPM from a measured NR NTN cell, enriched with SGP4 elevation, Doppler and time-to-exit, feeds a Near-RT RIC and xApps; candidate satellites act as handover targets.
oran-ntn-real-stack-scenario about 60 s on the server
Parameters (12)
| Parameter | Default | Unit | Description |
|---|---|---|---|
Simulation duration --duration | 30 | s | Simulation duration (s) |
Number of TR 38.811 UEs on the serving cell --numUes | 6 | - | Number of TR 38.811 UEs on the serving cell |
Number of satellites --numSats | 6 | - | Number of satellites (1 serving + candidates) |
Constellation altitude --altitude | 550 | km | Constellation altitude (km) |
Satellite EIRP / gNB Tx power --satEirpDbm | -1 | dBm | Satellite EIRP / gNB Tx power (dBm); -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) |
Min service elevation --minElev | 10 | deg | Min service elevation (deg) |
XApp conflict resolution --conflictStrategy | priority | - | xApp conflict resolution: priority, temporal or merge |
NetSimulyzer 3D JSON output --netSim | (empty) | - | NetSimulyzer 3D JSON output (empty=off) |
Cesium CZML 3D output --czml | (empty) | - | Cesium CZML 3D output (empty=off) |
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-real-stack-scenario"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "oran-ntn-real-stack-scenario --duration=30 --numUes=6 --numSats=6 --altitude=550 --satEirpDbm=-1 --radio=nr --freqGhz=2.185 --bwMhz=20 --minElev=10 --conflictStrategy=priority"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
- Constellation-scale RIC scenario
- RL handover environment (Gym)
- Satellite payload options compared
- 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}
}