Conceptio › Archive › arXiv CS
arXiv CSopen access

NS3Learn: Transferring 5G NR Mode-2 Reception Realism from ns-3 to the Veins/SUMO Stack for Connected-Vehicle Safety Assessment

· arxiv_cs
arXiv CS · Papers · License: Open Access
Open Source ↗Direct PDF ↓
distributed-systemsinternetnetworkingprotocols
networking, internet, protocols, distributed systems

NS3LEARN: TRANSFERRING 5G NR MODE-2 RECEPTION REALISM FROM NS-3 TO THE VEINS/SUMO STACK FOR CONNECTED-VEHICLE SAFETY ASSESSMENT

arXiv:2609.20578v1 [cs.NI] 17 Sep 2026

Rasheed Bello* South Carolina State University Orangeburg, SC 29117, USA Email: [email protected] Arthur Mukwaya South Carolina State University Orangeburg, SC 29117, USA Email: [email protected] Gurcan Comert North Carolina A&T State University Greensboro, NC 27411, USA Email: [email protected] Varghese Vaidyan Dakota State University Madison, SD 57042, USA Email: [email protected] Vijay Bendigeri Independent Researcher Sacramento, CA, USA Email: [email protected] Anthony Dontoh South Carolina State University Email: [email protected] Sahoo Jagruti South Carolina State University Email: [email protected] Judith Mwakalonge South Carolina State University Email: [email protected] Total Number of Pages: 21

Submitted September 18, 2026 *Corresponding Author

ABSTRACT Objectives Connected-vehicle safety studies estimate deployment benefits with coupled traffic and network simulation, and their conclusions depend on which messages arrive. Common channel models resolve radio propagation but omit the competition for radio resources that governs 5G New Radio sidelink Mode-2 and related sidelink modes, so they report near-perfect delivery in dense traffic where real deployments lose most messages. This work adds that behavior without building a protocol implementation. Methods We labeled 10.5 million reception outcomes from the physical-layer and scheduler traces of ns-3 5G-LENA, a reference implementation calibrated on Third Generation Partnership Project scenarios and driven by Simulation of Urban Mobility trajectories. From these labels we fitted NS3Learn, a closed-form model whose stages represent half-duplex loss, scheduling collisions, receiver capture, and decoding. Experiments spanned two signalized urban networks, six penetration levels from 1 to 100 percent, and five seeds per condition, three on the corridor, scoring NS3Learn against the unmodified channel and a combined reference from two published models. Findings NS3Learn tracked ns-3 5G-LENA to a mean absolute deviation of 0.06 in per-instant delivery, an in-sample figure, while the two alternatives deviated by 0.44 and 0.55 against per-seed variation of 0.03. Coefficients fitted at one intersection carried to a structurally different junction at about 20 percent more error, and changing only the communication model reversed the direction of the simulated speed trend and more than doubled hard braking. Novelty Reception realism transfers between simulators by distillation rather than reimplementation or analytical derivation. Each stage represents one named mechanism, so every published coefficient traces to the physical effect it encodes. Practical Applications Agencies and researchers can keep the pipelines they already operate and still represent the losses that dominate dense traffic at signalized intersections and in sidelink denial-of-service studies. Retargeting to another radio configuration means repeating the offline fitting, not modifying simulation code.

