.AixLib.Obsolete.Year2024.Airflow.Multizone.BaseClasses.interpolate

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

Interface

function interpolate
  extends Modelica.Icons.Function;
  extends AixLib.Obsolete.BaseClasses.ObsoleteModel;
  input Real u "Independent variable";
  input Real[:] xd "X-axis support points";
  input Real[size(xd, 1)] yd "Y-axis support points";
  input Real[size(xd, 1)] d(each fixed = false) "Derivatives at the support points";
  output Real z "Dependent variable with monotone interpolation";
end interpolate;

Revisions


Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos