Example · O-RAN over NTN
mMIMO beam xApp closed loop
An xApp switches mMIMO beams through E2SM-RC when KPM SINR drops, with feeder delay on both legs of the loop; measured SINR and goodput recover. Optional latency probe.
oran-ntn-ric-controlled-traffic about 60 s on the server
Parameters (17)
| Parameter | Default | Unit | Description |
|---|---|---|---|
NR numerology mu --numerology | 3 | - | NR numerology mu (SCS = 15*2^mu kHz). Ka-band NTN (TS 38.101-5) uses 2 or 3 (dashboard default 3, 120 kHz; 1 reproduces the published results) |
Simulation duration --simSeconds | 40 | s | Simulation duration (s) |
Satellite altitude --leoAltKm | 1200 | km | Satellite altitude (km) |
Carrier frequency --freqGHz | 20 | GHz | Carrier frequency (GHz) |
Baseline conducted Tx power at the array input without... --satEirpDbm | 70 | dBm | Baseline conducted Tx power at the array input without beamforming (dBm); Ka-band, not TR 38.821 Set-1 calibrated |
Radio backend --radio | nr | - | Radio backend: nr (FR1) or mmwave |
MMIMO transmit antennas --numTx | 64 | - | mMIMO transmit antennas (beam gain = 10 log10 numTx dB) |
Intrinsic SINR threshold for the xApp --sinrThreshDb | 12 | dB | Intrinsic SINR threshold for the xApp (dB) |
Enable the mMIMO precoder xApp control loop --xapp | true | - | Enable the mMIMO precoder xApp control loop |
Measure each stage of the control loop through a real... --latencyProbe | false | - | Measure each stage of the control loop through a real Near-RT RIC and write control_loop_latency.csv and control_loop_samples.csv |
Payload --payload | regenerative | - | regenerative (gNB on board) | transparent (gNB at the gateway) |
Ric Site --ricSite | ground | - | ground (RIC behind the gateway) | onboard (space RIC) |
ISLs from the serving satellite to the one that sees the RIC... --islHops | 0 | - | regenerative + ground RIC: ISLs from the serving satellite to the one that sees the RIC gateway |
Gateway -> RIC site backhaul, one way --terrestrialMs | 0 | ms | gateway -> RIC site backhaul, one way (ms) |
E2 termination processing per direction --e2ProcessingUs | 0 | us | E2 termination processing per direction (us) |
A1 delay Non-RT RIC <-> Near-RT RIC, each way --a1DelayMs | 10 | ms | A1 delay Non-RT RIC <-> Near-RT RIC, each way (ms) |
ValidUntil of the beam A1 policy --a1ValidS | 0 | s | validUntil of the beam A1 policy (s), 0 = simSeconds/2 |
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-ric-controlled-traffic"With the same parameters the browser run form starts from:
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "oran-ntn-ric-controlled-traffic --numerology=3 --simSeconds=40 --leoAltKm=1200 --freqGHz=20 --satEirpDbm=70 --radio=nr --numTx=64 --sinrThreshDb=12 --xapp=true --latencyProbe=false --payload=regenerative --ricSite=ground --islHops=0 --terrestrialMs=0 --e2ProcessingUs=0 --a1DelayMs=10 --a1ValidS=0"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
- Near-RT RIC on a measured LEO cell
- 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}
}