Feasible mode chain analysis

Description

This plan algorithm is an implementation of Miller et al.'s (2005) individual trip maker mode choice, described in Section 3.2 of that paper. It computes a choice set of feasible trip mode combinations given

  • the subtour structure of a home-based activity plan,
  • the set of modes available to the agent, and
  • the set of chain-based modes, i.e. modes an agent is bound to when chosen for a subtour (default: car, bike). Chain-based modes are opposed to trip-based modes for which no such commitment exists (such as public transport modes or walk). This means, chain-based modes are interpreted of the actual means of transportation the agent owns/has access to (the agent's car, the agent's bike). A boundary condition for the choice set generation is that the chain-based modes must be at home again at the end of the home-based activity plan.

Examples

Consider the following scenario:

  • Activity plan with location sequence A-B-A-C-A, with A being the location identifier of the home activity.
  • Modes available to the agent: car, pt, walk
  • chain-based modes: car

The plan consists of two subtours, each of which might be performed with one of the car. Alternatively, each trip might be performed woth a trip-based mode (walk, pt). The resulting choice set is:

car-car-car-car

car-car-pt-pt
car-car-walk-walk
car-car-walk-pt
car-car-pt-walk

pt-pt-car-car
walk-walk-car-car
walk-pt-car-car
pt-walk-car-car

pt-pt-pt-pt
pt-pt-pt-walk
pt-pt-walk-pt
pt-pt-walk-walk
pt-walk-pt-pt
pt-walk-pt-walk
pt-walk-walk-pt
pt-walk-walk-walk

walk-pt-pt-pt
walk-pt-pt-walk
walk-pt-walk-pt
walk-pt-walk-walk
walk-walk-pt-pt
walk-walk-pt-walk
walk-walk-walk-pt
walk-walk-walk-walk

See also attached Figure 1 from Miller et al. (2005).

Usage in MATSim

  • Configure set of chain-based modes

To do.

  • Usage
Plan plan = ...;
// generate instance of the plan algorithm
MeisterkConfigGroup meisterk = new MeisterkConfigGroup();
PlanAnalyzeTourModeChoiceSet patmcs = new PlanAnalyzeTourModeChoiceSet(meisterk);
// specify and set set of modes available to the agent
EnumSet<BasicLeg.Mode> possibleModes =
EnumSet.of(BasicLeg.Mode.walk, BasicLeg.Mode.bike, BasicLeg.Mode.pt, BasicLeg.Mode.car);
patmcs.setModeSet(possibleModes);
// run algorithm
patmcs.run(plan);
// obtain result: choice set of feasible mode combinations
ArrayList<BasicLeg.Mode[]> actual = patmcs.getResult();

See example usage in the test class: playground.meisterk.org.matsim.population.algorithms.PlanAnalyzeTourModeChoiceSetTest

References

Miller, E. J., M. J. Roorda und J. A. Carrasco (2005) A tour-based model of travel mode choice, Transportation, 32 (4) 399–422.


Warning: Table 'watchdog' is read only query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;sessions&amp;#039; is read only\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &amp;#039;38.107.179.234&amp;#039;, session = &amp;#039;&amp;#039;, timestamp = 1328354466 WHERE sid = &amp;#039;e972b2ab7dd755a2094beea8ac708f02&amp;#039;</em> in <em>/home01/vsp_access/matsimwww/includes/database.mysql.inc</em> on line <em>174</em>.', 2, '', 'http://matsim.org/node/267', '', '38.107.179.234', 1328354466) in /home01/vsp_access/matsimwww/includes/database.mysql.inc on line 174