@sh.add_function(dsp, outputs=['drive_battery_delta_state_of_charge'])
def calculate_drive_battery_delta_state_of_charge(
drive_battery_state_of_charges):
"""
Calculates the overall delta state of charge of the drive battery [%].
:param drive_battery_state_of_charges:
State of charge of the drive battery [%].
:type drive_battery_state_of_charges: numpy.array
:return:
Overall delta state of charge of the drive battery [%].
:rtype: float
"""
from .service import calculate_service_battery_delta_state_of_charge as func
return func(drive_battery_state_of_charges)