Skip to content
Example · O-RAN over NTN

RIC, slicing and KPIs on one cell

Two SGP4 NR cells with measured KPM. Admitted xApps actuate handover and MAC slice quotas through the actuator registry (routed and actuated actions are counted separately), next to a slice monitor on the same data plane. e2Transport=packet carries E2 as datagrams over the feeder (feederOutageAt=8 shows an outage).

ntn-e2e-full-stack about 60 s on the server

Parameters (14)

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
15sSimulation duration (s)
Num Ues
--numUes
9-UEs (MixedBouquet: u%3 = 0 mMTC, 1 eMBB, 2 URLLC)
Shell altitude
--altitude
600kmShell altitude (km)
Run the admitted xApps
--xapps
true-Run the admitted xApps (0 = same radio, no RIC control)
Allowed: true, false
E2 Transport
--e2Transport
event-event (E2 messages as delayed events, default) or packet (E2AP datagrams over the feeder link; with feederOutageAt=8 the run shows an outage)
Allowed: event, packet
Feeder outage start on E2 node 1
--feederOutageAt
-1spacket transport: feeder outage start on E2 node 1 (s, <0 off)
Feeder outage duration
--feederOutageS
1spacket transport: feeder outage duration (s)
E2 control bearer rate
--e2RateMbps
10Mbit/spacket transport: E2 control bearer rate (Mb/s)
Packet transport
--e2Proto
udp-packet transport: udp (datagrams) or tcp (one reliable connection per E2 node, SCTP stand-in)
Feeder packet error rate
--e2FeederPer
0-packet transport: feeder packet error rate (both ways)
Gateway ground distance north of the UE site
--gwDistanceKm
500kmGateway ground distance north of the UE site (km)
UE site as a fraction of the way from the serving to the...
--ueAlongTrack
0.5-UE site as a fraction of the way from the serving to the neighbor satellite sub-point (0.5 = midway, interference limited)
Ho-predict measured-RSRP A3 offset
--a3OffsetDb
3dBho-predict measured-RSRP A3 offset (dB)
Initial MAC slice quotas eMBB,URLLC,mMTC
--initialQuotas
0.9,0.05,0.05-initial MAC slice quotas eMBB,URLLC,mMTC

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 "ntn-e2e-full-stack"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-e2e-full-stack --duration=15 --numUes=9 --altitude=600 --xapps=true --e2Transport=event --feederOutageAt=-1 --feederOutageS=1 --e2RateMbps=10 --e2Proto=udp --e2FeederPer=0 --gwDistanceKm=500 --ueAlongTrack=0.5 --a3OffsetDb=3 --initialQuotas=0.9,0.05,0.05"

List every argument with ./ns3 run "ntn-e2e-full-stack --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}
}