Skip to content
Module · ntn-observability

ntn-observability: exporting ns-3 NTN KPIs to InfluxDB, NetSimulyzer and Cesium

ntn-observability is an ns-3 module that records satellite positions, measured radio KPIs and control events from a non-terrestrial network simulation and exports them as InfluxDB line protocol, NetSimulyzer scene JSON and CZML. A reproducibility manifest and a single metric schema keep every exported measurement traceable to the run and the code that produced it.

Run it in the browser

Choose an example, set its parameters and run the real ns-3 binary on this server. The scene shows the configured geometry before the run and the results after it.

NetSimulyzer 3D trace

Writes 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).

~75 sntn-netsimulyzer-official-demo
Parameters
Number of satellites to render
Number of UEs to render
Simulation duration (s) (short dashboard default; full-scale value 30.0)
Constellation altitude (km)
Radio backend: nr (FR1) or mmwave
NetSimulyzer JSON output file
SSB cell beam: fixed (quasi-Earth-fixed cell on the UE area, TS 38.300 16.14) or moving (each satellite's nadir beam, the Wave 9 behavior)
Scene: Observability
The interactive 3D globe loads here.

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

SpecificationWhat the module takes from it
3GPP TS 28.552performance measurement names in the metric schema
3GPP TS 32.425performance measurement names in the metric schema
O-RAN E2SM-KPMmeasurement identities for KPM series
IEEE Std 521letter-band label written in the band tag
CZMLtime-dynamic scene for a Cesium globe in the ECEF (FIXED) frame
InfluxDB line protocoltime-series export through NtnInfluxSink
NetSimulyzer scene JSON 1.0streaming 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 dBone run of ntn-observability-traffic, 60 s, 550 km SGP4 pass (elevation 89.2 to 51.3 deg), 20 GHz, 85 dBm EIRP, seed 1; June 2026 sweep on earlier code
mean per-second goodput read back from the exported line-protocol file
4.84 Mb/ssame ntn-observability-traffic run (60 s, 550 km, 20 GHz, 85 dBm EIRP, seed 1)
whole-run one-way delay from in-band timestamps
7.81 mssame run, from its sim_health.csv with all rows passing; whole-run SINR 24.96 dB, TBLER 0.033, 4.71 Mb/s, 26,119 transport blocks received
whole-run application loss
3.3 %same ntn-observability-traffic run, from sim_health.csv
mean downlink SINR of ntn-netsimulyzer-official-demo (TBLER 0.041, 16.58 Mb/s; scene with 190 events)
17.34 dB6 SGP4 satellites, 4 TR 38.811 UEs, 15 s, same June 2026 sweep

Examples (3)

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-demo with its built-in defaults.

    shell
    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.

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}
}