Buildings.Airflow.Multizone.BaseClasses.Examples
Collection of models that illustrate model use and test models
Information
This package contains examples for the use of models that can be found in Buildings.Airflow.Multizone.BaseClasses.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
Interpolate | Test model for the interpolation function |
PowerLaw | Test model for power law function |
PowerLawFixedM | Test model for power law function |
WindPressureLowRise | Test model for wind pressure function |
WindPressureProfile | Test model for wind pressure profile function |
Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate
Test model for the interpolation function
Information
This example demonstrates the function Buildings.Airflow.Multizone.BaseClasses.interpolate.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | table[:, :] | [-50, -0.08709; -25, -0.0615... | Table of mass flow rate in kg/s (second column) as a function of pressure difference in Pa (first column) |
Modelica definition
Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw
Test model for power law function
Information
This examples demonstrates the Buildings.Airflow.Multizone.BaseClasses.powerLaw function.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | C | 2/10^m | Flow coefficient, k = V_flow/ dp^m |
Real | m | 0.5 | Flow exponent, m=0.5 for turbulent, m=1 for laminar |
PressureDifference | dp_turbulent | 5 | Pressure difference where regularization starts [Pa] |
Modelica definition
Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM
Test model for power law function
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.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | C | 2/10^m | Flow coefficient, C = V_flow/ dp^m |
PressureDifference | dp_turbulent | 5 | Pressure difference where regularization starts [Pa] |
Modelica definition
Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise
Test model for wind pressure function
Information
This examples demonstrates the Buildings.Airflow.Multizone.BaseClasses.windPressureLowRise function.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | Cp0 | 0.6 | Wind pressure coefficient for normal wind incidence angle |
Real | G | Modelica.Math.log(0.5) | Natural logarithm of side ratio |
Modelica definition
Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile
Test model for wind pressure profile function
Information
This examples demonstrates the Buildings.Airflow.Multizone.BaseClasses.windPressureProfile function.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Angle | incAngSurNor[:] | {0,45,90,135,180,225,270,315... | Wind incidence angles, relative to the surface normal (normal=0), first point must be 0, last smaller than 2 pi(=360 deg) [rad] |
Real | Cp[:] | {0.4,0.1,-0.3,-0.35,-0.2,-0.... | Cp values at the corresponding incAngSurNor [1] |