Categories
NTN – Building a Proactive 3GPP Rel-17 NTN Mobility Simulator : Escaping the Rain Fade Trap
Relying on reactive UE measurement reports for satellite handovers is a recipe for dropped calls. Learn how to build a proactive 3GPP Rel-17 SON simulator that uses external weather APIs and RF physics to automate O-RAN NETCONF payloads and prevent Ka-band link failures before they happen.
Home » Blog » Learning » NTN » NTN – Building a Proactive 3GPP Rel-17 NTN Mobility Simulator : Escaping the Rain Fade Trap

The integration of Non-Terrestrial Networks (NTN) into standard 5G architecture is the defining leap of 3GPP Release 17. However, bolting satellite coverage onto a Terrestrial Network (TN) introduces severe Layer 3 mobility challenges.

Operators are terrified of "ping-pong" handovers and catastrophic dropouts caused by weather. The legacy approach of purely reactive mobility, where the network waits for a User Equipment (UE) measurement report to trigger a handover, is fundamentally flawed for high-frequency satellite links.

To demonstrate how modern Open RAN (O-RAN) architectures solve this, I developed an interactive Python-based Self-Organizing Network (SON) simulator. This tool models how external API data, physical layer physics, and 3GPP mathematics can be combined to execute proactive SIB19 parameter adjustments.


In a standard network, the UE uses thresholds broadcasted in standard SIBs (and SIB19 for NTN) to decide when to switch layers. When Ka-band frequencies are used for satellite feeder or service links, they become highly susceptible to atmospheric attenuation (rain fade). If an automated network waits for the UE to experience the fade, the Modulation and Coding Scheme (MCS) bottoms out, the BLER spikes, and the call drops before the handover to a terrestrial layer can complete.

The intelligence cannot live on the phone. It must live in the core.


The simulator operates as a theoretical rApp within an O-RAN architecture. Instead of waiting for CQI drops, it pulls hyper-local weather forecasts and dynamically recalculates the exact 3GPP trigger points (anchored to q-RxLevMin and threshServingLow) based on user mobility and satellite frequency.

To prove the logic engine, I ran the simulator through three critical edge-case scenarios:

  • The State: A user on a High-Speed Train (300 km/h) approaching a terrestrial cell edge in clear weather.
  • The Execution: At extreme velocities, a TN signal degrades exponentially faster than a standard pedestrian environment. The engine recognizes the mobility state and triggers the NTN handover early (e.g., at -100 dBm instead of waiting for the -106 dBm threshold). It aggressively slashes the Time-to-Trigger (TTT) to 160ms, forcing the UE onto the massive, stable satellite footprint to prevent high-speed ping-pong handovers.
  • The State: A static user at the edge of TN coverage (-104 dBm) with an incoming severe rainstorm, utilizing a Ka-Band (28 GHz) satellite layer.
  • The Execution: Naturally, the UE wants to jump to the satellite because the TN signal is poor. However, the SON engine intervenes. It calculates that the rain will crash the Ka-band CQI to survival levels (QPSK). The engine deliberately forces the UE to stay on the weak terrestrial link by tanking the NTN priority to 1, recognizing that the atmospheric fade guarantees a worse connection than the degrading macro cell.
  • The State: The exact same environment as Scenario 2 (severe rain, weak TN signal), but the network utilizes an S-Band (2 GHz) satellite layer.
  • The Execution: The engine instantly flips the logic. Because the 2 GHz wavelength cuts right through the storm cell, the engine calculates a stable physical layer (e.g., CQI 8 / 64-QAM). It successfully authorizes the handover out of the terrestrial dead zone, pushing the NTN priority back to 7.

A simulation is only useful if it can be deployed. When the logic engine makes a proactive decision, it must translate that math into a language the baseband unit understands.

The final component of the tool automatically compiles the optimized parameters into a valid NETCONF <edit-config>XML payload. This mimics the exact O1 interface command a SON server would execute to rewrite the cellReselectionPriority and threshServingLowP attributes on the live gNodeB.

By shifting from reactive measurement reports to predictive edge intelligence, we can finally deliver the seamless hybrid network experience promised by 5G NTN.

Explore the complete code and run the simulator locally via my GitHub: Github Rep & Simulator


Home » Blog » Learning » NTN » NTN – Building a Proactive 3GPP Rel-17 NTN Mobility Simulator : Escaping the Rain Fade Trap

Leave a Reply

Your email address will not be published. Required fields are marked *