Throttle Mass Flow Calculation
- Dominant language
- C
- Stars
- 138
- Forks
- 69
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 4
Description
Ticket for the Estimation of mass flow from throttle angle.
Values needed:
Cd Throttle Table - 4x Cells
RPM Multiplier Table - 4x Cells
Throttle Size in mm
Throttle Angle Possible (About 80 degrees is realistic and probably the default)
Gamma Correction ( If we stick with a fixed 1.4 for Gamma then it can be set and forget at 0.684731)
Calculations in order:
Cd Angle = (Throttle Angle Possible / 100 ) * TPS
Degrees
Cd Curve = 3rd order poly based on the Cd Angle using the 4 cell Cd throttle table
Unitless
CdxAreaxPressure = Cd Curve * ((Throttle Diameter ^2 * Pi)/4) * Atmospheric pressure in Pascals
Unitless?
Cd RPM Multi = 3rd order poly based on RPM using the 4 cell RPM Multiplier Table
Unitless
Cd sqrt RT= Square Route (Gas constant * (IAT+273)) _<- Gas constant = 8314.3_
Unitless
Tmass = (CdxAreaxPressure / Cd sqrt RT) * Gamma Correction * Cd RPM Multi
Kg/Second
Tcylinder Mass = (Tmass * 1000 ) / (RPM/60) / (Number of Cylinder/2)
Gram/Cylinder
TMAF = Tmass * 60 * 60 (or by 3600)
Kg/Hour
Contributor guide
Assessment
This issue has not been assessed yet.