Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples for the use of models that can be found in Buildings.Obsolete.Controls.OBC.CDL.Discrete.

Package Content

Name Description
Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean MovingMean Validation model for the MovingMean block

Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean

Validation model for the MovingMean block

Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean

Information

Validation test for the block Buildings.Obsolete.Controls.OBC.CDL.Discrete.MovingMean.

Modelica definition

model MovingMean "Validation model for the MovingMean block" Buildings.Controls.OBC.CDL.Continuous.Sources.Sine sin( freqHz=1/8, phase=0.5235987755983, startTime=-0.5) "Example input signal"; Buildings.Obsolete.Controls.OBC.CDL.Discrete.MovingMean movMea(n=4, samplePeriod=1) "Discrete moving mean of the sampled input signal"; equation connect(sin.y, movMea.u); end MovingMean;