From 53638b5031991607aa59c2520e3a324a1ad71112 Mon Sep 17 00:00:00 2001 From: Scott Horowitz Date: Fri, 11 Oct 2024 08:55:22 -0600 Subject: [PATCH] Fixes the HeatingPerformanceDataPoint.delete method, spotted by @joseph-robertson. --- HPXMLtoOpenStudio/measure.xml | 6 +++--- HPXMLtoOpenStudio/resources/hpxml.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HPXMLtoOpenStudio/measure.xml b/HPXMLtoOpenStudio/measure.xml index 4fc0c7516b..fd4da40578 100644 --- a/HPXMLtoOpenStudio/measure.xml +++ b/HPXMLtoOpenStudio/measure.xml @@ -3,8 +3,8 @@ 3.1 hpxm_lto_openstudio b1543b30-9465-45ff-ba04-1d1f85e763bc - 1424b04d-aae3-4360-9d50-3324d0babb33 - 2024-10-05T18:13:33Z + 16835647-9a13-44b7-b907-a57abf30a8d4 + 2024-10-11T14:51:15Z D8922A73 HPXMLtoOpenStudio HPXML to OpenStudio Translator @@ -357,7 +357,7 @@ hpxml.rb rb resource - 278B0E8F + AF9C179B hpxml_schema/HPXML.xsd diff --git a/HPXMLtoOpenStudio/resources/hpxml.rb b/HPXMLtoOpenStudio/resources/hpxml.rb index 6af816d59b..2bfe50af41 100644 --- a/HPXMLtoOpenStudio/resources/hpxml.rb +++ b/HPXMLtoOpenStudio/resources/hpxml.rb @@ -11132,7 +11132,7 @@ class HeatingPerformanceDataPoint < BaseElement # @return [nil] def delete (@parent_object.heating_systems + @parent_object.heat_pumps).each do |heating_system| - heating_system.cooling_detailed_performance_data.delete(self) + heating_system.heating_detailed_performance_data.delete(self) end end