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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | R | 50 | Rangeability |
| Real | delta | 0.01 | Value where transition occurs |
| Real | l | 0.001 | Leakage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | ||
| Real | y |
Revisions
-
June 6, 2008, by Michael Wetter:
First implementation.