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

TypeNameDefaultDescription
Modelica.Units.SI.LengthwinClrWidth (from PartialOpeningArea)Width of the window clear opening
Modelica.Units.SI.HeightwinClrHeight (from PartialOpeningArea)Height of the window clear opening
Booleanuse_opnWidth_in (from PartialOpeningArea)trueUse input port for window sash opening width
Modelica.Units.SI.LengthprescribedOpnWidth (from PartialOpeningArea)0Fixed value of prescribed opening width
Modelica.Units.SI.AreaAClrOpn (from PartialOpeningArea)winClrWidth*winClrHeightWindow clear opening area
AixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypesopnTypAixLib.Airflow.WindowVentilation.BaseClasses.Types.WindowOpeningTypes.BottomHungInwardWindow opening type

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputopnWidth_in (from PartialOpeningArea)Conditional input port for window sash opening width
Modelica.Blocks.Interfaces.RealOutputA (from PartialOpeningArea)Output port for window opening area, must be defined by extended model
Modelica.Blocks.Interfaces.RealOutputopnWidth_internal (from PartialOpeningArea)Internal port to connect to opnWidth_in or prescribedOpnWidth

Components

TypeNameDefaultDescription
Modelica.Units.SI.AngleopnAngif (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 0Window sash opening angle

Revisions

  • June 14, 2024, by Jun Jiang:
    First implementation (see issue 1492)