correct_gear_v4

correct_gear_v4(cycle_type, velocity_speed_ratios, mvl, idle_engine_speed, full_load_curve, engine_speed_at_max_power)[source]

Returns a function to correct the gear predicted according to correct_gear_mvl(), correct_gear_full_load() and driveability rules.

Parameters:
  • cycle_type (str) – Cycle type (WLTP or NEDC).
  • velocity_speed_ratios (dict[int | float]) – Constant velocity speed ratios of the gear box [km/(h*RPM)].
  • mvl (MVL) – Matrix velocity limits (upper and lower bound) [km/h].
  • idle_engine_speed ((float, float)) – Engine speed idle median and std [RPM].
  • full_load_curve (function) – Vehicle full load curve.
  • engine_speed_at_max_power (float) – Rated engine speed [RPM].
Returns:

A function to correct the predicted gear.

Return type:

callable