Hello,
the code for lcCooperativeSpeed is at
https://github.com/eclipse/sumo/blob/c16317561f2844d18dca1d0e14d96ce94b96c544/src/microsim/lcmodels/MSLCM_LC2013.cpp#L265-L277
However, the code that handles the situation in the screenshot is at
https://github.com/eclipse/sumo/blob/c16317561f2844d18dca1d0e14d96ce94b96c544/src/microsim/lcmodels/MSLCM_LC2013.cpp#L240-L263
Basically, vehicle 2 should leave enough space so vehicle 1 can merge
regardless of lcCooperative.
In my own test with the stated parameters I was unable to replicate the
situation from your screenshot.
Which version of SUMO are you using?

regards,
Jakob

Am Mo., 1. Nov. 2021 um 16:23 Uhr schrieb Bae, Jong In <[email protected]>:

> Hello,
>
> I'm trying to understand how different values of lcCooperativeSpeed
> affects the vehicle behavior.
> I'm having a hard time locating the source code for lcCooperativeSpeed.
> Could you please point me to a link of the source code?
>
> Also, I'm trying to understand one behavior that I saw in the simulation.
> In this simulation, only one vehicle type is used - and they all have
> lcCooperative=0 and lcCooperativeSpeed=0.75.
> In the attached screenshot, vehicle #2 slows down to let vehicle#1 merge
> but vehicle#1 fails to.
> This behavior repeatedly occurs with the following vehicles on the exit
> lane.
>
> I'm assuming vehicle#1 is unable to make the merge due to a small gap.
> I'm just trying to understand how different lcCooperativeSpeed values
> affect this decision process.
>
> Any explanation or help to understand would be appreciated!
>
> Thanks!
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to