Skip to content

Numpy implementation of the Social Force model.

Notifications You must be signed in to change notification settings

ChanganVR/socialforce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%