modelDerivativesCubicSpline

Cubic spline for interpolation

Extends from Modelica.Blocks.Icons.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}

Components

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.