It contains functions that model the basic mechanics of the vehicle.


apply_f0_correction Corrects the rolling resistance force [N] if a different preconditioning cycle was used for WLTP (WLTP precon) and NEDC (NEDC precon).
calculate_accelerations Calculates the acceleration from velocity time series [m/s2].
calculate_aerodynamic_drag_coefficient Calculates the aerodynamic drag coefficient [-].
calculate_aerodynamic_drag_coefficient_v1 Calculates the aerodynamic drag coefficient [-].
calculate_aerodynamic_resistances Calculates the aerodynamic resistances of the vehicle [N].
calculate_angle_slopes Returns the angle slope vector [rad].
calculate_climbing_force Calculates the vehicle climbing resistance [N].
calculate_f0 Calculates rolling resistance [N].
calculate_f1 Calculates the f1 road load [N/(km/h)].
calculate_f2 Calculates the f2 coefficient [N/(km/h)^2].
calculate_frontal_area Calculates the vehicle frontal area [m2].
calculate_motive_forces Calculate motive forces [N].
calculate_motive_powers Calculates motive power [kW].
calculate_raw_frontal_area Calculates raw frontal area of the vehicle [m2].
calculate_raw_frontal_area_v1 Calculates raw frontal area of the vehicle [m2].
calculate_rolling_resistance Calculates rolling resistance [N].
calculate_rolling_resistance_coeff Calculates the rolling resistance coefficient [-].
calculate_rotational_inertia_forces Calculate rotational inertia forces [N].
calculate_velocities Filters the obd velocities [km/h].
calculate_velocity_resistances Calculates forces function of velocity [N].
select_default_n_dyno_axes Selects the default number of dyno axes[-].
select_inertial_factor Selects the inertia factor [%] according to the number of dyno axes.
vehicle Defines the vehicle model.