Average

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
Parameters
| Property | Display Name | Parameter Type | Description |
|---|---|---|---|
| Frequency | Frequency (in Hz) | DoubleParameter | Frequency in Hz |
| Initial | Initial value | DoubleParameter | Initial value |
| SamplingTime | Sampling Time [s] | DoubleParameter | Sampling Time |
Pins
| Property | Pin Name | Type | Description |
|---|---|---|---|
| In | In | ControlIn | Input |
| Out | Out | ControlOut | Output |
Default Size
| Width | Height |
|---|---|
| 4 | 4 |