calibrate_gear_shifting_cmv_cold_hot

calibrate_gear_shifting_cmv_cold_hot(correct_gear, times, gears, engine_speeds_out, velocities, accelerations, motive_powers, velocity_speed_ratios, time_cold_hot_transition=300.0, stop_velocity=1.00000011920929)[source]

Calibrates a corrected matrix velocity for cold and hot phases to predict gears.

Parameters:
  • correct_gear (callable) – A function to correct the predicted gear.
  • times (numpy.array) – Time vector [s].
  • gears (numpy.array) – Gear vector [-].
  • engine_speeds_out (numpy.array) – Engine speed vector [RPM].
  • velocities (numpy.array) – Vehicle velocity [km/h].
  • accelerations (numpy.array) – Vehicle acceleration [m/s2].
  • motive_powers (numpy.array) – Motive power [kW].
  • velocity_speed_ratios (dict[int | float]) – Constant velocity speed ratios of the gear box [km/(h*RPM)].
  • time_cold_hot_transition (float) – Time at cold hot transition phase [s].
  • stop_velocity (float) – Maximum velocity to consider the vehicle stopped [km/h].
Returns:

Two corrected matrix velocities for cold and hot phases.

Return type:

dict