sumo icon indicating copy to clipboard operation
sumo copied to clipboard

oscillating speed when using speedFactorPremature

Open namdre opened this issue 1 year ago • 5 comments

at the approach to a stop, the vehicle slows down too much (or at least the estimated arrivalDelay becomes positive), then the slowDown code isn't called anymore and the vehicle speeds up too much, this causes the arrivalDelay to become negative again causing oscillating speed.

appears to be more pronounced for carFollowModel="Rail"

namdre avatar Mar 01 '24 09:03 namdre

The root problem comes from the estimation of arrivalDelay (here shown during normal driving without slowing down prematurely)

plot

namdre avatar Mar 01 '24 10:03 namdre

Maybe it is more pronounced for carFollowModel="Rail" since the acceleration is speed dependent?

ritzerp avatar Mar 01 '24 12:03 ritzerp

The problem still shows up for Krauss:

krauss

namdre avatar Mar 01 '24 13:03 namdre

@bcoueraud87 care to help?

namdre avatar Mar 06 '24 11:03 namdre

Yes!

bcoueraud87 avatar Mar 06 '24 12:03 bcoueraud87