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.

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

  1. Single Degree of Freedom Model
  1. 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
  2. Impulse Momentum Planar Collision (in progress)
  • model based on conservation of momentum incorporating inter-vehicular sliding developed by Carpenter et al.

Validation

  • Single vehicle motion
    • physical testing
    • comparison with PC Crash
  • Sideswipe
  • Momentum
  • validation data available in this 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.

Recommendations

  • Download Python here and install required packages with pip from PyPi
  • Pycrash is built around Pandas so you can manipulate the output of Pycrash functions directly with Pandas
  • See Github repo for tutorials, Jupyter Notebooks and validation data

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.10.tar.gz (49.0 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.10-py3-none-any.whl (80.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycrash-0.0.10.tar.gz
  • Upload date:
  • Size: 49.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for pycrash-0.0.10.tar.gz
Algorithm Hash digest
SHA256 3ae363341a1e9c087f9c8d40a928ab55700d1adc2cf6fa44406ee75ce288c7dd
MD5 19392c4194106b017a4dfb1c20d9fe44
BLAKE2b-256 20ae7c033e416752ac080ab56ff55d95a78f60a8fc5eb5d4d3ff26ac8310d2f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycrash-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 80.1 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/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for pycrash-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f16c1217d906ad66164f53fce085801043ed90a53e3e41a9d9da321e6f4e5b2b
MD5 e55b8f76bf841456791c7a830ec7086b
BLAKE2b-256 3c0a6735eb4d7dfd77ed588ed37717c7ab76dae9e788446c427e94044bfe6e85

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