modelPartialOpeningAreaSash
Window opening area, sash opening
Extends from AixLib.Airflow.WindowVentilation.BaseClasses.PartialOpeningArea (Calculation of window opening area, unspecified type).
Information
This partial model provides a base class of window sash opening area.
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 | AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInward | Window opening type |
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 | 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 |
Revisions
-
June 14, 2024, by Jun Jiang:
First implementation (see issue 1492)