calculate_hybrid_modes

calculate_hybrid_modes(ems_data, on_engine, after_treatment_warm_up_phases)[source]

Calculate the hybrid mode status (0: EV, 1: Parallel, 2: Serial).

Parameters:
  • ems_data (dict) – EMS decision data.
  • on_engine (numpy.array) – If the engine is on [-].
  • after_treatment_warm_up_phases (numpy.array) – Phases when engine is affected by the after treatment warm up [-].
Returns:

Hybrid mode status (0: EV, 1: Parallel, 2: Serial).

Return type:

numpy.array