This is a repository containing preprocessing steps and scripts for running the MATSim Berlin scenario.
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
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)
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
- 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)