define_msg_and_mvl¶
-
define_msg_and_mvl
(full_load_curve, road_loads, velocity_speed_ratios, engine_max_speed_95, idle_engine_speed, engine_speed_at_max_power)[source]¶ Calculates the maximum velocity from full load curve.
Parameters: - full_load_curve (function) – Vehicle full load curve.
- road_loads (list, tuple) – Cycle road loads [N, N/(km/h), N/(km/h)^2].
- velocity_speed_ratios (dict[int | float]) – Constant velocity speed ratios of the gear box [km/(h*RPM)].
- engine_max_speed_95 (float) – Maximum engine speed [RPM] at 95% of the nominal power.
- idle_engine_speed ((float, float)) – Engine speed idle median and std [RPM].
- engine_speed_at_max_power (float) – Engine speed at engine nominal power [RPM].
Returns: Maximum velocity and gear at maximum velocity [km/h, -].
Returns: float, int