calculate_clutch_phases

calculate_clutch_phases(times, velocities, gears, gear_shifts, stop_velocity, clutch_window)[source]

Calculate when the clutch is active [-].

Parameters:
  • times (numpy.array) – Time vector [s].
  • velocities (numpy.array) – Velocity vector [km/h].
  • gears (numpy.array) – Gear vector [-].
  • gear_shifts (numpy.array) – When there is a gear shifting [-].
  • stop_velocity (float) – Maximum velocity to consider the vehicle stopped [km/h].
  • clutch_window (tuple) – Clutching time window [s].
Returns:

When the clutch is active [-].

Return type:

numpy.array