correct_gear_v2¶
-
correct_gear_v2
(velocity_speed_ratios, idle_engine_speed, full_load_curve, max_velocity_full_load_correction=inf)[source]¶ Returns a function to correct the gear predicted according to
correct_gear_full_load()
.Parameters: - velocity_speed_ratios (dict[int | float]) – Constant velocity speed ratios of the gear box [km/(h*RPM)].
- idle_engine_speed ((float, float)) – Engine speed idle median and std [RPM].
- full_load_curve (function) – Vehicle full load curve.
- max_velocity_full_load_correction (float) – Maximum velocity to apply the correction due to the full load curve.
Returns: A function to correct the predicted gear.
Return type: callable