CombustionVehicleConsumption
data class CombustionVehicleConsumption(val auxiliaryPower: FuelPerTime? = null, val speedConsumption: Map<Speed, FuelConsumption>)
Describes the consumption of a vehicle with an internal combustion engine.
Throws
if any consumption values are invalid.
Properties
Link copied to clipboard
The amount of fuel consumed for sustaining auxiliary systems of the vehicle, for example in liters per hour. It can be used to specify consumption due to devices and systems such as AC systems, radio, heating, etc.
Link copied to clipboard
The speed-dependent component of the vehicle's consumption. It is provided as a piecewise linear function mapping speed to consumption. All consumption values as well as the extrapolated values for speeds outside the provided range must be positive.