identify_service_battery_charging_statuses¶
-
identify_service_battery_charging_statuses
(times, alternator_electric_powers, dcdc_converter_electric_powers, motive_powers, on_engine, service_battery_electric_powers_supply_threshold, service_battery_starts_windows, service_battery_initialization_time)[source]¶ Identifies service battery charging statuses: Discharge (0), Charging (1), BERS (2), and Initialization(3) [-].
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 [-].
- service_battery_initialization_time (float) – Service battery initialization time delta [s].
Returns: Service battery charging statuses (0: Discharge, 1: Charging, 2: BERS, 3: Initialization) [-].
Return type: numpy.array