blockContinuousMean

Calculates the empirical expectation (mean) value of its input signal

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

This block continuously calculates the mean value of its input signal. It uses the function:

    integral( u over time)
y = ----------------------
      time - startTime

This can be used to determine the empirical expectation value of a random signal, such as generated by the Noise blocks.

The parameter t_eps is used to guard against division by zero (the mean value computation starts at startTime + t_eps and before that time instant y = u).

See also the Mean block for a sampled implementation.

This block is demonstrated in the examples UniformNoiseProperties, NormalNoiseProperties and WeibullNoiseProperties.

Parameters

TypeNameDefaultDescription
Advanced
Modelica.SIunits.Timet_eps1e-7Mean value calculation starts at startTime + t_eps

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuNoisy input signal
Modelica.Blocks.Interfaces.RealOutputyExpectation (mean) value of the input signal

Revisions

Date Description
June 22, 2015
Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control