21 return 2 *
maf2.Value;
27 return maf.value_or(0);
48 float gramPerSecond = massAirFlow * 1000 / 3600;
51 float revsPerSecond = rpm / 60.0f;
52 mass_t airPerRevolution = gramPerSecond / revsPerSecond;
58 mass_t cylinderAirmass = airPerRevolution / halfCylCount;
64 mass_t correctedAirmass = cylinderAirmass *
getVe(rpm, airChargeLoad, postState);
float getVe(float rpm, percent_t load, bool postState) const
AirmassResult getAirmass(float rpm, bool postState) override
AirmassResult getAirmassImpl(float massAirFlow, float rpm, bool postState) const
virtual bool hasSensor() const
virtual SensorResult get() const =0
static constexpr engine_configuration_s * engineConfiguration
float getStandardAirCharge()
static FunctionalSensor maf2(SensorType::Maf2, MS2NT(50))
static FunctionalSensor maf(SensorType::Maf, MS2NT(50))
by the way 2.081989116 kg/h = 1 ft^3/min