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

Updated Configuration file (markdown)

Axel HUYNH-PHUC 2019-01-22 17:13:27 +01:00
parent 8d62352efc
commit 9441d4dfc9

@ -5,9 +5,7 @@ default_config.json :
``` ```
{ {
"_SUMOCMD": "sumo", "_SUMOCMD": "sumo",
"_SUMOCFG": "simulations/mulhouse_simulation/osm.sumocfg",
"areas_number": 10,
"emissions_threshold": 500000, "emissions_threshold": 500000,
"n_steps": 200, "n_steps": 200,
"window_size":100, "window_size":100,
@ -29,17 +27,13 @@ default_config.json :
You can change many settings through this file: You can change many settings through this file:
* _SUMOCMD : Use 'sumo-gui' to launch the application with the GUI, 'sumo' without. * _SUMOCMD : Use 'sumo-gui' to launch the application with the GUI, 'sumo' without.
* _SUMOCFG : Path to the scenario file *.sumocfg.
* areas_number : choice of the map grid , this will create areas_number x areas_number areas.
* emissions_threshold : threshold of pollutants emissions (in mg) beyond which the program acts on the areas. * emissions_threshold : threshold of pollutants emissions (in mg) beyond which the program acts on the areas.
* n_steps : Define the duration of the simulated time, one step corresponding to one simulated second. * n_steps : Define the duration of the simulated time, one step corresponding to one simulated second.
* window_size : size of acquisition window of pollutant emissions in areas. Each 'window_size' steps areas will return to normal if the emissions are below 'emissions_threshold'. * window_size : size of acquisition window of pollutant emissions in areas.
* without_actions_mode : Set this mode to True if you want running a reference simulation without acting on areas. * without_actions_mode : Set this mode to True if you want running a reference simulation without acting on areas.
You can also use -ref option in shell command.
* limit_speed_mode / speed_rf : The maximum speed in a too polluted area will be multiplied by a factor defined by 'speed_rf'. * limit_speed_mode / speed_rf : The maximum speed in a too polluted area will be multiplied by a factor defined by 'speed_rf'.
* adjust_traffic_light_mode / trafficLights_duration_rf : The duration of the traffic lights will be multiplied by a factor defined by 'trafficLights_duration_rf'. * adjust_traffic_light_mode / trafficLights_duration_rf : The duration of the traffic lights will be multiplied by a factor defined by 'trafficLights_duration_rf'.
* weight_routing_mode : When an area exceeds the threshold, this mode affects all traffic lanes by assigning them a "weight" corresponding to pollutant emissions on that lane. This mode is not recommended because it requires more computing time and it's less efficient. * weight_routing_mode : When an area exceeds the threshold, this mode affects all traffic lanes by assigning them a "weight" corresponding to pollutant emissions on that lane. This mode is not recommended for computing time reasons and it's less efficient.
* lock_area_mode (NOT FIXED) : Blocks an area that is too polluted to vehicles. This mode is not recommended because it is not fixed. * lock_area_mode (NOT FIXED) : Blocks an area that is too polluted to vehicles.