@sh.add_function(dsp, outputs=['drive_battery_capacity'])
def identify_drive_battery_capacity(
times, drive_battery_currents, drive_battery_state_of_charges):
"""
Identify drive battery capacity [Ah].
:param times:
Time vector [s].
:type times: numpy.array
:param drive_battery_currents:
Drive battery current vector [A].
:type drive_battery_currents: numpy.array
:param drive_battery_state_of_charges:
State of charge of the drive battery [%].
:type drive_battery_state_of_charges: numpy.array
:return:
Drive battery capacity [Ah].
:rtype: float
"""
from .service import identify_service_battery_capacity as func
return func(times, drive_battery_currents, drive_battery_state_of_charges)