fome-fw/firmware/controllers/algo/fuel_math.h

26 lines
609 B
C

/**
* @file fuel_math.h
*
* @date May 27, 2013
* @author Andrey Belomutskiy, (c) 2012-2014
*/
#ifndef FUEL_MAP_H_
#define FUEL_MAP_H_
#include "engine.h"
void prepareFuelMap(void);
float getBaseFuel(Engine *engine, int rpm);
float getBaseTableFuel(int rpm, float engineLoad);
float getIatCorrection(float iat);
float getInjectorLag(float vBatt);
float getCltCorrection(float clt);
float getRunningFuel(float baseFuel, Engine *engine, int rpm);
float getCrankingFuel(Engine *engine);
float getStartingFuel(float coolantTemperature);
float getFuelMs(int rpm, Engine *engine);
#endif /* FUEL_MAP_H_ */