State properties for combustion engine vehicles.
Tracks fuel level for consumption calculations and range predictions.
const state: CombustionVehicleState = { currentFuelInLiters: 45 // Half tank of a 90L tank}; Copy
const state: CombustionVehicleState = { currentFuelInLiters: 45 // Half tank of a 90L tank};
Specifies the current supply of fuel in liters.
Used to:
Typical Tank Sizes:
Minimum value: 0
currentFuelInLiters: 50 // 50 liters remainingcurrentFuelInLiters: 200 // Truck with 200 liters Copy
currentFuelInLiters: 50 // 50 liters remainingcurrentFuelInLiters: 200 // Truck with 200 liters
State properties for combustion engine vehicles.
Remarks
Tracks fuel level for consumption calculations and range predictions.
Example