correct_gear_v1¶
-
correct_gear_v1
(cycle_type, velocity_speed_ratios, mvl, idle_engine_speed, plateau_acceleration=inf)[source]¶ Returns a function to correct the gear predicted according to
correct_gear_mvl()
.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 (OrderedDict) – Matrix velocity limits (upper and lower bound) [km/h].
- idle_engine_speed ((float, float)) – Engine speed idle median and std [RPM].
- plateau_acceleration (float) – Maximum acceleration to be at constant velocity [m/s2].
Returns: A function to correct the predicted gear.
Return type: callable