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

Why do the .err file and .idf/.osm files use a different origin to reference vertices?

asked 2018-09-28 07:06:20 -0500

Hi, I'm trying to troubleshoot the following error:

* Warning * CalculateZoneVolume: The Zone="0924-CORRIDOR-TZ" is not fully enclosed. To be fully enclosed, each edge of a surface must also be an edge on one other surface. * ~~~ * The zone volume was calculated using the floor area times ceiling height method where the floor and ceiling are the same except for the z-coordinates. * ~~~ * The surface "SURFACE 1614" has an edge that is either not an edge on another surface or is an edge on three or more surfaces: * ~~~ * Vertex start { 32.7536, 2.5467E-002, 35.3568} * ~~~ * Vertex end { 33.9728, 2.1372, 35.3568}

When I find the same surface in the .osm and .idf files the vertices are listed with the following coordinate:

**2.02565, 10.36955, 3.6576, !- X,Y,Z Vertex 1 {m}

2.02565, 12.80795, 3.6576, !- X,Y,Z Vertex 2 {m}

*0, 12.80795, 3.6576, !- X,Y,Z Vertex 3 {m}*

0, 10.36955, 3.6576; !- X,Y,Z Vertex 4 {m}**

The discrepancy in coordinates is making troubleshooting difficult. Does anyone know which origin each coordinate system is based on?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-10-11 16:25:26 -0500

The coordinates reported in the output will always be absolute (or world) coordinates after all coordinate transformations.

The input file coordinates in this case are likely relative coordinates. You can confirm that by searching for the GlobalGeometryRules object. With relative coordinates, the final absolute coordinates are affected by the Zone "Origin" and "Direction of Relative North" and the Building "North Axis". If the north axis rotations are zero for both the zone and building, then absolute surface coordinates are equal to the original surface coordinates plus the zone origin coordinates.

edit flag offensive delete link more

Comments

Makes sense. Thanks for that!

jbatt's avatar jbatt  ( 2018-10-11 20:04:57 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2018-09-28 07:06:01 -0500

Seen: 166 times

Last updated: Oct 11 '18