I have been working on a project where i want to calulate fuel flow rate using data from the obd2 sensor. The car on which i was testing didn't support the pid 015E which is for fuel flow rate. Then i planned to use pid 0110 which is for mass air flow (MAF).I was unlucky with that too (not supported). Then i came across two sources on the internet where it was stated that we can use Mnifold absolute pressure (MAP) to somehow derive mass air flow (MAF). Here are the links
I also came across a research paper that showed various possibilities for the calculation of MAF, here:
I tried and implemented the formulas from the above resources to indirectly calculate MAF and then ultimately get fuel flow rate but the final result is too unrealistic, for instance i was getting 2.6 gallons/sec of fuel flow rate. Now i know it is possible to somehow calculate fuel flow rate indirectly because another app namely "Torque" could calculate fuel flow rate on the same car under the very same conditions and gave something like 0.000066 gallons/sec, which seems believable. I tried to contact the torque application developer but was unlucky. There was a variable called volumetric efficiency used in the formulas above which i just assumed for my car to have 70%. Please i need help i need to know what am i doing wrong or is there some other formula that can be used.
Below are the calculations i used as per this paragraph in the research paper:
This is what i did:
IMAP = (engineRPM * absolutePress) / ((airTemp + 273) / 2f); MAF = (IMAP / 60) * (volumetricEff / 100f) * (engineDisp / 1000f) * (28.97f / 8.314f); fuelFlow = (MAF * 3600) / (14.7f * 820) ; // l/h
The engine displacement was in CC so i divided it by 1000 to convert to litres and the temperature was in deg celsius so i added 273 to convert it to deg kelvin.These were the formula requirements.Where i am guessing the volumetric efficiency to be 80%.
I think it's probably the volumetric efficiency that is the source of error, but i don't have any idea how to calculate volumetric efficiency using obd || parameters. The research paper stated another formula that didn't use volumetric efficiency but i can't really understand and use it, it's poorly formatted i guess.Here it is:
Now i don't need to be accurate here, i just need the fuel flow calculation to be atleast believable. No accuracy required at all.