calculate_batteries_phases_delta_energy¶
-
calculate_batteries_phases_delta_energy
(times, phases_indices, drive_battery_electric_powers, service_battery_electric_powers)[source]¶ Calculates the phases delta energy of the batteries [Wh].
Parameters: - times (numpy.array) – Time vector.
- phases_indices (numpy.array) – Indices of the cycle phases [-].
- drive_battery_electric_powers (numpy.array) – Drive battery electric power [kW].
- service_battery_electric_powers (numpy.array) – Service battery electric power [kW].
Returns: Phases delta energy of the batteries [Wh].
Return type: numpy.array