Explore
Examples
Every example in the toolkit, grouped by module. Each one is a real ns-3 program with typed parameters; open it to read what it models, run it in the browser or copy the command for a local run.
- Two-satellite ISL routeUDP packets forwarded from one ground station through two satellites and an ISL to another; hops drop when out of contact. Measures delivery, delay, jitter and loss.
- Contact-graph routing with link errorsA contact-graph router installs routes as satellites rise and set, so traffic reroutes between them; GSL losses follow a C/N0 to BLER model. Also reports TR 38.821 residuals.
- Route recomputation policiesGround-to-ground routing over a Walker shell with +Grid ISLs on a real IPv4 plane. Compare snapshot, on-demand, merged-snapshot and lifetime-aware policies on loss and delay.
- Single satellite from a TLEOne LEO satellite propagated from a TLE with full SGP4 serves ground UEs over a measured NR cell (Set-1, gateway feeder). The default 20 s window sits near zenith; a longer simSeconds shows the outage once the satellite is below the horizon. Reports SINR, TBLER and throughput.
- Walker shell with UDP trafficA Walker-Delta shell supplies GSL and ISL contact context while one serving satellite carries a measured NR cell (Set-1, gateway feeder) to ground UEs. The contact graph is context only: its ground stations are not tied to the UE site.
- CHO over a Walker constellationWalker shell of multi-beam LEO satellites over a measured NR cell. Pick a CHO trigger (TTE-aware, A3, location, D2, time, elevation) and compare handovers, failures and throughput. measSource=rrc feeds the CHO from UE 0's own RRC reports; measuredHoKpi=1 adds handover KPIs measured from RRC traces and packet arrivals.
- Data continuity across a CHOUDP downlink to TR 38.811 UEs on a measured NR cell while the serving LEO recedes and its neighbor rises. Only the CHO decides, on measured RRC reports: the default TTE-aware trigger admits no handover (D1), trigger=pcho hands over near 38 s, and fallback=1 adds the example's baseline rule, reported separately.
- CHO quick startShort smoke test: a few UEs on one measured NR cell, with the CHO evaluated every 200 ms on measured reports. A fired condition is executed as a real handover (execute=1) and logged in handover_events.csv.
- CHO triggers on a measured NR cellSGP4 Walker pair, TR 38.821 Set-1 handheld UEs and a gateway feeder on a measured NR cell. The CHO (default PCHO with RACH-less execution) decides on measured inputs only: serving SINR at the UE PHY and candidates from the UE's TS 38.331 SS-RSRP reports, then executes a real X2 handover (one near 38 s at defaults). Measured interruption, ping-pong, RLF and time of stay go to handover_events.csv.
- Constellation-scale CHO campaignEvery terminal runs its own CHO policy (A3, D2, T1, elevation, TTE) against a 1584-satellite Walker shell with configurable ephemeris error, on the same orbits and random draws.
- TR 38.811 UE mobility classesOne UE per TR 38.811 mobility class moves under a LEO cell with a measured UDP downlink. Writes each UE's sampled trajectory so the motion of every class can be inspected; there is no handover in this scenario.
- Connected-mode DRX with data trafficUDP downlink on a measured NR NTN cell with SIB19, timing advance and connected-mode DRX. Compare DRX on and off to see power saving against delivered throughput.
- Timing advance from a real TLEReads a TLE, propagates it with SGP4 and runs an NR NTN cell under the pass. Logs network-side timing advance, drift, slant range and measured SINR at every sample (no SIB19 and no UE-side timing).
- All RRC procedures on one LEO passTiming advance pre-compensation, SIB19 broadcast with UE-side consumption (in-process wire image, TA error columns), UE GNSS reporting and NTN DRX together on a measured NR cell. Writes TA, SIB19, UE and DRX CSV traces.
- Timing advance and SIB19 over a passEphemeris-driven timing advance and SIB19 (TS 38.331 NTN-Config) on a measured NR cell. The UE consumes SIB19 (in-process wire image) and K_offset, and TA error columns sit next to the TA curve and its drift over the pass.
- Timing advance and SIB19 with 3D exportTiming advance and SIB19 over a LEO pass on a measured NR cell. UE 0 computes its TA from the SIB19 it decoded over the radio (carried on a data bearer, not yet as system information; 16 ns maximum error), the gateway is the uplink sync reference and the scheduler consumes the broadcast K_offset. Optional NetSimulyzer and Cesium CZML 3D export.
- Uplink timing pre-compensationSIB19 ephemeris and common-delay polynomial against the true two-way delay over an SGP4 pass, every 100 ms. Compare UE propagators, fits and validity rules against Te.
- Downlink FAPI slot loopFAPI DL_TTI, TX_DATA, RX_DATA and CRC.indication exchanged every slot for one UE (UE 0) over a measured NR NTN cell. CRC and HARQ follow the measured TBLER as the elevation falls; goodput counts UE 0 application bytes.
- FAPI slot loop over an SGP4 passThe FAPI L1/L2 data messages for one UE (UE 0) driven over a real SGP4 LEO pass. Per-slot CRC results follow the measured TBLER, so FAPI goodput (UE 0 application bytes) tracks the pass geometry.
- FAPI on the live MAC/PHY interfaceFAPI messages from the real MAC/PHY interface of an NR NTN cell (CONFIG, SLOT, DL_TTI, RX_DATA, CRC for every RNTI, so the CRC count equals the PHY TBs). RACH.indication carries the TA residual left after the UE's SIB19 pre-compensation. FAPI observes the MAC/PHY interface; it does not drive it.
- RIC, slicing and KPIs on one cellTwo 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).
- Latency by platform classUAV, HAPS, LEO, MEO and GEO platform classes on the measured NR stack with a gateway feeder; one-way delay is measured in band and checked against the per-class RTT bands. The measured RAN share is 3 to 4 ms, so UAV and HAPS miss the ~1 ms band and the run exits 1 by design. GEO at the 10 deg default is not run (RRC T300 limit); mode=transport keeps the propagation-only check.
- Cross-domain closed loopThree slices over two SGP4 satellites. When URLLC delay rises, an xApp and the SMO act on RAN quota, transport path and edge compute, moving the route to the rising satellite.
- E2 exchange over SCTPA Near-RT RIC and an E2 agent exchange E2SM-KPM indications and an E2SM-RC control request over a real SCTP or TCP association, using toolkit framing rather than E2AP.
- Post-disaster emergency sliceThe terrestrial gateway fails, the satellite becomes an on-board gNB and responders join on a dedicated emergency slice. Measures recovery time and per-slice delay and loss.
- Control over intermittent feeder linksE2, A1, heartbeat and lease messages as real UDP packets over gateway feeder links with rain fades and handoffs. Compare ground, on-board and predictive control strategies.
- Constellation-scale RIC scenario66-satellite Walker shell, terrestrial gNBs and mixed UEs under a Near-RT RIC with several xApps; on-board Space RICs take over handovers during a regional feeder outage.
- RL handover environment (Gym)RL handover environment on the measured NR stack: observations from measured KPM (RRC RSRP margin to the best neighbor, SINR, PRB use), a goodput reward, and handover actions actuated through the RIC. The dashboard runs it with gym=1 and a paired Python agent (greedy A3-margin policy); gym=0 steps an in-process policy instead.
- Satellite payload options comparedTransparent, O-RU, O-DU and full gNB payloads on the same LEO cell. Measures one-way delay for each option and checks fronthaul split feasibility over the feeder.
- Near-RT RIC on a measured LEO cellKPM from a measured NR NTN cell, enriched with SGP4 elevation, Doppler and time-to-exit, feeds a Near-RT RIC and xApps; candidate satellites act as handover targets.
- mMIMO beam xApp closed loopAn xApp switches mMIMO beams through E2SM-RC when KPM SINR drops, with feeder delay on both legs of the loop; measured SINR and goodput recover. Optional latency probe.
- RIC placement comparisonA beam-restoration xApp reacts to periodic deep fades with E2 latency set by RIC placement (on-board, HAPS, gateway, cloud). Compares reaction and PHY recovery times.
- Slice isolation under eMBB loadeMBB, URLLC and mMTC slices share one measured NR cell on an SGP4 pass while eMBB saturates it. An isolation monitor flags per-slice SLA breaches.
- Slice scheduling as the satellite recedesThree slices on one 5G-LENA NTN cell as the satellite recedes. Compare PF, QoS, BWP, static, predictive and reactive quota policies on deadline misses and throughput.
- MAC quota scheduler over an SGP4 passeMBB, URLLC and mMTC slices on one NR NTN cell with the partition enforced by the MAC quota scheduler. Compare PF, BWP, static and reactive policies, with an optional surge.
- Slice SLA check with 3D exportSlices share one measured NR cell and an isolation monitor checks SLAs against measured delivery and LEO latency. Optional NetSimulyzer and CZML output.
- Two tenants with a rate contractTenant A buys a byte rate and tenant B takes the rest of one NTN cell over a receding satellite. Compare contract, ephemeris and limiter policies on A's delivered rate.
- Three slices across LEO and GEOeMBB, URLLC and mMTC slices on a combined LEO and GEO network, with URLLC kept off GEO. The 1 Hz orchestrator's PRB split is checked against measured LEO and GEO latency.
- Gaseous absorption sweepSlant-path gaseous absorption over carrier frequency, elevation and water-vapor column (ITU-R P.676 line by line or lookup table), written to CSV.
- Absorption avoided by a raised relayHow much THz absorption a relay avoids by lifting the lower endpoint: ground, aircraft and HAPS altitudes to a LEO satellite (ITU-R P.676 over the P.835 atmosphere).
- EKF beam tracking over an SGP4 passAn EKF or position-based tracker steers the beam during an SGP4 pass. Pointing error becomes a live loss on a measured link, so the two modes can be compared on SINR and goodput.
- D-band constellation accessGround terminals pick the highest-elevation satellite among several Walker satellites at 140 GHz and compute link quality. Link budget only, no packets.
- THz scenario collection and datasetsRuns eight analytic THz scenarios (LEO-ground, ISL, D-band, RIS, ISAC, UM-MIMO, atmospheric windows, beam tracking) and writes CSV datasets. Pick one with example=N. In the RIS scenario the gain column is the array factor; the link improvement is the cascaded-law value beside it.
- Integrated THz system demoTwo LEO satellites with a 225 GHz downlink and 300 GHz ISL, a ground RIS, ISAC debris sensing, EKF tracking and DAMC resource allocation on SGP4 geometry. Analytic, no packets. The RIS gain column is the array factor over one element; the link improvement is the cascaded-law value beside it.
- THz ISAC space-debris detectionRadar-equation analysis of 300 GHz space-debris sensing (resolution, detection probability and Cramer-Rao bounds over range and debris size), then real packets over an SGP4 pass show the goodput left to communication when 30 % of the beam goes to sensing.
- ISAC sensing and communication sharingA scheduler splits the beam between communication and sensing across ISAC modes. Measured goodput on an NR LEO link drops in proportion to the communication share.
- THz ISL link budget300 GHz inter-satellite link: a distance sweep comparing Shannon and hardware-limited capacity, plus a time series between two SGP4 cross-plane neighbors. Analytic, no packets.
- Sub-THz ISL with real packetsMeasured NR ISL at 100 GHz between two SGP4 satellites: 1 W behind 0.3 m dishes, free-space LOS with no fading or Earth-space terms. SINR stays within 0.2 dB of the free-space budget. No 3GPP ISL air interface exists, so the numerology is extrapolated.
- LEO-to-ground link budget at 225 GHzLink budget of a 225 GHz LEO downlink across elevation and along an SGP4 pass, including molecular absorption. Analytic, no packets.
- Sub-THz LEO downlink with real packetsMeasured NR at 100 GHz (mu 3 over 100 MHz, an extrapolation beyond FR2-2) over an SGP4 pass on a declared payload: 10 W into a 0.5 m dish (EIRP 92.2 dBm) and a 0.6 m ground dish. Per-RB P.676 absorption and P.618 scintillation on a LOS path; SINR within 0.2 dB of the printed independent budget.
- Packets at 300 GHzReal IP packets over a 300 GHz LEO link whose delivery follows the THz propagation chain (gaseous, weather, scintillation, pointing). No NR PHY; a link-level transport result.
- THz atmospheric loss on a measured cellDeclared payload and dishes (10 W, 0.5 m satellite and 0.3 m terminal reflectors) on a measured NR LEO cell with per-RB P.676 absorption and P.618 rain, applied in the second half of the run so its effect on measured SINR is visible. Optional 3D export.
- RIS control xApp under blockageAn xApp engages a ground RIS when KPM SINR falls below a threshold. Goodput collapses under an urban blockage, recovers when the RIS engages and holds when it clears.
- RIS gain analysisDirect against RIS-assisted THz satellite downlink at a chosen elevation. Analytic, no packets. The RIS gain column is the array factor over one element (the N squared law); the link improvement is the cascaded-law value printed beside it.
- RIS recovery of a blocked sub-THz linkA truck blocks the line of sight by geometry (TR 38.901 blockage model B on the radio). A 64x64 RIS adds a coherent second ray per the cascaded aperture law, engaged by a measured-SINR controller. Blocked goodput is about 5 % of LOS without the RIS and 55 % with it.
- UM-MIMO array characterizationGain, beamwidth, near-field distance and size of ultra-massive MIMO arrays at 300 GHz, compared with a Cassegrain reflector. Analytic, no scenario geometry.
- Rain cell over a sub-THz passA rain cell drifts over the ground station during a sub-THz pass. Per-RB P.838 rain attenuation is integrated along the live slant path, so nothing is scripted (scripted=1 restores the old timed front). Measured SINR and goodput follow the rain.
- HAPS, vessel and train mobilityA HAPS on a racetrack, a vessel and a high-speed train move together while a slice-aware router picks the ground, HAPS, LEO route for real packets. Exports a 3D scene.
- Remote coverage with shared infrastructureFour rural households, two per operator, with only operator A's satellite overhead. Toggle infrastructure sharing to measure the coverage gain and per-operator traffic.
- UAV air-to-ground link (TR 36.777)A UAV or HAPS gNB serves ground UEs over a measured NR cell with the TR 36.777 air-to-ground path loss. Compare the LOS and NLOS branches across scenarios.
- Aircraft replayed from an ADS-B traceAn in-flight terminal replayed from an ADS-B trace is served by a passing LEO satellite on a measured NR cell. Reports SINR, TBLER and throughput along the flight.
- Passenger broadband on a flightAn aircraft at cruise is served by a passing LEO satellite on a measured NR cell. A multi-layer router also logs which layer it would pick (not applied to traffic).
- Flight with E2 KPM reportingA long-haul flight served by a LEO satellite on a measured NR cell, with E2 KPM reports to a Near-RT RIC. A release occurs when SINR drops below the service threshold.
- UAV, HAPS and LEO relay pathGround UE to UAV relay access on a measured NR cell with the TR 36.777 channel, while a multi-layer router logs the UAV, HAPS and LEO path geometry each second.
- High-speed train under a LEO passA high-speed train terminal on a TR 38.901-style track is served by a passing LEO satellite on a measured NR cell. Vary train speed and watch SINR, TBLER and throughput.
- Vessel replayed from an AIS traceA vessel replayed from an AIS trace is served by a passing LEO satellite on a measured NR cell. Reports downlink SINR, TBLER and throughput as the ship sails.
- Router-steered multi-hop pathUDP traffic from ground through a UAV and a HAPS to one of two LEO satellites and a gateway. The router's choice switches the live path, so throughput moves between satellites.
- Shortest-path routing on the contact graphGround, UAV, HAPS and two SGP4 satellites joined by an ISL. Each hop has a graded BLER from live geometry on a declared Set-1, VSAT and ISL payload (linkModel=gate for the old binary budget), and ns-3 global routing reroutes the UDP flow on contact events. Reports loss, one-way delay p95 and route changes.
- Slice steering across HAPS, LEO and GEOURLLC, eMBB and mMTC flows are steered each second to HAPS, LEO or GEO by a slice router on live geometry. Per-slice delay, jitter and loss are measured.
- Store-and-forward IoT over sparse LEOOcean buoys report through a sparse LEO fleet to gateways: bent pipe against store-and-forward custody on delivery delay and loss over days. Links default to a 0/1 visibility gate with no radio; linkModel=satlink adds a declared Set-1 link budget, contacts=cgr uses the contact graph router and dtn=bpv7 sends BPv7 bundles with custody transfer (a partial RFC 9171 subset).
- UAV swarm served by a ground gNBEight UAVs on waypoint, patrol and search patterns served by a ground gNB over a measured NR cell with the TR 36.777 rural air-to-ground channel. Per-UAV SINR and throughput.
- Street-canyon relaying over sidelinkVehicles in an urban street canyon report status through LEO satellites; blocked vehicles relay over NR sidelink Mode 2 to a neighbor with line of sight. Compare policies.
- Edge AI braking: satellite or groundPlatoon control messages on a URLLC slice over a measured LEO cell. A hazard xApp runs on the satellite or on the ground, and the decision latency of each is measured.
- Safety messages relayed by a peer vehicleA shadowed vehicle sends BSMs through a nearby vehicle and a LEO satellite to a server. The default hops are point-to-point links gated by a closed-form link check; v2v=pc5 with uplink=nr runs PC5 Mode 2 and the relay uplink on the measured NR cell (at the Set-1 23 dBm the uplink barely closes).
- Vessel on a real AIS trackA vessel replayed from a Danish AIS trace is a UE on a measured NR LEO cell. Reports downlink SINR, TBLER and throughput as the satellite passes.
- PC5 sidelink BSM broadcastVehicles broadcast SAE J2735 BSMs over NR PC5 sidelink with Mode 2 sensing-based resource selection and no gNB. Reports packet reception ratio against distance (TR 38.885).
- Direct or relayed LEO uplinkVehicle UEs on a measured NR LEO cell in a street whose facades and a moving truck block the radio per RB (TR 38.901 blockage model B geometry). Relay selection uses measured RSRP; remote UEs leave Uu and reach the network through a relay over PC5 Mode 2 (scripted=1 for the old decision-only mode).
- Rural highway fleet on one satelliteVehicles replayed from an FCD trace share one LEO satellite. Each uses its measured direct link or relays through a peer, giving the direct, relayed and unserved split.
- Four-UE city block with query cachingFour 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).
- LEO pass against TR 38.811 free spaceMeasured SINR, TBLER and goodput of a LEO downlink with multipath fading, printed next to the TR 38.811 free-space reference each tick. Optional live Sionna RT server.
- SISO against massive MIMO over a LEO passThe same LEO pass with a SISO and a planar mMIMO satellite array through a Sionna RT server, with gaseous and rain loss; the MIMO gain is the summed per-port power, not a beamforming gain. Ray traced only with a live server: the dashboard sets allowFallback=1, so without one the run is free space (no ray tracing).
- Multipath fading on a measured linkA synthetic multipath profile with per-tap Doppler applied per RB as a frequency-selective H(f) on a measured NR LEO link (flatCir=1 for the old flat collapse). Reports the measured SINR and its spread.
- Composed atmospheric and fading channelFree space, ITU-R gaseous and rain loss chained in one ns-3 loss pipeline on a measured NR cell, with the 3GPP spatial channel as the only small-scale process (extraFading=nakagami adds the old second draw) and the TR 38.811 model printed alongside.
- Best-link selection across satellitesA ground UE is served by successive same-plane satellites of a Walker shell. The best predicted link is chosen with hysteresis while measured traffic flows; handovers are logged.
- LEO downlink with ITU-R atmosphereMeasured NR downlink over an SGP4 pass on declared Ku apertures (10 W, 0.7 m satellite dish, 0.6 m gateway dish), within 0.03 dB of the link budget, with ITU-R gaseous and rain loss and optional P.681 land-mobile shadowing.
- SISO and MIMO terminals side by sideTwo UEs on the same LEO cell, one SISO and one with an NxN array. The array gain is applied in the packet path, so the SINR and throughput gap is measured.
- Rain cell crossing the gatewayAn EXCELL rain cell drifts toward the station during a Ka-band pass on the TR 38.821 Set-1 payload; its P.838 attenuation enters per RB along the live slant path. Measured SINR, TBLER and goodput fall as path rain rises (scripted=1 restores the old timeline).
- RIS recovery of a blocked LEO linkDeclared Ku payload (10 W, 0.7 m dish). As the satellite descends a facade blocks the direct path by geometry, and an RIS on the opposite facade engages when the measured SINR falls below 10 dB. Compare measured SINR and goodput with risMode auto, on and off.
- RIS-assisted LEO ground linkMeasured NR LEO link with ITU-R atmospheric loss. The RIS reflection gain from a Sionna cascade is an analytic column printed per tick, not applied to packets. Ray traced only with a live server: the dashboard sets allowFallback=1, so without one the run is free space (no ray tracing).
- Sionna RT calibration checkCompares an ns-3 propagation loss model (Friis by default) with a Sionna RT server and reports residual statistics against a 1 dB LOS-only gate. Needs a live server: without one the binary exits non-zero, and the dashboard default (allowFallback=1) exits 0 with an empty calibration.
- NRTV video over a point-to-point linkNear-real-time video streaming between a server and a client over one point-to-point link. Writes a gnuplot trace of the traffic the client receives.
- NRTV traffic model distributionsSamples the NRTV traffic model distributions (slice size, encoding delay) and writes histograms; optionally runs a short TCP NRTV session to report QoE.
- CBR traffic over a LEO-600 linkConstant-bit-rate traffic over a point-to-point link with a fixed LEO-600 worst-case delay (25.77 ms RTD) and a packet error model; no orbit and no radio. Measures delivered bytes, throughput, delay and jitter (FlowMonitor mean IPDV, RFC 3393).
- Native NR features over NTNExercises 5G-LENA features on a LEO cell: handover on cell-level SS-RSRP (none at the 10 s defaults, as the neighbor recedes), per-slice BWPs with QoS scheduling, native NR statistics and MIMO rank adaptation, all measured.
- 5G-LENA FR1 link in S-bandA 600 km LEO gNB serves a few ground UEs on an S-band FR1 carrier (15 or 30 kHz SCS) with the TR 38.821 Set-1 terminal and payload and a feeder from a gateway 500 km north. Reports measured SINR, TBLER and throughput.
- NR A3 handover between two satellitesTwo SGP4 satellites; the A3 event runs on cell-level SS-RSRP from an SSB on an Earth-fixed cell beam (TS 38.215), with a TR 38.821 Set-1 handheld UE and a feeder from a gateway 500 km away. At defaults one X2 handover and no ping-pong (near 56 s with fading, 88 s with fading=0).
- Four 5QI QoS flows on one LEO cellVoice, video, URLLC and IoT flows with their own 5QI and S-NSSAI share one measured LEO cell (Set-1, gateway feeder), plus satellite telemetry uplink. Per-flow delay, jitter and loss are measured; KPM comes from RAN counters (RLC SDU delay, TB counts, PRB usage).
- Measured NR NTN cell quick testOne LEO gNB serves a few ground UEs over a measured NR air interface with UDP traffic, using the TR 38.821 Set-1 terminal and payload (77 dBm EIRP over 20 MHz) and a real gateway feeder. Reports SINR, TBLER and throughput; channel=ns3ntn, fading=0 and excessLoss=0 help with link-budget checks.
- Scalability envelope by load regimeOffered load, wall clock and peak memory of a Walker shell in telemetry, CBR, eMBB, URLLC and voice regimes, with and without the measured radio.
- Satellite array gain against angleThe same LEO-600 pass (Kepler orbit with J2) with a steered and a fixed beam, showing that the satellite array gain depends on the off-boresight angle. Measured CNR against the TR 38.821 closed form.
- TR 38.821 link budget calibrationMeasured SINR over a LEO-600 S-band pass (Kepler orbit with J2) compared with the TR 38.821 closed-form CNR; checks that the offset stays constant and the elevation slope matches.
- 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.
- Live constellation snapshotLive CelesTrak constellation propagated with SGP4, with line-of-sight-checked ISLs and gateway feeder links; writes a CZML scene and a satellite state table.
- Serving-satellite predictionPredicts which satellite serves a ground terminal (highest elevation above a mask) over the next minutes, from the live TLE twin.
- LEO path delay through the Gym interfaceA Starlink-like shell (SGP4) serves a terminal in Toulouse through a gateway in Madrid. Each step, ns-3 sends the up-link and feeder one-way delays to a Python agent over the Gym bridge, and the agent returns the end-to-end delay. Altitude, inclination and minimum elevation change the delays, the handovers and the satellites on the globe.
- LEO path delay with a shared structThe same Toulouse to Madrid LEO bent pipe, exchanged with the Python agent as a shared C struct: two one-way delays in, the end-to-end delay back, every answer checked. The run records the serving satellites and reports the delay range and handovers.
- LEO path delay with shared vectorsThe 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.
- LTE CQI prediction with a Python modelAn LTE downlink with one fast-moving UE; the scheduler passes the CQI history to a Python predictor over shared memory, so predicted and reported CQI can be compared.
- Multi-BSS Wi-Fi with a learning agentDense 802.11ax residential deployment with overlapping BSSs; with drl=true a Python agent tunes the CCA sensitivity. Measure throughput and overlapping transmissions.
- Wi-Fi rate control, constant-rate agentWi-Fi stations behind a CSMA and point-to-point backbone, with the rate chosen by a Python agent through ns3-ai (raa=AiConstantRate). The constant-rate baseline.
- Wi-Fi rate control, Thompson samplingWi-Fi stations behind a CSMA and point-to-point backbone, with the rate chosen by a Python Thompson-sampling agent through ns3-ai (raa=AiThompsonSampling).
- RL TCP congestion control (Gym)TCP flows over a dumbbell bottleneck where a Python RL agent controls the congestion window through the ns3-ai Gym interface. Compare with the classic TCP variants.
- RL TCP congestion control (message API)TCP flows over a dumbbell bottleneck where a Python RL agent controls the congestion window through the ns3-ai shared-memory message interface.