Re: [sumo-dev] Insert fixed no of vehicles sumo

2022-04-27 Thread Jakob Erdmann
1. 2. traci.vehicle.add(depart="y", ...) where y comes from [i * 3600 / x for i in range(x)] - set option --extrapolate-departpos to ensure correct sub-second headways - see https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html to understand insertion capacity Am Mi., 27. Apr. 2022 um

[sumo-dev] Insert fixed no of vehicles sumo

2022-04-26 Thread Ankit Jatiya
Hello, I am trying to insert fixed no. of vehicles in my algorithm in 1 hour. The model I am using is an intersection with 6 lanes in each direction. Also I want to insert them uniformly. Please tell how to do this. It would be better if there is way to do this using Traci. Thank You & Regards