blockMovingAverage
Calculates the moving average of a Real input
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | period | 1 | Period over wich running average is to be computed |
| Advanced | |||
| Real | resetIntegral | 1000000 | Number of period before reseting the integral of the moving average |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |