mirror of
				https://github.com/Ahp06/SUMO_Emissions.git
				synced 2025-11-04 12:09:20 +00:00 
			
		
		
		
	Updated How to run (markdown)
@@ -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`
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user