Collection of models that illustrate model use and test models
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).
Name | Description |
---|---|
PowerLaw | Test model for power law function |
PowerLawFixedM | Test model for power law function |
WindPressureLowRise | Test model for wind pressure function |
Test model for power law function
This examples demonstrates the Buildings.Airflow.Multizone.BaseClasses.powerLaw function.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Real | k | 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] |
Test model for power law function
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).
Type | Name | Default | Description |
---|---|---|---|
Real | k | 2/10^m | Flow coefficient, k = V_flow/ dp^m |
PressureDifference | dp_turbulent | 5 | Pressure difference where regularization starts [Pa] |
Test model for wind pressure function
This examples demonstrates the Annex60.Airflow.Multizone.BaseClasses.windPressureLowRise function.
Extends from Modelica.Icons.Example (Icon for runnable examples).
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 |