modelPowerLawFixedM

Test model for power law function

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

Information

This examples demonstrates the Buildings.Airflow.Multizone.BaseClasses.powerLaw and Buildings.Airflow.Multizone.BaseClasses.powerLawFixedM functions. They need to return the same function value. This is verified by an assert statement.

Parameters

TypeNameDefaultDescription
RealC2/10^mFlow coefficient, C = V_flow/ dp^m
Realm0.5Flow exponent, m=0.5 for turbulent, m=1 for laminar
Modelica.Units.SI.PressureDifferencedp_turbulent5Pressure difference where regularization starts
Realgamma1.5Normalized flow rate where dphi(0)/dpi intersects phi(1)
RealagammaPolynomial coefficient for regularized implementation of flow resistance
Realb1/8*m^2 - 3*gamma - 3/2*m + 35.0/8Polynomial coefficient for regularized implementation of flow resistance
Realc-1/4*m^2 + 3*gamma + 5/2*m - 21.0/4Polynomial coefficient for regularized implementation of flow resistance
Reald1/8*m^2 - gamma - m + 15.0/8Polynomial coefficient for regularized implementation of flow resistance

Components

TypeNameDefaultDescription
Modelica.Units.SI.PressureDifferencedpPressure difference
Modelica.Units.SI.VolumeFlowRateV_flowVolume flow rate computed with model powerLaw
Modelica.Units.SI.VolumeFlowRateVFixed_flowVolume flow rate computed with model powerLawFixed

Revisions

  • August 12, 2011, by Michael Wetter:
    First implementation.