PhysicalConsumptionModel class

Defines the physical consumption model for electric vehicles, using vehicle-specific parameters to calculate energy consumption along a route.

Note: VehicleSpecification.currentWeightInKilograms must be set. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Constructors

PhysicalConsumptionModel()

Properties

airDragCoefficient ↔ double
The drag coefficient of an vehicle defines the way the vehicle is expected to pass through the surrounding air. More streamlined vehicles are more aerodynamic and therefore have smaller drag coefficient.
getter/setter pair
auxiliaryPowerConsumptionInWatts ↔ double
Power (in W) consumed by the vehicle's auxiliary systems (for example, air conditioning, lights).
getter/setter pair
driveTrainEfficiency ↔ double
The proportion of the energy drawn from the battery that is used to move the vehicle. (This is to factor in energy losses through heat in the motors, for example.) Supported range from 0 to 1
getter/setter pair
frontalAreaInSquareMeters ↔ double
Frontal area represents the total cross section area of the vehicle as viewed from the front, specified in square meters. Physical consumption model is using this value in combination with airDragCoefficient to calculate the consumption caused by air resistance. As fallback VehicleSpecification.widthInCentimeters and VehicleSpecification.heightInCentimeters are used.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
recuperationEfficiency ↔ double
The proportion of the energy gained when braking or going downhill that can be recuperated and restored as battery charge.
getter/setter pair
rollingResistanceCoefficient ↔ double
Rolling resistance refers to the resistance experienced by your vehicle tire as it rolls over a surface. The main causes of this resistance are tire deformation, wing drag, and friction with the ground. The coefficient of rolling resistance is a numerical value indicating the severity of this factor.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.