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 and multiple impacts per vehicle

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.17.tar.gz (67.2 kB view details)

Uploaded Source

Built Distribution

pycrash-0.0.17-py3-none-any.whl (102.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycrash-0.0.17.tar.gz
  • Upload date:
  • Size: 67.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for pycrash-0.0.17.tar.gz
Algorithm Hash digest
SHA256 d771e20fb47fab9504771c4ce51b78d2a678d1f20be50e6df9f9f64f0c54bcf4
MD5 e6d49c859e6254ad99652f6201525b82
BLAKE2b-256 5313b55bd79fa24fc0e3dd54c53ce4ec04ca53fe59a45a0e228e2c598eb3e332

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycrash-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 102.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for pycrash-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 7b36c99c5525808656cb26b2a9db814684019b5f3820031d0c66e93ee79585ae
MD5 8b43953c2be9d2033685f83a290e195d
BLAKE2b-256 0c897f00c1ec14f0aba91ada56c4b4ad2c718dd3057457724a81f1a3551acfda

See more details on using hashes here.

Supported by

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