EVProfile

data class EVProfile : 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)
EVProfile
Link copied to clipboard
fun EVProfile(batteryProfile: BatteryProfile, chargingMaxPower: Int, connector: Set<EVConnector.ConnectorType>, power: Set<EVConnector.PowerType>, consumptionCurve: Map<Double, Double>, batteryMinimumDestinationThreshold: Double)

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

batteryMinimumDestinationThreshold
Link copied to clipboard
var batteryMinimumDestinationThreshold: Double

percent of capacity desired at the destination

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

Max charging power in kW

coefAD
Link copied to clipboard
var coefAD: Double

Aerodynamic coefficient 0.1 - 1.0

coefRR
Link copied to clipboard
var coefRR: Double

Rolling resistance coefficient 0.01 - 0.03

connector
Link copied to clipboard
var connector: Set<EVConnector.ConnectorType>
consumptionCurve
Link copied to clipboard
var consumptionCurve: Map<Double, Double>

Velocity kilometers per hour (km/h) to consumption kilowatt hour per kilometer (kWh/km) curve

frontalArea
Link copied to clipboard
var frontalArea: Double

Frontal area in m2

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

Average kWh consumption per km generally

Kv1
Link copied to clipboard
var Kv1: Double

Average kwh consumption per km at speed V1

Kv2
Link copied to clipboard
var Kv2: Double

Average kwh consumption per km at speed V2

nee1
Link copied to clipboard
var nee1: Double

Battery to powertrain efficiency

nee2
Link copied to clipboard
var nee2: Double

Recuperation

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

Speed in km/h

V2
Link copied to clipboard
var V2: Double

Speed in km/h

weight
Link copied to clipboard
var weight: Double

Weight in kg