Keywords: connected and automated vehicles, 5G NR sidelink, V2X simulation, medium-access contention, knowledge distillation, traffic safety

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge INTRODUCTION Connected-vehicle safety applications depend on the timely exchange of basic safety messages, and simulation quantifies their benefits long before field deployment. Those simulated benefits (directly or indirectly) inform deployment plans, infrastructure investment, and the safety cases regulators read. The dominant evaluation platform couples the OMNeT++ discrete-event network simulator, the Veins vehicular framework, and the SUMO microscopic traffic simulator, so that road traffic and radio traffic influence each other within a single experiment (Sommer, German, and Dressler, 2011; Lopez et al., 2018). A safety conclusion drawn on this stack, a change in time-to-collision or in mean speed, is only as trustworthy as the model deciding which messages arrive and when. The stack matured around dedicated short-range communications based on IEEE 802.11p, and its channel models target that setting. They resolve path loss, fading, and shadowing, but not the way vehicles compete for radio resources in 5G NR PC5 sidelink Mode-2. Vehicles in Mode-2 pick their own transmission resources through sensing-based semi-persistent scheduling (SB-SPS), with no base station to allocate them. Three mechanisms then govern delivery more strongly than propagation: collisions, when two vehicles independently pick the same resource; half-duplex periods, when a vehicle transmits and therefore cannot hear a neighbor transmitting at the same moment; and capture, when a receiver decodes the stronger of two overlapping signals (Garcia et al., 2021; Ali et al., 2021). All three sharpen as vehicles accumulate, including where propagation conditions are benign. A channel model that resolves only propagation therefore reports messages arriving that a real deployment would lose, and it does so most severely at the dense intersections where cooperative safety applications are supposed to earn their value. The stack carries no mature model of NR PC5 Mode-2. Simu5G brings 5G NR to OMNeT++ but models the cellular Uu interface rather than the PC5 sidelink (Nardini et al., 2020). The one open OMNeT++ sidelink model, OpenCV2X, implements LTE-V2X Mode-4 and has not tracked NR (McCarthy et al., 2021). The standards-compliant NR Mode-2 implementation lives in ns-3 instead, as an extension of the 3GPPcalibrated 5G-LENA simulator (Ali et al., 2021; Patriciello et al., 2019; Koutlia et al., 2022). Researchers wanting NR Mode-2 realism therefore choose between abandoning the SUMO-coupled stack their safety pipeline is built on and accepting a communication model that omits the dominant loss mechanisms. We explore a third option. Rather than port a protocol stack, we distill the Mode-2 reception behavior of ns-3 5G-LENA into a compact model that runs inside Veins. We call it NS3Learn. SUMO trajectories drive ns-3 5G-LENA across vehicle densities, and we label reception outcomes from its physical- and MAClayer traces. Those labels train a cascade of stages that correspond one-to-one to half-duplex loss, SB-SPS collision, capture, and decoding, so every fitted number belongs to a named mechanism and can be checked against it. Every stage is a logistic function of vehicle density or signal-to-interference-plus-noise ratio, which keeps the composed model closed-form, readable, and cheap enough to evaluate for every message in an event-driven simulation. The cost of fidelity moves offline, into one labeling and fitting campaign, and the run time gains no protocol module to maintain. We score NS3Learn against ns-3 5G-LENA and against the two alternatives a practitioner would otherwise use. The first is the stack base channel (naive DSRC Implementation), left untouched. The second pairs two published NR Mode-2 models that partition reception between them, one governing medium access under SB-SPS (Cao, Liu, and Zhang, 2026) and one governing propagation (Rehman et al., 2023). Their components also serve as contention-only and propagation-only ablations. Neither reference represents capture, and neither is fitted to ns-3 5G-LENA. The comparison centers on the per-instant, in-range packet delivery ratio, the quantity a downstream metric depends on, rather than a time-averaged ratio that dilutes congestion effects under transient neighbor topologies (Toghi et al., 2019). A reception model matters where it changes a conclusion, so we follow each representation through to the driving behavior it induces, first under ordinary traffic and then under an adversarial flooding load that stresses the SB-SPS mechanism NS3Learn models (Twardokus and Rahbari, 2023). This paper makes four contributions. A distillation method transfers NR PC5 Mode-2 realism, 3

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge across propagation and medium-access contention, from 3GPP-calibrated ns-3 5G-LENA into the Veins, OMNeT++, and SUMO stack, and leaves no protocol module behind to maintain. The reception cascade it produces is closed-form and evaluated per message, and its stages map one-to-one to half-duplex, collision, capture, and decoding. Its coefficients appear here in full, and those fitted at one signalized junction carry to a structurally distinct second junction with no re-estimation, at about 20 percent more error. A combined analytical reference for NR Mode-2 delivery joins a medium-access model to a propagation model at a boundary that charges interference once, runs alongside the unmodified stack, and resolves into singleaxis ablations that attribute degradation to contention. Finally, the choice of reception model reaches the quantities a safety study reports: it reverses the direction of the speed trend, more than doubling hard braking under ordinary traffic, and registers an adversarial flood that neither reference represents at any flood rate. BACKGROUND AND RELATED WORK V2X Simulation for Safety in the Coupled Stack Bidirectional coupling of a network simulator and a traffic microsimulator is the established basis for V2X evaluation, since offline mobility traces cannot capture the feedback from communication back onto driving (Sommer, German, and Dressler, 2011; Lopez et al., 2018). Extensions toward cellular V2X have gone in two directions, and the sidelink falls between them. Simu5G adds a maintained 5G NR data plane to OMNeT++, scoped to the cellular Uu interface rather than the PC5 sidelink (Nardini et al., 2020). OpenCV2X supplies the sidelink but models LTE-V2X Mode-4, and shows the LTE sensing scheduler degrading under the aperiodic patterns typical of cooperative awareness traffic (McCarthy et al., 2021). NR Mode-2 evaluation has largely taken place outside OMNeT++, on ns-3 or dedicated MATLAB tooling (Ali et al., 2021; Todisco et al., 2021). What Governs NR Mode-2 Delivery, and How It Has Been Modeled Vehicles sense the channel, exclude recently reserved resources, and select from the remainder, holding a reservation for a randomized number of transmissions before reselecting (Garcia et al., 2021; Ali et al., 2021). An analytical decomposition for the LTE-V2X predecessor attributes packet loss to four causes: half-duplex transmission, received power below the sensing threshold, propagation, and packet collisions (Gonzalez-Martin et al., 2019). That four-way structure recurs across the literature and maps onto the stages of the distilled cascade below. For NR Mode-2, the analytical treatment splits along the same physicalversus-access boundary. One line derives the steady-state SB-SPS collision probability and resulting reception ratio in closed form, covering collisions from simultaneous reselection and from persistent reservation keeping, and validates the result against ns-3 5G-LENA (Cao, Liu, and Zhang, 2026). A second line models multiple-access interference at the physical layer, approximating SINR statistics under composite fading to obtain the packet-success probability (Rehman et al., 2023). Later work adds the standardized re-evaluation step (Zhu and Lin, 2025) and compares semi-persistent against dynamic scheduling (Lusvarghi et al., 2023). Each result holds within its own stochastic-geometry or fixed-traffic assumptions, and each covers one slice of the mechanism rather than the joint behavior. The two contention-aware members form the analytical baselines here. Physical-Layer Abstraction Versus Learned Realism A body of work speeds up system-level simulation by abstracting the physical layer rather than simulating it symbol by symbol. Link-to-system mapping based on the exponential effective signal-to-interferenceplus-noise ratio compresses per-subcarrier conditions into an effective value and reads block error rate from precomputed tables, the method underlying the physical-layer realism of 5G-LENA itself (Lagen et al., 2020). Later work specializes the technique to the NR sidelink, producing a transport-block error model for a single PSSCH link (Cao, Zhang, and Roy, 2023), and a related method for direct V2X reduces measured error-rate curves to one threshold plus an implementation-loss parameter, avoiding new link-level campaigns 4

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge (Wu et al., 2022). Two limits separate these abstractions from a distilled model. Modeling one link at a time excludes the multi-vehicle contention that dominates Mode-2 delivery, and the NR sidelink abstraction is derived with interference set to zero (Cao, Zhang, and Roy, 2023). Each also stays inside the simulator that produced it. Our model learns the system-level delivery outcome with contention included, and it moves to a different simulator. Learned Surrogates and Context-Fitting A compact model fitted to an expensive simulator escapes the accuracy-versus-cost trade-off between analytical models and packet-level simulation (Matsumoto et al., 2026). In the V2X setting, machine-learning models predict quality-of-service metrics such as packet delivery ratio and throughput from radio and context features, under validation protocols that guard against optimistic evaluation (Yazici and Gures, 2024). The nearest work proposes a neural surrogate for autonomous-driving communications trained from a coupled ray-tracing, cellular, and traffic simulator, targeting cellular throughput and latency for on-vehicle inference rather than for injection back into a network simulator (Matsumoto et al., 2026). Fitting realism to a deployment context has precedent: one study calibrates a Veins channel model against field-collected urban delivery data (Gammaa et al., 2025). Our cascade shares that premise and differs in three respects. It targets NR PC5 Mode-2 per-message reception instead of cellular aggregates. Its fitting source is a controllable 3GPP-calibrated implementation, not a field campaign. It then runs in the Veins stack rather than in the engine that produced its labels. Communication Realism and Its Effect on Driving Crashes are rare, so connected-vehicle safety studies rely on surrogate proxies such as time-to-collision. A systematic review of these measures ties their validity for connected and automated vehicles to how accurately the simulation models vehicle behavior and communication (Wang et al., 2021). A vehicle’s trajectory responds to which messages arrived, so every measure computed on that trajectory inherits the delivery model. The stakes are clearest under attack. Protocol-aware denial-of-service attacks exploit the predictability of SB-SPS resource selection, cutting a target vehicle’s delivery ratio within seconds and degrading roadway operations (Twardokus and Rahbari, 2023). Resource-starvation attacks on the same mechanism raise information age and safety risk while averaged delivery metrics fail to detect them (Ashik and Hossain, 2026). Studying how either translates into traffic outcomes inside the standard stack requires a channel model that represents SB-SPS. METHODOLOGY The method has four parts: the reference implementation that supplies the labels, the analytical baseline and the distilled cascade measured against it, the fitting and transfer protocol, and the evaluation metrics. The Reference Implementation The reference implementation for reception is the NR V2X Mode-2 sidelink implementation of ns-3 5GLENA, a system-level NR simulator calibrated against 3GPP reference scenarios (Ali et al., 2021; Patriciello et al., 2019; Koutlia et al., 2022). Vehicles transmit broadcast safety messages using SB-SPS autonomous resource selection with sensing enabled. Propagation follows the 3GPP TR 37.885 V2V-Urban model with vehicle-height antennas and non-line-of-sight-by-vehicle blockage (3GPP, 2019), the channel appropriate to sidelink and distinct from the cellular street-canyon models that serve Uu links. Both simulators run the same traffic context: one road network, demand pattern, penetration level, and seed per repetition. The cascade reads transmitter-receiver distance and in-range density, so it responds to the geometry it is placed in, and a shared network and demand is what grounds the delivery comparison. The two simulators play different roles. ns-3 5G-LENA resolves the radio and nothing else, replaying an exported trajectory file so that driving is prescribed and cannot respond to which messages arrive. 5

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge Prescribed mobility is standard for system-level radio evaluation and costs nothing when delivery is the only quantity of interest, though it forecloses questions about how communication quality shapes traffic. Veins can close that loop, driving SUMO over TraCI so that a vehicle acts on the messages it receives. The distilled cascade combines the two: a Mode-2 reception model inside a stack where driving can answer to it. The delivery and trajectory experiments differ in how far communication acts on driving. The delivery experiments disable both fail-safe responses and the message-driven controller switch, so connected vehicles hold the cooperative car-following model throughout and none of them changes that model on the strength of a received message. Signal-phase messages still inform the approach to a stop line, so the coupling is reduced rather than removed, and trajectories at a given seed stay close without being identical across treatments. The trajectory experiments enable the fail-safe, since a reception model can change driving only if driving answers to it, and there seeds of one configuration span a factor of two in total receptions. We report means over repetitions throughout. Hybrid automatic repeat request is active, and a reservation may carry up to three transmissions of a transport block. The reference implementation records 2.5 on average. A message counts as delivered once any of its transmissions decodes, so the fitted labels absorb the effect and it does not appear as a separate stage. Figure 1 traces the pipeline: SUMO mobility feeds ns-3 5G-LENA, whose physical- and MAC-layer traces reduce to per-stage labels, which we fit to a cascade and load into Veins for scenario studies.

FIGURE 1 Distillation pipeline. ns-3 5G-LENA replays a fixed SUMO trajectory file and supplies the fitting labels. The fitted model then runs inside OMNeT++/INET beside the combined analytical reference, where Veins and SUMO exchange state each step and delivery feeds back into driving.

Analytical Baseline For NR PC5 Mode-2, no published analytical model matches the completeness the four-cause decomposition achieved for LTE Mode-4 (Gonzalez-Martin et al., 2019). The closest attempt combines persistence and propagation to study the Age of Information, through a mean-field system-wide success probability rather than a per-link reception model. It also treats overlapping signals as certain loss, leaving capture unmodelled (Rolich et al., 2024). We therefore build a combined reference from two published Mode-2 models, each supplying the mechanism it was derived to represent, and treat its factors as contention-only and propagation-only ablations. This reference is a baseline rather than a contribution, so we state only what our implementation evaluates and refer to the source papers for the derivations. 6

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge Medium access. The first model treats delivery as the outcome of SB-SPS resource collisions with an error-free physical layer (Cao, Liu, and Zhang, 2026). A vehicle holds a resource for a reselection counter Rc ∼ U(5, 15) and reselects with probability 1 − pk when it expires. We count candidate resources over the window a transmitter selects from. 3GPP TS 38.214 §8.1.4 confines selection to [n + T1 , n + T2 ], so that window rather than the reservation period sets the count: Nr = W ρNsc for a window of W slots, Nsc subchannels per slot, and a sidelink slot-pool fraction ρ. Our implementation counts the window as T2 slots, giving W = 33, with ρ = 9/12 from the pool bitmap and Nsc = 5, hence Nr ≈ 124. Counting the span as T2 − T1 instead would give Nr ≈ 116, which moves no result reported here. Cao counts sidelink slots alone on an all-sidelink pool where ρ = 1; the ρ factor generalizes the count to a mixed pool. The stationary reselection probability is π0 = 1/11 per interval, and ns-3 5G-LENA disables resource keeping, so pk = 0 throughout and the general expression collapses to   2π0 NUE PCOL = 1 − 1 − , Na

(1)

which is what our implementation evaluates. The mean count of unoccupied resources Na depends on PCOL in turn, through the share of collided resources carrying Nc = 2 packets in the under-saturated regime, so the pair is solved jointly. Half-duplex loss is the slot fraction PHD = ts /TRRI , fixed at 0.01 and independent of density. This model represents contention faithfully but assumes error-free decoding absent a collision, carrying no distance dependence beyond the range cutoff. Propagation and decode. The second model treats delivery through the physical layer (Rehman et al., 2023). Received power follows an inverse-power law with Nakagami fading and log-normal shadowing, and the signal-to-interference-plus-noise ratio divides it by the aggregate co-resource interference plus noise. That aggregate has no closed-form density, so moment matching replaces it with a single log-normal. Integrating the block-error rate against the resulting density pγ̂ (x) gives the packet-success probability, p(d) = 1 −

Z ∞ 0

PER(x) pγ̂ (x) dx,

(2)

with PER(x) read from block-error-rate curves. We depart from the source in one respect: in place of its inverse-power law we substitute the TR 37.885 V2V-Urban path loss that ns-3 5G-LENA uses, retaining that model’s line-of-sight probability, vehicle-blockage excess, and log-normal shadowing. Giving the reference and ns-3 5G-LENA the same channel isolates the comparison on medium access, which a propagation mismatch would otherwise obscure. Combined reference. The two models occupy disjoint parts of the pipeline and join at their boundary: the first governs whether the medium impairs a transmission, through PCOL (n) and PHD , and the second governs whether a clean transmission decodes at distance. Counting interference twice is the one hazard, since collisions are already resolved as MAC events. The decode term is therefore taken in its noise-limited form, where the SINR reduces to the SNR defined for the no-interferer case (Rehman et al., 2023), giving   PDRM3 (d, n) = (1 − PHD ) 1 − PCOL (n) g SNR(d) ,

(3)

where g is Equation (2) evaluated with an empty interferer set. We write M3 for this combination of the two source models, and use that label in the figures and tables. Density drives the first two factors, distance the third, and capture appears in none of them. Equation (3) is the analytical counterpart of the distilled cascade, differing in that it omits capture and that its factors are derived under stochastic assumptions rather than fitted. Three scope conditions apply. The collision model is validated against ns-3 for transmitting-vehicle counts NUE ∈ [20, 200] over two subchannels, whereas our scenario spans in-range counts from roughly eight 7

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge to about sixty across five subchannels, so the sparsest condition extrapolates below the validated range. That model also assumes an under-saturated channel and deviates near saturation (Cao, Liu, and Zhang, 2026). The decode term reads a block-error-rate curve produced in a separate 5G Toolbox link simulation at 16QAM with code rate 553/1024, index 14 of the NR table and the setting ns-3 5G-LENA transmits at; no quantity derived from ns-3 output enters that curve. Reference and ns-3 5G-LENA therefore share channel and link configuration and differ only on medium access. Capture is absent by construction and no term is calibrated, so the deviations reported below follow from these stated choices rather than from tuning. The NS-3-Distilled Reception Cascade We model reception of a single message as a two-stage pipeline: a radio-frequency cascade distilled from ns-3, followed by an application-layer processing limit at the receiving on-board unit. The cascade decomposes delivery into physical mechanisms and represents each as a logistic function, σ (z) = 1/(1 + e−z ), of transmitter-receiver distance d, in-range transmitter count n, or post-path-loss signal-to-interferenceplus-noise ratio γ. The decomposition mirrors the four-cause structure established for sidelink delivery (Gonzalez-Martin et al., 2019), with capture treated explicitly so that resource collisions do not translate one-for-one into loss. The noise-limited signal-to-interference-plus-noise ratio at distance d follows from the link budget, γ(d) = Ptx − PL(d) − N0 ,

(4)

where Ptx is transmit power, N0 is the noise floor, and PL(d) is the TR 37.885 V2V-Urban path loss with per-link line-of-sight state and first-order shadow correlation (3GPP, 2019). A receiver loses a message while it is itself transmitting. This half-duplex loss grows with the number of concurrent transmitters, and we model it as a logistic function of density,  h(n) = σ η0 + η1 n + η2 n2 .

(5)

Independent SB-SPS selections collide when two transmitters reserve overlapping resources. The baseline collision probability, in the absence of any adversary, is likewise logistic in density,  c0 (n) = σ κ0 + κ1 n + κ2 n2 .

(6)

An adversarial flooder injecting at rate r raises the collision level. Each in-range active flooder a contributes a bounded factor qa , and survival multiplies over flooders, so an empty adversary set leaves the channel at its baseline,  qa (r, n) = σ ω0 + ω1 log10 r + ω2 log10 (n+1) + ω3 log10 r log10 (n+1) ,   c(n) = 1 − 1 − c0 (n) ∏ 1 − qa (ra , n) .

(7) (8)

a∈A

