Applicable Releasesv10.2


NOTE: 

1. From Netsim v11 onwards, a dedicated module named "LTE-VANET" has been introduced to perform Vehicular Network simulations using Netsim LTE library. 

2. From v12.2 onwards, the networks LTE VANET, LTE D2D and LTE Femtocell have been removed as the source codes for LTE and 5G NR have been merged


Following steps can be used to interface LTE in NetSim with SUMO to handle mobility of User Equipment in SUMO:


1. Download the attached Property.xml file which is customized for adding the SUMO mobility model to the list of mobility models available in the User Equipment.

2. Rename the existing Property.xml file present in <NetSim_Install_Directory>/Docs/xml folder, as a backup and paste the downloaded Property.xml file there.

3. Create a network scenario in the NetSim LTE module with MME, ENB's and UE's and configure applications as required. An example is shown below:


4. Create a SUMO configuration with the number of vehicles as per your requirement. This can be equal to the total number of UEs in the network scenario created in NetSim if you wish to introduce vehicular mobility in all the UE's. Else this can be equivalent to the selective number of UEs where you wish to introduce vehicular movement.

5. In the SUMO vehicle route file (.rou.xml) make sure that the vehicle "id" is set to the device name as specified in NetSim. An example is shown below:


6. In the UE's where you wish to introduce vehicular mobility, go to the device properties and set the mobility model to SUMO and specify the path to the SUMO configuration file (.sumo.cfg)in the Sumo File text box. This should be done only for the UEs for which the vehicle "id" was modified as explained in the previous step.  This can be done for all devices if you have vehicles equivalent to the number of UEs in NetSim. An example is shown below:

7. Enable advanced features - Packet Trace, Event Trace, and Dynamic Metrics optionally. 

8. Click on the Run Simulation button.  It is preferable to specify the simulation time less than or equal to the end time specified in the sumo configuration (sumo.cfg) file.  Click on OK with the default option "Record Animation" selected. 

9. As simulation starts SUMO interface(Vanet.exe) command line will be initialized in parallel and will be displaying the step calculations done in SUMO during runtime. SUMO interface window will be terminated before simulation in NetSim is over since SUMO takes care of road traffic conditions whereas NetSim takes care of the Network Communication and instantiates the TCP/IP stack for each device taking part in the simulation.

10. At the end of the simulation, NetSim will provide detailed performance metrics along with packet trace, event trace,  link, and application throughput plots based on the user configuration done. 

11. Users can view the mobility of the UE's in the Packet animator to visualize the vehicular movement introduced as per the configuration done in SUMO.

12. To visualize vehicular movement in SUMO during runtime, run the simulation with the "Play & record animation" option selected in the Run Simulation window. 


13. Now in addition to the SUMO Interfacing console, SUMO-GUI will be loaded in parallel. Vehicular movement can be visualized here by configuring the coloring schemes for better visibility. The following window can be obtained by clicking on the colored palette just before the camera icon. Under vehicles, set Show As to 'simple shapes' and set Exaggerate by to 20 or any other value as per your preference and click on Use button.

                                       

14. You will now start seeing vehicle movement in SUMO-GUI as per the number of vehicles, departure time and routes configured in the routes (rou.xml)file. You can zoom in and out and perform other customizations to visualize it better.

15. Once simulation ends in NetSim, the SUMO GUI termination command will be initiated, which will stop the animation in SUMO. 


For further reference and documentation related to SUMO visit: http://sumo.dlr.de/wiki/Simulation_of_Urban_MObility_-_Wiki