modelOpeningAreaSashCommon
Calculate geometric, projective, equivalent, and effective window opening
areas, by different types of sash opening
Extends from AixLib.Airflow.WindowVentilation.BaseClasses.PartialOpeningAreaSash (Window opening area, sash opening).
Information
This partial model provides a base class of common window sash opening area, incl. geometric, projective, equivalent, and effective opening area.
Input port of this model is the opening width.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Length | winClrWidth (from PartialOpeningArea) | Width of the window clear opening | |
| Modelica.Units.SI.Height | winClrHeight (from PartialOpeningArea) | Height of the window clear opening | |
| Boolean | use_opnWidth_in (from PartialOpeningArea) | true | Use input port for window sash opening width |
| Modelica.Units.SI.Length | prescribedOpnWidth (from PartialOpeningArea) | 0 | Fixed value of prescribed opening width |
| Modelica.Units.SI.Area | AClrOpn (from PartialOpeningArea) | winClrWidth*winClrHeight | Window clear opening area |
| AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes | opnTyp (from PartialOpeningAreaSash) | AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInward | Window opening type |
| AixLib.Airflow.WindowVentilation.BaseClasses.Types.OpeningAreaTypes | opnAreaTyp | AixLib.Airflow.WindowVentilation.BaseClasses.Types.OpeningAreaTypes.Geometric | Window opening area types to calculate |
| Modelica.Units.SI.Length | lenAxs | if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.SideHungInward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.SideHungOutward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.PivotVertical) then winClrHeight else if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.TopHungOutward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.PivotHorizontal) then winClrWidth else 0 | Length to characterize the hung and pivot window opening: length of the hinged axis |
| Modelica.Units.SI.Length | lenAxsToFrm | if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.SideHungInward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.SideHungOutward) then winClrWidth else if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.TopHungOutward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInward) then winClrHeight else if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.PivotVertical) then winClrWidth/2 else if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.PivotHorizontal) then winClrHeight/2 else 0 | Length to characterize the hung and pivot window opening: distance from the hinged axis to the frame across the opening area |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | opnWidth_in (from PartialOpeningArea) | Conditional input port for window sash opening width | |
| Modelica.Blocks.Interfaces.RealOutput | A (from PartialOpeningArea) | Output port for window opening area, must be defined by extended model | |
| Modelica.Blocks.Interfaces.RealOutput | opnWidth_internal (from PartialOpeningArea) | Internal port to connect to opnWidth_in or prescribedOpnWidth |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Angle | opnAng (from PartialOpeningAreaSash) | if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.SideHungInward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.SideHungOutward) then AixLib.Airflow.WindowVentilation.BaseClasses.Functions.OpeningAreaHinged.WidthToAngle(winClrHeight, winClrWidth, opnWidth_internal) else if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.TopHungOutward or opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInward) then AixLib.Airflow.WindowVentilation.BaseClasses.Functions.OpeningAreaHinged.WidthToAngle(winClrWidth, winClrHeight, opnWidth_internal) else if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.PivotVertical) then AixLib.Airflow.WindowVentilation.BaseClasses.Functions.OpeningAreaHinged.WidthToAngle(winClrHeight, winClrWidth/2, opnWidth_internal) else if (opnTyp == AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.PivotHorizontal) then AixLib.Airflow.WindowVentilation.BaseClasses.Functions.OpeningAreaHinged.WidthToAngle(winClrWidth, winClrHeight/2, opnWidth_internal) else 0 | Window sash opening angle |
| Modelica.Units.SI.Area | AGeoOpn | Geometric opening area | |
| Modelica.Units.SI.Area | APrjOpn | Projective opening area | |
| Modelica.Units.SI.Area | AEqvOpn | Equivalent opening area | |
| Modelica.Units.SI.Area | AEffOpn | Effective opening area |
Revisions
-
June 14, 2024, by Jun Jiang:
First implementation (see issue 1492)