@Beta(2020, 10) class ElectricVehicleDescriptor
Represents electric vehicle descriptor used during route plan.
speedConsumptionInKWhPerHundredKm
- Specifies the speed-dependent component of consumption in kWh.
currentChargeInKWh
- Specifies the current electric energy supply in kWh.
maxChargeInkWh
- Specifies the maximum electric energy supply in kWh that may be stored in the vehicle's
battery.
minChargeAtDestinationInkWh
- The battery level upon arrival at the destination of the resulting route will
be at least this much. Maximum value: maxChargeInkWh
minChargeAtChargingStopsInkWh
- The battery level upon arrival at each intermediate charging stop of the
resulting route will be at least this much. Maximum value: 0.2 × maxChargeInkWh
chargingModes
- A non-empty list of at most 10 chargingModes, which the vehicle is able to use to charge.
Each chargingConnection appears in at most one chargingMode.
auxiliaryPowerInKW
- Specifies the amount of power consumed for sustaining auxiliary systems, in kWh.
vehicleLoadType
- Types of cargo that may be classified as hazardous materials and restricted from some roads.
vehicleAdrTunnelRestrictionCode
- If vehicleAdrTunnelRestrictionCode is specified, the vehicle is subject
to ADR tunnel restrictions.
class Builder
A builder class used to create ElectricVehicleDescriptor for the Long Distance EV Routing service. |
var auxiliaryPowerInKW: Double?
Specifies the amount of power consumed for sustaining auxiliary systems, in kWh. |
|
val chargingModes: List<ChargingMode>
A non-empty list of at most 10 chargingModes, which the vehicle is able to use to charge. Each chargingConnection appears in at most one chargingMode. |
|
val currentChargeInKWh: Double
Specifies the current electric energy supply in kWh. |
|
val maxChargeInkWh: Double
Specifies the maximum electric energy supply in kWh that may be stored in the vehicle's battery. |
|
val minChargeAtChargingStopsInkWh: Double
The battery level upon arrival at each intermediate charging stop of the resulting route will be at least this much. Maximum value: 0.2 × maxChargeInkWh |
|
val minChargeAtDestinationInkWh: Double
The battery level upon arrival at the destination of the resulting route will be at least this much. Maximum value: maxChargeInkWh |
|
val speedConsumptionInKWhPerHundredKm: Map<Double, Double>
Specifies the speed-dependent component of consumption in kWh. |
|
var vehicleAdrTunnelRestrictionCode: VehicleAdrTunnelRestrictionCode
If vehicleAdrTunnelRestrictionCode is specified, the vehicle is subject to ADR tunnel restrictions. |
|
var vehicleLoadType: VehicleLoadType
Types of cargo that may be classified as hazardous materials and restricted from some roads. |