Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workaround for OpenStudio 4457 #100

Closed
MatthewSteen opened this issue Dec 29, 2021 · 1 comment · Fixed by #101
Closed

workaround for OpenStudio 4457 #100

MatthewSteen opened this issue Dec 29, 2021 · 1 comment · Fixed by #101
Assignees

Comments

@MatthewSteen
Copy link
Member

MatthewSteen commented Dec 29, 2021

Workaround for NREL/OpenStudio#4457, which causes gbXML files that have elements with the same name to to have UUID names when reverse translated to OSMs.

For example, the https://github.com/GreenBuildingXML/Sample_gbXML_Files/blob/master/gbXMLStandard%20Office%20(ASHRAE%20HQ)%202016.xml has 63 Zones with the same Zone Default name. This causes issues with how setpoint schedules are applied where the in-memory XML Zone names do not match the OSM Thermal Zone names.

  <Zone id="aim81740" fanSchedIdRef="FanSch-83" heatSchedIdRef="Heatsched-9" coolSchedIdRef="Coolsched-9">
    <DesignHeatT unit="F">70.0</DesignHeatT>
    <DesignCoolT unit="F">73.9</DesignCoolT>
    <Name>Zone Default</Name>
    <CADObjectId>134083</CADObjectId>
    <Description>Default Zone for OFFICE (ASHRAE 2010)</Description>
    <OAFlowPerArea unit="CubicMPerSecPerSquareM">0.000702182222</OAFlowPerArea>
    <AirChangesPerHour>0.000000</AirChangesPerHour>
    <AirLoopId airLoopIdRef="North1" />
  </Zone>
  <Zone id="aim81743" fanSchedIdRef="FanSch-83" heatSchedIdRef="Heatsched-9" coolSchedIdRef="Coolsched-9">
    <DesignHeatT unit="F">70.0</DesignHeatT>
    <DesignCoolT unit="F">73.9</DesignCoolT>
    <Name>Zone Default</Name>
    <CADObjectId>134083</CADObjectId>
    <Description>Default Zone for OFFICE (ASHRAE 2010)</Description>
    <OAFlowPerArea unit="CubicMPerSecPerSquareM">0.000017783056</OAFlowPerArea>
    <AirChangesPerHour>0.000000</AirChangesPerHour>
    <AirLoopId airLoopIdRef="North2" />
  </Zone>

image

@MatthewSteen
Copy link
Member Author

Fix by setting OSM Thermal Zone names to XML Zone ID.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant