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

Revision history [back]

Hi @Yan, I assume you are exporting gbXML from Revit and importing into OpenStudio, is that correct? If so, which version of OpenStudio are you using? We added this code in version 1.4.0 and above to disregard the surface type specified in gbXML (which may be incorrect). However, I am not sure that we are completely handling the possible error cases. To me this is due to a flaw in gbXML usage, more description is in this issue.

@chienman any thoughts

Hi @Yan, I assume you are exporting gbXML from Revit and importing into OpenStudio, is that correct? If so, which version of OpenStudio are you using? We added this code in version 1.4.0 and above to disregard the surface type specified in gbXML (which may be incorrect). However, I am not sure that we are completely handling all the possible error cases. To me this is due to a flaw in gbXML usage, more description is in this issue.

@chienman any thoughts

Hi @Yan, I assume you are exporting gbXML from Revit and importing into OpenStudio, is that correct? If so, which version of OpenStudio are you using? We added this code in version 1.4.0 and above to disregard the surface type specified in gbXML (which may be incorrect). However, I am not sure that we are completely handling all the possible error cases. To me this is due to a flaw in gbXML usage, more description is in this issue.

@chienman any thoughts

Update: Here is a problem surface. The vertices given are for a floor (outward normal is down) and it is classified as InteriorFloor. However, the first adjacent space referenced is on the 10th floor and the second is on the 11th floor. OpenStudio adds the surface in the gbXML to the first adjacent space referenced and adds a reversed surface in the second adjacent space. I don't think there is any other way for us to know which space the floor belongs in and which space the reversed ceiling belongs in (other than applying some heuristics)?

      <Surface id="su-1022" surfaceType="InteriorFloor" constructionIdRef="con-c23">
        <Name>T-181-196-I-F-1022</Name>
        <AdjacentSpaceId spaceIdRef="sp-181-10th">
        </AdjacentSpaceId>
        <AdjacentSpaceId spaceIdRef="sp-196-11th">
        </AdjacentSpaceId>
        <RectangularGeometry>
            <Azimuth>0.000000</Azimuth>
            <CartesianPoint>
                <Coordinate>114.738452</Coordinate>
                <Coordinate>78.312530</Coordinate>
                <Coordinate>106.833333</Coordinate>
            </CartesianPoint>
            <Tilt>0.000000</Tilt>
            <Height>27.500000</Height>
            <Width>63.500000</Width>
        </RectangularGeometry>
        <PlanarGeometry>
            <PolyLoop>
                <CartesianPoint>
                    <Coordinate>51.238452</Coordinate>
                    <Coordinate>50.812530</Coordinate>
                    <Coordinate>106.833333</Coordinate>
                </CartesianPoint>
                <CartesianPoint>
                    <Coordinate>51.238452</Coordinate>
                    <Coordinate>78.312530</Coordinate>
                    <Coordinate>106.833333</Coordinate>
                </CartesianPoint>
                <CartesianPoint>
                    <Coordinate>114.738452</Coordinate>
                    <Coordinate>78.312530</Coordinate>
                    <Coordinate>106.833333</Coordinate>
                </CartesianPoint>
                <CartesianPoint>
                    <Coordinate>114.738452</Coordinate>
                    <Coordinate>50.812530</Coordinate>
                    <Coordinate>106.833333</Coordinate>
                </CartesianPoint>
            </PolyLoop>
        </PlanarGeometry>
        <CADObjectId>Floor: Generic Interior- 6" [905630]</CADObjectId>
    </Surface>