From 21a9ceefb15fb6decbbfa2c24d5965a3eecc0296 Mon Sep 17 00:00:00 2001 From: Axel HUYNH-PHUC Date: Tue, 11 Dec 2018 21:38:05 +0100 Subject: [PATCH] Created How to run (markdown) --- How-to-run.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 How-to-run.md diff --git a/How-to-run.md b/How-to-run.md new file mode 100644 index 0000000..cd65200 --- /dev/null +++ b/How-to-run.md @@ -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) +