- parameterThe input parameter(s) to control
C++ Type:std::string
Controllable:No
Description:The input parameter(s) to control
- valueThe name of control data to be set into the input parameter.
C++ Type:std::string
Controllable:No
Description:The name of control data to be set into the input parameter.
SetBoolValueControl
Control object that reads a boolean value computed by the control logic system and sets it into a specified MOOSE object parameter(s)
ControlData is only defined by the thermal hydraulics module control logic.
Example input syntax
In this example, the value
parameter of the AuxKernel
called aux_kernel
using the state
ControlData of the threshold_ctrl
ControlLogic.
[ControlLogic<<<{"href": "../../syntax/ControlLogic/index.html"}>>>]
[T_inlet_fn]
type = GetFunctionValueControl<<<{"description": "Sets a ControlData named 'value' with the value of a function", "href": "GetFunctionValueControl.html"}>>>
function<<<{"description": "The name of the function prescribing a value."}>>> = T0_fn
[]
[threshold_ctrl]
type = UnitTripControl<<<{"description": "Trips a boolean based on the evaluation of a parsed condition expression", "href": "UnitTripControl.html"}>>>
condition<<<{"description": "The condition that this trip unit uses to determine its state."}>>> = 'T > 347.5'
symbol_names<<<{"description": "Symbols (excluding t,x,y,z) that are bound to the values provided by the corresponding items in the vals vector."}>>> = 'T'
symbol_values<<<{"description": "Constant numeric values, postprocessor names, function names, and scalar variables corresponding to the symbols in symbol_names."}>>> = 'T_inlet_fn:value'
[]
[set_bool_value]
type = SetBoolValueControl<<<{"description": "Control object that reads a boolean value computed by the control logic system and sets it into a specified MOOSE object parameter(s)", "href": "SetBoolValueControl.html"}>>>
parameter<<<{"description": "The input parameter(s) to control"}>>> = AuxKernels/aux_kernel/value
value<<<{"description": "The name of control data to be set into the input parameter."}>>> = 'threshold_ctrl:state'
[]
[]
(modules/thermal_hydraulics/test/tests/controls/set_bool_value_control/test.i)Input 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