2007-05 Getting Started with MATSim

This tutorial will make you familiar with MATSim. You will learn

  • how to run and simulate a simple scenario,
  • to understand the configuration settings so you can change them correspondingly for your own scenarios,
  • how to integrate an external, custom mobility simulation,
  • how to integrate a custom, external re-planning module.

Finally, the tutorial will give an introduction at the code so you will be able to extend the previously mentioned examples to create further sophisticated simulations.

This tutorial is also included in the MATSim download.

This  version of the tutorial (supposedly) matches the code in the latest release.

If you plan to use later versions, you will need to keep the following Path-changes in mind:

  •     The classpath (-cp in commands) is not MATSim.jar, but consists of the directory that contains the compiled classes (usually classes or bin) as well as of all depending jar-files 

Also see here for more modern ways to obtain and install MATSim.  The tutorials have not yet been adapted.


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.231&amp;#039;, session = &amp;#039;&amp;#039;, timestamp = 1328350129 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/64', '', '38.107.179.231', 1328350129) in /home01/vsp_access/matsimwww/includes/database.mysql.inc on line 174