Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Issues with Intermodal routing + bicycles

Hello,
- both modes should work. Setting modes="bicycle" is equivalent to vTypes="DEFAULT_BIKETYPE")
- there was a bug in the Ride statistics that didn't count bike rides. This is now fixed.
- the Sumo error probably comes from the wrong vehicle type. Duarouter forgot to specify that the vehicle is a bicycle and Sumo interprets it as a passenger car. This is now fixed.

cheers,
Jakob


2018-05-30 18:09 GMT+02:00 Lara CODECA <lara.codeca@xxxxxxxxxx>:
Dear All,

I'm trying to use intermodal routing with bicycles and I'm having some issues.

If I use:
<person id="pedestrian_0_58" depart="18987">
        <personTrip from="828#1" to="791" vTypes="bicycle"/>
</person>

duarouter generates:
<vehicle id="pedestrian_0_58_0" type="bicycle" depart="triggered">
        <route edges="828#1 ..... 791"/>
</vehicle>
<person id="pedestrian_0_58" depart="18987.00">
        <ride from="828#1" to="791" lines="pedestrian_0_58_0"/>
</person>

Anyway the bikes count the SUMO stats is 0:

Pedestrian Statistics (avg of 470 walks):
 RouteLength: 979.15
 Duration: 795.30
 TimeLoss: 90.31
Ride Statistics (avg of 866 rides):
 WaitingTime: 53.77
 RouteLength: 5996.18
 Duration: 536.48
 Bus: 114
 Train: 8
 Bike: 0        <----------
 Aborted: 0

On the other side, if I use:
<person id="pedestrian_0_36" depart="19802">
        <personTrip from="875#2" to="-305#0" modes="bicycle"/>
</person>

duarouter generates:
<vehicle id="pedestrian_0_36_b0" depart="triggered">
        <route edges="875#2 ..... -305#0"/>
</vehicle>
<person id="pedestrian_0_36" depart="19802.00">
        <ride from="875#2" to="-305#0" lines="pedestrian_0_36_b0"/>
</person>

SUMO crashes with
Error: Vehicle 'pedestrian_0_84_b0' has no valid route. No connection between
edge '726' and edge '1164'.
Quitting (on error).

Which of the 2 modes should work?
If it should be the second one, I can create a "small" example.

Thanks in advance for the help.

Lara

----------
I'm using
Eclipse SUMO Version 46f3786bb8
 Build features: Linux-4.16.0-1-amd64 Proj GUI GDAL FFmpeg OSG GL2PS SWIG
on Debian Unstable.

--
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Back to the top