ElectricEngine
public struct ElectricEngine
A electric vehicle engine for route planning and consumption estimation.
-
Creates an instance of
ElectricEngine
.Note
The parameters consumption, efficiency, chargeLevel, and chargingParameters are supported with the Orbis map only when chargingOptions are set in
RoutePlanningOptions
.Declaration
Swift
public init( consumption: Consumption? = nil, efficiency: Efficiency? = nil, chargeLevel: ChargeLevel? = nil, chargingParameters: ChargingParameters? = nil )
Parameters
consumption
Specifies the consumption model of the electric vehicle.
efficiency
Specifies the efficiency of the engine.
chargeLevel
Specifies the current and maximum charge of the vehicle.
chargingParameters
Specifies the charging parameters of the vehicle.
-
Specifies the efficiency of the vehicle.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public struct Efficiency
-
Describes capacity and the consumption of the EV.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public struct Consumption
-
Describes capacity and current charge of the EV.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public struct ChargeLevel
-
Describes connector information of an electric engine.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public struct ChargingParameters
-
Describes capacity and the consumption of the EV.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public let consumption: Consumption?
-
Specifies the efficiency of the engine.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public let efficiency: Efficiency?
-
Specifies the current and maximum charge of the vehicle.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public let chargeLevel: ChargeLevel?
-
Specifies the charging parameters of the vehicle.
Note
This option is supported with the Orbis map only when chargingOptions are set inRoutePlanningOptions
.Declaration
Swift
public let chargingParameters: ChargingParameters?