modelEqualPercentageDerivativeCheck

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

Information

This example checks whether the function derivative is implemented correctly. If the derivative implementation is not correct, the model will stop with an assert statement.

Parameters

TypeNameDefaultDescription
RealR50Rangeability
Realdelta0.01Value where transition occurs
Reall0.001Leakage

Components

TypeNameDefaultDescription
Realx
Realy

Revisions

  • June 6, 2008, by Michael Wetter:
    First implementation.