ChelsieW / socialforce

Numpy implementation of the Social Force model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://travis-ci.org/svenkreiss/socialforce.svg?branch=master

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

docs/separator.gif docs/gate.gif

Emergent lane formation with 30 pedestrians:

docs/walkway_30.gif

Emergent lane formation with 60 pedestrians:

docs/walkway_60.gif

Ped-Ped Scenarios

docs/crossing.png docs/narrow_crossing.png
docs/opposing.png docs/2opposing.png

About

Numpy implementation of the Social Force model.


Languages

Language:Python 100.0%