modelMovingAverage
Information
Moving Average
Overview
- Calculates a moving average between a past time instant and the actual simulation time.
- Used to implement automatic user control decisions. E.g. a sun blind is closed when moving average of ambient temperature is above a certain level.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | aveTime | 24*3600 | Time span for average |
| Real | u_start | 0 | Start value of input |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Continuous input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Continuous output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Continuous.Integrator | uInt |
Revisions
-
09.11.2021 , by Fabian Wuellhorst:
Fixed equations #1192 -
02.06.2014 , by Kristian Huchtemann:
implemented