Functions and dsp model to model the mechanic 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_accelerations_v1 Calculates the acceleration from motive forces [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_air_density Calculates the air density [kg/m3].
calculate_angle_slopes Returns the angle slope vector [rad].
calculate_climbing_force Calculates the vehicle climbing resistance [N].
calculate_curb_mass Calculate unladen mass [kg].
calculate_distances Calculates the cumulative distance vector [m].
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_forces_v1 Calculate motive forces [N].
calculate_motive_powers Calculates motive power [kW].
calculate_passengers_mass Calculate passengers mass including driver [kg].
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_traction_acceleration_limits Calculates the traction acceleration limits [m/s2].
calculate_unladen_mass Calculate unladen mass [kg].
calculate_unladen_mass_v1 Calculate unladen mass [kg].
calculate_vehicle_mass Calculate vehicle_mass [kg].
calculate_velocities Filters the obd velocities [km/h].
calculate_velocities_v1 Calculates the velocity from acceleration time series [km/h].
calculate_velocity_resistances Calculates forces function of velocity [N].
calculate_wheel_drive_load_fraction Calculate the repartition of the load on wheel drive axles [-].
default_n_wheel Returns the default total number of wheels [-].
default_static_friction Returns the default static friction coefficient [-].
define_slope_model Returns the angle slope model [rad].
define_slope_model_v1 Returns the angle slope model [rad].
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.


dsp Calculates forces and power acting on the vehicle.