1
0
mirror of https://github.com/Ahp06/SUMO_Emissions.git synced 2024-11-22 19:46:30 +00:00

Updated How to run (markdown)

Axel HUYNH-PHUC 2019-01-22 17:06:51 +01:00
parent c6dae1f717
commit 8d62352efc

@ -1,20 +1,21 @@
# How to run # How to run
This application can be launched from an IDE, or from a shell (linux, Windows, Mac).
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:** **With a Shell:**
See user commands help :
![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/runner_help.PNG) ![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/runner_help.PNG)
Example : Create a data dump from simulation directory :
![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/runner_example.PNG) ![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/runner_new_dump.PNG)
This command will create a new dump "dump1" with the configuration file "config" This command will create new dump called "dump" from the simulation directory "mysimulationdir" with a 10x10 grid.
and the simulation will be launched with CSV data export and logs backup.
Run simulations in parallel with multiple configuration files :
![](https://github.com/Ahp06/SUMO_Emissions/blob/master/sumo_project/files/imgs/runner_run_ex.PNG)
This command will run a simulation dump "dump" with the configuration file(s) "config1" and "config2"
with CSV data export and logs backup.