modelSmoothBlocks

Test model for smooth min and smooth max functions

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model tests the implementation of blocks that approximate non-differentiable functions by smooth functions.

Components

TypeNameDefaultDescription
SmoothMaxsmoMax
Modelica.Blocks.Math.Maxmax
Modelica.Blocks.Sources.Sinesine
Modelica.Blocks.Sources.Sinesine1
Diagnostics.AssertEqualityassEquMax
Buildings.Utilities.Math.SmoothMinsmoMin
Modelica.Blocks.Math.MinMin
Diagnostics.AssertEqualityassEquMin

Revisions

  • November 12, 2013, by Michael Wetter:
    Added missing parameter value for sine1.freqHz.
  • August 15, 2008, by Michael Wetter:
    First implementation.