Skip to content

Average

Symbol

Description

This model computes the average value of an input signal using the trapezoidal integration method. The average value is evaluated at the specified frequency.

output = \frac{1}{T}\int_t^{t+T} input \cdot dt

Library

Control > Math

Pins

Name Description
In Input
Out Output

Parameters

Name Description
Frequency Frequency in Hz
Initial Initial value
SamplingTime -none or 0: No sampling. The system will be solved in the Newton loop (default).
-auto: Inherit the sampling time of its source device.
-Sampling Period: defined in seconds.