modelInterpolate

Test model for the function flowElementData

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates the function AixLib.Airflow.Multizone.BaseClasses.interpolate.

Parameters

TypeNameDefaultDescription
Real[:,:]table[-50, -0.08709; -25, -0.06158; -10, -0.03895; -5, -0.02754; -3, -0.02133; -2, -0.01742; -1, -0.01232; 0, 0; 1, 0.01232; 2, 0.01742; 3, 0.02133; 4.5, 0.02613; 50, 0.02614]Table of mass flow rate in kg/s (second column) as a function of pressure difference in Pa (first column)

Components

TypeNameDefaultDescription
Modelica.Units.SI.PressureDifferencedpPressure difference
Modelica.Units.SI.MassFlowRatem_flowMass flow rate

Revisions

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