The easiest fix is to prohibit laneChanging by setting the laneAttributes
'changeLeft="authority" for the lane with index 0 and
'changeRight="authority" for the lane with index 1.
See
https://sumo.dlr.de/docs/Networks/PlainXML.html#lane-specific_definitions

Am Do., 3. März 2022 um 20:01 Uhr schrieb ali mirzaei <[email protected]>:

> Some questions left:
> I want to simulate a condition under which the cyan and yellow
> vehicles coming from the north, stop at the right and left lanes when
> getting to the junction, respectively if it is necessary. The red vehicles
> are also defined to stop at the end of the left bond for the specified
> duration. On the other hand, I modified the connections so that each lane
> in the north-south street is connected with both lanes in the east-west
> street. Also, I assign equal maxSpeed to each of the cyan and yellow
> vehicles to prevent overtaking. contrary to my expectation, the vehicles
> displace their location so that they could pass the stopped red vehicle.
> 1- How can I make these vehicles keep their departure lane until the time
> to insert the east-west street?
> 2 - How can I force the cyan vehicles to wait behind the red ones till the
> stopping duration over?
>
> On Thu, Mar 3, 2022 at 7:25 PM ali mirzaei <[email protected]> wrote:
>
>> Thank you. That's it.
>>
>> On Thu, Mar 3, 2022 at 7:04 PM Jakob Erdmann <[email protected]>
>> wrote:
>>
>>> The lane on the left (the right lane when looking in driving direction)
>>> coming from the north does not have a connection to the east-west street.
>>> Hence all vehicles must move the other lane to continue their route.
>>>
>>> Am Do., 3. März 2022 um 16:22 Uhr schrieb ali mirzaei <
>>> [email protected]>:
>>>
>>>> [image: image.png][image: image.png]
>>>> [image: image.png]
>>>> The cyan vehicles have departed from the left bond of the side street.
>>>> But as you can see in picture one, they break to have a lane change. The
>>>> other interesting thing which is shown in the remaining pictures is the red
>>>> vehicle which is expected to have a stop defined by ~.setStop(), stops in
>>>> the determined position but when starts moving, experiences a lane change
>>>> and then goes on to its path.
>>>>
>>>> On Thu, Mar 3, 2022 at 4:54 PM Jakob Erdmann <[email protected]>
>>>> wrote:
>>>>
>>>>> Please show a screenshot.
>>>>>
>>>>> Am Do., 3. März 2022 um 14:05 Uhr schrieb ali mirzaei <
>>>>> [email protected]>:
>>>>>
>>>>>> Hi everyone,
>>>>>> I have a double-bond side street in which the flow has the same
>>>>>> direction and leads to a main street. Why do all the vehicles, even those
>>>>>> whose departure lane is on the right side, make a lane change and tend to
>>>>>> enter the main street from the left side?
>>>>>> Regards,
>>>>>> Ali
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>> _______________________________________________
>>>> 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
>>>
>> _______________________________________________
> 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