This repository provides an open MATSim transport model for Berlin, provided by the Transport Systems Planning and Transport Telematics group of Technische Universität Berlin.
Currently, there are two versions of the MATSim Open Berlin model:
This scenario contains a 10pct sample of the Greater Berlin population; road capacities are accordingly reduced. The scenario is calibrated taking into consideration the traffic counts, modal split and mode-specific trip distance distributions.
This scenario contains a 1pct sample of the Greater Berlin population; road capacities are accordingly reduced. This scenario was not (!) calibrated and should only be used for testing purposes or pre-studies.
Handling of large files within git is not without problems (git lfs files are not included in the zip download; we have to pay; ...). In consequence, large files, both on the input and on the output side, reside at https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/berlin .
- Go to https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/berlin/
- Decide for a scenario that you find interesting (e.g.
berlin-v5.3-10pct
) and go into that directory. - Inside there, look for an
output-*
directory that you find interesting and go into that directory. - Inside there, look for
movie-*
files. You can't view them directly, but you there are various ways to download them, and you can view them then. Try that.
- Get VIA from https://www.simunto.com/via/. (There is a free license for a small number of agents; that will probably work but only display a small number of vehicles/agents.)
- Go to https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/berlin/ .
- Decide for a scenario that you find interesting (e.g.
berlin-v5.3-1pct
) and go into that directory. - Inside there, look for an
output-*
directory that you find interesting and go into that directory. - Download
*.output_network.xml.gz
and*.output_events.xml.gz
. Best make sure that they do not uncompress, e.g. by "Download linked file as ...". - Get these files into VIA. This can be achieved in various ways; one is to open VIA and then drag the files from a file browser into VIA.
- Run VIA and enjoy.
- Click on
Clone or download
and then onDownload ZIP
. - Unzip the repository.
- Go to "Run the MATSim Berlin scenario" below.
- Install git for the command line.
- Type
git clone https://github.com/matsim-vsp/matsim-berlin.git
in the command line.
(Or use your IDE, e.g. Eclipse, IntelliJ, to clone the repository.)
This will result in a new matsim-berlin
directory. Memorize where you have put it. You can move it, as a whole, to some other place.
- Go into the
matsim-berlin
directory. - Type
git pull
(Or use your IDE, e.g. Eclipse, IntelliJ, to update the repository.)
This will update your repository to the newest version.
(Requires either cloning or downloading the repository.)
- There should be a file directly in the
matsim-berlin
directory with name approximately asmatsim-berlin-5.2-jar-with-dependencies.jar
. - Double-click on that file (in a file system browser). A simple GUI should open.
- In the GUI, click on the "Choose" button for configuration file. Navigate to one of the
scenario
directories and load one of the configuration files. - Increase memory in the GUI.
- Press the "Start MATSim" button. This should run MATSim. Note that MATSim accepts URLs as filenames in its config, so while the config files are part of the git repo, running them will pull additional material from our server.
- "Open" the output directory. You can drag files into VIA as was already done above.
- "Edit..." (in the GUI) the config file. Re-run MATSim.
- Set up the project in your IDE.
- Make sure the project is configured as maven project.
- Run the JAVA class
src/main/java/org/matsim/run/RunBerlinScenario.java
orsrc/main/java/org/matsim/gui/RunBerlinScenarioGUI.java
. - "Open" the output directory. You can drag files into VIA as was already done above.
- Edit the config file or adjust the run class. Re-run MATSim.
For more information about the scenario generation, see here: https://svn.vsp.tu-berlin.de/repos/public-svn/publications/vspwp/2019/19-01/
For more information about MATSim, see here: https://www.matsim.org/.