Hello Giuliana,

Thanks for the fast reply.

I wanted to know how to add the param keys in the trip files.

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

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

Normally I use the lower command to generate 10 taxi trips. But I am
missing the param keys to keep the taxi's in the simulation. And also how
to add stop lanes for different taxi trips? Do I have to add them manually?

randomTrips.py -n gnet.net.xml -o taxitrips.rou.xml
--trip-attributes="modes=\"taxi\" triggered=\"person\"" --vehicle-class
taxi -e 10

Regards,
Tonmoy

On Tue, 14 Jul 2020, 1:18 pm , <[email protected]> wrote:

> Hi Tomoy,
>
> Happy to help J
>
> 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]> 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]] *On Behalf Of *Tonmoy Das
> *Sent:* Montag, 13. Juli 2020 19:26
> *To:* [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]
> 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
>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 2020-07-14 14:35:19.002358 by randomTrips.py v1_6_0+1152-f241c9e80f
  options: -n gnet.net.xml -o taxitrips.rou.xml <doubleminus>trip-attributes=modes="taxi" triggered="person" <doubleminus>vehicle-class taxi -e 10
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd";>
    <vType id="taxi" vClass="taxi" modes="taxi" triggered="person"/>
    <trip id="0" depart="0.00" from="B2B1" to="A2B2" type="taxi"/>
    <trip id="1" depart="1.00" from="E1E2" to="A2A1" type="taxi"/>
    <trip id="2" depart="2.00" from="C3C4" to="B1C1" type="taxi"/>
    <trip id="3" depart="3.00" from="C0D0" to="C0C1" type="taxi"/>
    <trip id="4" depart="4.00" from="B0C0" to="C4B4" type="taxi"/>
    <trip id="5" depart="5.00" from="E2D2" to="A3B3" type="taxi"/>
    <trip id="6" depart="6.00" from="D2D3" to="A0B0" type="taxi"/>
    <trip id="7" depart="7.00" from="C3C4" to="B2B3" type="taxi"/>
    <trip id="8" depart="8.00" from="C2D2" to="D1C1" type="taxi"/>
    <trip id="9" depart="9.00" from="A3A2" to="D1E1" type="taxi"/>
</routes>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to