Skip to content
Example · AI / MARL

LEO path delay with shared vectors

The LEO bent-pipe delays batched three samples at a time in shared vectors, the vector variant of the ns3-ai message API. Reports the end-to-end delay range, handovers and outage, and records the pass on the globe.

ns3ai_apb_msg_vec about 10 s on the server

Parameters (5)

Defaults are the values the browser run form starts from. Pass any of them on the command line as --name=value.

ParameterDefaultUnitDescription
Walker shell altitude
--altKm
550kmWalker shell altitude (km)
Allowed: 340 to 1500
Walker shell inclination
--inclinationDeg
53degWalker shell inclination (deg)
Allowed: 40 to 98
Minimum elevation at both ground ends
--minElevationDeg
25degMinimum elevation at both ground ends (deg)
Allowed: 10 to 50
Exchanges with the Python agent
--steps
10000-Exchanges with the Python agent
Allowed: 100 to 20000
Time between samples of the pass
--dtS
0.1sTime between samples of the pass (s)
Allowed: 0.01 to 1

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

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ns3ai_apb_msg_vec --altKm=550 --inclinationDeg=53 --minElevationDeg=25 --steps=10000 --dtS=0.1"

List every argument with ./ns3 run "ns3ai_apb_msg_vec --PrintHelp".

More AI / MARL 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}
}