2019-06-17 09:18:55 -07:00
|
|
|
|
|
|
|
|
|
|
|
struct_no_prefix engine_state2_s
|
|
|
|
|
2019-06-19 19:34:11 -07:00
|
|
|
struct_no_prefix speed_density_s
|
2019-06-17 09:18:55 -07:00
|
|
|
|
|
|
|
bit isTChargeAirModel
|
|
|
|
|
2019-06-19 19:34:11 -07:00
|
|
|
float airMassInOneCylinder;Speed-density logic: calculated air mass in one cylinder, in grams
|
2019-06-17 09:18:55 -07:00
|
|
|
|
2019-06-19 19:34:11 -07:00
|
|
|
float tCharge;speed density\nRate-of-change limiter is applied to degrees, so we store both Kelvin and degrees.;
|
|
|
|
float tChargeK
|
2019-06-17 09:18:55 -07:00
|
|
|
|
|
|
|
float Tcharge_coff
|
|
|
|
|
|
|
|
floatms_t airFlow
|
|
|
|
|
2019-06-19 19:34:11 -07:00
|
|
|
|
|
|
|
float manifoldAirPressureAccelerationAdjustment;
|
|
|
|
float adjustedManifoldAirPressure;
|
|
|
|
|
|
|
|
|
|
|
|
! speed_density_s
|
|
|
|
end_struct
|
|
|
|
|
|
|
|
speed_density_s sd;
|
|
|
|
|
|
|
|
float targetAFR
|
|
|
|
|
|
|
|
|
|
|
|
float engineCycleDurationMs;
|
|
|
|
|
|
|
|
|
2019-06-17 09:18:55 -07:00
|
|
|
float minRpmKcurrentTPS
|
|
|
|
|
2019-06-17 18:37:11 -07:00
|
|
|
int currentTpsAdc
|
|
|
|
float tpsVoltageMCU
|
|
|
|
float tpsVoltageBoard
|
2019-06-17 09:18:55 -07:00
|
|
|
|
2019-06-19 19:34:11 -07:00
|
|
|
float currentBaroCorrectedVE;
|
|
|
|
|
|
|
|
! engine_state2_s
|
2019-06-17 09:18:55 -07:00
|
|
|
end_struct
|