.BuildingSystems.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 BuildingSystems.Airflow.Multizone.Table_m_flow and BuildingSystems.Airflow.Multizone.Table_V_flow

References

Interface

function interpolate
  extends Modelica.Icons.Function;
  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-05-17T18:15:58Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos