Skip to content

DiscoSimulacrum/Piston-Motion-Calc

Repository files navigation

Piston Motion Calc v0.3

This script calculates the velocity of an reciprocating engine's piston(s) during it's cycle. It also calculates various other results, such as compression ratio. The goal is to keep elaborating on the code to create a useful kinematic model.

The output of this script can be useful for:

  • Analyzing the affect of stroke, rod ratio, and max rpm on peak piston velocity and angle
  • Engine Management Tuning
  • Comparing different engines geometries
  • Making informed decisions about operating RPM as related to longevity
  • Arguing with people on car forums

Console Example:

Console Example

CSV Output Example Visualized as Graph:

Output Example

Future development:

  • Piston to valve (p2v) modeling
  • Static and dynamic compression calculation
  • Piston acceleration
  • Wrist pin offset (Left out right now because it seems to have a negligible effect on piston velocity)
  • GUI

About

Calculates velocity of the piston in a reciprocating engine and outputs to CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages