EVProfile

data class EVProfile(batteryProfile: BatteryProfile, chargingMaxPower: Int, connector: Set<EVConnector.ConnectorType>, power: Set<EVConnector.PowerType>, weight: Double, frontalArea: Double, coefAD: Double, coefRR: Double, nee1: Double, nee2: Double, Ka: Double, V1: Double, Kv1: Double, V2: Double, Kv2: Double) : Parcelable

Constructors

EVProfile
Link copied to clipboard
fun EVProfile(batteryProfile: BatteryProfile, chargingMaxPower: Int, connector: Set<EVConnector.ConnectorType>, power: Set<EVConnector.PowerType>, weight: Double = -1.0, frontalArea: Double = -1.0, coefAD: Double = -1.0, coefRR: Double = -1.0, nee1: Double = -1.0, nee2: Double = -1.0, Ka: Double = .28, V1: Double = -1.0, Kv1: Double = -1.0, V2: Double = -1.0, Kv2: Double = -1.0)

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
toString
Link copied to clipboard
open override fun toString(): String
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

batteryProfile
Link copied to clipboard
val batteryProfile: BatteryProfile
chargingMaxPower
Link copied to clipboard
val chargingMaxPower: Int

Max charging power in kW

coefAD
Link copied to clipboard
val coefAD: Double

Aerodynamic coefficient 0.1 - 1.0

coefRR
Link copied to clipboard
val coefRR: Double

Rolling resistance coefficient 0.01 - 0.03

connector
Link copied to clipboard
val connector: Set<EVConnector.ConnectorType>
frontalArea
Link copied to clipboard
val frontalArea: Double

Frontal area in m2

Ka
Link copied to clipboard
val Ka: Double = .28

Average kWh consumption per km generally

Kv1
Link copied to clipboard
val Kv1: Double

Average kwh consumption per km at speed V1

Kv2
Link copied to clipboard
val Kv2: Double

Average kwh consumption per km at speed V2

nee1
Link copied to clipboard
val nee1: Double

Battery to powertrain efficiency

nee2
Link copied to clipboard
val nee2: Double

Recuperation

power
Link copied to clipboard
val power: Set<EVConnector.PowerType>
V1
Link copied to clipboard
val V1: Double

Speed in km/h

V2
Link copied to clipboard
val V2: Double

Speed in km/h

weight
Link copied to clipboard
val weight: Double

Weight in kg