1
0
mirror of https://github.com/Ahp06/SUMO_Emissions.git synced 2024-11-23 20:16:29 +00:00
Python application to simulate fuel emissions with SUMO simulator and act on vehicles and infrastructure if pollution exceeds a threshold
Go to file
2019-02-07 19:35:02 +01:00
sumo_project Changed the logger name 2019-02-07 19:14:06 +01:00
.gitignore Initial commit 2019-02-01 11:06:26 +01:00
README.md Update README.md 2019-02-07 19:35:02 +01:00

SUMO Emissions

This "Proof of concept" aims to simulate the impact that connected vehicles and smart urban infrastructure would have on pollutant emissions. Using the SUMO simulator, we developed several parameters and measures using Traci to act on the road infrastructure and vehicles.

We imagined that for a map of a given city, the city would be divided into areas, which when the pollution rate exceeds a certain threshold in these then we act on the infrastructure and the vehicles present in this zone.

Prerequisites:

How to run

This application can be launched from an IDE, or from a shell (linux, Windows, MacOS). You will need a config.json configuration file (see default_config.json for a template) and a simulation file. You can use your own scenario file (osm.sumocfg file), see : SUMO Tutorials.

With a Shell:

Create a data dump from simulation directory :

py ./runner.py -new_dump dump -areas 10 -simulation_dir [PATH_TO_SIMUL_DIR]

This command will create new dump called "dump" from the simulation directory chosen with a 10x10 grid.

Run simulations in parallel with multiple configuration files :

py ./runner.py -run dump -c [PATH_TO_CONFIG1] [PATH_TO_CONFIG2] -save -csv

This command will run a simulation dump "dump" with the configuration file(s) "config1" and "config2" with CSV data export and logs backup.

From a folder which contains multiple configuration files :

py ./runner.py -run dump -c_dir [PATH_TO_CONFIG_DIR] -save -csv