functioninterpolate

Function for the interpolation of table data for airflow models

Extends from Modelica.Icons.Function (Icon for functions), AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

This function returns the value on a cubic hermite spline through the given support points and provided spline derivatives at these points with monotonically increasing values. The last 2 points in the table are linearly interpolated.

A similar model is also used in the CONTAM software (Dols and Walton, 2015).

This function is used in AixLib.Airflow.Multizone.Table_m_flow and AixLib.Airflow.Multizone.Table_V_flow

References

  • W. S. Dols and B. J. Polidoro,2015. CONTAM User Guide and Program Documentation Version 3.2, National Institute of Standards and Technology, NIST TN 1887, Sep. 2015. doi: 10.6028/NIST.TN.1887.

Inputs

TypeNameDefaultDescription
RealuIndependent variable
RealxdX-axis support points
RealydY-axis support points
RealdDerivatives at the support points

Outputs

TypeNameDefaultDescription
RealzDependent variable with monotone interpolation

Revisions

  • February 2, 2022, by Michael Wetter:
    Revised implementation.
    This is for IBPSA, #1436.
  • Apr 6, 2021, by Klaas De Jonge:
    First Implementation.