2021-10-30 18:45:37 -07:00
|
|
|
struct_no_prefix tps_accel_state_s
|
2021-10-30 19:03:19 -07:00
|
|
|
|
2022-06-19 06:52:23 -07:00
|
|
|
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
|
2021-10-30 19:03:19 -07:00
|
|
|
|
2023-05-05 02:34:48 -07:00
|
|
|
percent_t tpsFrom;Fuel: TPS AE from
|
|
|
|
percent_t tpsTo;Fuel: TPS AE to
|
|
|
|
percent_t deltaTps;Fuel: TPS AE change
|
2021-10-30 18:45:37 -07:00
|
|
|
|
|
|
|
floatms_t extraFuel;
|
2021-10-30 19:03:19 -07:00
|
|
|
float valueFromTable;
|
2021-10-30 18:45:37 -07:00
|
|
|
|
2023-05-05 02:34:48 -07:00
|
|
|
bit isAboveAccelThreshold;Fuel: TPS AE Active
|
2021-10-30 18:45:37 -07:00
|
|
|
bit isBelowDecelThreshold;
|
2023-12-21 12:58:12 -08:00
|
|
|
bit isTimeToResetAccumulator;Fuel: TPS AE: reset time
|
2021-10-30 19:03:19 -07:00
|
|
|
bit isFractionalEnrichment
|
2023-12-21 12:58:12 -08:00
|
|
|
bit belowEpsilon;Fuel: TPS AE: below threshold
|
|
|
|
bit tooShort;Fuel: TPS AE: too short
|
2021-10-30 18:45:37 -07:00
|
|
|
|
2021-10-30 19:03:19 -07:00
|
|
|
float fractionalInjFuel
|
2021-10-30 18:45:37 -07:00
|
|
|
|
|
|
|
! /**
|
|
|
|
! * Used for Fractional TPS enrichment.
|
|
|
|
! */
|
2021-10-30 19:03:19 -07:00
|
|
|
floatms_t accumulatedValue
|
|
|
|
floatms_t maxExtraPerCycle
|
|
|
|
floatms_t maxExtraPerPeriod
|
|
|
|
floatms_t maxInjectedPerPeriod
|
|
|
|
int cycleCnt
|
2021-10-30 18:45:37 -07:00
|
|
|
|
|
|
|
|
|
|
|
end_struct
|