29 virtual void execute()
override;
Base class for function objects.
const Real _Kint
The coefficient multiplying the integral of the error.
const PostprocessorValue & _current
The current value of the target postprocessor.
Real & _integral
Integral of the error.
const Real _stop_time
The time to stop using the PID controller on.
static InputParameters validParams()
const bool _reset_every_timestep
Whether to reset the PID integral error when changing timestep, to limit its action to within couplin...
const Real _Kder
The coefficient multiplying the derivative of the error.
const bool _reset_integral_windup
Whether to reset the PID integral error when the error crosses 0, to avoid windup.
Real & _value_old
Saved value of the controlled parameter at the beginning of a timestep, to recover from a failed solv...
Real & _value
Saved value of the controlled parameter at the end of a timestep.
A time-dependent control of an input parameter or a postprocessor, which aims at making a postprocess...
bool _has_recovered
whether the app has recovered once, because the logic for setting the value is different after having...
const Real _minimum_output_value
Limiting minimum value for the output of the PID controller.
const Real _Kpro
The coefficient multiplying the error.
const Real _maximum_output_value
Limiting maximum value for the output of the PID controller.
Real PostprocessorValue
various MOOSE typedefs
const Function & _target
The target 1D time-dependent function for the postprocessor.
virtual void execute() override
Execute the control.
Real & _old_delta
the previous value of the difference with the target, to detect changes of sign, and to compute the d...
const Real _start_time
The time to start the PID controller on.
int & _t_step_old
the previous time step
Real & _integral_old
Saved value of the integral at the beginning of a timestep, to recover from a failed solve...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for Control objects.
PIDTransientControl(const InputParameters ¶meters)
Class constructor.
const Real _maximum_change_rate
Limiting maximum value for the rate of change of output of the PID controller.
const InputParameters & parameters() const
Get the parameters of the object.