SimWrapper

SimWrapper

  • Documentation
  • Examples
  • News
  • GitHub

›API Reference / MATSim

Introduction

  • SimWrapper
  • Examples
  • File management
  • Running locally/offline
  • Getting help

Guides

  • Getting started tutorial
  • MATSim dashboards as code
  • Dashboards in depth
  • Network/cloud storage
  • Building a project site
  • Publishing to the web

API Reference / MATSim

  • MATSim Network link plots
  • MATSim Carrier viewer
  • MATSim DRT vehicle animation
  • MATSim Logistics Viewer
  • MATSim Public transit supply/demand
  • MATSim Events viewer

API Reference / General

  • Aggregate O/D flows
  • Bar, area, and line charts
  • Calculation tables
  • CSV table viewer
  • Flow maps
  • Gridmap
  • Heatmap chart
  • Matrix (HDF5) Viewer
  • Pie charts
  • Plotly
  • Sankey/Alluvial diagrams
  • Scatter plots
  • Shapefiles: Area maps, network links, and GeoJSON
  • Text blocks
  • Tiles
  • Vega-Lite charts
  • Video player
  • XML Viewer
  • XY hexagons (aggregate)
  • X/Y/Time point data

For Developers

  • Conversion scripts
  • Developing SimWrapper
  • Plugin writing guide
  • SimWrapper Change Log

MATSim DRT vehicle animation

DRT banner Animation of DRT vehicle, paths, and passenger requests

Usage

A file named viz-vehicles-*.yaml must be present in working folder. Each yml file matching that pattern will produce a separate DRT visualization.

viz-vehicles-drt.yaml

title: 'Dynamic Response Shared Taxis'
description: Inaktive Sammeltaxis (Quadräte); Aktive Sammeltaxis (gelb)
drtTrips: drt-vehicles.json.gz
thumbnail: thumbnail-vehicles.jpg
center: [13.391, 52.515]
leftside: false

This view can also be embedded in a dashboard by including type: vehicles in the properties.

YAML fields explained

drtTrips: the output from the parse-drt-link-events.py script, gzipped for best performance

center: Use this to specify the map center point as "long, lat" or [long,lat]. This is also used to properly scale the vehicle icons so it's good to always set it.

leftside: Offset vehicles slight to the left-of-center instead of right-of-center to depict left side driving correctly. (Default false)

← MATSim Carrier viewerMATSim Logistics Viewer →
SimWrapper
Docs
Getting StartedDeveloper GuideLatest Updates
More
VSP HomeMATSim.org⭐ us on GitHub!
Copyright © 2025 VSP, TU Berlin