modelDerivativesCubicSpline

Cubic spline for interpolation

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

This model calculates the output based on the cubic hermite interpolation and linear extrapolation of predefined values. The predefined values must create a monotone curve.

Parameters

TypeNameDefaultDescription
Realxd{0, 0.5, 1}
Realyd{0, 0.75, 1}

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuIndependent variable for interpolation
Modelica.Blocks.Interfaces.RealOutputyInterpolated value

Revisions

  • December 15, 2016, by Michael Wetter:
    Removed wrong annotations.
    This is for #629.
  • June 13, 2016, by Michael Wetter:
    Revised implementation.
  • May 20, 2016, by Alessandro Maccarini:
    First implementation.