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

gbXML - RectangularGeometry and PlanarGeometry

asked 2 years ago

AdamsoSa's avatar

updated 2 years ago

I am working with gbXML files generated by CAD, and I notice that all Surface elements seem to have their geometry described both by a PlanarGeometry child element and a RectangularGeometry child element. In the docs I see that RectangularGeometry is described as 'Geometry in a form typically used by Simulation engines'.

In some circumstances I have observed that RectangularGeometry describes a shape that differs from that which is described by PlanarGeometry for the same surface. For example the RectangularGeometry only provides a height and width (rectangular shape), while PlanarGeometry describes a non-rectangular polygon using a PolyLoop. There are some examples of this in the sample files listed on gbXML's sample files git repo.

Does the schema allow for surfaces to only be described by RectangularGeometry (not very clear in the documentation) without PlanarGeometry? What is the intended use case for RectangularGeometry?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 2 years ago

The OpenStudio gbxml forward translator at least writes both.

  • The RectangularGeometry defines a kind of an area-equivalent bounding surface: this represents the overall geometry of the surface, by defining an equivalent rectangular surface with the same area, a starting point, and a tilt,
  • The PlanarGeometry element has a PolyLoop element with all points / vertices describing the surface as it is actually in 3D space.

https://github.com/NREL/OpenStudio/bl...

Couple of other sources that discuss this:

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2 years ago

Seen: 135 times

Last updated: Jan 27 '23