rusEFI
The most advanced open source ECU
|
Fuel amount calculation logic.
This file is part of rusEfi - see http://rusefi.com
rusEfi is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file fuel_math.cpp.
Variables | |
ve_Map3D_t | veMap |
static mapEstimate_Map3D_t | mapEstimationTable {"mape"} |
static SpeedDensityAirmass | sdAirmass (veMap, mapEstimationTable) |
static MafAirmass | mafAirmass (veMap) |
static AlphaNAirmass | alphaNAirmass (veMap) |
static Hysteresis | stage2Hysteresis |
AirmassModelBase * getAirmassModel | ( | engine_load_mode_e | mode | ) |
Definition at line 152 of file fuel_math.cpp.
Referenced by getBaseFuelMass(), and lua_getAirmass().
float getBaroCorrection | ( | ) |
Definition at line 401 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
Definition at line 176 of file fuel_math.cpp.
Referenced by getInjectionMass().
float getCltFuelCorrection | ( | ) |
Engine warm-up fuel correction.
Definition at line 358 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
Definition at line 444 of file fuel_math.cpp.
Referenced by getCycleFuelMass().
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().
Definition at line 293 of file fuel_math.cpp.
Referenced by getInjectionMass().
PUBLIC_API_WEAK_SOMETHING_WEIRD float getCylinderFuelTrim | ( | size_t | cylinderNumber, |
float | rpm, | ||
float | fuelLoad | ||
) |
Definition at line 463 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
Definition at line 423 of file fuel_math.cpp.
Referenced by AntilagSystemBase::update().
float getIatFuelCorrection | ( | ) |
Definition at line 367 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
Definition at line 305 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
float getInjectionModeDurationMultiplier | ( | ) |
Definition at line 256 of file fuel_math.cpp.
Referenced by getInjectionMass().
Definition at line 210 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
Definition at line 281 of file fuel_math.cpp.
Referenced by canDashboardHaltech(), EngineState::periodicFastCallback(), populateFrame(), LimpManager::updateState(), and updateTunerStudioState().
Definition at line 287 of file fuel_math.cpp.
Referenced by updateTunerStudioState().
Definition at line 169 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 241 of file fuel_math.cpp.
Referenced by getInjectorDutyCycle(), getInjectorDutyCycleStage2(), and InjectionEvent::onTriggerTooth().
float getPostCrankingFuelCorrection | ( | ) |
Definition at line 376 of file fuel_math.cpp.
Referenced by EngineState::periodicFastCallback().
Definition at line 111 of file fuel_math.cpp.
Referenced by getCycleFuelMass().
Definition at line 478 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 453 of file fuel_math.cpp.
Referenced by MafAirmass::getAirmassImpl(), and getBaseFuelMass().
void initFuelMap | ( | ) |
Initialize fuel map data structure.
Definition at line 351 of file fuel_math.cpp.
Referenced by initDataStructures().
|
static |
Referenced by getAirmassModel().
|
static |
Referenced by getAirmassModel().
|
static |
|
static |
Referenced by getAirmassModel(), and getMaxAirflowAtMap().
|
static |
Definition at line 476 of file fuel_math.cpp.
Referenced by getStage2InjectionFraction().
|
extern |