Closed MatthewSteen closed 2 years ago
Workaround for https://github.com/NREL/OpenStudio/issues/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 Default
<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>
Fix by setting OSM Thermal Zone names to XML Zone ID.
Workaround for https://github.com/NREL/OpenStudio/issues/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.