rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Private Member Functions
ThrottleModel Class Reference

#include <throttle_model.h>

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

Private Member Functions

float effectiveArea (float tps) const override
 
float maxEngineFlow (float map) const override
 

Additional Inherited Members

- Public Types inherited from ThrottleModelBase
using interface_t = ThrottleModelBase
 
- Public Member Functions inherited from ThrottleModelBase
void onSlowCallback () override
 
float estimateThrottleFlow (float tip, float tps, float map, float iat)
 
expected< floatestimateThrottleFlow (float map, float tps)
 
float partThrottleFlow (float tps, float flowCorrection) const
 
float partThrottleFlow (float tps, float pressureRatio, float p_up, float iat) const
 
float throttlePositionForFlow (float flow, float pressureRatio, float p_up, float iat) const
 
- Public Member Functions inherited from EngineModule
virtual void initNoConfiguration ()
 
virtual void setDefaultConfiguration ()
 
virtual void onConfigurationChange (engine_configuration_s const *)
 
virtual void onFastCallback ()
 
virtual void onEngineStop ()
 
virtual void onIgnitionStateChanged (bool)
 
virtual bool needsDelayedShutoff ()
 
virtual void onEnginePhase (float, efitick_t, angle_t, angle_t)
 
- Data Fields inherited from throttle_model_s
bool throttleUseWotModel: 1 {}
 
bool unusedBit_1_1: 1 {}
 
bool unusedBit_1_2: 1 {}
 
bool unusedBit_1_3: 1 {}
 
bool unusedBit_1_4: 1 {}
 
bool unusedBit_1_5: 1 {}
 
bool unusedBit_1_6: 1 {}
 
bool unusedBit_1_7: 1 {}
 
bool unusedBit_1_8: 1 {}
 
bool unusedBit_1_9: 1 {}
 
bool unusedBit_1_10: 1 {}
 
bool unusedBit_1_11: 1 {}
 
bool unusedBit_1_12: 1 {}
 
bool unusedBit_1_13: 1 {}
 
bool unusedBit_1_14: 1 {}
 
bool unusedBit_1_15: 1 {}
 
bool unusedBit_1_16: 1 {}
 
bool unusedBit_1_17: 1 {}
 
bool unusedBit_1_18: 1 {}
 
bool unusedBit_1_19: 1 {}
 
bool unusedBit_1_20: 1 {}
 
bool unusedBit_1_21: 1 {}
 
bool unusedBit_1_22: 1 {}
 
bool unusedBit_1_23: 1 {}
 
bool unusedBit_1_24: 1 {}
 
bool unusedBit_1_25: 1 {}
 
bool unusedBit_1_26: 1 {}
 
bool unusedBit_1_27: 1 {}
 
bool unusedBit_1_28: 1 {}
 
bool unusedBit_1_29: 1 {}
 
bool unusedBit_1_30: 1 {}
 
bool unusedBit_1_31: 1 {}
 
scaled_channel< int16_t, 100, 1 > throttleModelCrossoverAngle = (int16_t)0
 
uint8_t alignmentFill_at_6 [2] = {}
 
float throttleEstimatedFlow = (float)0
 

Detailed Description

Definition at line 30 of file throttle_model.h.

Member Function Documentation

◆ effectiveArea()

float ThrottleModel::effectiveArea ( float  tps) const
overrideprivatevirtual

Implements ThrottleModelBase.

Definition at line 151 of file throttle_model.cpp.

151 {
153}
static constexpr persistent_config_s * config
scaled_channel< uint16_t, 10, 1 > throttleEstimateEffectiveAreaValues[THR_EST_SIZE]
scaled_channel< uint16_t, 10, 1 > throttleEstimateEffectiveAreaBins[THR_EST_SIZE]

◆ maxEngineFlow()

float ThrottleModel::maxEngineFlow ( float  map) const
overrideprivatevirtual

Implements ThrottleModelBase.

Definition at line 155 of file throttle_model.cpp.

155 {
156 return getMaxAirflowAtMap(map);
157}
float getMaxAirflowAtMap(float map)
Here is the call graph for this function:

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