# Priority-Driven Resource Allocation with Reuse for Platooning in 5G Vehicular Network
## 5 Results and Analysis  
### Simulation Configuration and Performance Metrics  
In this section, we describe the simulation scenario and provide a detailed performance comparison between the proposed algorithm and the existing algorithms. As comparison algorithms, Max-C/I, a simple priority-based algorithm, and a priority-based reuse algorithm where general vehicles utilize distance-based resource reuse to allocate remaining resources were employed. The performance of the proposed algorithm is then assessed through a comprehensive analysis of the simulation results. In this paper, various modules and frameworks are employed to conduct the simulation, and their interconnection within the simulation framework is illustrated in Figure 8. The primary tool utilized is Simu5G, a module compliant with the 3 GPP standard that supports NR-V2X communication [46]. Simu5G operates on OMNeT++ (Version 5.6.2, OpenSim Ltd., Budapest, Hungary), a C++ ([[https://isocpp.org/](https://isocpp.org/)]([https://isocpp.org/](https://isocpp.org/)), accessed on 12 January 2025) simulation library and framework, and incorporates INET, an open-source framework offering tools for simulating communication networks. Additionally, the SUMO framework is used to simulate realistic vehicular mobility by generating road networks and vehicles [47]. SUMO provides an API that enables interaction with the generated vehicles. This interaction is facilitated through the Traffic Control Interface (TraCI), which allows real-time control of vehicle behavior, such as speed and position, and provides access to detailed simulation data. By utilizing Veins, another open-source vehicular network simulation framework, the TraCI API is integrated into the OMNeT++ simulation environment, ensuring that the realistic vehicular mobility generated in SUMO is accurately reflected in the vehicles simulated in Simu5G. Through the integration of these tools, we achieve a realistic simulation of V2X communication scenarios. The scenario consists of both general and platoon vehicles communicating over the PC5 interface. In this scenario, vehicles travel at an average speed of 90 km/h on a 3 km long, six-lane highway, with RSUs deployed at intervals of 500 m. General vehicles transmit 200 bytes of BSM to the nearest RSU every 100 ms via V2I communication and simultaneously transmit 200 bytes of CAM to a random vehicle within a 300 m range every 100 ms. A platoon vehicle transmits 400 bytes of platoon safety messages to the next vehicle through V2V communication every 30 ms. These parameters reflect realistic vehicular communication patterns and network density, ensuring the scenario captures typical V2X traffic conditions. The choice of certain parameters is crucial to simulate realistic vehicular network environments. For instance, the bandwidth of 10 MHz, as shown in Table 1, is chosen to reflect a practical frequency allocation within the 5.9 GHz band, commonly used for V2V and V2I communications [48]. This bandwidth is sufficient to support the high data rate requirements of platooning vehicles, which frequently transmit larger safety packets (e.g., 400 bytes every 30 ms). The transmission power of 23 dBm was selected based on 3 GPP specifications, as it represents the maximum transmit power for C-V2X communication [49]. Moreover, the simulation uses a path loss factor of 4, based on the 3 GPP-TR 36.873 model, which represents the signal attenuation in vehicular environments, where the distance between vehicles can vary. The threshold SINR is set to the minimum SINR, which results in a signal reception probability of 99% or higher when the Modulation and Coding Scheme (MCS) is 5. Other simulation parameters follow the default settings provided by Simu5G, which are based on standardized values that have been validated to accurately reflect real-world vehicular network environments. The simulation was conducted by increasing the number of platoon vehicles from 1 to 5. As the number of platoon vehicles increases, the resources allocated to general vehicles decrease.