Jakob,

Please see the attached for the input files of the two experiments.

I greatly appreciate your help.
Please let me know if there's anything else I can provide.

Thanks!


________________________________
From: sumo-user <[email protected]> on behalf of Jakob Erdmann 
<[email protected]>
Sent: Wednesday, May 26, 2021 4:32 AM
To: Sumo project User discussions <[email protected]>
Subject: Re: [sumo-user] Using vTypeDistribution

Please provide input files for both experiments.

Am Mi., 26. Mai 2021 um 08:51 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Thanks Jakob for pointing out the error.

I added the flows that use my vTypeDistribution. Also, I put both vehicle types 
under one vTypeDistribution as you suggested in the earlier email. My new 
rou.file screenshot is attached.

However, I'm still seeing some differences (# of vehicles processed as well as 
average travel time of a particular vehicle group) between the experiment runs.

Would there be anything else in my rou.file that may be creating the 
difference? The only thing I'm changing between the experiments is the 
proportion of the vehicle type in each direction (thru and exit) while keeping 
the total volume the same.

Since the two vehicle types have identical properties, I'm expecting to see the 
same results across the experiments.

Any suggestion would be greatly appreciated!

________________________________
From: sumo-user 
<[email protected]<mailto:[email protected]>> on behalf 
of Jakob Erdmann <[email protected]<mailto:[email protected]>>
Sent: Tuesday, May 25, 2021 4:22 AM
To: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Subject: Re: [sumo-user] Using vTypeDistribution

Your input is lacking any <vehicle>, <flow> or <trip> defintions that use your 
vTypeDistribution.

Am Fr., 21. Mai 2021 um 16:30 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Thank you Jakob for your suggestion!

I have changed my rou.file so that I'm putting all vehicle types into one 
distribution as shown in the attached screenshot.
However, it seems like the way I have set up my rou.file may be incorrect.

My files are loaded into simulation successfully but the simulation doesn't run 
(simulation ends at -0.10).
Since it's not returning any error message, I'm unable to figure out what the 
issue is.

I attached a screenshot of the rou.file as well as the zipped files of my 
experiment.
I would appreciate any guidance you can provide.

Thank you.
________________________________
From: sumo-user 
<[email protected]<mailto:[email protected]>> on behalf 
of Jakob Erdmann <[email protected]<mailto:[email protected]>>
Sent: Friday, May 21, 2021 6:47 AM
To: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Subject: Re: [sumo-user] Using vTypeDistribution

If you keep the number of vTypeDistributions constant, the number of random 
calls should be constant as well regardless of how many vehicles are sampled 
from each distribution.
A common way to use them is to put all types into one distribution and them 
sample each vehicle type from that distribution.
Random depart offset and vTypeDistributions use the same RNG so you won't get 
any advantage by using the former without fixing the latter.

Am Fr., 21. Mai 2021 um 10:58 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Thank you for your explanation.

Does this mean that every time a vehicle is deployed from one of the 
vTypeDistribution (each distribution only has one vehicle type in my set up), 
the random number generator's state changes? And if the number of vehicles 
change in each vTypeDistribution in the next experiment while maintaining the 
same lane volume (all vehicles have identical properties), the roadway 
condition still changes due to the randomness from the vTypeDistribution. Is 
this the correct way of understanding the issue?

If I am trying to create an identical roadway conditions while changing the 
composition of vehicle types (all of them have identical properties), should I 
use flow instead of vTypeDistribution?
According to the SUMO documentation, I can use --randomize-flows option to add 
randomness. Instead of using this option, can I use the seed value and the 
random-depart-offset value (defined in the .sumocfg file) to have the vehicle 
depart time the same?

Thank you so much!
________________________________
From: sumo-user 
<[email protected]<mailto:[email protected]>> on behalf 
of Jakob Erdmann <[email protected]<mailto:[email protected]>>
Sent: Thursday, May 20, 2021 9:12 AM
To: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Subject: Re: [sumo-user] Using vTypeDistribution

Whenever a type is sampled from a distribution, the state of one of the random 
number generators changes. This can have far-reaching effects on other parts of 
the simulation that use the same random number generator (i.e. speedFactor 
distribution).

Am Do., 20. Mai 2021 um 14:08 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Hello,

I have some questions about how using vTypeDistribution may introduce 
randomness in simulation even if the seed value and the random-depart-offset 
value were kept the same.
My experiment is a 2-lane highway. "HVexit" vehicles merge into lane 0 to exit 
the highway.

The attached screenshot shows the vTypeDistributions in my experiment. The two 
vehicle types (AV and HV) have the identical properties. Thus, they should 
behave identically.

In my next experiment, my "HVexit" volume was kept the same and all the other 
volumes changed. However, the volume changes were made in a way that the total 
volume of each approach (thru and exit) as well as the total lane volume were 
kept the same.

In other words, the road conditions (lane volumes) were kept the same - it's 
just the vehicle compositions changed but the two vehicle types behave 
identically.
I would expect that these two experiments would have the exact same results. 
The seed value and the random-depart-offset value were kept the same.

However, the number of vehicles processed (completed their routes) and the 
average travel time of "HVexit" were slightly different.
I was wondering if using multiple vTypeDistirbution introduced randomness in 
the simulation.

I know my question was lengthy. Please let me know if I can clarify my question 
in any way.

Thank you so much in advance for your help!

_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

<<attachment: sample_scenario.zip>>

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to