rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Static Public Member Functions | Protected Member Functions
SpeedDensityBase Class Reference

#include <speed_density_base.h>

Inheritance diagram for SpeedDensityBase:
Inheritance graph
[legend]
Collaboration diagram for SpeedDensityBase:
Collaboration graph
[legend]

Static Public Member Functions

static mass_t getAirmassImpl (float ve, float manifoldPressure, float temperature)
 

Protected Member Functions

 SpeedDensityBase (const ValueProvider3D &veTable)
 

Additional Inherited Members

- Public Member Functions inherited from AirmassVeModelBase
 AirmassVeModelBase (const ValueProvider3D &veTable)
 
float getVe (float rpm, percent_t load, bool postState) const
 
- Public Member Functions inherited from AirmassModelBase
virtual AirmassResult getAirmass (float rpm, bool postState)=0
 

Detailed Description

Definition at line 19 of file speed_density_base.h.

Constructor & Destructor Documentation

◆ SpeedDensityBase()

SpeedDensityBase::SpeedDensityBase ( const ValueProvider3D veTable)
inlineexplicitprotected

Definition at line 21 of file speed_density_base.h.

Member Function Documentation

◆ getAirmassImpl()

mass_t SpeedDensityBase::getAirmassImpl ( float  ve,
float  manifoldPressure,
float  temperature 
)
static

Definition at line 26 of file speed_density_base.cpp.

26 {
27 mass_t cycleAir = ve * idealGasLaw(engineConfiguration->displacement, manifoldPressure, temperature);
28 return cycleAir / engineConfiguration->cylindersCount;
29}
static constexpr engine_configuration_s * engineConfiguration
float mass_t
mass_t idealGasLaw(float volume, float pressure, float temperature)

Referenced by AlphaNAirmass::getAirmass(), and SpeedDensityAirmass::getAirmass().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: