ShaftConnectedMotor

This component connects to a Shaft and applies a torque and moment of inertia from user-supplied functions. While this is named as a "motor" component, its applications are more generic; for example, it can be used to apply friction or other losses (such as the work applied to a generator) by applying negative torque.

Usage

The parameters "torque" and "inertia" take the names of Functions. The shaft speed is used in place of the time variable in these functions (and the space variables are discarded); therefore, the user is actually specifying the functions and , not and .

If dependence on time is desired, ControlLogic can be used. To do this, supply the name of a ConstantFunction and then control that function using the value of the time function (GetFunctionValueControl followed by SetRealValueControl). See the motor component in open_brayton_cycle.i for an example.

Input Parameters

  • inertiaMoment of inertia from the motor [N-m]

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:Moment of inertia from the motor [N-m]

  • torqueDriving torque supplied by the motor [kg-m^2]

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:Driving torque supplied by the motor [kg-m^2]

Required Parameters

  • adTrueUse AD version or not

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Use AD version or not

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files