Hi Tomoy,
Happy to help ☺
By command line? If you mean adding more taxis with different stops in the
simulation, you can just add more trips with different IDs. For example:
<trip id="taxi" type="taxi" depart="0.00" from="D2D3" to="D2D3">
<stop lane="D2D3_1"/>
</trip>
<trip id="taxi2" type="taxi" depart="0.00" from="C4C3" to="C4C3">
<stop lane="C4C3_1"/>
</trip>
Regards,
Giuliana
From: [email protected] [mailto:[email protected]] On
Behalf Of Tonmoy Das
Sent: Dienstag, 14. Juli 2020 12:20
To: Sumo project User discussions
Subject: 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 ,
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On
Behalf Of Tonmoy Das
Sent: Montag, 13. Juli 2020 19:26
To: [email protected]<mailto:[email protected]>
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
[email protected]<mailto:[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