The transport block decodes with a probability that rises with signal-to-interference-plus-noise ratio and falls with density, whether or not a collision occurred. We represent capture with two decode branches, one for the collision-free case and one for the collided case, each a logistic surface in γ and n,  (b) (b) (b) (b) (b) g(b) (γ, n) = σ θ0 + θ1 γ + θ2 γ 2 + θ3 n + θ4 γn ,

b ∈ {nc, cc}.

(9)

The collision branch g(cc) carries the interferer penalty implicitly, so a near transmitter survives a collision that a far transmitter does not. That asymmetry is the capture effect.

8

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge Taking the expectation over the collision draw gives the radio-frequency delivery probability, i h  prf (d, n) = 1 − h(n) 1 − c(n) g(nc) (γ, n) + c(n) g(cc) (γ, n) . (10) Traffic exceeding the receiver’s processing budget drops at the application layer. With sliding-window load L over window W and capacity C = CobuW , the overload drop is   pobu = min 1, s · max 0, L−C , (11) C and the per-message delivery probability combines the two stages,  PDR(d, n) = prf (d, n) 1 − pobu .

(12)

Table 1 lists the fitted coefficients of Equations (5)–(11); the radio constants that Equation (4) reads are scenario-fixed and appear in Table 2. All fitted values come from ns-3 5G-LENA by the protocol described below. The simulation reads them from a plain-text file when a run starts, so moving the model to a new radio configuration means supplying new numbers rather than editing and rebuilding the simulator. Figure 2 shows the fitted stages against the ns-3 5G-LENA labels across the density and signal-to-interference-plusnoise-ratio range. TABLE 1 Fitted Coefficients of the Distilled Reception Cascade Symbol η0 , η 1 , η 2 κ0 , κ 1 , κ 2 ω0 , ω 1 , ω 2 , ω 3 (nc)

θ0–4

Meaning (equation) Half-duplex h(n), Eq. (5) Baseline collision c0 (n), Eq. (6) Flood factor qa , Eq. (7)

Value −2.41737, 7.05×10−3 , −4.61×10−5 −2.66873, 0.15898, −7.39×10−4 −0.037, −0.086, −0.398, 0.268

Decode, no collision, Eq. (9)

0.00686, 0.09830, 0.00231, 0.01918, −9.92×10−4

(cc) θ0–4

Decode, collision (capture), Eq. (9) −3.06368, 0.04412, 1.22×10−3 , −0.02376, −6.80×10−5 Assumed, not fitted: the reference implementation bounds no receiver processing Cobu , W, s OBU capacity, window, drop slope, Eq. (11) 600 pkt/s, 1 s, 2.0

Fitting and Transfer Protocol We fit each stage to the signal that isolates it. Half-duplex and collision labels come from the MAC schedule and the concurrent-transmission summary, both available across the full density range. Decode labels come from the per-reception physical-layer trace, collected at 25, 50, and 100 percent penetration, since sampling it at high penetration exposes the density dependence of decoding. Capture weakens as neighbors accumulate, which motivates the density terms θ3 and θ4 in Equation (9) and separates the two branches by more at low density than at high. Density must enter per reception rather than per run. Labeling each reception with the run-mean neighbor count collapses the trace onto a few density levels and overfits them, and the fitted surface then transfers poorly. Computing the receiver’s in-range neighbor count at the instant of each reception, matching how the run time evaluates the model, removes that bias and improves agreement across transmitter-receiver pairs from 0.085 to 0.072 mean absolute deviation. We fit each logistic stage by L2 -penalized logistic regression and validate the composed cascade on the per-instant in-range delivery ratio. The penalty matters for reproduction: the decode surfaces carry collinear terms in γ, γ 2 , and γn, and an unpenalized refit returns materially different coefficients for the non-collision branch. Table 1 reports the penalized estimates, which are the values the run time loads. 9

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge

FIGURE 2 Each cascade stage against the ns-3 5G-LENA labels it was fitted to; markers are empirical proportions with 95 % Wilson intervals, curves the deployed coefficients evaluated at each band’s mean density. The gap between (c) and (d), narrowing as neighbors accumulate, is the capture effect. Generalization follows from fitting on one geometry and validating on another. The coefficients in Table 1 are estimated at a single signalized intersection, then frozen and applied unchanged to a two-intersection urban corridor of comparable footprint. We also run ns-3 5G-LENA on that corridor to supply an out-ofsample reference. Both layouts concentrate neighbors around controlled junctions, so the transfer probes sensitivity to layout, scale, and signal timing rather than any contrast between clustered and dispersed traffic. Evaluation Metrics Delivery and its loss attribution measure the channel. Mean speed and hard braking measure what a difference in delivery does to driving. The primary communication metric is the per-instant, in-range packet delivery ratio, evaluated per link and aggregated over the messages M transmitted while their intended receivers are within communication range in the analysis window, PDR =

1 ∑ 1{m delivered}, |M | m∈M

Pr[m delivered] = PDR(dm , nm ).

(13)

Evaluating delivery per instant and per link, rather than averaging over a window during which the set of in-range neighbors changes, keeps the metric sensitive to congestion (Toghi et al., 2019). The second metric partitions the losses: we charge every discarded message to the stage that discarded it, so one run yields both the delivery ratio and its attribution across half-duplex, contention and decode, and receiver overload. Attribution distinguishes a model reaching the right delivery level from one reaching it through the wrong mechanism. Attack potency is the delivery loss attributable to the flooder, 10

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge

∆PDR = PDR

baseline

− PDR

attack

.

(14)

Mean speed tracks the effect on driving through time. It averages the instantaneous speed over the moving vehicles V (t) present at time t, v̄(t) =

1 ∑ vi (t). |V (t)| i∈V (t)

(15)

Hard braking completes the picture, normalized per thousand vehicle-time samples so that runs of different length and occupancy compare directly. A hard-braking event fires when a vehicle’s deceleration reaches −4.0 m/s2 , and it rearms only after recovery, so a prolonged interaction counts once rather than at every time step. We also record a safety conflict when a following vehicle’s time-to-collision falls to 3.0 s or below, on the same episode basis, and report below why that count is a poor discriminator here (Wang et al., 2021). We report each metric for the analytical baseline and the distilled model, under normal traffic and under the flooding condition of Equations (7)–(11). Scenario and Configuration The study uses two SUMO road networks. A single signalized intersection, spanning roughly 309 × 181 m, supplies the fitting data; a two-intersection urban corridor of comparable extent, 218 × 236 m, serves as the out-of-sample geometry. Each network carries one signalized junction per intersection. Demand holds constant while the connected share varies across six levels, 1, 5, 25, 50, 75, and 100 percent, so penetration alters the transmitter population without altering total traffic. Every connected vehicle broadcasts a 256-byte cooperative awareness message at 10 Hz, matching the 100 ms reservation interval. Connected vehicles follow SUMO’s cooperative adaptive cruise control model at a 0.6 s headway and a 1.0 m minimum gap, degrading to its adaptive cruise control model at 1.4 s and 2.0 m when the fail-safe of the next paragraph fires; both are the SUMO implementations (Lopez et al., 2018), whose control laws derive from Milanés and Shladover (Milanés and Shladover, 2014). Unconnected vehicles and bicycles keep the default intelligent driver model throughout, so penetration changes the driving model only for vehicles that carry a radio. SUMO’s own communication override for the cooperative model is left disabled, so message loss reaches driving through the reception model under test and through no other path. The fail-safe has two responses, both keyed to message staleness. When a leader’s awareness messages stop arriving for longer than 0.5 s, five consecutive losses at 10 Hz, the follower drops from the cooperative to the adaptive controller, which widens its headway. When signal-phase messages go stale by the same margin within 35 m of a stop line, the vehicle decelerates to a halt at the line at 3.0 m/s2 , bringing itself to a minimal risk condition in the sense of Society of Automotive Engineers (2021). Both responses reverse on the next message that arrives, and both are active in every treatment arm of the trajectory experiments, so no arm is advantaged by a degradation the others cannot express. Table 2 lists the radio and resource-pool configuration. Both simulators read the same values, and the selection-window bounds T1 and T2 take the ns-3 defaults. Each configuration runs five seeds. A repetition starts both simulators from the same demand realization: the SUMO seed follows the OMNeT run number, and that value also drives the trajectory export ns-3 replays. Runs last 200 s at penetrations up to 50 percent and 60 s at 75 and 100 percent, where vehicle counts make longer runs costly. The shorter horizon applies on the ns-3 side as well, which keeps every per-penetration comparison matched. Five seeds place the treatments apart without resolving small differences within one. Per-seed delivery for a single configuration carries a standard deviation of up to 0.05 across penetration levels and 0.02 at the highest, putting the standard error of a five-seed mean near 0.02. We therefore treat separations of

