You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UXsim uses pseudo random numbers to simulate stochastic route choice and traffic merging behaviors at nodes. I have implemented a function to fix the random seed by random_seed arg of World.__init__(), but it does not work properly under certain conditions.
results:
average speed: 16.7 m/s
number of completed trips: 8400 / 8400
average travel time of trips: 450.7 s
average delay of trips: 50.7 s
delay ratio: 0.112
Results for Iter 2
results:
average speed: 16.0 m/s
number of completed trips: 8400 / 8400
average travel time of trips: 471.8 s
average delay of trips: 71.8 s
delay ratio: 0.152
The text was updated successfully, but these errors were encountered:
UXsim uses pseudo random numbers to simulate stochastic route choice and traffic merging behaviors at nodes. I have implemented a function to fix the random seed by
random_seed
arg ofWorld.__init__()
, but it does not work properly under certain conditions.UXsim/uxsim/uxsim.py
Lines 1381 to 1384 in 1e5fac5
In simple scenarios it works well, so I guess there are some small mistakes.
Example
Code:
Results for Iter 1
Results for Iter 2
The text was updated successfully, but these errors were encountered: