AltitudeChangeEnergy
public struct AltitudeChangeEnergy : Equatable, Hashable
Specifies the energy that is gained or lost by altitude changes.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init ( consumptionForAltitudeGain: Measurement<TTUnitElectricEfficiency>, recuperationForAltitudeLoss: Measurement<TTUnitElectricEfficiency> ) throwsParameters
consumptionForAltitudeGainSpecifies the electric energy in kWh consumed by the vehicle through gaining 1000 meters of elevation. Applicable only for electric engines.
recuperationForAltitudeLossSpecifies the amount of power consumed for 1 km altitude loss, in kilowatts (kW). Applicable only for electric engines.
-
Specifies the electric energy consumed by the vehicle through gaining elevation, typically in kWh per kilometer of altitude gain. Applicable only for electric engines.
Declaration
Swift
public let consumptionForAltitudeGain: Measurement<TTUnitElectricEfficiency> -
Specifies the amount of power consumed for 1 km altitude loss, in kilowatts (kW). Applicable only for electric engines.
Declaration
Swift
public let recuperationForAltitudeLoss: Measurement<TTUnitElectricEfficiency>
AltitudeChangeEnergy Structure Reference