modelQuinticHermite
Example model using quintic Hermite spline
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Demonstration of the use of a quintic Hermite spline interpolation function.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | a | 0.5 | Exponential argument coefficient |
| Real | x1 | 1 | Lower abscissa value |
| Real | x2 | 2.6 | Upper abscissa value |
| Real | y1 | -x1 | Lower ordinate value |
| Real | y1d | -1 | Lower derivative |
| Real | y2d | a*exp(a*x2) | Upper derivative |
| Real | y1dd | 0 | Lower second derivative |
| Real | y2dd | a^2*exp(a*x2) | Upper second derivative |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | time | Abscissa value |
| Real | y | Ordinate value | |
| Real | dy | Time derivative of ordinate value | |
| Real | ddy | Second time derivative of ordinate value | |
| Real | y2 | Second ordinate section |
Revisions
-
April 19, 2017, by Filip Jorissen:
First implementation.