Skip to content
Example · Sionna RT

Four-UE city block with query caching

Four UEs on a city block query a Sionna RT server through a caching transport, with ITU-R atmospheric loss on top; shows how many queries the cache absorbs. Ray traced only with a live server: the dashboard sets allowFallback=1, so without one the run is free space (no ray tracing).

city-block-4ue-cache about 60 s on the server

Parameters (10)

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

ParameterDefaultUnitDescription
Sionna RT server host
--host
127.0.0.1-Sionna RT server host
Sionna server UDP port
--port
8765-Sionna server UDP port
Carrier frequency
--freqHz
2000000000HzCarrier frequency (Hz)
Satellite altitude
--altKm
550kmSatellite altitude (km)
Rain rate
--rainMmH
0mm/hRain rate (mm/h)
Number of geometry steps along the pass
--steps
60-Number of geometry steps along the pass
Per-query timeout
--timeoutMs
200msPer-query timeout (ms)
Cache spatial grid size
--spatialResM
50mCache spatial grid size (m)
Cache time bucket
--timeBucketUs
500000usCache time bucket (us)
Allow fallback
--allowFallback
true-1 = when no Sionna server answers, run free space and label it "free space (no ray tracing)"; 0 aborts the run (RequireLiveTransport) (dashboard default 1, so public runs complete; the binary default 0 aborts)
Allowed: true, false

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 "city-block-4ue-cache"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "city-block-4ue-cache --host=127.0.0.1 --port=8765 --freqHz=2000000000 --altKm=550 --rainMmH=0 --steps=60 --timeoutMs=200 --spatialResM=50 --timeBucketUs=500000 --allowFallback=true"

List every argument with ./ns3 run "city-block-4ue-cache --PrintHelp".

More Sionna RT 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}
}