Package-level declarations

Types

Link copied to clipboard
data class DrivingProfile(val maxSpeedETA: Double = 0.0, val maxSpeedCAL: Double = 0.0, val averageAcc: Double = 1.25, val averageDec: Double = -1.25)

Defines capabilities of vehicle's specific driving profile

Link copied to clipboard
open class EVProfile(val connectorTypes: List<ConnectorType>, val batteryName: String?, val AC1: Double = 0.0, val AC3: Double = 0.0, val DC: Double = 0.0, var height: Double = 0.0, var length: Double = 0.0, var width: Double = 0.0, var weight: Double = 0.0, var weightPerAxle: Double = 0.0, var nbTrailers: Int = 0, var hazmat: Hazmat = Hazmat.NONE, var adr: AdrTunnelCat = AdrTunnelCat.NONE, var maxSpeed: Double = 0.0, var transportationMode: TranspMode = TranspMode.PASSENGER_CAR, var drivingProfile: DrivingProfile = DrivingProfile(), var speedProfile: SpeedProfile = SpeedProfile(), var encryptedDatasheet: String? = null) : Profile

Defines properties of EV vehicles profiles {@inheritDoc}

Link copied to clipboard

SpeedProfile optimized for major roads.

Link copied to clipboard
open class Profile(var height: Double = 0.0, var length: Double = 0.0, var width: Double = 0.0, var weight: Double = 0.0, var weightPerAxle: Double = 0.0, var nbTrailers: Int = -1, var hazmat: Hazmat = Hazmat.NONE, var adr: AdrTunnelCat = AdrTunnelCat.NONE, var maxSpeed: Double = 0.0, var transportationMode: TranspMode = TranspMode.PASSENGER_CAR, var drivingProfile: DrivingProfile = DrivingProfile(), var speedProfile: SpeedProfile = SpeedProfile(), var encryptedDatasheet: String? = null, var onlyPhysical: Boolean = false)

Container for storing properties of given vehicle model

Link copied to clipboard
open class SpeedProfile(val mainPond: Double = 1.0, val secondaryPond: Double = 1.0, val thirdPond: Double = 1.0, val fourthPond: Double = 0.75, val mainPondETA: Double = mainPond, val secondaryPondETA: Double = secondaryPond, val thirdPondETA: Double = thirdPond, val fourthPondETA: Double = fourthPond)

Default SpeedProfile