identify_on_idle¶
-
identify_on_idle
(times, velocities, engine_speeds_out_hot, gear_box_speeds_in, gears, stop_velocity, min_engine_on_speed, on_engine, idle_engine_speed)[source]¶ Identifies when the engine is on idle [-].
Parameters: - times (numpy.array) – Time vector [s].
- velocities (numpy.array) – Velocity vector [km/h].
- engine_speeds_out_hot (numpy.array) – Engine speed at hot condition [RPM].
- gear_box_speeds_in (numpy.array) – Gear box speed [RPM].
- gears (numpy.array) – Gear vector [-].
- stop_velocity (float) – Maximum velocity to consider the vehicle stopped [km/h].
- min_engine_on_speed (float) – Minimum engine speed to consider the engine to be on [RPM].
- on_engine (numpy.array) – If the engine is on [-].
- idle_engine_speed ((float, float)) – Engine speed idle median and std [RPM].
Returns: If the engine is on idle [-].
Return type: numpy.array