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.9.tar.gz (46.9 kB view hashes)

Uploaded Source

Built Distribution

pycrash-0.0.9-py3-none-any.whl (77.5 kB view hashes)

Uploaded Python 3

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