Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Controlling Vehicle Count and Distribution in randomTrips.py

The current release version 1.22.0 does not permit this.
However, if you upgrade to the latest version of randomTrips, the correct number of trips is guaranteed if you use option --validate.
You can get the latest version by waiting until tomorrow and then downloading from here: https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots
(or you can obtain the latest version of randomTrips.py directly from github)

regards,
Jakob

Am Mo., 24. März 2025 um 15:24 Uhr schrieb Oriol via sumo-user <sumo-user@xxxxxxxxxxx>:
 I am using the randomTrips.py script to generate routes for training a deep learning model. I would like to specify both the number of vehicles and the maximum number of simulation steps. While I know how to set the maximum number of steps, I want to ensure that exactly 200 vehicles are distributed evenly throughout the simulation.

Is there a way to achieve this? Additionally, I am using the --validate option to discard invalid routes.

Thank you for your help.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top