What this module models
The module is a telemetry and visualization layer, not a radio model. It takes what the simulation already measures (PHY SINR, TBLER, sink goodput, SGP4 positions, elevation and slant range, and control events such as handover, timing advance, SIB19 and DRX) and writes it out in the formats operators use. NtnInfluxSink emits InfluxDB v2 line protocol with key escaping, file or UDP transport, run-id tags and a bounded buffer that drops and counts the oldest points. NtnSceneRecorder is a single tap that reads mobility positions in ECEF or local ENU (converted to ECEF), KPIs and events, and fans them out to the NIST NetSimulyzer 1.0 JSON schema and to CZML for a Cesium globe. Serving and handover links travel alongside positions, so a viewer shows which satellite serves which terminal at a time that maps back to simulation time.
A header-only schema names every measurement, tag and field once, using 3GPP TS 28.552 and TS 32.425 measurement names and O-RAN E2SM-KPM identities. NtnReproManifest records git SHA, ns-3 version, scenario, seed, TLE epoch and command-line arguments, and can be written and read back. Per-flow KPM series come from NtnOranAiFlowMonitor in ntn-traffic. A Docker stack with InfluxDB 2.7, Grafana 10.4 and Telegraf ships four dashboards (Overview, Handover, Radio, ISL), and a script traces each Grafana panel back to the code that emits it. The band tag follows the carrier as an IEEE Std 521 letter band.
Outputs
- InfluxDB v2 line protocol (file or UDP) with run-id tags, for example measurement ntn_downlink with goodput, SINR, TBLER, elevation and slant range
- NetSimulyzer 1.0 scene JSON with nodes, beams and handover links
- CZML for a time-dynamic Cesium globe
- Reproducibility manifest JSON (git SHA, ns-3 version, scenario, seed, TLE epoch, argv)
- Per-flow <prefix>_kpm_series.csv and .lp, plus sim_health.csv
- Four Grafana dashboards: Overview, Handover, Radio, ISL
Standards
| Specification | What the module takes from it |
|---|---|
| 3GPP TS 28.552 | performance measurement names in the metric schema |
| 3GPP TS 32.425 | performance measurement names in the metric schema |
| O-RAN E2SM-KPM | measurement identities for KPM series |
| IEEE Std 521 | letter-band label written in the band tag |
| CZML | time-dynamic scene for a Cesium globe in the ECEF (FIXED) frame |
| InfluxDB line protocol | time-series export through NtnInfluxSink |
| NetSimulyzer scene JSON 1.0 | streaming 3D scene export |
Key numbers
Stated in the module documentation, each with the conditions it was measured under.
- mean per-second SINR read back from the exported line-protocol file
- 25.08 dB
- mean per-second goodput read back from the exported line-protocol file
- 4.84 Mb/s
- whole-run one-way delay from in-band timestamps
- 7.81 ms
- whole-run application loss
- 3.3 %
- mean downlink SINR of ntn-netsimulyzer-official-demo (TBLER 0.041, 16.58 Mb/s; scene with 190 events)
- 17.34 dB
Examples (3)
- NetSimulyzer 3D traceWrites a NetSimulyzer JSON scene of SGP4 satellites and TR 38.811 UEs with the official NetSimulyzer module. Open it in the NetSimulyzer player (planetary-scale view).
- InfluxDB and NetSimulyzer exportRuns the NR-NTN RRC stack and exports every KPI as InfluxDB line protocol (file or UDP) on the simulation clock (NTN_INFLUX_WALLCLOCK=1 for wall clock), plus a NetSimulyzer trace for Grafana dashboards.
- LEO downlink telemetry exportA measured LEO downlink exports goodput, SINR, TBLER, elevation and slant range every second as InfluxDB line protocol on the simulation clock (NTN_INFLUX_WALLCLOCK=1 for wall clock), to a file or a Telegraf/InfluxDB endpoint. KPM series come from RAN counters.
Run it
In the browser
Pick an example in the run panel above, set its parameters and press Run. The console streams live and the result opens with KPI charts.
In the ns-3 console
The browser console accepts ns-3 style commands, for example
ns3 run "ntn-netsimulyzer-official-demo --PrintHelp".Locally with Docker
The public image has the whole toolkit prebuilt. This runs
ntn-netsimulyzer-official-demowith its built-in defaults.docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-netsimulyzer-official-demo"
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}
}