Added Metric AIRDEN formula.

This commit is contained in:
tmcardle 2013-02-05 12:39:20 +11:00
parent f38a476d76
commit 43a216c4f4
1 changed files with 4 additions and 2 deletions

View File

@ -6,10 +6,12 @@ These are some utility functions and variables used through the main code
#define US_IN_MINUTE 60000000
//The following functions help determine the required fuel constant. For more information about these calculations, please refer to http://www.megamanual.com/v22manual/mfuel.htm
/* The following functions help determine the required fuel constant. For more information about these calculations, please refer to http://www.megamanual.com/v22manual/mfuel.htm
Calc below are for metric inputs of temp (degrees C) and MAP (kPa) to produce kg/m3.
*/
int AIRDEN(int MAP, int temp)
{
return (1.2929 * 273.13/(temp+273.13) * MAP/101.325);
}
/*