Random trips looked really promising but sadly I couldn’t find a way to initiate specific number of vehicles in specific locations.
What I am ultimately trying to do is selecting 3 roads for example and trying to recreate a scenario of 3 roads being %70 full (occupancy) and simulate with this initial condition. Since there’s no way to generate vehicles that fill the road based on occupancy, I am trying to do that manually by lane number and car length over road length but I am really having a hard time finding a way to do that as well.
Regards, Toprak On 13 Nov 2024, at 21:27, Toprak <atoprakfirat@xxxxxxxxx> wrote:
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
|