Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using random seed
  • From: "Bae, Jong In" <jbae42@xxxxxxxxxx>
  • Date: Sun, 7 Mar 2021 14:50:57 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=gatech.edu; dmarc=pass action=none header.from=gatech.edu; dkim=pass header.d=gatech.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ITpSzbCjXPudV7/DchWahPiBU2aVnugwWUE2lIFkuY8=; b=f0Idyk+jN9KXDX3RCA6omTTzokWSfoEJROe/lIblOG7ACXdpPH/3e5Lq/3WE0eA6YZMeP3lIP5fvKuSCtfVfdXxDrjN2bD0ZnXq/WzO9geSib/jTzHS5lKawrI+xMfh0UAzLfYsSCcYP+3LlfLzuV8LPGT106+v0AjSr10TvHyoj0JvIjBJzXo5j0ZOkh19JO8eV/rl37YE3/T4kdho+q2riuwDAxBaewfZzfEjqDGxFNodksxeTnn8E4Mzb8BU1aDBB3ovdmu/DmarPabPqk6WCM3plvX4pt8wQ/BthPAzautcJReZRhT7sIcFKzmZoywXd2afsSheNOFZE3InS6w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lw4XwAec8o60KXkxvCQvzrNRG4mSmw9XWL5V3m0jbYYNQGl1ChtewXRNdMPF1ucmYfv8UWsjcFu+Fg8rteR3QzEeJSxAscQiaXlwfkx/HOSM4KCbRFyFwif5/29zT5my9Fe2IncMQIiKk52RlfhS+BcHLI09/v7VbR5EDIguLQVqNEBEvJtbhqHSAvBYtlamdVN94M+Fxj/zz8UmGlXI0CMB9X7Om6CTdXaOk/8fFdoQpO/UFrVhPzvjoyByhRO0B9UgiouIXudJgH6EqjxG7SupxM6jHKJHyk234yS5/ZwzdalBx2LI1O/93tjds4oF3sLyiir9bHBJztV2/6TxWA==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXEEP6vsYpTeW54UuTcBfn/mVAnqpzaO0AgAU42kM=
  • Thread-topic: [sumo-user] Using random seed

Thank you so much for your answer Jakob!

To answer your question (Just for clarity: are you comparing simulation runs with different values of --seed?):
Yes, that's exactly what I was trying to do.

With your suggestion, I was able to see the randomness that I was looking for!

Thanks!

From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Thursday, March 4, 2021 2:05 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Using random seed
 
1) sigma (for the default carFollowModel) controls random slow-downs. Vehicles drive slower than their preferred/optimum speed in any given situation. This leads to a "ragged" look of the speed curve even in free flow conditions. In contrast, speedDev controls the deviation of preferred speed. This set a fixed random speedFactor value for each vehicle so in the absense of sigma each vehicle would drive with a constant speed in free flow but each vehicle would do this at a different speed.

2) departure time is only affected directly if option --random-depart-offset is set. You may see some effects from sigma and speedDev due to departDelay-interactions at high density though. Vehilce type drawing should be affected though.

Just for clarity: are you comparing simulation runs with different values of --seed?

Am Mi., 3. März 2021 um 20:10 Uhr schrieb Bae, Jong In <jbae42@xxxxxxxxxx>:
Hello,

I've been working on using random seed and had some questions. I'm having trouble seeing the difference between before and after I assigned a random seed value.
I attached a screenshot of my sumocfg file just in case my syntax is incorrect.
  1. How is sigma different than speedDev?
  2. According to this link (https://sumo.dlr.de/docs/Simulation/Randomness.html#random_number_generation_rng), I should be seeing randomness in loading vehicles. 
    To my understanding, I should expect to see randomness in the following two areas: (1) the entry time when vehicles enter the scenario should be different and (2) the sequence in vehicle type in vTypeDistribution should be different.

    However, I am not seeing any difference in the vehicles' entry time or the sequence in vehicle type in vTypeDistribution. But I am seeing randomness in speed (tested with only one vehicle also). So I think the random seed is in effect. I'm just not sure why I am not seeing randomness in the two areas mentioned above.
Thank you so much for the 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