1D Baglietto/Parisi model

1D variant of the pedestrian model from Baglietto & Parisi (2011).

Model evolution

Changes wrt the original model are colored blue. Every step, we:
  1. Let new agents enter on the left:
  2. Find contacts and compute ve:
  3. Update radii:
  4. Update positions:
  5. Attempt turning:

Boundaries are open; agents stochastically enter from the left, and they are removed from the model when they leave the field of view.

App

For the visualization, we consider agents in "contact" if their distance is smaller than 2.5 times $r_\text{max}$; they are then connected by a thick red line.