identify_after_treatment_warm_up_phases¶
-
identify_after_treatment_warm_up_phases
(times, engine_speeds_out, engine_speeds_out_hot, on_idle, on_engine, idle_engine_speed, velocities, engine_starts, stop_velocity, is_hybrid=False)[source]¶ Identifies when engine speed is affected by the after treatment warm up [-].
Parameters: - times (numpy.array) – Time vector [s].
- engine_speeds_out (numpy.array) – Engine speed [RPM].
- engine_speeds_out_hot (numpy.array) – Engine speed at hot condition [RPM].
- on_idle (numpy.array) – If the engine is on idle [-].
- on_engine (numpy.array) – If the engine is on [-].
- idle_engine_speed ((float, float)) – Engine speed idle median and std [RPM].
- velocities (numpy.array) – Velocity vector [km/h].
- engine_starts (numpy.array) – When the engine starts [-].
- stop_velocity (float) – Maximum velocity to consider the vehicle stopped [km/h].
- is_hybrid (bool) – Is the vehicle hybrid?
Returns: Phases when engine speed is affected by the after treatment warm up [-].
Return type: numpy.array