Applicable Versions | NetSim Standard | NetSim Pro |
Applicable Releases | v11 | v12 | v13 |
Problem Definition:
NetSim may load an empty grid when attempting to import a SUMO configuration file (*sumo.cfg/*.sumocfg) as shown below, in some of the following cases.
Case 1:
NetSim requires the time element with begin, end and step-length values to be part of the SUMO configuration file that is being imported:
For Eg:
<!-- generated on 06/08/20 15:40:01 by Eclipse SUMO Version 1.2.0 --> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> <input> <net-file value="osm.net.xml"/> <route-files value="osm.passenger.trips.xml"/> <additional-files value="osm.poly.xml"/> </input> <time> <begin value="0"/> <end value="100"/> <step-length value="0.4"/> </time> <processing> <ignore-route-errors value="true"/> </processing> <routing> <device.rerouting.adaptation-steps value="180"/> </routing> <report> <verbose value="true"/> <duration-log.statistics value="true"/> <no-step-log value="true"/> </report> <gui_only> <gui-settings-file value="osm.view.xml"/> </gui_only> </configuration>
If <time> element is missing in the sumo configuration file, then NetSim may load a blank grid without any vehicles.
Solution:
Add the <time> element manually in the SUMO configuration file by opening it in a text editor.
Save the changes and attempt to import the updated file in NetSim.
Add the <time> element manually in the configuration file by opening the file in a text editor.
Save the changes and attempt to import the file again.
Note: For the end value specifying a value closer to the time at which the last vehicle leaves the network in SUMO, is recommended. This is because, even if you specify a large value for the end time, simulation in SUMO will end when the last vehicle leaves the network while running with NetSim. This is because beyond this time there is no relevant information that NetSim can extract from SUMO.
Case 2:
Python version compatible with NetSim version is either not installed or not configured correctly.
Solution:
Ensure that the version of Python that is usually installed alongside NetSim is installed properly.
Check whether Python install path is part of the the system path variable for Python to be recognized as a valid command and be able to execute python scripts.