modelSetq50
q50 computation for zones
Extends from Modelica.Blocks.Icons.Block.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nSurf | Number of surfaces | |
| Real | n50 | n50 value | |
| Modelica.Units.SI.Volume | V | Zone volume | |
| Real | q50_corr | ||
| Boolean | use_custom_n50 | false | = true, to set custom n50 value for this zone |
| Boolean | allSurfacesCustom | Boolean indicating whether all connected surfaces are custom | |
| Modelica.Units.SI.Area[nSurf] | defaultArea | The surface area for which default q50 is computed | |
| Real[nSurf] | v50_custom | custom assigned v50 value, else zero | |
| Modelica.Units.SI.Length | hZone | Zone height: distance between floor and ceiling | |
| Modelica.Units.SI.Length | hFloor | 0 | Absolute height of zone floor. Relative to the height at which the atmospheric pressure is defined. |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[nSurf] | v50_surf | ||
| Modelica.Blocks.Interfaces.BooleanInput[nSurf] | use_custom_q50 | Equals true if the user assigned a custom q50 value for the surface | |
| Modelica.Blocks.Interfaces.RealInput[nSurf] | Area | Surface areas | |
| Modelica.Blocks.Interfaces.BooleanOutput[nSurf] | use_custom_n50s | Equals true if the surfaces connected to this zone should use the custom q50 value | |
| Modelica.Blocks.Interfaces.RealOutput[nSurf] | q50_zone | Custom q50 value for the surfaces connected to this zone | |
| Modelica.Blocks.Interfaces.RealOutput[nSurf] | hzone | Custom q50 value for the surfaces connected to this zone | |
| Modelica.Blocks.Interfaces.RealOutput[nSurf] | hfloor | Custom q50 value for the surfaces connected to this zone |