Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page

# How are Window Frames modelled for Non-Rectangular Quads?

Does anyone know how Window Frames are modelled for Non-Rectangular Quads?

I want to use WindowProperty:FrameAndDivider to skylights which are not recutangular.

If I model triangular skylights, I get a following warning and WindowProperty:FrameAndDivider is not applied to the skylights.

   ** Warning ** FenestrationSurface:Detailed="SKYLIGHT", invalid Frame and Divider Name="FRAME".
**   ~~~   ** .. because it is a triangular window and cannot have a frame or divider or reveal reflection.


If I model not rectangle but quadrangle skylights, no warning occurs, so I think we can apply WindowProperty:FrameAndDivider to non-rectangular quads, but the skylight area including the frame is different from what I expect.

I tested with simple three cases as shown in the table below. Each case has one zone (cube) and one skylight, but the shape of each skylight is different.

Frame Width is set to 0.2m. After running the simulation, the output html file shows Skylight-Roof Ratio. The skylight area which is used to calculate the Skylight-Roof Ratio includes the frame area. On the other hand, I have manually offset the skylight outline by 0.2m and measured the offset area in Rhinoceros. I compared these two skylight areas, but they don't match. I want to achieve the targeted Skylight-Roof Ratio with WindowProperty:FrameAndDivider, but I can't.

Output:Surfaces:Drawing does not output window frames modelled by WindowProperty:FrameAndDivider, so I cannot visualise the frames. I don't know how the frames are actually modelled. I want to know the EnergyPlus code of modelling window frames for non-rectangular quads.

One clue is that I/O Reference says "A 4-sided but non-rectangular fenestration surface is allowed and will be transferred to an equivalent rectangular surface with the same area and aspect ratio for the convection calculations at window air gaps." The output html file has HeatTransfer Surface information, and it shows Width and Height of the skylight although the skylight is not rectangular. Is window frame area for non-rectangular window caluculated based on the converted equivalent rectangular window surface? If that's the case, I want to know how EnrgyPlus converts non-rectangular window into equivalent rectangular window.

The idf files are here (V22-2-0).

P.S.

After @shorowit told me the source code, I tried to reproduce the skylight area including the frame shown in the html file. I succeeded to reproduce the skylight area including the frame in Case B, but I cannot reproduce the skylight area including the frame in Case C. Please refer to yellow cells in the table below. I would appreciate it if anyone could point out what I'm wrong. I think Xp, Yp or Azumith in my calculation may be wrong. I use the Azumith shown in the html file. It is equal to the azumith of the line connected by Vertex 1 and Vertex 2 of the skylight.

The original Excel of the table is also here.

edit retag close merge delete

Sort by » oldest newest most voted

The method that performs the equivalent conversion can be found here. And some background description of the implementation can be found here.

more

Thank you so much for your answer! I referred to the code and tried to reproduce the skylight area including the frame, but I failed to do so in Case C. I updated my question. Do you know what's wrong with my calculation?

( 2022-12-03 12:14:54 -0600 )edit

The best way to verify the calculations would be to download the source code, run EnergyPlus in debug mode, and see what values are assigned to the different variables.

( 2022-12-04 16:49:25 -0600 )edit