Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] duarouter only creates 'walk' for intermodal routing of personTrip

Hello,
- the intermodal router currently does not care how many transfers a person takes as long as the plan minimizes travel time. Some kind of penalty for transfers would obviously be useful. If you can provide an example where an unnecessary transfer increases travel time I will investigate.
- to let duarouter create plans with public transport, the public transport schedule must also be available: https://sumo.dlr.de/docs/IntermodalRouting.html
- duaIterate isn't really compatible with intermodal routing at the moment. There is currently no way to represent alternative plans for the same person in the way route-alternatives work for vehicles. It should work by assigning to each person the best plan in each iteration without considering prior iteration plans but admittedly we only have a single test for that

regards,
Jakob

Am Do., 25. Nov. 2021 um 10:13 Uhr schrieb Genaro Jr. Peque <gpequejr@xxxxxxxxx>:
Hello everyone,

I am simulating intermodal routing with buses and a person defined by 'personTrip'. 

When I run the 'osm.sumocfg' file using the SUMO-GUI, I am able to see the agent walk and ride buses at bus stops. However, there are many unnecessary transfers that happen during the trip. I wanted to use duaiterate to improve its plan but it only creates one 'walk' plan (no ride).

Since I know duaiterate calls duarouter, I have tried to test if a multiple plans can be created by running only duarouter:
duarouter -n .\osm.net.xml --route-files .\persons.xml --additional-files .\vType.xml,.\test.add.xml -o .\duatrips.xml

However, it only generates 'walk' even if I created the person along the 'beg' edge inside the bus stop. The same happens even with multiple iterations of duaiterate.

The persons.xml only has one person defined in it:
<routes>
     <person depart="0" id="1">
          <personTrip from="beg" to="end" modes="public" busStop="stop1" />
     </person>
</routes>

A sample duarouter result looks like this:
<routes>
     <person depart="0" id="1">
          <walk edges="beg mid1 mid2 mid3 mid4 ............. end" busStop="stop1" />
     </person>
</routes>

I was hoping to get something like this that happens when I run the GUI:
 <routes>
     <person depart="0" id="1">
          <walk edges="beg mid1 mid2 mid3 ............. end" />
          <ride edges="mid3 mid4 ............. mid20" busStop="stop0" />
          <walk edges="mid20 mid21............. mid40" />
          <ride edges="mid40  mid41 ............. end" busStop="stop1" />
     </person>
</routes>

Is this possible with duarouter?

The network is a little complex so the above sample XML inputs are just examples.

The test.add.xml file includes the busStop data, bus schedules and bus route which works perfectly well when using the SUMO-GUI.

Thank you.
_______________________________________________
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