rusEFI
The most advanced open source ECU
|
Definition in file fuel_math.h.
Functions | |
void | initFuelMap () |
Initialize fuel map data structure. More... | |
float | getRunningFuel (float baseFuel) |
float | getBaroCorrection () |
percent_t | getFuelALSCorrection (int rpm) |
int | getNumberOfInjections (injection_mode_e mode) |
angle_t | getInjectionOffset (float rpm, float load) |
float | getIatFuelCorrection () |
float | getCltFuelCorrection () |
Engine warm-up fuel correction. More... | |
angle_t | getCltTimingCorrection () |
float | getCrankingFuel (float baseFuel) |
float | getCrankingFuel3 (float baseFuel, uint32_t revolutionCounterSinceStart) |
float | getInjectionMass (int rpm) |
percent_t | getInjectorDutyCycle (int rpm) |
percent_t | getInjectorDutyCycleStage2 (int rpm) |
float | getStage2InjectionFraction (int rpm, float fuelLoad) |
float | getStandardAirCharge () |
float | getCylinderFuelTrim (size_t cylinderNumber, int rpm, float fuelLoad) |
AirmassModelBase * | getAirmassModel (engine_load_mode_e mode) |
float | getMaxAirflowAtMap (float map) |
AirmassModelBase* getAirmassModel | ( | engine_load_mode_e | mode | ) |
Definition at line 150 of file fuel_math.cpp.
Referenced by getBaseFuelMass(), and lua_getAirmass().
float getBaroCorrection | ( | ) |
Definition at line 380 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
float getCltFuelCorrection | ( | ) |
Engine warm-up fuel correction.
Definition at line 353 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
angle_t getCltTimingCorrection | ( | ) |
Definition at line 362 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
float getCrankingFuel | ( | float | baseFuel | ) |
Definition at line 423 of file fuel_math.cpp.
Referenced by getCycleFuelMass().
float getCrankingFuel3 | ( | float | baseFuel, |
uint32_t | revolutionCounterSinceStart | ||
) |
Cranking fuel is different depending on engine coolant temperature If the sensor is failed, use 20 deg C
Definition at line 42 of file fuel_math.cpp.
Referenced by getCrankingFuel().
float getCylinderFuelTrim | ( | size_t | cylinderNumber, |
int | rpm, | ||
float | fuelLoad | ||
) |
Definition at line 441 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
percent_t getFuelALSCorrection | ( | int | rpm | ) |
Definition at line 402 of file fuel_math.cpp.
Referenced by AntilagSystemBase::update().
float getIatFuelCorrection | ( | ) |
Definition at line 371 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
float getInjectionMass | ( | int | rpm | ) |
Definition at line 303 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
angle_t getInjectionOffset | ( | float | rpm, |
float | load | ||
) |
Definition at line 208 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
percent_t getInjectorDutyCycle | ( | int | rpm | ) |
Definition at line 279 of file fuel_math.cpp.
Referenced by canDashboardHaltech(), EngineState::periodicFastCallback(), populateFrame(), LimpManager::updateState(), and updateTunerStudioState().
percent_t getInjectorDutyCycleStage2 | ( | int | rpm | ) |
Definition at line 285 of file fuel_math.cpp.
Referenced by updateTunerStudioState().
float getMaxAirflowAtMap | ( | float | map | ) |
Definition at line 167 of file fuel_math.cpp.
Referenced by ThrottleModel::maxEngineFlow().
int getNumberOfInjections | ( | injection_mode_e | mode | ) |
Number of injections using each injector per engine cycle
Definition at line 239 of file fuel_math.cpp.
Referenced by getInjectorDutyCycle(), getInjectorDutyCycleStage2(), and InjectionEvent::onTriggerTooth().
float getRunningFuel | ( | float | baseFuel | ) |
Definition at line 110 of file fuel_math.cpp.
Referenced by getCycleFuelMass().
float getStage2InjectionFraction | ( | int | rpm, |
float | fuelLoad | ||
) |
Definition at line 455 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
float getStandardAirCharge | ( | ) |
Standard cylinder air charge - 100% VE at standard temperature, grams per cylinder
Should we bother caching 'getStandardAirCharge' result or can we afford to run the math every time we calculate fuel?
Definition at line 432 of file fuel_math.cpp.
Referenced by MafAirmass::getAirmassImpl(), and getBaseFuelMass().
void initFuelMap | ( | ) |
Initialize fuel map data structure.
Definition at line 346 of file fuel_math.cpp.
Referenced by initDataStructures().