Thank you Jakob for the reply. I have a follow up question.

I thought SpeedFactor was a user-defined parameter with the default value of 
1.0? What do you mean by it's randomly selected?

Does this mean the following?

The SpeedFactor we define in .rou file is the mean of the distribution and 
another SpeedFactor is randomly selected based on speedDev (let's call this 
random SpeedFactor).
The random  SpeedFactor is different for every vehicle but the same 
distribution of this random SpeedFactor is applied to the fleet as a whole.
The random SpeedFactor is multiplied to the lane speed limit to determine the 
vehicle's desired speed.
Finally, the vehicle speed is determined by min(maxSpeed, desired speed) where 
maxSpeed is defined in the .rou file.

Thank you!
________________________________
From: [email protected] <[email protected]> on behalf 
of Jakob Erdmann <[email protected]>
Sent: Saturday, December 19, 2020 4:52 PM
To: Sumo project User discussions <[email protected]>
Subject: Re: [sumo-user] Understanding SpeedDev.

No. SpeedFactor is selected randomly at vehicle creation based on speedDev and 
remains constant over the vehicle lifetime (unless changed via traci or type 
calibrator). The speedFactor distribution thus applies to the fleet as a whole.

Am Sa., 19. Dez. 2020 um 18:14 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Hello,

I asked this question a while ago but looking at it again, I was still confused 
if I'm understanding this correctly.
Let's assume the following to determine a single vehicle's speed.
Lane speed limit = 30 m/s
Speed Factor = 1.0
Speed Dev. = 0.1

First, the lane speed limit (30m/s) is multiplied by the speed factor (1.0).
And following the distribution and the speed dev (0.1), ~68% of the time, the 
vehicle will drive between 27m/s and 33m/s, ~95% of the time, the vehicle will 
drive 24m/s and 36m/s.
This determines the vehicle's desired speed.
Finally, the vehicle speed is min(maxSpeed, desired speed) where maxSpeed is 
defined in the .rou file.

Could you please confirm if this is the right understanding?
Thank you!

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf 
of Jakob Erdmann <[email protected]<mailto:[email protected]>>
Sent: Thursday, August 20, 2020 2:30 PM
To: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Subject: Re: [sumo-user] Understanding SpeedDev.

With "override" I meant "set an upper bound". See the formula now added at 
https://sumo.dlr.de/docs/Simulation/VehicleSpeed.html#edgelane_speed_and_speedfactor<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FVehicleSpeed.html%23edgelane_speed_and_speedfactor&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045948757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Vq9jYOg8BEuXS%2F1R1t9Eu8C3tsS1%2Ff%2Fk5t1q0IrgtJ4%3D&reserved=0>

Am Do., 20. Aug. 2020 um 19:37 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:

  1.  It seems like the max speed is defined as 'the maximum speed desired by 
driver under any circumstances' according to 
https://sumo.dlr.de/docs/Simulation/VehicleSpeed.html<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FVehicleSpeed.html&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045948757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xuwv57WviIACHYyMZ5g1Z5Vzgbfzg%2F5hvIVeBrcIBqM%3D&reserved=0>.
Then is desired speed = maxSpeed? Also, is the desired speed calculated by the 
multiplier factor (from the distribution in which speed factor is the mean and 
speed dev is the standard deviation) * lane (or edge) speed limit?

  2.  Doesn't the formula you provided (speedFactor * speedLimit) describe how 
'desired speed' is calculated? If maxSpeed can be thought as the desired speed 
(assuming that my thoughts on #1 is correct), what does it mean that maxSpeed 
can override the desired speed?
     *   A follow up question is the SUMO vehicle definition says that the 
default value of maxSpeed is 55.55 m/s. If maxSpeed can override speedFactor * 
speedLimit, wouldn't the vehicle always drive at 55.55m/s?

Sorry if my questions are unclear. Please let me know if there is anything I 
can further clarify.
Thank you very much for your replies.


________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf 
of Jakob Erdmann <[email protected]<mailto:[email protected]>>
Sent: Thursday, August 20, 2020 2:48 AM
To: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Subject: Re: [sumo-user] Understanding SpeedDev.

1) the distribution assigns a factor to each vehicle by default this is in the 
range [0.2, 2]. This is multiplied with the speedLimit to compute the desired 
speed on a given road
2) maxSpeed can override the value of speedFactor * speedLimit

If you already read the page 
https://sumo.dlr.de/docs/Simulation/VehicleSpeed.html<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FVehicleSpeed.html&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045958707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=97xrmQWi%2B3ax0m%2BZZIe2xId%2FUkkR4c%2BhCkryTQTDCQU%3D&reserved=0>,
 feel free to point out amendments that would make the explanations there more 
obvious.

Am Do., 20. Aug. 2020 um 05:15 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Thank you for your explanation.


  1.  So the speed determined through this distribution, is that the maxSpeed 
of the vehicle? For example, if the distribution assigns 29m/s to a vehicle, 
would that be the maxSpeed of the vehicle?
  2.  If the maxSpeed is the hard limit on the speed, does that mean it can 
override the lane (or edge) max speed?

Thank you,
________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf 
of Jakob Erdmann <[email protected]<mailto:[email protected]>>
Sent: Monday, August 17, 2020 2:16 AM
To: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Subject: Re: [sumo-user] Understanding SpeedDev.

the distribution of speeds will have their mean at 30m/s and will be (almost) 
normally distributed with a standard deviation of 0.1 * 30 = 3m/s.
This means ~68% drive between 27ms/ and 33ms but 95% will be found between 
24m/s and 36m/s.
(https://upload.wikimedia.org/wikipedia/commons/8/8c/Standard_deviation_diagram.svg<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F8%2F8c%2FStandard_deviation_diagram.svg&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045958707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=51iRZuKjYXKEp38fUvEh1zsPw%2Bi57UoaecjlzX461Ok%3D&reserved=0>)
It's "almost" normal because sumo caps the normal distribution at configurable 
thresholds. By default 100% will drive between [0.2 * 30m/s and 2 * 30m/s] but 
you can also configure these thresholds.
Also, the maxSpeed of the vType is a hard limit.

Am Fr., 14. Aug. 2020 um 21:44 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Hello,

I'm having a trouble with understanding the explanation on how speedFactor and 
speed deviation work.
If I'm using the default values of speed factor (1) and speed dev (0.1), how do 
they affect the vehicle speed on the lane with maximum speed of 30m/s?

Does this mean that the vehicle will drive in the range between 27m/s to 33m/s 
(or 30m/s since the max speed is capped at 30m/s)?
And would that be because the lane-assigned speed (30m/s) is multiplied by the 
speed factor of 1 with deviation of 0.1?

Thank you,
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045968676%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HPw8MOF6VdzuQyAMOx%2BY5C2mpalzl6PMrT3%2BCaCpe28%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045968676%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HPw8MOF6VdzuQyAMOx%2BY5C2mpalzl6PMrT3%2BCaCpe28%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045978625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rOzFg5V3nSR5PAmjHZRRFGNYowsRBKTzSDMEodS%2FgWE%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cjbae42%40gatech.edu%7C4987ed6f037f455952d608d8a468809e%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637440116045978625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rOzFg5V3nSR5PAmjHZRRFGNYowsRBKTzSDMEodS%2FgWE%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to