Thank you for the quick response

I would like to avoid the pink movement because a lot of bus stops are
located close to the intersection. If the vehicles get to the "bus lane"
unnecessarily, I would get congestion more easily in that part, which would
defeat the purpose of the bus lanes a little bit.
So vehicles going straight should change lanes only at the intersection or
simply at the next edge.

One specific reason I'm thinking about this is that I plan to experiment
with activating bus lanes independently per block, so it might be a problem
if vehicles change lanes aggressively at those points.

[image: Screenshot from 2023-03-23 13-42-52_mod.png]

The approach of adding extra internal lanes and changing their permissions
for the internal lanes sounds good.


Thank you!

On Thu, Mar 23, 2023 at 1:37 PM Jakob Erdmann <[email protected]> wrote:

> Splitting close to the intersection sounds as if it should work, though I
> don't quite understand the issue that you describe as undesirable. A
> picture/diagram would help.
> Another option would be to add connections for turning from the second
> lane and to enable these connections only whenever the buslane is active by
> changing the permissions of the internal lanes corresponding to those
> connections.
>
> Am Do., 23. März 2023 um 18:27 Uhr schrieb Marcelo Andrade Rodrigues
> d'Almeida <[email protected]>:
>
>> Hi
>>
>> I'm trying to implement dynamic bus lanes (i.e., they are activated
>> depending on the time of day)
>>
>> I know I can set them with setAllowed()
>>
>>
>> My problem is that when I activate the bus lane, vehicles that would turn
>> right before now re-route to turn around the block since the right turn was
>> particular to that lane.
>>
>> I wanted to make the vehicles use portions of the bus lane in case they
>> want to turn right or even they would turn right from the second lane. I
>> would need to change the connections from the junctions for the second one,
>> so I'm not sure it's possible to do it dynamically.
>>
>> As a workaround, I was thinking about splitting all the edges so they
>> have a section close to the intersection that is always shared but would
>> allow vehicles to change lanes to go straight, which is undesirable.
>>
>> Is there some configuration or a better approach for this problem?
>>
>> Thank you in advance
>>
>>
>> Sincerely,
>>
>> Marcelo d'Almeida
>> _______________________________________________
>> 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