Skip to main content

software tool for simulating vehicle motion and impacts based on fundamental physics and accident reconstruction techniques

Project description

Pycrash

Pycrash is a 2D mathematical model for simulating vehicle motion and vehicular impacts using a variety of approaches based on fundamental physics and published accident reconstruction techniques. In addition to fundamental applications, Pycrash has accident reconstruction specific modules for obtaining and processing commonly used data

Installation (Requires Python > 3.6)

pip install pycrash PyPi

Planar Vehicle Motion

  1. Single vehicle motion based on driver inputs (brake, throttle, steer)
  2. Multi-vehicle motion with impact detection
  • currently two vehicles, impact response based on two different approaches.

Impact Simulation

Single Degree of Freedom Model
Impulse Momentum Planar Collision
  • model based on conservation of momentum incorporating inter-vehicular sliding developed by Carpenter et al.
Sideswipe (in progress)
  • similar to previous model developed and validated by Funk et al.
  • improved to allow for driver inputs and flexible approach angles and contact locations

Validation

  • validation data are provided within the Github repo

Modular Design

  • Model calculations divided into modules to allow for future improvements
  • Vehicle motion incorporates a modular linear tire model to determine slip condition based on weight shift from longitudinal and lateral acceleration.

Collaboration

  • Contributors are welcome - create a branch to develop a new capability or improve the current model
  • There is a list of projects in the report for future applications that I would like to pursue
  • Create an issue if you identify a problem or to make suggestions for future improvements
  • Additional validation data are always welcome

Recommendations

  • Download Python here and install required packages with pip from PyPi
  • See Github repo for tutorials, Jupyter Notebooks and validation data
  • The validation and demonstration of Pycrash is best viewed using Jupyter notebooks

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

pycrash-0.0.16.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycrash-0.0.16-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

Details for the file pycrash-0.0.16.tar.gz.

File metadata

  • Download URL: pycrash-0.0.16.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for pycrash-0.0.16.tar.gz
Algorithm Hash digest
SHA256 0a921910490f76a2c305323d462fbe4fa751195df13e68b2b0e3dbfd55dc1e71
MD5 60c6277e055b770cc44d445319de0e30
BLAKE2b-256 42938dd48c00f4ea5c6760e8afedeb6cf3f5b464306ad269d4afff125e0cd0da

See more details on using hashes here.

File details

Details for the file pycrash-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: pycrash-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 95.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for pycrash-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 e836efa39d775363e800d7308fee0c7b4adc06fee2cb4e419752c6f8c3eeac6c
MD5 18d6a90a3f2f2f1d65b0a2521f9a5767
BLAKE2b-256 5f71888485225f19f6f9b59784c03ff8bd6f2b6610269838a31be1a51d622297

See more details on using hashes here.

Supported by

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