OpenTraffic Simulation Project

Opentrafficsim is an advanced open-source multi-modal and multi-scale simulation platform written in JAVA. The multi-scale design philosophy is based on strict principles of aggregation and disaggregation and methods to ensure consistency between levels of scale. Average behavioral properties in car followig and lane changing such as reaction time or sensitivity to stimuli are the result of underlying perceptual and/or psychological processes. The first sketch of this multi-scale framework is given in a  paper published at the 2016 Annual meeting of the transportation research board. At the moment we work together with Sweco on the development of our Opentrafficsim tools.

Over the past decades, traffic simulation models have become key tools for transport and traffic practitioners, policymakers and academics all over the world.  Figure 1 outlines the (ideal) cyclic process of traffic simulation model development. It starts with a conceptual idea such as conservation of vehicles (CoV), or the idea that drivers adjust their speed proportional to the (perceived) distance headway required to safely avoid collisions. Such concepts can be mathematically formulated in many forms. For example, the CoV principle can be formulated as a system of partial differential equations in Lagrangian or Eulerian coordinates. Both implement the same idea, but have different mathematical characteristics. To solve these equations for large realistic traffic networks numerical approximations are required. Again we have a one-to-many relationship, because there are different numerical approaches (implicit, explicit, first or higher order, etc) available to solve the same system of equations, which differ in accuracy and computational complexity. Also in the final development step (from numerical model to actual simulation software), many additional choices must be made, such as object and data representation, simulation scheduling, error handling, etc. All these choices (theory -> mathematics -> numerical solutions -> software code) potentially affect the (application-specific) validity of the simulation.

Many of the commercial software packages available have their origins in the academic world, but are now developed and distributed by specialized software companies.  In an ideal world academia and practice collaborate continuously along the lines sketched in Figure 1. In the real world, however, there is much fewer interaction between academia and practice once simulation software is commercialized. Particularly microscopic traffic simulation packages are black boxes, in which it is impossible to unravel which underlying mathematical and numerical choices have been made, and what the consequences of these are in terms of model validity. This black-box problem essentially forces most academic researchers to reinvent the wheel and to code an entire simulation model from scratch, even in case the research objective is to develop a very specific innovation (e.g. a new car following model). This entails huge additional efforts (e.g. visualisation, input-output data processing) that (a) have nothing to do with the innovation itself and (b) seldom lead to robust reusable (and publishable) simulation code. As a result, many scientific innovations in our field are not implemented (or even considered) in commercial simulation software. Even within academia, it is often difficult to reuse simulation code after e.g. PhD students have finished their research. 

A second problem relates to incompatibility of the model inputs. Most commercial simulation packages store, retrieve and process input (network description, origin-destination flows, control scenarios) and internal structures in native formats and files. This frustrates the portability of data (inputs, networks, origin-destination (OD) flows, etc) between traffic simulation packages, and severely limits the possibilities for multi-scale modelling. A third problem is that the gap between science and practice also affects other processes related to traffic simulation, such as the estimation of OD matrices, and methodologies for ex post or ex ante evaluation using simulation models.

Opentrafficsim is an open-source project in which we want to solve at least some of these problems. Opentrafficsim is designed as a multi-scale and multi modal platform. Multi-modality is achieved by a single class family (the so-called Generic Traffic Unit or GTU) from which all moving objects descend. The most generic classes can move freely in 3 dimensions (planes), more specialised descendents are more and more constraint in their free movement capabilities (e.g. pedestrians 2-2,5D, cars 1,5-2D and trains 1D). This makes it possible for different traffic modes to not only run in the same environment but to actually "see" and respond to each other. As soon as whatever GTU moves in a simulation environment, by design it becomes part of the simulation environment of all surrounding GTUs.

Visit: www.Opentrafficsim.org for more info

DiTTLAB Partners: TU Delft, Sweco, NISSAN