Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] What is the function of making trips from OD matrix?

Sorry Jakob,
The problem fixed by using <random value="True"/>

Bests,
Reihaneh

On Fri, Apr 9, 2021 at 12:00 PM reihaneh koohi <reihanehkoohi@xxxxxxxxx> wrote:
Tons of thanks for the response.

I used the --random, but the results did not change. So, sth is wrong for me.
This is the way that I use it:

In od2trips.config.xml I add the line <random/> after the <configuration> line.

That is very kind of you if you can help me,
Bests,
Reihaneh



On Thu, Apr 8, 2021 at 10:56 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Hello,
To get different outputs on each call use option --random or option --seed (see https://sumo.dlr.de/docs/Simulation/Randomness.html#random_number_generation_rng)
The depart times are drawn uniformly from the interval by default. You may also set option **--spread.uniform** to have the departs equidistant in time.
The ordering of matrix cells has an impact on the ordering of the random number generator calls so you will get different results when you change the order. However, changing the seed gives more freedom here.

regards,
Jakob

Am Mi., 7. Apr. 2021 um 19:42 Uhr schrieb reihaneh koohi <reihanehkoohi@xxxxxxxxx>:
Dear Sumo Users,

I find that the results of making trips from O/D matrix (as far as O/D matrix does not change) always are the same. So, it seems that the function of making trips is not random.

Is there any documentation about how the Sumo generates trips from O/D matrix? I want to know information such as
- The time that a vehicle is inserted into the network (Is it randomly selected from the time interval, or using uniform distribution or ...)
- How to select a trip from O/D matrix? (randomly selected or defining the trip from top to bottom of O/D matrix (So the order of writing TAZ in O/D is important))

I already read these documentations, and they are not enough:


Bests,
Reihaneh


_______________________________________________
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

Back to the top