Skip to main content

Python package to create physics-based pedestrian models from crowd measurements

Project description

Data-driven physics-based modeling of pedestrian dynamics

PyPI - Python Version Code style: black arXiv

Project Overview

Python package to create physics-based pedestrian models from pedestrian trajectory measurements. This package is an implementation of the data-driven generalized pedestrian model presented in:

Pouw, C. A. S., van der Vleuten, G., Corbetta, A., & Toschi, F. (2024). Data-driven physics-based modeling of pedestrian dynamics. Preprint, https://arxiv.org/abs/2407.20794

Documentation

Usage Notebooks

We provide the following usage notebook on Google Colab:

- Quick-start with the generalized pedestrian model.

The notebook can be used to create a model for the following environments:

  • Walking paths in a narrow corridor.
  • Intersecting walking paths.
  • Walking paths on a train station platform.

Using the CLI

Install the package from source

git clone https://github.com/c-pouw/physics-based-pedestrian-modeling.git
cd physics-based-pedestrian-modeling
pip install -e .

Run the main processing script for one of the available parameter files (listed below)

python physped/main.py params=PARAM_NAME

Parameter Files

Parameter configurations are handled by Hydra. Default parameter files are provided for the following cases:

  • single_paths: Trajectories in a narrow corridor.
  • intersecting_paths: Trajectories intersecting in the origin.
  • asdz_pf12: Complex trajectories on the Amsterdam Zuid train platform 1 and 2.

License

  • Free software: 3-clause BSD license

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file physics_based_pedestrian_modeling-0.2.2.tar.gz.

File metadata

File hashes

Hashes for physics_based_pedestrian_modeling-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4cf0b69bb7d70cc2ee8b128a26bcdf41ef57e6703320600dd7426c92bf21cb2e
MD5 cdccf2b6c99947c4b7cd35b3312a6a11
BLAKE2b-256 b658e852fb15ec0f8c9319144febbf849e344210c5353394286a93cb3cbb65bd

See more details on using hashes here.

File details

Details for the file physics_based_pedestrian_modeling-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for physics_based_pedestrian_modeling-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 31400b630da2111a468da828fffec49a783b510872b25e5d7c5eb81015d8baf7
MD5 c56f4813ef7fef7c35eb96a46a57526e
BLAKE2b-256 b33547c63d5748d3accb4ea695166b1f70a5ea097563a3dc0bf2762e1fc5db3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page