11

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge that order as indistinguishable. The gaps between treatments exceed it by more than an order of magnitude. Because traffic accumulates for less time, in-range density at 75 percent penetration does not exceed that at 50 percent. The mean in-range transmitter count measured in ns-3 5G-LENA rises from 8.5 at 5 percent to 58.2 at 50 percent, then reads 35.9 at 75 percent and 60.9 at 100 percent. The horizon therefore pairs 75 percent with 25 percent, and 100 percent with 50 percent, at nearly equal density. Delivery declines monotonically in measured density but not in penetration, so we report results against both. TABLE 2 Radio and Resource-Pool Configuration, Common to ns-3 5G-LENA and the Cascade Parameter Carrier frequency fc Channel bandwidth Numerology / subcarrier spacing Transmit power Ptx Noise figure Modulation and coding scheme Reservation interval TRRI Selection window [T1 , T2 ] Sensing window T0 / RSRP threshold Max transmissions per reservation Resource keeping pk / counter Rc Channel model Communication range

Value 5.9 GHz 10 MHz 0 / 15 kHz 23 dBm 7 dB 14 100 ms [2, 33] slots 100 ms / −110 dBm 3 0 / U(5, 15) TR 37.885 V2V-Urban 300 m

Note ITS band 5 subchannels, 10 resource blocks each 1 ms slot noise floor N0 = −94.28 dBm 16-QAM, code rate 553/1024 256 B message at 10 Hz TS 38.214 §8.1.4 sensing enabled HARQ enabled; 2.5 measured mean no persistent reservation line-of-sight state per link in-range threshold for all metrics

The ns-3 reference implements no application-layer security, so cryptographic delay is zero and receiver processing capacity is unbounded. Veins matches both, which leaves the channel model as the only difference between treatments. The overload stage of Equation (11) is therefore inactive outside the adversarial runs, where the values of Table 1 reinstate it. RESULTS AND DISCUSSION Results proceed from delivery, to the mechanisms producing it, to transfer across geometry, and then to the driving and adversarial outcomes. Three treatments run throughout, carrying the labels used in every figure and table: Plain, the channel the stack ships with; Analytical M3, the combined analytical reference of Equation (3); and NS3Learn, the distilled model. The same drop hooks inside OMNeT++ measure all three, so the comparison never depends on how a model derives its terms internally. Delivery Under Ordinary Traffic ns-3 5G-LENA establishes what a faithful Mode-2 channel does as vehicles accumulate. Per-instant in-range delivery falls from 0.952 at 1 percent penetration to 0.188 at 100 percent, a fall of more than four fifths driven by contention rather than distance, since the propagation environment is unchanged throughout. Figure 3 places every treatment against that reference. Plain, the unmodified channel, does not move. It is INET’s Ieee80211ScalarRadio with the analytical channel bypassed, and it delivers 1.000 at every penetration level. A scalar radio resolves a link budget without an interference model, so within range every message arrives and nothing in the configuration responds to a growing transmitter population. Its mean absolute deviation is 0.545, rising to 0.812 at the densest condition. A safety study run on this channel assumes every in-range neighbor hears every message, where ns-3 5G-LENA delivers under a fifth of them. The combined analytical reference moves in the right direction and stops far short. Delivery declines from 0.944 to 0.843, a span of 0.10 against ns-3 5G-LENA’s 0.76, giving a mean absolute deviation 12

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge of 0.441 and a worst case of 0.655 at 100 percent penetration. Joining a published collision model to a published propagation model, each evaluated on ns-3 5G-LENA’s own channel and link configuration, recovers roughly one eighth of the density response. The reference is calibrated for a regime whose collision probability never approaches what ns-3 5G-LENA measures here. NS3Learn tracks ns-3 5G-LENA across the full range at a mean absolute deviation of 0.064. That figure is a goodness of fit, since NS3Learn is fitted to ns-3 5G-LENA labels and then scored against them, whereas the deviations of the two references are the errors of models that never saw the target. We report the three side by side to measure how far a model built without contention can track a channel governed by it, rather than as a competitive ranking. The residual is close to one-sided. NS3Learn under-delivers at five of the six penetration levels and on the corridor, giving a signed mean bias of −0.063 against a mean absolute deviation of 0.064. The single exception is 25 percent, where it over-delivers by 0.004, an order of magnitude inside the per-seed spread at that level. Agreement is closest in the dense conditions: 0.302 against 0.298 at 25 percent, 0.119 against 0.151 at 50 percent, and 0.156 against 0.188 at 100 percent. The largest error sits at the sparsest condition, where NS3Learn returns 0.805 against 0.952 and overstates loss by 0.147. That condition carries a mean of 2.4 in-range transmitters, below the density range the collision and half-duplex stages were fitted over, and the logistic forms of Equations (5) and (6) retain a floor there that ns-3 5G-LENA does not exhibit: evaluated at n = 0 they still return 0.082 and 0.065. Constraining those stages to pass through the origin removes it, and is the first refinement we would make. The bias runs pessimistic almost throughout, which matters because the downstream conclusions in this paper are also pessimistic; a reader should weigh them knowing the model errs in that direction at every point we measured except 25 percent, where it is effectively unbiased. Panel (b) resolves an apparent anomaly in the penetration axis. Delivery does not fall monotonically in penetration: the 75 percent condition recovers to 0.349 from 0.151 at 50 percent. In measured density it falls monotonically. The shortened horizon at the two highest penetrations pairs 75 percent with 25 percent at 36.9 and 41.1 in-range transmitters, and 100 percent with 50 percent at 59.1 and 66.6. ns-3 5G-LENA delivers a comparable value within each pair, 0.349 against 0.298 and 0.188 against 0.151, the residual gap tracking the residual density gap, and NS3Learn reproduces both. Density, not connected share, sets Mode-2 delivery, and a model responding to density inherits that behavior automatically. Where Each Model Places Its Loss Matching a delivery level does not establish that a model matches the mechanism, so we label each discarded message by stage that discarded it. Figure 4(a) compares the two attributions against ns-3 5G-LENA’s total loss. The half-duplex term separates them. The analytical reference sets it to the share of time a vehicle spends transmitting instead of listening, PHD = ts /TRRI , a ratio of durations that cannot change as vehicles are added. ns-3 5G-LENA blocks 0.091 of receptions at the sparsest condition and 0.105 at the densest, and the fitted stage of Equation (5) follows it from 0.083 to 0.103 because it reads the neighbor count. What separates the two is the dependence, not the level. Granting the reference the same mean blocking fraction the fitted stage produces, 0.100 against 0.102 and at the top of the range ns-3 5G-LENA measures, still leaves its mean absolute deviation at 0.389 against 0.064, six times larger at matched average blocking. Smaller constants do worse: 0.441 at the single-transmission value the reference implementation specifies, 0.433 at the 0.025 implied by the 2.5 transmissions each reservation carries on average, and 0.423 at 0.040. No constant closes the gap, because the closed form omits a dependence rather than a value. What keeps the ns-3 5G-LENA receiver blocked so much longer than its own transmissions last is a property of that implementation, and NS3Learn reproduces it without explaining it. Contention accounts for the rest of the divergence. Loss in ns-3 5G-LENA reaches 0.812 at the densest condition, of which NS3Learn attributes 0.742 to contention and decode and 0.102 to half-duplex, 13

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge

