1
0
mirror of https://github.com/Ahp06/SUMO_Emissions.git synced 2024-11-22 03:26:30 +00:00
sumo-emissions/README.md

32 lines
1.6 KiB
Markdown
Raw Normal View History

2019-01-17 17:10:43 +00:00
# SUMO Emissions
2019-01-17 17:09:41 +00:00
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.
2019-01-20 08:45:45 +00:00
![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/simulation_example.PNG)
2019-01-17 17:09:41 +00:00
# Prerequisites:
2019-01-20 10:58:45 +00:00
* Python >3.7 : https://www.python.org/downloads/
* External Python librairies : shapely, parse, jsonpickle : ``` > pip install [LIBRARY_NAME] ```
* SUMO 1.1.0 : http://sumo.dlr.de/wiki/Downloads
2019-01-17 17:09:41 +00:00
# How to run
This application can be launched from an IDE, or from a shell (linux or Windows).
You will need a config.json configuration file (see [default_config.json](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/configs/default_config.json) for a template) and a simulation file.
You can use your own scenario file (osm.sumocfg file), see : [SUMO Tutorials](http://sumo.dlr.de/wiki/Tutorials).
**With a Shell:**
2019-01-20 08:45:45 +00:00
![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/runner_help.PNG)
2019-01-17 17:09:41 +00:00
2019-01-20 10:48:37 +00:00
Example :
2019-01-17 17:09:41 +00:00
2019-01-20 08:45:45 +00:00
![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/runner_example.PNG)
2019-01-20 10:48:37 +00:00
This command will create a new dump "dump1" with the configuration file "config"
and the simulation will be launched with CSV data export and logs backup.