Open kasop1 opened 2 months ago
P.S. I also tried both EIDM and IDMM and in both cases the emergency braking occurred.
the simple fact is that, the whole code branch that computes safe accelerations when running with actionSteps isn't active for the IDM model.
Problem 1: the internal stepping is based on the step-length rather than action-step-length (i.e. step-length 0.1 and action-step-length 1 gives only a single internal iteration with default attribute stepping
)
Problem 2: the internal stepping assumes constant speed rather than constant acceleration
Problem 3: the last speed from the internal stepping is used even though this may not be the best speed for the current situation
@kasop1 Please use treaction
when simulating with the EIDM. The documentation of all EIDM parameters can be found here.
@namdre Could you please add a warning, when actionStepLength
is defined together with the EIDM? Thanks!
@Domsall
If the former, I'd rather put up a warning on the EIDM documentation page, if the latter, I'm fine with adding the warning in sumo.
It is the latter:
First, the antizipation of the EIDM does not output a constant acceleration until the next actionPoint
. Secondly, the EIDM calculates a new "would"-acceleration next to the antizipated acceleration. The model can then update itself with treaction
, even between actionPoints
. See https://github.com/eclipse-sumo/sumo/issues/9681
test2.zip
Please see the attached file. The Krauss model does not have an emergency brake, but the IDM does. Why happened?