ElectricVehicleEfficiency

public class ElectricVehicleEfficiency

Specifies the efficiency of the vehicle.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Declaration

    Swift

    public init(
        velocityChange: VelocityChangeEfficiency? = nil,
        altitudeChange: AltitudeChangeEfficiency? = nil,
        altitudeChangeEnergy: AltitudeChangeEnergy? = nil
    ) throws

    Parameters

    velocityChange

    Specifies the efficiency of converting electric energy to kinetic energy due to accelerations, or vice versa for decelerations.

    altitudeChange

    Specifies the efficiency of converting electric energy to potential energy due to increase in altitude, or vice versa for decreases.

    altitudeChangeEnergy

    Specifies the additional consumption and recuperation of electric energy due to altitude changes. Cannot be used together with the other two options.

Public

  • Specifies the efficiency of converting electric energy to kinetic energy due to accelerations, or vice versa for decelerations.

    Declaration

    Swift

    public let velocityChange: VelocityChangeEfficiency?
  • Specifies the efficiency of converting electric energy to potential energy due to increase in altitude, or vice versa for decreases.

    Declaration

    Swift

    public let altitudeChange: AltitudeChangeEfficiency?
  • Specifies the additional consumption and recuperation of electric energy due to altitude changes. Cannot be used together with the other two options.

    Declaration

    Swift

    public let altitudeChangeEnergy: AltitudeChangeEnergy?