calibrate_gear_shifting_decision_tree

calibrate_gear_shifting_decision_tree(velocity_speed_ratios, gears, velocities, accelerations, motive_powers, engine_coolant_temperatures)[source]

Calibrates a decision tree to predict gears.

Parameters:
  • velocity_speed_ratios (dict[int | float]) – Constant velocity speed ratios of the gear box [km/(h*RPM)].
  • gears (numpy.array) – Gear vector [-].
  • velocities (numpy.array) – Vehicle velocity [km/h].
  • accelerations (numpy.array) – Vehicle acceleration [m/s2].
  • motive_powers (numpy.array) – Motive power [kW].
  • engine_coolant_temperatures (numpy.array) – Engine coolant temperature vector [°C].
Returns:

A decision tree to predict gears.

Return type:

DTGS