3

Area of PlanarSurfaces in OpenStudio SDK

Hello and thanks for all the answers by now.

I'm writing this OpenStudio measure that needs the area of each surface and subsurface. What I can find in OpenStudio is just Point3d of each PlanarSurface's vertices and there is nothing I can find about the area. I think that might be because EnergyPlus only gets the X, Y, Z coordinates. So I was thinking about writing a method for calculating the areas or try to match the coordinates with the ones in the SketchUp and then use the area calculated by SketchUp.

This brings me into two questions. First one is that is there any way to get the area directly from OpenStudio? and if the answer is no, Is there any better way to find out the matching SketchUp Face to the OpenStudio PlanarSurface or do I have to find them by coordinates?

Thank you for your time

Pouya Kary's avatar
369
Pouya Kary
asked 2015-06-22 12:46:19 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2015-07-10 13:32:22 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

5

What about PlanarSurface::grossArea? Or PlanarSurface::netArea (which I believe is grossArea - subsurface area).

ericringold's avatar
10.6k
ericringold
answered 2015-06-22 13:13:14 -0500
edit flag offensive 0 remove flag delete link

Comments

Oh yes. I was using Net Area but the numbers were wrong and the formula I was using was only a U-Factor times Net Area so I searched and what I found about Net Area was the surface of the whole building envelope (I'm not an architect so I got it all wrong :D) but after your answer I read the source code of them and tested them, So it seems their just what I wanted. Thank you so much.

Pouya Kary's avatar Pouya Kary (2015-06-22 15:11:17 -0500) edit
add a comment see more comments