Step 2: Using the eqasim Discrete Mode Choice contribution - Hussein-Mahfouz/matsim-drt GitHub Wiki

Preparation

  1. Copy this eqasim java directory: ile_de_france/src/main/java/org/eqasim/ile_de_france
  2. Convert all IDF to your choisen city (in my case Leeds): See this commit
  3. Add the following modules to the config (see here and my commits [here] and [here] and here]:
    • DiscreteModeChoice
    • eqasim
    • Replanning (with new strategies)
  4. Add vehicles file and point to it in the config. Eqasim needs a vehicle id for each NetworkMode. This should be provided in a file. It is used mainly for emmisions modelling, but needs to be provided anyway. See this issue: https://github.com/Hussein-Mahfouz/matsim-drt/issues/12 for how to create the file and edit the config

Useful config parameters

  • tripConstraints::Shapefile - a shapefile that shows where a mode can operate.
    • you should add tripConstraint:ShapeFile parameterset for each mode, or specify multiple modes in the same parameterset if they will use the same shapefile
  • eqasim::crossingPenalty: MATSim does not have traffic lights and intersection delays. Specify a value here so that speeds are not too fast. It will add that value every time an intersection is crossed

Adding more modes

If modes (such as car_passenger, taxi) have been added to the network and exist in the plans.xml, they should also be added as allowable modes here

Implementing Discrete Choice