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?
P.S. I have attached the files in here.