FIGURE 3 Per-instant in-range delivery against ns-3 5G-LENA, by penetration (a) and by measured density (b). Error bars are the standard deviation over five seeds. Labels in (b) group the penetration levels that share a density. summing to slightly above the observed level. The analytical reference charges 0.147 to contention there, falling short by a factor of five. The shortfall is definitional as much as numerical. Our labels mark a transmission as collided when another overlaps its resource blocks in the same slot, counted across the whole network rather than within communication range. A mean of seven transmissions share each slot at the densest conditions, against five subchannels. Equation (1) resolves collisions among the in-range population alone, over a 124-resource selection window. The two quantities therefore differ whatever the merits of either, and we report the gap as a discrepancy to resolve rather than as evidence that the published model understates contention. Capture makes the difference tractable: ns-3 5G-LENA’s high collision rate does not translate into equally high loss, because the stronger of two overlapping signals frequently survives. A model without a capture branch must either understate collisions or overstate loss, and the reference takes the first path. Panel (b) isolates each analytical factor. Propagation alone is nearly indistinguishable from the untouched stack, at 0.531 mean absolute deviation against Plain’s 0.545, and its delivery rises slightly with penetration because denser traffic shortens the mean in-range link. Contention alone reaches 0.459, and adding propagation improves the combination to 0.441. Contention therefore carries nearly all of the reference’s explanatory power, with propagation contributing about 0.02 across a range in which ns-3 5G-LENA moves by 0.76. For NR Mode-2 in urban traffic, resolving propagation without resolving medium access performs about as well as no channel model. Transfer to an Unseen Geometry The corridor test uses the intersection coefficients unchanged, with no refitting, against an ns-3 5G-LENA reference run on the same geometry. On the corridor, ns-3 5G-LENA delivers 0.390 at 50 percent penetration, with a standard deviation of 0.002 across three seeds and a mean of 34.6 in-range transmitters. The corridor at 50 percent penetration sits nearest the intersection’s 75 percent density, 34.6 against 36.9, and the two runs deliver 0.390 and 0.349. Changing road layout, junction count, and signal timing shifts delivery by 0.04 once density is held approximately level, which identifies density as the variable that transfers. Frozen, NS3Learn returns 0.266 on the corridor, a deviation of 0.124, against 0.105 at the matched in-sample density. The deviation grows by about 20 percent when the geometry changes, and the residual 14

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge

FIGURE 4 Loss attribution against ns-3 5G-LENA’s total loss (a), and single-axis ablations of the analytical reference (b). In (b) the contention-only and combined curves nearly coincide, meeting at 75 and 100 percent, while propagation alone tracks the untouched stack. keeps its direction, the same conservative overstatement of loss seen at low density. The analytical reference returns 0.916, a deviation of 0.526. Transfer therefore costs NS3Learn some accuracy and leaves it more than four times closer to the out-of-sample reference than the reference, with no parameter re-estimated. Consequences for Driving Reception models earn their cost only if they change what a study concludes. The network-side runs enable the message-driven fail-safe in every arm, so a vehicle acts on what it receives and no arm can avoid a degradation the others express, and swapping the reception model while holding traffic, demand, seeds, and car-following model fixed isolates the effect. Figure 5 shows the two models moving in opposite directions. Under the analytical reference, mean speed rises from 3.79 to 4.11 m/s as penetration grows, which credits connectivity with improved flow. Under NS3Learn the same scenario yields mean speed falling from 3.79 to 3.36 m/s. The sign of the trend is the first divergence, and it comes from a direct measurement that needs no interpretation. Under NS3Learn at full penetration, 89 percent of recorded conflicts involve a leader below 0.5 m/s, and the following vehicle’s own median speed is 0.11 m/s: these are vehicles inching toward a stationary queue, not vehicles closing at speed. Message loss arms the fail-safe, which stops vehicles and forms queues. A metric that divides gap by closing speed then fires on every pair in the queue. We therefore report conflicts twice. Counted over all samples, exposure rises from 2.82 to 20.55 per thousand and reaches 1.9 times the reference at full penetration. Restricted to pairs where the follower exceeds 2 m/s and the leader exceeds 1 m/s, which retains 27 percent of samples at full penetration, it rises from 2.25 to 5.40 and reaches 1.4 times the reference. The gated ratio grows with penetration, from 0.99 at 5 percent to 1.42 at 100, though not monotonically. The divergence is therefore real, and its raw magnitude is inflated by about a third by queue formation. Hard braking responds to the gate in the opposite direction. It separates by 1.2 times before gating and 2.2 times after, at 1.38 against 3.04 events per thousand moving-pair samples, because braking under NS3Learn concentrates among vehicles still in motion while the analytical arm accumulates its events in slow traffic that the gate removes. Gating therefore strengthens rather than deflates this comparison, and Figure 5(b) shows the separation opening from 50 percent penetration onward. A third arm gives the outcome connectivity is measured against: the same scenario with the application disabled, so that no vehicle acts on any message. At full penetration that baseline reaches 3.77 m/s, 15

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge with 4.58 gated conflicts and 1.22 hard-braking events per thousand samples. The analytical reference places connectivity above the baseline on flow and on exposure, at 4.11 m/s and 3.81 conflicts, and marginally below it on hard braking at 1.38 events. NS3Learn places it below the baseline on every count, at 3.36 m/s, 5.40 conflicts and 3.04 events. From identical traffic inputs, differing only in which messages arrive, the two channel models therefore disagree about whether this cooperative application is worth deploying at all. The baseline also bounds what the result covers: a fail-safe that leaves traffic worse than no connectivity is a statement about that design as much as about the radio, and what we show is that the channel model decides which of the two verdicts a study reports. Delivery explains the divergence. A channel that keeps delivering under load lets cooperative behavior operate as designed. A channel that degrades as neighbors accumulate leaves vehicles acting on stale information when the intersection is busiest. The reference still delivers 0.843 at full penetration and reports the optimistic outcome. NS3Learn delivers 0.156, close to ns-3 5G-LENA’s 0.188, and reports the pessimistic one. A study adopting the reference would conclude that dense deployment is safe. The reference implementation contradicts that conclusion.

FIGURE 5 Traffic outcomes under the two reception models and a control with the application disabled, five seeds, fail-safe active in both treatment arms. Mean speed (a) moves in opposite directions relative to the control. Hard braking (b) counts moving pairs only; the analytical reference tracks the control closely while NS3Learn separates from both above 50 percent penetration.

