ControlLogic System
The ControlLogic
system is an extension of MOOSE's Controls system. Standard MOOSE Control
s can be created within a [ControlLogic]
block or a [Controls]
block. THMControl
s, however, which have additional functionality, can only be created within a [ControlLogic]
block.
While MOOSE Control
s work "directly" with controllable parameters, THMControl
s can work with an additional layer, control data. A THMControl
can:
Declare new control data
Retrieve control data declared elsewhere
Change control data values
Set controllable parameters in MOOSE objects using control data
The main advantage of this additional capability is to chain control operations together, which is useful for composing realistic control systems.
Objects and Associated Actions
Available Objects
- Moose App
- BoolFunctionControlSets the value of a 'bool' input parameters to the value of a provided function.
- ConditionalFunctionEnableControlControl for enabling/disabling objects when a function value is true
- PIDTransientControlSets the value of a 'Real' input parameter (or postprocessor) based on a Proportional Integral Derivative control of a postprocessor to match a target a target value.
- RealFunctionControlSets the value of a 'Real' input parameters to the value of a provided function.
- TimePeriodControl the enabled/disabled state of objects with time.
- Stochastic Tools App
- MultiAppCommandLineControlControl for modifying the command line arguments of MultiApps.
- MultiAppSamplerControlControl for modifying the command line arguments of MultiApps.
- SamplerReceiverControl for receiving data from a Sampler via SamplerParameterTransfer.
- Thermal Hydraulics App
- CopyPostprocessorValueControlForwards the value of a postprocessor to a ControlData named with the name of the postprocessor.
- DelayControlTime delay control
- GetFunctionValueControlSets a ControlData named 'value' with the value of a function
- PIDControlDeclares a control data named 'output' and uses Proportional Integral Derivative logic on the 'value' control data to set it.
- ParsedFunctionControlControl that evaluates a parsed function
- SetBoolValueControlControl object that reads a boolean value computed by the control logic system and sets it into a specified MOOSE object parameter(s)
- SetComponentBoolValueControlControl to set a boolean value of a component parameter with control data boolean
- SetComponentRealValueControl
- SetRealValueControlControl object that reads a Real value computed by the control logic system and sets it into a specified MOOSE object parameter(s)
- THMSolvePostprocessorControlControl the solve based on a postprocessor value
- TerminateControlTerminates the simulation when a THMControl boolean data becomes true
- TimeFunctionComponentControlControls a parameter in a Component using a function
- UnitTripControlTrips a boolean based on the evaluation of a parsed condition expression
- Tensor Mechanics App
- StepPeriodControl the enabled/disabled state of objects with user-provided simulation steps.
Available Actions
- Thermal Hydraulics App
- THMAddControlActionAdd a Control object to the simulation.