1
0
mirror of https://github.com/Ahp06/SUMO_Emissions.git synced 2024-09-29 02:46:39 +00:00

Updated How to run (markdown)

Axel HUYNH-PHUC 2018-12-12 10:59:21 +01:00
parent 9ef29bee25
commit dcbb13c52e

@ -6,18 +6,14 @@ You can use your own scenario file (osm.sumocfg file), see : http://sumo.dlr.de/
**With a Shell:**
`py ./emissions.py`
`> py ./emissions.py [-f CONFIGFILE] [-save] [-ref]`
Will launch a simulation with the default_config.json file.
`py ./emissions.py -f configs/config1.json -save`
Will load the configuration file "config1.json" and save logs into the logs directory
`py ./emissions.py -f configs/config1.json -save -ref`
By using -ref option it will launch a reference simulation (without acting on infrastructure and vehicles)
By default logs will be in the logs file in the working directory with this format:
* [-f CONFIGFILE] : Choose your configuration file from your working directory
* [-save] : Save the logs, by default logs will be in the logs file in the working directory with this format:
`sumo_project/logs/sumo_logs_{current_timestamp}.log`
* [-ref] : Launch a reference simulation (without acting on infrastructure and vehicles)
Ex : `> py ./emissions.py -f configs/your_config.json -save -ref`