0% found this document useful (0 votes)
69 views19 pages

Multi-Agent Transport Seminar Guide

This document provides an overview of organizational matters, tools, and setup instructions for a seminar on multi-agent transport simulation. It outlines that the seminar will be conducted in English and German, how students can earn points through homework assignments and an exam, and which platforms like Isis and GitHub will be used. It also provides instructions on setting up the Java development environment IntelliJ, downloading the open source simulation platform MATSim and visualization tool Via, and cloning an example MATSim project from GitHub. The document guides running a simple MATSim scenario and visualizing the results in Via to introduce students to the workflow.

Uploaded by

Yeltsin Valero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views19 pages

Multi-Agent Transport Seminar Guide

This document provides an overview of organizational matters, tools, and setup instructions for a seminar on multi-agent transport simulation. It outlines that the seminar will be conducted in English and German, how students can earn points through homework assignments and an exam, and which platforms like Isis and GitHub will be used. It also provides instructions on setting up the Java development environment IntelliJ, downloading the open source simulation platform MATSim and visualization tool Via, and cloning an example MATSim project from GitHub. The document guides running a simple MATSim scenario and visualizing the results in Via to introduce students to the workflow.

Uploaded by

Yeltsin Valero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Multi-Agent Transport Simulation

Seminar 1
Contact
Seminar Monday, 14:15 – 15:45
Janek Laudan
laudan@tu-berlin.de

Lecture Monday, 16:15 – 17:45


Prof. Dr. Kai Nagel
nagel@vsp.tu-berlin.de

2 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Plan for today
Organizational Matters
Tools
Setting up technical pre-requisits
Goal for today:
• Clone a Matsim Set Up
• Run a simple scenario
• Look at the scenario in Via

3 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Organizational Matters - Platforms
Isis
• Information
• Communication
• Slides
• Materials
• (Actually most of what you need from us)

GitHub
• Source Code

4 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Organizaitonal Matters - Interaction
Lecture
Exercise
Hands-on assistance (Sprechstunde)
• We’ll have to work out together what works best

5 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Organizational Matters - Language
Slides and tutorials will be provided in English
Languages in the exam: English or German
• If any doubts about wording or meaning the English version prevails

Class language: Usually English except there are only German


natives

6 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Organizational Matters - Examination
This class has a Points translate into grades as
Portfolioprüfung follows
Please register in MOSES until
May 22nd
If MOSES does not work for
you, please hand in your
manual registration by then
You may reach 100 points in
this class

7 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Organizational Matters - Examination

Type Date Points


Homework 1 ? 13
Presentation of Homework 1 ? ? 20
Homework 2 ? 34
Written exam 18.7.2021, 14:00 33

8 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Tools
MATSim (https://matsim.org/)
Java (https://www.oracle.com/java/technologies/javase-
downloads.html) or (https://jdk.java.net/17/)
GitHub (https://github.com)
Travis (https://travis-ci.com/)
Commandline
Simunto Via (https://www.simunto.com/via/download)
Potentially GIS tools

9 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Setting up - Intellij
Download IntelliJ or an IDE of your choice
• https://www.jetbrains.com/idea/download/?fromIDE=#section=wind
ows
• The community version is sufficient
• Students are eligible for a pro license
(https://www.jetbrains.com/community/education/#students)

10 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Setting up - Via
Download Via (https://www.simunto.com/via/download)
You also need a license which you can find on ISIS

11 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Setting up – get a GitHub Account
Sign up on Github
(https://github.com/join?ref_cta=Sign+up&ref_loc=header+logge
d+out&ref_page=%2F&source=header-home)

12 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


MATSim – Set up
Get your matsim-example-
project-ready
• https://github.com/matsim-
org/matsim-example-project
• Fork the project
• Copy the ‘Clone-URL’ from the
forked repository

13 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


MATSim – Set up
Clone the project onto your computer in IntelliJ
• File -> New -> Project from Version Control…
• Paste the Github URL
• Hit next/Ok until finished

14 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


MATSim – Run the Simulation
In IntelliJ run the MATSimGUI
class located in org.matsim.gui
Right Click on main and select
run
To avoid OTFVis to open
automatically, remove it from
the RunMatsim class (I‘ll show
this)

15 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


MATSim – Run the Simulation
Inside the MATSim Gui choose
a configuration file
• We’ll use the simple
scenario bundled with the
project

This will run 10 iterations -


You’ll see a lot of output in
the output panel

16 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


MATSim - Output
Have a look at the output
folder of the our matsim run
We are going to use the events
file and the network to visualize
what happened during the
simulation

17 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


MATSim – Visualize Results
Open via
Drag and drop the events and
the network file into the panel
on the left
Click on the plus on the bottom
and add the network as visual
layer
Do the same for Vehicles from
events
• Here you need to load the
data as well

18 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan


Wrapping up
Time for things which are unclear

19 Multi-Agent Transport Simulation | Seminar 2022 | Janek Laudan

You might also like