I already checked traci and randomtrips but I cant seem to find a way to generate routes automatically and let the vehicles stay inside the simulation. if I generate them by defining trips, they reach to their target and leave the simulation. I can’t add them using traci because I need to specify routes.
What I am trying to do is really simple, I dont know why there’s no straightforward way to generate a specific number of cars on specific roads and let them randomwalk for a specific number of time. On 13 Nov 2024, at 18:38, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
(and there are many more tools for traffic generation in sumo/tools)
Hi,
What is the best practice to initiate a simulation with a specific number of cars. I was using an additional file and input for the first time interval the occupancy but apparently it is not working. After researching it seems like there’s no straightforward method of adding lets say 5 cars to road 1 and 2 cars to road 2 and creating routes for these cars using a script?
Regards,
Toprak
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list sumo-user@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
|