blockSideFins
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block), Buildings.ThermalZones.Detailed.BaseClasses.SideFins (Record for window side fins).
Information
For a window with side fins, this block outputs the fraction of the area that is exposed to the sun. This models can also be used for doors with side fins.
Input to this block are the wall solar azimuth angle and the altitude angle of the sun. These angles can be calculated using blocks from the package Buildings.BoundaryConditions.SolarGeometry.BaseClasses.
Limitations
The model assumes that
- the side fins are placed symmetrically to the left and right of the window,
- the top of the side fins must be at an equal or greater height than the window, and
- the bottom of the side fins must be at an equal or lower height than the bottom of the window.
Implementation
The method of super position is used to calculate the shaded area of the window. The area besides the side fin is divided as shown in the figure below.
Variables used in the code for the rectangle AEGI, BEGH, DFGI and CFGH are shown in figure below.
The rectangles AEGI, BEGH, DFGI and CFGH have the same geometric configuration
with respect to the side fin.
Thus, the same algorithm is used to calculate the shaded portion in these areas.
A single equation in the for loop improves the total calculation time,
as compared to if-then-else
conditions, considering the various shapes of the shaded portions.
To find the shaded area in the window ABCD, the shaded portion of
BEGH and DFGI is subtracted from AEGI and CFGH.
This shaded area of the window is then divided by the total window area
to calculate the shaded fraction of the window.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | haveSideFins (from SideFins) | dep > Modelica.Constants.eps | Flag, true if the window has side fins |
| General › Side fin | |||
| Modelica.Units.SI.Length | h (from SideFins) | Height of side fin that extends above window, measured from top of window | |
| Modelica.Units.SI.Length | dep (from SideFins) | Side fin depth (measured perpendicular to the wall plane) | |
| Modelica.Units.SI.Length | gap (from SideFins) | Distance between side fin and window edge | |
| General › Window | |||
| Modelica.Units.SI.Length | hWin | Window height | |
| Modelica.Units.SI.Length | wWin | Window width | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | alt | Solar altitude angle (angle between sun ray and horizontal surface) | |
| Modelica.Blocks.Interfaces.RealInput | verAzi | Angle between projection of sun's rays and normal to vertical surface | |
| Modelica.Blocks.Interfaces.RealOutput | fraSun | Fraction of window area exposed to the sun |
Revisions
-
July 5, 2012, by Michael Wetter:
Changed definitions of side fin heighthto be measured from the top of the window. This allows changing the window height without having to adjust the side fin parameters. -
February 25, 2012, by Michael Wetter:
Revised implementation. -
Feb 01, 2012, by Kaustubh Phalak:
First implementation.