@sh.add_function(dsp, outputs=['drive_battery_r0', 'drive_battery_ocv'])
def get_drive_battery_r0_and_ocv(drive_battery_model):
"""
Returns drive battery resistance and open circuit voltage [ohm, V].
:param drive_battery_model:
Drive battery current model.
:type drive_battery_model: DriveBatteryModel
:return:
Drive battery resistance and open circuit voltage [ohm, V].
:rtype: float, float
"""
return drive_battery_model.r0, drive_battery_model.ocv