NetSim will be able to load the road network only if SUMO is able to successfully load the SUMO configuration in SUMO GUI. Verify whether your SUMO Configuration file is valid by opening it in SUMO-GUI. To open SUMO GUI go to "c:/SUMO/bin" and in latest versions," C:\Program Files (x86)\Eclipse\Sumo\bin "and double click on sumo-gui.exe. Then try opening your configuration file from Open->Simulation.
- If you haven't configured any of the files associated with SUMO then error messages will be displayed in SUMO.
- You could then use the information provided in the error message to perform corrections.
- Missing close tags, spelling mistakes etc in the associated XML files would also lead to error while opening. The XML files can be opened in Visual Studio to quickly identify such errors which will be highlighted and perform corrections.
The above screenshot displays and error due to missing close tag for <time>
The above screenshot displays an error due to incorrect spelling in routers close tag </routers>.
- After performing the corrections confirm that the Configuration is valid by running simulations in SUMO. After that attempting to load the network scenario via NetSim VANET will help you load a replica of the SUMO network scenario in NetSim GUI where you could further configure traffic and properties of each vehicle with respect to network communication.
Note: If your SUMO network scenario involves OSM Maps then you will have to follow the steps provided in the following knowledge base article