Response to an Adversarial Flood A flooding adversary tests whether a model responds to load that is concentrated rather than distributed. The attacker broadcasts at 1000 pps against a 10 Hz background, and ns-3 5G-LENA’s own flood traces give the reference response. Receiver overload is active in these runs and dominates the delivery ratio, which makes the change in total delivery a poor discriminator: it is largest for the models delivering most at baseline, so it rewards under-delivery. Table 3 therefore reports the channel-side response, the change in loss charged to contention and decode. That quantity is what the adversary acts on, and it compares directly against ns-3 5G-LENA. ns-3 5G-LENA’s collision probability rises by 0.393 at low density, by 0.089 at the middle density, and by only 0.014 at the highest, where baseline collision already stands at 0.96 and leaves an adversary little room to add. NS3Learn responds where that response is large, charging an extra 0.176 to channel-side loss at the sparsest condition, three times its seed-to-seed spread. It recovers a little under half of ns-3 5GLENA’s rise rather than matching it. At the middle density it charges 0.046 against a spread of 0.014, so the response resolves there as well. At the highest density ns-3 5G-LENA moves by about one hundredth, and five seeds do not separate the NS3Learn estimate from zero, so the comparison there is inconclusive. 16

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge The two references carry no such response. The analytical reference moves the other way, by −0.003 on average and resolvably so at low density. Its collision term reads a neighbor count that excludes an active flooder, so introducing an attacker slightly thins the contending population it sees. Plain changes by exactly zero. Neither reference has a term any flood rate could act on. The analytical collision probability is a function of the in-range vehicle count, so an adversary transmitting a hundred times more often than its neighbors still enters as one vehicle. Plain carries no contention term at all. No parameter choice changes this, because the mechanism is absent rather than mis-tuned. Protocol-aware attacks on SB-SPS resource selection draw attention because they exploit the scheduler (Twardokus and Rahbari, 2023; Ashik and Hossain, 2026). A model whose channel term cannot register a flooder reports such an attack as harmless at the channel and charges its damage entirely to receiver processing. That sets the boundary of what each representation supports: NS3Learn carries a mechanism the flood rate enters, and the alternatives carry none. Sizing that response across attacker rates and populations needs a wider sweep than the single rate reported here. TABLE 3 Channel-Side Response to a 1000 pps Flooding Adversary

Density n 8.8 33.7 65.9 Mean

ns-3 5G-LENA collision prob. Baseline Attacked Change 0.196 0.589 +0.393 0.799 0.888 +0.089 0.957 0.971 +0.014 – – +0.165

Change in channel-side loss Analytical M3 NS3Learn −0.014 ± 0.004 +0.176 ± 0.056 −0.001 ± 0.002 +0.046 ± 0.014 +0.006 ± 0.010 +0.007 ± 0.007 −0.003 +0.076

Plain changes by 0.000 at every density and is omitted. The ns-3 5G-LENA baseline column is measured on the symmetric 10 Hz sweep, pooling 1.82M labeled transmissions, and the attacked column on the flood runs, pooling 1.06M. Cascade and reference columns are means over five matched baseline and attacked seeds, ± one standard deviation across seeds; the two sparser conditions separate from zero. Receiver-overload loss is excluded here and discussed in the text.

CONCLUSIONS Medium access governs NR PC5 Mode-2 delivery in urban traffic, and the propagation-oriented channels the OMNeT++, Veins, and SUMO stack inherited from its 802.11p origins cannot represent it. Measured against 3GPP-calibrated ns-3 5G-LENA, whose delivery falls from 0.952 to 0.188 as connected vehicles accumulate, the unmodified channel does not move, and a combined analytical reference built from two published Mode-2 models recovers about one eighth of that decline. Distilling ns-3 5G-LENA into NS3Learn, a five-stage logistic cascade, closes the gap to a mean absolute deviation of 0.064. The result is closed-form, evaluated per message, transparent in its coefficients, and free of any new protocol module. Three findings extend beyond this scenario. Attribution matters as much as accuracy. A slot-fraction half-duplex term cannot grow with density, and matching its average to the measured blocking fraction still leaves it six times further from the reference than a term that reads the neighbor count, so two models can reach one delivery figure through mechanisms that diverge under any change of conditions. Density rather than penetration is the governing variable, shown by matched-density pairs that deliver alike across penetration levels. Capture is a requirement rather than a refinement, because ns-3 5G-LENA still delivers a fifth of its messages where its collision rate exceeds 0.9. Holding traffic, demand, seeds, and car-following model fixed and changing only the reception model more than doubles hard braking and moves the outcome across the no-communication control: the analytical reference places connectivity above that control on flow and exposure, and NS3Learn places it below on every metric. Under an adversarial flood the difference is one of kind rather than degree. NS3Learn carries a channel-side mechanism the flood rate enters and registers 0.176 of additional loss where ns-3 5GLENA’s own response is largest; the analytical reference and the unmodified channel carry no such term 17

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge at any flood rate. Results on communication-dependent safety applications, cooperative automation, and sidelink attack studies are therefore contingent on a modeling choice rarely stated as one. This fidelity is now available without leaving the stack. Distillation costs one offline labeling and fitting campaign, and the fitted numbers then travel as a plain-text file the simulation reads when a run starts. Moving to another numerology, message rate, or resource pool means repeating that campaign rather than porting a protocol implementation. The recipe applies wherever a mature reference implementation exists in one simulator and the experiment must run in another. We release NS3Learn, its coefficients, and the distillation and analysis code, so that researchers and state ITS teams evaluating connected-vehicle safety on this stack can substitute a contention-aware channel for a propagation-only one and report results that describe the medium their vehicles share. Four limits bound the claims. Distillation reproduces its source, including whatever that source has wrong. We call ns-3 5G-LENA a reference implementation rather than ground truth for that reason, and the half-duplex residual is a concrete instance: a measured blocking fraction of 0.091 to 0.105 against a slot fraction of 0.010, or 0.025 once the average transmission count is folded in, may reflect how the sidelink receiver is implemented rather than how a radio behaves. Nothing in our method detects such an error, and a model fitted to it carries the error forward with the realism. Scope is narrow. We fit NS3Learn at one urban intersection under one channel model, numerology, and message rate, and demonstrate transfer to a second signalized urban junction rather than to a highway or another band. Both layouts concentrate vehicles at controlled stops, so the transfer probes layout, scale, and signal timing, not a contrast between clustered and dispersed traffic. Accuracy carries a systematic bias whose cause is identified rather than open. The residual is onesided at five of the six operating points and runs conservative, reporting more loss than the reference rather than less. Its mechanism is the logistic floor described above, a property of the functional form rather than of the data, and it binds only below the density range the stages were fitted over; constraining both to pass through the origin removes it. Two questions stay open. Our collision label counts an overlap anywhere in the network while Equation (1) resolves collisions in range alone, so the two are not measured over the same set. And the reference implementation’s collision probability rises with attacker rate, by 0.339 at 200 packets per second and 0.393 at 1000 at the sparsest density, while we evaluate the surrogate at the higher rate alone. Sweeping attacker rate and population would settle both. ACKNOWLEDGMENT The authors acknowledge the use of Anthropic (2026), Opus 4.8 for controlled python code generation, code audit, compilation of relevant sources, grammar and writing error audits only. AUTHOR CONTRIBUTIONS The authors confirm contribution to the paper as follows: study conception and design: R. Bello, J. Mwakalonge, J. Sahoo; data collection: R. Bello, A. Mukwaya; analysis and interpretation of results: R. Bello, G. Comert, V. Bendigeri, V. Vaidyan; draft manuscript preparation: R. Bello, A. Mukwaya, A. Dontoh. All authors reviewed the results and approved the final version of the manuscript. DECLARATION OF CONFLICTING INTERESTS The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article. FUNDING This research was partly funded by the U.S. Department of Education through the HBCU Master’s Program Grant (Grant No. P120A210048); the U.S. Department of Transportation’s University Transportation Centers Program grant, administered by the Transportation Program at South Carolina State University (SCSU); 18

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge and the National Science Foundation (NSF) under Grant Nos. 2131080, 2242812, 2200457, 2234920, and 2305470.

