add_internal_custom_loss#

MotorCAD.add_internal_custom_loss(name, function, type, thermal_node)#

Add an internal custom loss.

Parameters:
namestr

Name of lab internal custom loss

functionstr

Function of lab internal custom loss

typestr

Type of lab internal custom loss. Options are Electrical or Mechanical

thermal_nodeint

Thermal node of lab internal custom loss