@sh.add_function(dsp, outputs=['motor_p0_maximum_torque'])
def calculate_motor_p0_maximum_torque(
motor_p0_maximum_power, motor_p0_rated_speed):
"""
Calculate the maximum torque of motor P0 [N*m].
:param motor_p0_maximum_power:
Maximum power of motor P0 [kW].
:type motor_p0_maximum_power: float
:param motor_p0_rated_speed:
Rated speed of motor P0 [RPM].
:type motor_p0_rated_speed: float
:return:
Maximum torque of motor P0 [N*m].
:rtype: float
"""
from .p4 import calculate_motor_p4_maximum_torque as func
return func(motor_p0_maximum_power, motor_p0_rated_speed)