calibrate_mvl¶
-
calibrate_mvl
(gears, velocities, velocity_speed_ratios, idle_engine_speed, stop_velocity)[source]¶ Calibrates the matrix velocity limits (upper and lower bound) [km/h].
Parameters: - gears (numpy.array) – Gear vector [-].
- velocities (numpy.array) – Vehicle velocity [km/h].
- 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].
- stop_velocity (float) – Maximum velocity to consider the vehicle stopped [km/h].
Returns: Matrix velocity limits (upper and lower bound) [km/h].
Return type: