There is currently no simply way to achieve this.
However, you can *cheat* by defining a tiny kink in the outgoing edge which
classifies the connection as turn (see edge attribute 'shape' in the
attached file)


Am Mo., 20. Juni 2022 um 23:40 Uhr schrieb Meret Behrens <
[email protected]>:

>
>
> Hi sumo users,
>
>
>
> I am trying to implement an additional right turn lane for the model of an
> intersection. I noticed that the lanes of the internal edge of the
> junction, where the first single edge changes into an edge with two lanes,
> are automatically set to the same length by SUMO. In the documentation I
> read that this is expected since the lanes of internal edges are always the
> same. But I have also seen that it is possible for double-lane turning that
> the internal lanes have different lengths. So can this also be realized for
> an edge where I have a connection with straight direction? To reflect my
> model correctly, it is crucial for me that the right-turners really drive
> this -even if minimal- additional distance compared to the vehicles that
> only drive straight ahead. I have attached a minimal example to illustrate
> my point and added my expectation as a comment.
>
> Can anyone help me with this?
>
>
>
> Best regards
>
> Meret
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2022-06-21 07:44:39 by Eclipse SUMO netedit Version v1_13_0+1057-1806d05
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <sumo-net-file value="net.net.xml"/>
    </input>

    <output>
        <output-file value="net.net.xml"/>
    </output>

    <processing>
        <geometry.min-radius.fix.railways value="false"/>
        <geometry.max-grade.fix value="false"/>
        <offset.disable-normalization value="true"/>
        <lefthand value="false"/>
    </processing>

    <junctions>
        <no-turnarounds value="true"/>
        <junctions.corner-detail value="0"/>
        <junctions.limit-turn-speed value="-1"/>
        <rectangular-lane-cut value="false"/>
    </junctions>

    <pedestrian>
        <walkingareas value="false"/>
    </pedestrian>

</configuration>
-->

<net version="1.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd";>

    <location netOffset="0.00,0.00" convBoundary="0.00,204.99,100.00,205.00" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

    <edge id=":middle_0" function="internal">
        <lane id=":middle_0_0" index="0" speed="13.89" length="20.30" shape="40.00,203.40 43.83,202.90 48.12,201.80 53.36,200.70 60.00,200.20"/>
        <lane id=":middle_0_1" index="1" speed="13.89" length="20.00" shape="40.00,203.40 60.00,203.40"/>
    </edge>

    <edge id="E0" from="middle" to="right" priority="-1" length="30.00" shape="60.00,205.00 60.00,204.99 100.00,205.00">
        <lane id="E0_0" index="0" speed="13.89" length="30.00" shape="60.00,200.20 100.00,200.20"/>
        <lane id="E0_1" index="1" speed="13.89" length="30.00" shape="60.00,203.40 100.00,203.40"/>
    </edge>
    <edge id="E1" from="left" to="middle" priority="-1" length="30.00">
        <lane id="E1_0" index="0" speed="13.89" length="30.00" shape="0.00,203.40 40.00,203.40"/>
    </edge>

    <junction id="left" type="dead_end" x="0.00" y="205.00" incLanes="" intLanes="" shape="0.00,205.00 0.00,201.80"/>
    <junction id="middle" type="priority" x="50.00" y="205.00" incLanes="E1_0" intLanes=":middle_0_0 :middle_0_1" shape="60.00,205.00 60.00,198.60 40.00,201.80 40.00,205.00" customShape="1">
        <request index="0" response="00" foes="00" cont="0"/>
        <request index="1" response="00" foes="00" cont="0"/>
    </junction>
    <junction id="right" type="dead_end" x="100.00" y="205.00" incLanes="E0_0 E0_1" intLanes="" shape="100.00,198.60 100.00,205.00"/>

    <connection from="E1" to="E0" fromLane="0" toLane="0" via=":middle_0_0" dir="r" state="M"/>
    <connection from="E1" to="E0" fromLane="0" toLane="1" via=":middle_0_1" dir="r" state="M"/>

    <connection from=":middle_0" to="E0" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":middle_0" to="E0" fromLane="1" toLane="1" dir="r" state="M"/>

</net>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to