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"
  • From: <Maria.Armellini@xxxxxx>
  • Date: Thu, 16 Jul 2020 11:53:03 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:X7cL+RTm46zf3u5d7RRzj/taq9psv+yvbD5Q0YIujvd0So/mwa67ZByHt8tkgFKBZ4jH8fUM07OQ7/m+Hzdcqsra+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAi3oAnLuMQbjoRuJ6k/xxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuBKvqQJizY7Ibo+bN/R+caHcfdwGSmVMRdxeWzBDAo6mc4cDE+gMMOBFpIf9vVsOqh6+CBGrCe3o0DBInH720rcg3+k9CwHG2RIvH9YKsHTVqtX1NbwfXv2xzKnS1znMcu1Z1C775YPVfR8vveuCUqhsccrN10YvDQXFg02ep4D7IT6ZyOoAvWab4edvWu+hhWwqpxxvrjWrxcohhIfEip4Ixl3Z9Ch0w5o5K9O8RUJlbtCpH5VeuiWEOoV2RM4pXm9muCE/yrIcuJ67ejAHx4kjxx7FcfCIbpaH7grsVOaXPzh4mGhpeLShiBau6USv1PHzVs210FZStSpKjMPAtncX1xzc7MWMV/hz/l+51DqSywzf8PxILEM7mKbBNpIszL09moANvUjdBiP6hUf7gLGMekk65+Sk8fnrb7fnq5OGKoN5jBz1PL40lcylG+s4NxADX22c+euhyrLu5Vb5QLBWjv0ulanZrYzaKdwbpqGnBw9V1Z4u5Ri5ATmo39oWnXkJIlVGdhyAlYblJU/CLv/5AvqhmViskTFrx+zcPrL7GJnCM3zDkK37cblg9UFQ0AszzdZB6JJIErwNPe7/VlXsuNHbARI1KRG4zujkBdlnyI8SR3qDAqqDP6PTtV+I6PgvI+6JZIINvzjyMeIl5//0gnMjhVIdZ6yp0oUTaHC8H/RmJUSZbGHxjdcFC2cGpBcxQ/LyhF2YTTFTf2qyX7475jwjE4KmEILDRoe0jLycxye0AIdWa3tYBV+QFXfodp2EW+wSZy6IJc9hiDMEBvCcTZQ830SuqBPi0OggafXL5WsVvpbizMN4oerJmlY3/D1wCs2blGWMVH11mG0PACQr2ac6vFdw0AS+17NlidxEENgG5+9VShxoctnD0PM8Btv2Wxrac5GOUlnhR9ynBTQ4SJU1wsQSYkBzHJK5kxXEmjexDqVGqrqQGZYI/7LAinjtO95mmTGBy7Y+yVQtRspXLmDggbRwsA3aBorMmkPek6exaaUa0imK73qGyi+Tp0xCAzJ3BPHeQHUYI1bNoM7R60jGTqe1BPIgKAQXmuCYLa4fPvjgl1RPAt75PdnaZ2O3mk+8AQzOyr7aP9miQHkUwCiIUBtMqAsU53vTbQU=
  • Ironport-sdr: sqRg6hwtQRPM0EFg1SHaSTBd9Bm0q6OWAYraPSqXpZ08SZAbGSK+etNi+Z+pjoezsdFzL5d2Ja MhvHVlyklFGA==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWWTrX6l3HMOLbHU2FLautvtYWaakGrNLggAAP4ICAAC7pYP//+C2AgAF0J9CAAZ19AIAAIwSQ
  • Thread-topic: [sumo-user] Disconnected plan for person "0"

Hi,

 

have you tried this?

https://sumo.dlr.de/docs/Tools/Trip.html#automatically_generating_a_vehicle_type

 

„Automatically generating a vehicle type

By setting the option --vehicle-class a vehicle type definition that specifies vehicle class will be added to the output files. I.e.

randomTrips.py --vehicle-class bus (but taxi in your case)

 

I’m sorry, but I still don’t understand why you keep using taxi device if you already defined all routes for vehicles and persons.

 

Regards,

Giuliana

 

From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of Tonmoy Das
Sent: Donnerstag, 16. Juli 2020 13:32
To: Sumo project User discussions
Subject: Re: [sumo-user] Disconnected plan for person "0"

 

Hello Giuliana,

 

I tried to use the taxi devices with <device.taxi.probability value="0.25"/> in the sumo configuration, while doing the simulation I am getting the error= 

 

"vehicle "id" with Device.taxi should have vclass 'taxi'  instead of 'passenger' ". 

 

I understand that randomtrip.py is generating vehicles with vclass passenger. But as I used 0.25 taxi device probability in sumo config file, shouldn't it automatically change the 25% vehicles to vclass taxi in the simulation?

 

Is their any way to correct this issue or is it a bug?

 

Regards,

Tonmoy

 

On Wed, 15 Jul 2020, 11:42 a.m. , <Maria.Armellini@xxxxxx> wrote:

Hi Tonmoy,

 

I think there is no possibility to do this with the command line, you have to add the device parameters manually. You could assign the device by global options, but I think that’s not what you are looking for (see https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#devices).

 

There is an important difference between VType/VClass Taxi and the Taxi Device:

 

The Taxi Device (see https://sumo.dlr.de/docs/Simulation/Taxi.html) simulates demand responsive transport (DRT) and you can add this device to any vehicle. This allows a fleet of taxis to serve customer requests based on a configurable dispatch algorithm. So you don’t have to define trips for these vehicles, the algorithm will do this for you. This line “<stop lane="D2D3_1" triggered="person"/>“ is used to keep the taxi waiting at the given lane until the first dispatch is received. No more stops need to be added.

 

If you are looking for a vehicle that makes a specific route and stops to pick up passengers, then you don’t need to use a Taxi device. You can just add stops to the route or vehicle. See https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#stops.

 

Regards,

Giuliana

 

From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of Tonmoy Das
Sent: Dienstag, 14. Juli 2020 14:40
To: Sumo project User discussions
Subject: Re: [sumo-user] Disconnected plan for person "0"

 

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 , <Maria.Armellini@xxxxxx> 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: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] 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 , <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

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

_______________________________________________
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