mirror of
https://github.com/Ahp06/SUMO_Emissions.git
synced 2024-11-24 12:36:30 +00:00
Created How to run (markdown)
parent
afa83b5739
commit
21a9ceefb1
20
How-to-run.md
Normal file
20
How-to-run.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# 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 for a template).
|
||||||
|
You can use your own scenario file (osm.sumocfg file), see : http://sumo.dlr.de/wiki/Tutorials.
|
||||||
|
|
||||||
|
**With a Shell:**
|
||||||
|
|
||||||
|
`py ./emissions.py`
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user