diff --git a/HPXMLtoOpenStudio/measure.xml b/HPXMLtoOpenStudio/measure.xml index f700b340b8..222a7099d9 100644 --- a/HPXMLtoOpenStudio/measure.xml +++ b/HPXMLtoOpenStudio/measure.xml @@ -3,8 +3,8 @@ 3.1 hpxm_lto_openstudio b1543b30-9465-45ff-ba04-1d1f85e763bc - dc3c64e6-fcf2-41f1-b90d-f5bb759a5163 - 2024-10-30T18:03:16Z + 61bd2487-7d78-4e0f-8695-5a52a03963a3 + 2024-10-30T19:27:55Z D8922A73 HPXMLtoOpenStudio HPXML to OpenStudio Translator @@ -357,7 +357,7 @@ hpxml.rb rb resource - 1E77A2A4 + FE01784C hpxml_schema/HPXML.xsd diff --git a/HPXMLtoOpenStudio/resources/hpxml.rb b/HPXMLtoOpenStudio/resources/hpxml.rb index 34c3c09cba..a846c9d84a 100644 --- a/HPXMLtoOpenStudio/resources/hpxml.rb +++ b/HPXMLtoOpenStudio/resources/hpxml.rb @@ -8032,7 +8032,8 @@ def check_for_errors # @return [nil] def to_doc(air_distribution) if (not @table_number.nil?) || (not @lookup_floor_area.nil?) || (not @leakage_level.nil?) || (not @insulation_r_value.nil?) || (not @supply_surface_area.nil?) || (not @return_surface_area.nil?) || (not @dsf.nil?) - duct_load = XMLHelper.create_elements_as_needed(air_distribution, ['extension', 'ManualJInputs', 'DefaultTableDuctLoad']) + manualj_inputs = XMLHelper.create_elements_as_needed(air_distribution, ['extension', 'ManualJInputs']) + duct_load = XMLHelper.add_element(manualj_inputs, 'DefaultTableDuctLoad') XMLHelper.add_element(duct_load, 'TableNumber', @table_number, :string) unless @table_number.nil? XMLHelper.add_element(duct_load, 'LookupFloorArea', @lookup_floor_area, :float) unless @lookup_floor_area.nil? XMLHelper.add_element(duct_load, 'LeakageLevel', @leakage_level, :string) unless @leakage_level.nil?