23 params.
addClassDescription(
"This is a ThermocoupleSensorPostprocessor for various classes of " 24 "thermocouples, described by the 'thermocouple_type' parameter");
25 params.
addParam<
Real>(
"proportional_weight", 0,
"The weight assigned to the proportional term");
26 params.
addParam<
Real>(
"integral_weight", 1,
"The weight assigned to the integral term");
34 mooseError(
"In thermocouple postprocessor R function is fixed. If you want to change it, use " 35 "GeneralSensorPostprocessor.");
54 efficiency_value * (
_input_signal + signalToNoise_value * noise_value) +
79 Real proportional_value = _input_signal_delayed + signalToNoise_value * noise_value;
virtual void initialize() override
const Function & _signalToNoise_function
Signal to noise function.
std::vector< Real > & _input_signal_values
Input Signal vector for calculating delay.
const Function & _uncertainty_std_dev_function
Uncertainty std dev function.
void seed(std::size_t i, unsigned int seed)
const Function & _efficiency_function
Efficiency function.
ThermocoupleSensorPostprocessor(const InputParameters ¶meters)
A Thermocouple Sensor Postprocessor that allows the user to characterize a thermocouple's response by...
registerMooseObject("MiscApp", ThermocoupleSensorPostprocessor)
Real randNormal(std::size_t i, Real mean, Real sigma)
const Function & _drift_function
The drift function to be evaluated and returned.
std::vector< Real > & _R_function_values
vector to store R function values
const Function & _noise_std_dev_function
Noise standard deviation function.
Real getIntegral(std::vector< Real > integrand)
Function to calculate integral term.
std::vector< Real > & _integrand
Vector to store integrand data for numerical integration.
static InputParameters validParams()
Real _sensor_value
for getValue() output
const Real _proportional_weight
A weighing factor for the proportional term.
bool isParamSetByUser(const std::string &nm) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _delay_value
Variable to store delay value.
FEProblemBase & _fe_problem
virtual PostprocessorValue getValue() const override
const PostprocessorValue & _input_signal
A postprocessor used as the sensor input signal.
void mooseError(Args &&... args) const
std::vector< Real > & _time_values
Time vector for calculating delay.
virtual bool isTransient() const override
virtual vector< Real > getRVector() override
Function to calculate R vector.
virtual Real value(Real t, const Point &p) const
Real _integration_value
the output of the integrand
A generalized sensor Postprocessor.
const Real _integral_weight
A weighing factor for the integral term.
auto index_range(const T &sizable)
const Real _vector_size
Size of vector to be stored.
const unsigned int _seed
To get fixed seed random numbers.
const Function & _delay_function
Delay function.
static InputParameters validParams()
Real getDelayedInputSignal()
Function to calculate delayed input signal.