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 |
---|---|
PowerLaw | Test model for power law function |
PowerLawFixedM | Test model for power law function |
WindPressureLowRise | Test model for wind pressure function |
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 | 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] |
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 | k | 2/10^m | Flow coefficient, k = 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 |