EVProfile

data class EVProfile : Parcelable

Constructors

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 = 0.28,     V1: Double = -1.0,     Kv1: Double = -1.0,     V2: Double = -1.0,     Kv2: Double = -1.0)
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

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

Properties

Link copied to clipboard
var batteryMinimumDestinationThreshold: Double

percent of capacity desired at the destination

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

Max charging power in kW

Link copied to clipboard
var coefAD: Double

Aerodynamic coefficient 0.1 - 1.0

Link copied to clipboard
var coefRR: Double

Rolling resistance coefficient 0.01 - 0.03

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

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

Link copied to clipboard
var frontalArea: Double

Frontal area in m2

Link copied to clipboard
var Ka: Double = 0.28

Average kWh consumption per km generally

Link copied to clipboard
var Kv1: Double

Average kwh consumption per km at speed V1

Link copied to clipboard
var Kv2: Double

Average kwh consumption per km at speed V2

Link copied to clipboard
var nee1: Double

Battery to powertrain efficiency

Link copied to clipboard
var nee2: Double

Recuperation

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

Speed in km/h

Link copied to clipboard
var V2: Double

Speed in km/h

Link copied to clipboard
var weight: Double

Weight in kg