Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Disconnected plan for person "0"

Hi Giuliana,

Thanks a lot for the solution.

I have one more inquiry, For multiple taxis how can I add this parameter with different stop edges by command line? 

<vType id="taxi" vClass="taxi" modes="taxi" triggered="person">

        <param key="has.taxi.device" value="true"/>

        <param key="device.taxi.end" value="3600"/>

    </vType>

    <trip id="taxi" type="taxi" depart="0.00" from="D2D3" to="D2D3">

        <stop lane="D2D3_1"/>

    </trip>



On Tue, 14 Jul 2020, 9:23 am , <Maria.Armellini@xxxxxx> wrote:

Hi Tomoy,

 

You are getting the error "Error: Disconnected plan for person '0' (edge 'C4C3' != edge 'B1B2')" because you are saying that the person has to ride with vehicle 0_0 from 'C4C3' to 'B1B2' and then again from 'C4C3' to 'B1B2' with a taxi, so how does the person get back from 'B1B2' to 'C4C3'?

 

You can make the return trip by taxi:

   

  <person id="0" depart="0.00">

        <ride from="C4C3" to="B1B2" lines="0_0"/>

        <ride from="B1B2" to="C4C3" lines="taxi"/>

    </person>

 

Or you can say that the person should walk to the start edge again and then take a taxi:

 

    <person id="0" depart="0.00">

        <ride from="C4C3" to="B1B2" lines="0_0"/>

        <walk from="B1B2" to="C4C3"/>

        <ride from="C4C3" to="B1B2" lines="taxi"/>

    </person>

 

If you choose this option, you will have to add the pedestrian crossings to your net (https://sumo.dlr.de/docs/Simulation/Pedestrians.html#generating_a_network_with_crossings_and_walkingareas). This can be done using netconvert with the following command:

netconvert -s gnet.net.xml --crossings.guess -o gnet.net.xml

 

I don’t understand why you define fixed routes for the taxis. If you are trying to simulate an on demand/ride hailing service this is not necessary. You can just give the first edge, from where the taxi will wait for a request:

 

<vType id="taxi" vClass="taxi" modes="taxi" triggered="person">

        <param key="has.taxi.device" value="true"/>

        <param key="device.taxi.end" value="3600"/>

    </vType>

    <trip id="taxi" type="taxi" depart="0.00" from="D2D3" to="D2D3">

        <stop lane="D2D3_1"/>

    </trip>

 

Regards,

Giuliana

 

 

From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of Tonmoy Das
Sent: Montag, 13. Juli 2020 19:26
To: sumo-user@xxxxxxxxxxx
Subject: [sumo-user] Disconnected plan for person "0"

 

Hello Everyone,

 

I have been trying to get intermodal routing PERSONTRIPS using different combination of modes=car taxi or taxi car, even after using explicitly defined taxi lines, I am still getting "Disconnected plan for person "0".

 

what should I do to solve this problem?

 

Thanks in advance.

 

P.S. I have attached the files in here.

 

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top