Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Insert fixed no of vehicles sumo

1. <flow number="x" end="3600" .../>
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 06:55 Uhr schrieb Ankit Jatiya <akj0147@xxxxxxxxx>:
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

Ankit

_______________________________________________
sumo-dev mailing list
sumo-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev

Back to the top