EVProfile

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, height: Double = 0.0, length: Double = 0.0, width: Double = 0.0, weight: Double = 0.0, weightPerAxle: Double = 0.0, nbTrailers: Int = 0, hazmat: Hazmat = Hazmat.NONE, adr: AdrTunnelCat = AdrTunnelCat.NONE, maxSpeed: Double = 0.0, transportationMode: TranspMode = TranspMode.PASSENGER_CAR, drivingProfile: DrivingProfile = DrivingProfile(), speedProfile: SpeedProfile = SpeedProfile(), encryptedDatasheet: String? = null) : Profile

Defines properties of EV vehicles profiles {@inheritDoc}

Parameters

connectorTypes

list of connector that given vehicle supports

batteryName

The commercial name of vehicle's battery

AC1

the maximum charge power (AC single phase), in kW (default = 0)

AC3

the maximum charge power (AC three phase), in kW (default = 0)

DC

the maximum charge power (DC), in kW (default = 0)

Constructors

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

Properties

Link copied to clipboard
val AC1: Double
Link copied to clipboard
val AC3: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val DC: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun EVProfile.toDEVProfile(vehicleModelId: String, profileId: String? = null): DEVProfile
Link copied to clipboard
fun Profile.toDProfile(vehicleModelId: String, profileId: String? = null): DProfile
Link copied to clipboard
open override fun toJson(): String