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