SmootherControl

The SmootherControl is a controller that smooths the input signal using a moving average technique.

It receives an "input" value and stores it into a vector of size "n_points". When the vector reaches its maximum capacity (n_points), the oldest value (first element) is removed, and the current input is added to the end of the vector. Then it calculates the average of the values stored in the vector. The value of the output data is computed as:

where is the vector containing the input values, is the current size of the vector, and is the maximum size of the vector, defined by "n_points".

Input Parameters

  • inputControl data value to smooth.

    C++ Type:std::string

    Controllable:No

    Description:Control data value to smooth.

  • n_pointsThe number of points to use in the moving average.

    C++ Type:unsigned int

    Controllable:No

    Description:The number of points to use in the moving average.

Required Parameters

  • depends_onThe Controls that this control relies upon (i.e. must execute before this one)

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

    Controllable:No

    Description:The Controls that this control relies upon (i.e. must execute before this one)

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.

  • implicitTrueDetermines whether this object is calculated using an implicit or explicit form

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Determines whether this object is calculated using an implicit or explicit form

Advanced Parameters