modelSmoothHeavisideDerivatives

Test model for the derivatives of the smoothHeavisidefunction

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

Information

This model tests the first and second derivative of the twice Lipschitz continuously differentiable function BuildingSystems.Utilities.Math.Functions.smoothHeaviside.

Components

TypeNameDefaultDescription
RealyBuildingSystems.Utilities.Math.Functions.smoothHeaviside(x = time, delta = 0.2)Function value
Realder_yder(y)First derivative
Realder2_yder(der_y)Second derivative

Revisions

  • October 21, 2019, by Michael Wetter:
    First implementation.
    This is for issue 1202.