Skip to content

paulheinr/parallel-qsim-berlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parallel-qsim-berlin

This is a repository containing preprocessing steps and scripts for running the MATSim Berlin scenario.

Preprocessing

Currently (April 2025), the parallel qsim does not implement public transport. We filter out agents performing any PT trip. Other modes of transport are simulated as in the original MATSim Berlin scenario.

Use:

make prepare

Running the Scenario

Performs just one run of the qsim.

Use:

make run

In order to convert the events from protobuf to .xml.gz files, run

make convert-events N=<number of partitions used>

The default number of partitions is 16 (see config file), as this is the number of CPU cores of my computer. With this, the QSim runs in approx. 16s. (16.04.25, 10%, no global sync, no PT)

External Routing

Call RPC Raptor Routing from command line:

grpcurl -plaintext \
  -d '{"person_id": "1", "from_link_id": "1112", "to_link_id": "4142", "mode": "pt", "departure_time": 27126}' \
  localhost:50051 routing.RoutingService/GetRoute

Open Tasks

  • Explicit comparison of results with the original MATSim Berlin scenario
  • Remove PT links from network
  • Simulate PT as teleported (one would need to convert the route types)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published