functioninterpolate
Function for the interpolation of table data for airflow models
Extends from Modelica.Icons.Function (Icon for functions).
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 IDEAS.Airflow.Multizone.Table_m_flow and IDEAS.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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u | Independent variable | |
| Real | xd | X-axis support points | |
| Real | yd | Y-axis support points | |
| Real | d | Derivatives at the support points |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | z | Dependent variable with monotone interpolation |
Revisions
-
February 2, 2022, by Michael Wetter:
Revised implementation.
This is for IDEAS, #1436. -
Apr 6, 2021, by Klaas De Jonge:
First Implementation.