identify_service_battery_charging_statuses_and_initialization_time

identify_service_battery_charging_statuses_and_initialization_time(times, accelerations, on_engine, alternator_electric_powers, dcdc_converter_electric_powers, motive_powers, service_battery_electric_powers_supply_threshold, service_battery_starts_windows, service_battery_state_of_charges)[source]

Identifies the service battery charging statuses [-] and its initialization time delta [s].

Parameters:
  • times (numpy.array) – Time vector [s].
  • alternator_electric_powers (numpy.array) – Alternator electric power [kW].
  • dcdc_converter_electric_powers (numpy.array) – DC/DC converter electric power [kW].
  • motive_powers (numpy.array) – Motive power [kW].
  • on_engine (numpy.array) – If the engine is on [-].
  • service_battery_electric_powers_supply_threshold (float) – Service battery not charging power threshold [kW].
  • service_battery_starts_windows (numpy.array) – Service battery starts windows [-].
  • accelerations (numpy.array) – Acceleration [m/s2].
  • service_battery_state_of_charges (numpy.array) – State of charge of the service battery [%].
Returns:

Service battery charging statuses (0: Discharge, 1: Charging, 2: BERS,

3: Initialization) [-] and its initialization time delta [s].

Return type:

numpy.array, float