APIVehicleDatasheet
Stores detailed information about a vehicle model the way they are returned by the BeMAP API.
Parameters
scx of given vehicle
tire rolling resistance coefficient at 80 kph (in interval ]0, 1[, dimensionless)
f0 value of given vehicle
f1 value of given vehicle
f2 value of given vehicle
f0f1 weight reference value in Celsius
f2temperature reference value in Celsius
engine efficiency of given vehicle
list of APIBatteryCapacity instances for given vehicle model
dry weight (in kg)
vehicle model payload
min power consumption of given vehicle model
aux consumption of given vehicle model
flag indicating if given model has regenerative braking
maximum acceleration (> 0.1, in m/s²)
maximum deceleration (< -0.1, in m/s²)
vehicle height (in cm)
vehicle width (in cm)
vehicle length (in cm)
vehicle weight (in tenth of ton)
Constructors
Properties
Functions
Gets aux consumption depending on temperature
Gets highest battery capacity of batteryCapacities if not empty, otherwise returns batteryName