EVProfile class
EV routing profile
Constructors
- EVProfile({int ports = 0, double departureSoc = 0.85, double destinationSoc = 0.2, double chargerDestSoc = 1, double chargerDepSoc = 0.1, int chargerOverheadMins = 5, double batteryHealth = 0.0, int id = 0, double batteryCapacity = 0.0, int towbarPossible = 0, int vehicleRange = 0, int efficiency = 0, int fastCharge = 0})
-
EVProfile.fromJson(Map<
String, dynamic> json) -
factory
Properties
- batteryCapacity ↔ double
-
Battery usable capacity Wh
getter/setter pair
- batteryHealth ↔ double
-
Battery health, from 0.f ( nonfunctional ) to 1.f ( brand new )
getter/setter pair
- chargerDepSoc ↔ double
-
Charger departure max battery state of charge, from 0.f ( empty ) to 1.f ( full )
getter/setter pair
- chargerDestSoc ↔ double
-
Charger destination min battery state of charge, from 0.f ( empty ) to 1.f ( full )
getter/setter pair
- chargerOverheadMins ↔ int
-
Charger time overhead in minutes
getter/setter pair
-
connectors
↔ List<
EVChargingConnector> -
List of
EVChargingConnector
getter/setter pair - departureSoc ↔ double
-
Departure battery state of charge, from 0.f ( empty ) to 1.f ( full )
getter/setter pair
- destinationSoc ↔ double
-
Destination min battery state of charge, from 0.f ( empty ) to 1.f ( full )
getter/setter pair
- efficiency ↔ int
-
Consumption in Wh / km
getter/setter pair
- fastCharge ↔ int
-
How many km charged in one hour (10 - 80 interval)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ int
-
Model unique id
getter/setter pair
- ports ↔ int
-
Supported charging ports, a combination of 1 or more
EVChargingConnector
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- towbarPossible ↔ int
-
Maximum weight available on vehicle towbar
getter/setter pair
- vehicleRange ↔ int
-
Vehicle range in meters
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant EVProfile other) → bool -
The equality operator.
override