ryangali / Real-Life-Traffic-Simulation-Using-SUMO

Step-by-step instructions to create a real-life simulation using the Simulation of Urban Mobility (SUMO).
0 stars 0 forks source link

Graph #1

Open Hitanandsingh opened 2 years ago

Hitanandsingh commented 2 years ago

Sir can you explain how to add a graph that give the results of the simulation so as to compare it with a machine learning one?

ryangali commented 2 years ago

Sir can you explain how to add a graph that give the results of the simulation so as to compare it with a machine learning one?

Hi, the SUMO program will give you output files after creating a simulation. One of them is the information for vehicles departures and arrival times, etc. SUMO can help you create a graph that shows the amount of vehicles currently running in the simulation. This graph is a basic line graph but its not really the results of the simulation.

The results of the simulation which I focused on for my work was on the data on Green House Gas Vehicular Emissions such as CO, CO2, HC, PMx, and NOx emissions. The output file generated by SUMO only gives you the raw data as an excel file with all the emissions at each given time step of the simulation. You would have to do the graphs yourself using the data from the excel files as SUMO doesn't generate the graphs itself. For the raw data on emissions just add the output file line in the SUMO.cfg file:

Here is a list of some of the output files that you can generate from your SUMO simulation just adding it in the SUMO.cfg file.

Hitanandsingh commented 2 years ago

Okay thanks