fly-duck / socialforce

Numpy implementation of the Social Force model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Social Force Model

Social force model for pedestrian dynamics
Dirk Helbing and Péter Molnár
Phys. Rev. E 51, 4282 – Published 1 May 1995

Install and Run

# install from PyPI
pip install 'socialforce[test,plot]'

# or install from source
pip install -e '.[test,plot]'

# run linting and tests
pylint socialforce
pytest tests/*.py

Ped-Ped-Space Scenarios

image image

Emergent lane formation with 30 pedestrians:

image

Emergent lane formation with 60 pedestrians:

image

Ped-Ped Scenarios

image image
image image

About

Numpy implementation of the Social Force model.


Languages

Language:Python 100.0%