Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Merging Lanes

Thanks a lot Michael. I will check on it.
Regards.

On Tue, Jan 23, 2018 at 8:24 PM, Michael Behrisch <oss@xxxxxxxxxxx> wrote:
Hi Dee,
I'm afraid you cannot ghave that automatically, you will need to move and connect the lane manually in netedit. If moving the single lane to the center already helps, you can set the spreadtype attribute instead of moving maually but you will still need to set the connection.

Best regards
Michael


Am 2018-01-22 23:22, schrieb Alan Dee:
Hi Michael,

Thank you very much for the reply. Now I understand the reason why the
vehicles disappear.
I did as you mentioned, and it works fine. But I have another question now.

What I did was add basically adding two edges. First edge contains two
lanes ( index 0, 1). Then at the node with which that edge ends the next
edge with a single lane (index 0) begins ( Please correct me if this is not
what you advised).

Once the network is built, the default behavior is, physically lane 1 of
the first edge is straightly linked with lane 0, and lane 0 of the first
edge is merged and ended at the node. Can I change this behavior to have
this in other way around (i.e. lane 0 of the first edge is straightly
linked with lane 0, and lane 1 of the first edge is merged and ended at the
node) ?

I know that vehicle flow can be changed by altering the connections. I am
asking to change both geometry and vehicle flow together.

Thanks,
Dee.


On Tue, Jan 23, 2018 at 7:05 AM, Michael Behrisch <oss@xxxxxxxxxxx> wrote:

Hi Dee,
you need to define a new edge when the number of lanes changes (or let
SUMO's netconvert do this, this is essentially what the split does).
Currently it is not possible for the lanes of the same edge to have
different lengths. The reason why the vehicles disappeared is that the
edge after the split has a new name and probably did not occur in your
route.

Best regards,
Michael

Am 22.01.2018 um 06:29 schrieb Alan Dee:
> Hello,
>
> I have a simple networks in which I need to do a merging lanes.
>
> There is a single edge, let say its length is 1000m.
> At 500m from the beginning, one  lane should be merged with the other.
>
> I have tried the both following ways.
>
>  1. I tried setting a length of one lane to 500m, and the lane ends with
>     a clear cut at the defined point. Can this be considered as a merge?
>  2. I tried the refining roads in sumo documentation
>     <http://sumo.dlr.de/wiki/Networks/Building_Networks_
from_own_XML-descriptions#Road_Segment_Refining>,
>     but after the split point, the vehicles disappear from both lanes. I
>     am confused about what is happening.
>
> I am quite new to sumo and perhaps this might not be the correct way to
> do this. I did find a solution though I went through the documentation.
> I would appreciate if some can provide me an insight on this.
>
> Regards,
> Dee.
>
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>





Back to the top