19

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge REFERENCES 3GPP (2019). “Study on evaluation methodology of new Vehicle-to-Everything (V2X) use cases for LTE and NR (Release 15)”. Tech. rep. TR 37.885. 3rd Generation Partnership Project (3GPP). Ali, Zoraze et al. (2021). “3GPP NR V2X Mode 2: Overview, Models and System-Level Evaluation”. In: IEEE Access 9, pp. 89554–89579. DOI: 10.1109/ACCESS.2021.3090855. Ashik, Mahmudul Hassan and Moinul Hossain (Mar. 2026). “Analyzing the Impact of Adversarial Attacks on C-V2X-Enabled Road Safety: An Age of Information Perspective”. arXiv:2603.03462 [cs.CR]. DOI: 10.48550/arXiv.2603.03462. Cao, Liu, Zhaoyu Liu, and Lyutianyang Zhang (Mar. 2026). “Toward 6G Sidelink Reliability: MAC PRR Modeling for NR Mode 2 SPS and ns-3 Validation”. arXiv:2309.16680 [cs.NI]. DOI: 10.48550/arXiv. 2309.16680. Cao, Liu, Lyutianyang Zhang, and Sumit Roy (June 2023). “Efficient PHY Layer Abstraction for 5G NR Sidelink in ns-3”. en. In: Proceedings of the 2023 Workshop on ns-3. Arlington VA USA: ACM, pp. 115–120. DOI: 10.1145/3592149.3592163. Gammaa, Ahmed et al. (Feb. 2025). “Improving VANET Simulation Channel Model in an Urban Environment via Calibration Using Real-World Communication Data”. arXiv:2502.07954 [cs.ET]. DOI: 10.48550/arXiv.2502.07954. Garcia, Mario H. Castañeda et al. (2021). “A Tutorial on 5G NR V2X Communications”. In: IEEE Communications Surveys & Tutorials 23.3, pp. 1972–2026. DOI: 10.1109/COMST.2021.3057017. Gonzalez-Martin, Manuel et al. (Feb. 2019). “Analytical Models of the Performance of C-V2X Mode 4 Vehicular Communications”. In: IEEE Transactions on Vehicular Technology 68.2, pp. 1155–1166. DOI : 10.1109/TVT.2018.2888704. Koutlia, Katerina et al. (May 2022). “Calibration of the 5G-LENA System Level Simulator in 3GPP reference scenarios”. arXiv:2205.03278 [cs.NI]. DOI: 10.48550/arXiv.2205.03278. Lagen, Sandra et al. (June 2020). “New Radio Physical Layer Abstraction for System-Level Simulations of 5G Networks”. In: ICC 2020 - 2020 IEEE International Conference on Communications (ICC). Dublin, Ireland: IEEE, pp. 1–7. DOI: 10.1109/ICC40277.2020.9149444. Lopez, Pablo Alvarez et al. (2018). “Microscopic Traffic Simulation using SUMO”. In: 2018 21st International Conference on Intelligent Transportation Systems (ITSC). Maui, HI: IEEE, pp. 2575–2582. DOI: 10.1109/ITSC.2018.8569938. Lusvarghi, Luca et al. (Aug. 2023). “A comparative analysis of the semi-persistent and dynamic scheduling schemes in NR-V2X mode 2”. en. In: Vehicular Communications 42, p. 100628. DOI: 10 . 1016 / j . vehcom.2023.100628. Matsumoto, Ibuki et al. (Jan. 2026). “Neural Surrogate Model for Autonomous Driving Communications Based on Strategic Sampling”. en. In: Companion Proceedings of the 27th International Conference on Distributed Computing and Networking. Nara Japan: ACM, pp. 30–31. DOI: 10 . 1145 / 3737611 . 3776965. McCarthy, Brian et al. (Mar. 2021). “OpenCV2X: Modelling of the V2X Cellular Sidelink and Performance Evaluation for Aperiodic Traffic”. arXiv:2103.13212 [cs.NI]. DOI: 10.48550/arXiv.2103.13212. Milanés, Vicente and Steven E. Shladover (2014). “Modeling cooperative and autonomous adaptive cruise control dynamic responses using experimental data”. In: Transportation Research Part C: Emerging Technologies 48, pp. 285–300. DOI: 10.1016/j.trc.2014.09.001. Nardini, Giovanni et al. (2020). “Simu5G–An OMNeT++ Library for End-to-End Performance Evaluation of 5G Networks”. In: IEEE Access 8, pp. 181176–181191. DOI: 10.1109/ACCESS.2020.3028550. Patriciello, Natale et al. (Nov. 2019). “An E2E simulator for 5G NR networks”. In: Simulation Modelling Practice and Theory 96, p. 101933. DOI: 10.1016/j.simpat.2019.101933. Rehman, Abdul et al. (May 2023). “On the Impact of Multiple Access Interference in LTE-V2X and NRV2X Sidelink Communications”. en. In: Sensors 23.10, p. 4901. DOI: 10.3390/s23104901. 20

R. Bello, A. Mukwaya, G. Comert, V. Vaidyan, V. Bendigeri, A. Dontoh, J. Sahoo, and J. Mwakalonge Rolich, Alexey et al. (2024). “Understanding the impact of persistence and propagation on the Age of Information of broadcast traffic in 5G NR-V2X sidelink communications”. In: Computer Networks 248, p. 110503. DOI: 10.1016/j.comnet.2024.110503. Society of Automotive Engineers (Apr. 2021). “SAE J3016: Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicles”. Tech. rep. J3016_202104. Society of Automotive Engineers (SAE). Sommer, C, R German, and F Dressler (Jan. 2011). “Bidirectionally Coupled Network and Road Traffic Simulation for Improved IVC Analysis”. In: IEEE Transactions on Mobile Computing 10.1, pp. 3–15. DOI : 10.1109/TMC.2010.133. Todisco, Vittorio et al. (2021). “Performance Analysis of Sidelink 5G-V2X Mode 2 Through an OpenSource Simulator”. In: IEEE Access 9, pp. 145648–145661. DOI: 10.1109/ACCESS.2021.3121151. Toghi, Behrad et al. (July 2019). “Spatio-temporal Dynamics of Cellular V2X Communication in Dense Vehicular Networks”. arXiv:1906.08634 [eess.SY]. DOI: 10.48550/arXiv.1906.08634. Twardokus, Geoff and Hanif Rahbari (Nov. 2023). “Toward Protecting 5G Sidelink Scheduling in CV2X Against Intelligent DoS Attacks”. In: IEEE Transactions on Wireless Communications 22.11, pp. 7273–7286. DOI: 10.1109/TWC.2023.3249665. Wang, Chen et al. (July 2021). “A review of surrogate safety measures and their applications in connected and automated vehicles safety modeling”. en. In: Accident Analysis & Prevention 157, p. 106157. DOI: 10.1016/j.aap.2021.106157. Wu, Zhuofei et al. (Nov. 2022). “A Methodology for Abstracting the Physical Layer of Direct V2X Communications Technologies”. en. In: Sensors 22.23, p. 9330. DOI: 10.3390/s22239330. Yazici, Ibrahim and Emre Gures (Apr. 2024). “NR-V2X Quality of Service Prediction Through Machine Learning with Nested Cross-Validation Scheme”. arXiv:2404.06286 [cs.IT]. DOI: 10 . 48550 / arXiv . 2404.06286. Zhu, Shuo and Siyu Lin (Oct. 2025). “Analytical Model of NR-V2X Mode 2 with Re-Evaluation Mechanism”. arXiv:2510.27108 [cs.NI]. DOI: 10.48550/arXiv.2510.27108.

21

Record · ID 978380 · SHA-256 b9522ac57126563a
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.