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

percent of capacity desired at the destination

Link copied to clipboard
Link copied to clipboard

Max charging power in kW

Link copied to clipboard

Aerodynamic coefficient 0.1 - 1.0

Link copied to clipboard

Rolling resistance coefficient 0.01 - 0.03

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Battery to powertrain efficiency

Link copied to clipboard

Recuperation

Link copied to clipboard
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

Voltage range supported for charging

Link copied to clipboard

Weight in kg

Link copied to clipboard

Factor used to multiply the consumption based on the vehicle's weight