1) randomTrips.py can generate vehicles with fixed routes (--route-file) as
well as vehicle trips that only specify origin and destination
(--output-trip-file). If you use the former, vehicles will pick the fastest
route assuming an empty network. If you use the latter, vehicles will use
the fastest route considering the state of the network at the time of
2) randomTrips.py accepts the --vehicle-class option to generate vehicles
with that specified class. Just run randomTrips multiple times with
different options. Make sure to also set the --prefix option to avoid name
clashes. I Advise to use osmWebWizard.py to generate a scenarion with
different vehicle classes and use the generated files (including batch
files that call randomTrips) as a reference:
3) Calibrators do not spread the inserted traffic evenly to allow for
vehicles to arrive later during the calibration interval. To avoid this
effect you need to define multiple calibrators that cover shorter time
2018-06-13 17:15 GMT+02:00 florian preusse <flopreu...@hotmail.de>:
> Dear Sumo users,
> i have a few questions to the method "Building a scenario without
> knowledge of routes, based on flow measurements".
> First of all I created random demand and wanted to ask if it is somehow
> possible to:
> 1) influence the generated routes/trips, so that the fastest or shortest
> route would be taken and no Loops would be made within the network. Kind of
> like the functions that Duarouter offers.
> 2) generate more than just one vehicle class, so that there would be
> passenger cars and trucks for example.
> When it comes to the calibrators integrated in the network to make sure
> that only a specific amount of traffic enters a certain edge, I have one
> 1) Is it possible to for the Calibrators to constantly work the whole time
> of the Simulation?
> Right now my calibrators function like this: They dont do anything at the
> begin of the Simulation and then close to the end of the Simulation they
> begin to insert or take away vehicles to meet the specific amount, but this
> is highly unrealstic.
> Thank you for your help!
> Kind regards,
> sumo-user mailing list
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
sumo-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit