blockMovingAverage

Calculates the moving average of a Real input

Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.Timeperiod1Period over wich running average is to be computed
Advanced
RealresetIntegral1000000Number of period before reseting the integral of the moving average

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal