Information on the mixed traffic flow simulation

This is a simulation of the fully two-dimensional model which is fully documented in following reference:
Venkatesan Kanagaraj and Martin Treiber (2018)
Self-Driven Particle Model for Mixed Traffic and Other Disordered Flows
Physica A: Statistical Mechanics and its Applications 509, 1-11
[arxiv e-print: 1805.05076]

The simulation starts with little traffic on a homogeneous road (the U-bend is only there in order to display a longer road segment). There are two insert diagrams: speed-density scatter plot at the top, and flow-density scatter plot at the bottom. Furthermore, there are three possibilities for interaction: The sliders, the buttons to the right, and loading a custom initial configuration

The sliders

The buttons

Custom initial conditions (micro ICs)

The simulation can be initialized by micro initial conditions prescribing the type, initial longitudinal and lateral position (u,v), and initial velocity (speedLong,speedLat) of any object. The file format is as follows:
 # type     length   width  u     v       speedLong  speedLat
 car        5.0      2.0    20    3       15         0
 truck      10.0     3.0    20    -3      15         0
 bike       2.0      1.0    40    -3      5          1
 obstacle   80       2      300   9.5     0          0
 ...        ...      ...    ...   ...     ...        ...
Besides the three moving types car, truck, and bike, there is also a type obstacle which can be used to implement various bottlenecks.
Micro ICs are useful when analyzing certain model aspects with reproducible scenarios. For this reason, I also seed the random number generator when a new IC file is loaded. This is necessary because a certain acceleration noise is added to resolve stalemates in the traffic flow (see file IC_resolveStalemate.txt below). When using micro ICs, it is best to set the inflow to zero because otherwise new incoming vehicles may disturb the analysis/experiments. With zero inflow, there are also no further stochastic elements in the simulation in addition to the acceleration noise. Notice that the simulation is cleared from all past vehicles and past obstacles and bottlenecks when a new IC file is loaded but the other slider settings are unchanged.
As examples and templates for further modification, you can download following initial configurations: