title: Avoiding numerical pitfalls in social force models.
abstract: The social force model of Helbing and Molnár is one of the best known approaches to simulate pedestrian motion, a collective phenomenon with nonlinear dynamics. It is based on the idea that the Newtonian laws of motion mostly carry over to pedestrian motion so that human trajectories can be computed by solving a set of ordinary differential equations for velocity and acceleration. The beauty and simplicity of this ansatz are strong reasons for its wide spread. However, the numerical implementation is not without pitfalls. Oscillations, collisions, and instabilities occur even for very small step sizes. Classic solution ideas from molecular dynamics do not apply to the problem because the system is not Hamiltonian despite its source of inspiration. Looking at the model through the eyes of a mathematician, however, we realize that the right hand side of the differential equation is nondifferentiable and even discontinuous at critical locations. This produces undesirable behavior in the exact solution and, at best, severe loss of accuracy in efficient numerical schemes even in short range simulations. We suggest a very simple mollified version of the social force model that conserves the desired dynamic properties of the original many-body system but elegantly and cost efficiently resolves several of the issues concerning stability and numerical resolution.
authors.affiliation: Department of Computer Science and Mathematics, Munich University of Applied Sciences, 80335 Munich, Germany. gerta.koester@hm.edu
authors.forename: Gerta
authors.initials: G
authors.lastname: Köster
authors.forename: Franz
authors.initials: F
authors.lastname: Treml
authors.forename: Marion
authors.initials: M
authors.lastname: Gödel
mesh_terms: D000465:Algorithms; D003198:Computer Simulation; D006801:Humans; D008124:Locomotion; D015233:Models, Statistical; D017711:Nonlinear Dynamics; D009991:Oscillometry / Q000379:methods*; D012919:Social Behavior