blockInterpolate

Output the cubic hermite spline interpolation of the input signal on the given curve

Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Information

This block outputs the value on a cubic hermite spline through the given support points and their spline derivatives at these points, using the function Buildings.Utilities.Math.Functions.interpolate.

Parameters

TypeNameDefaultDescription
Realxdx-axis support points
Realydy-axis support points
RealdDerivatives at the support points

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal

Revisions

  • February 29, 2024, by Hongxiang Fu:
    First implementation.
    This is for IBPSA, #1844.