RechargeParameters

data class RechargeParameters(var socMin: Double = defaultSocMin, var socMinArrival: Double = defaultSocMinAtArrival, var socMax: Double = defaultSocMaxValue, var stopFixedTime: Int = defaultStopFixedTime, var chargingPointFilter: ChargingPointFilter = ChargingPointFilter(), var useRecommendedMaxSpeed: Boolean = false)

Class containing information about recharge parameters used during an ev-routing.

Constructors

Link copied to clipboard
constructor(socMin: Double = defaultSocMin, socMinArrival: Double = defaultSocMinAtArrival, socMax: Double = defaultSocMaxValue, stopFixedTime: Int = defaultStopFixedTime, chargingPointFilter: ChargingPointFilter = ChargingPointFilter(), useRecommendedMaxSpeed: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Filters for compatible charging points search

Link copied to clipboard

Maximum SOC after recharge (in % of battery's capacity)

Link copied to clipboard

SOC below which the driver does not want to descend (in % of battery's capacity, max = 50%)

Link copied to clipboard

Desired SOC at the arrival (in % of battery's capacity, max = 80%)

Link copied to clipboard

Fixed additional time (in seconds) for each charging stop (default value is 300s)

Link copied to clipboard

Enable/Disable the Recommended Maximum Speed. The recommended maximum speed allows the EV routing to define max speeds between RouteWaypoints (See RouteWaypoint.waypoint.maxDrivingSpeed property). This option will try to reduce the overall travel duration by minimizing charging duration to the expense of increasing the driving duration.

Functions

Link copied to clipboard
fun toJson(): String