IntermodalRouting
generated on 2016-11-01 01:15:32.114404 from the wiki page for IntermodalRouting for SUMO 0.28.0
Basic Concepts
Every person can have multiple modes to their availability. Currently those are walking (which is assumed to be always possible), riding by public transport and going by car. Intermodal routing uses person trips to define a trip of a person including mode changes. Currently only the DUAROUTER can handle this input.
Defining available cars
<routes>
<vType id="typ0" vClass="passenger"/>
<person id="p0" depart="0">
<personTrip from="beg" to="end" vTypes="typ0"/>
</person>
</routes>
Defining public transport
Every vehicle with a line attribute is considered public transport and will be used for routing regardless of its capacity.
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<flow id="bus" from = "beg" to ="end" line="bus" begin="0" end="1000" period="300">
<stop busStop="beg_0" until="10"/>
<stop busStop="left_0" until="110"/>
<stop busStop="end_0" until="210"/>
</flow>
<person id="p0" depart="0">
<personTrip from="beg" to="end" modes="public"/>
</person>
</routes>
This page was last modified on 18 April 2016, at 22:30.