identify_hybrid_modes¶
-
identify_hybrid_modes
(times, gear_box_speeds_in, engine_speeds_out, idle_engine_speed, on_engine, is_serial, has_motor_p2_planetary)[source]¶ Identify the hybrid mode status (0: EV, 1: Parallel, 2: Serial).
Parameters: - times (numpy.array) – Time vector [s].
- gear_box_speeds_in (numpy.array) – Gear box speed [RPM].
- engine_speeds_out (numpy.array) – Engine speed [RPM].
- idle_engine_speed ((float, float)) – Idle engine speed and its standard deviation [RPM].
- on_engine (numpy.array) – If the engine is on [-].
- is_serial (bool) – Is the vehicle serial hybrid?
- has_motor_p2_planetary (bool) – Has the vehicle a motor in planetary P2?
Returns: Hybrid mode status (0: EV, 1: Parallel, 2: Serial).
Return type: numpy.array