@@ -1760,74 +1760,74 @@ def test_geothermal_loops
17601760 hpxml_bldg . geothermal_loops [ 0 ] . bore_config = nil
17611761 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
17621762 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1763- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1763+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
17641764
17651765 # Test defaults w/ specified loop flow
17661766 hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = 1
17671767 hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
17681768 hpxml_bldg . geothermal_loops [ 0 ] . bore_length = nil
17691769 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
17701770 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1771- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , 1 , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1771+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , 1 , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
17721772
17731773 # Test defaults w/ specified num bore holes
17741774 hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = nil
17751775 hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = 2
17761776 hpxml_bldg . geothermal_loops [ 0 ] . bore_length = nil
17771777 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
17781778 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1779- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , 2 , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1779+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , 2 , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
17801780
17811781 # Test defaults w/ specified bore length
17821782 hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = nil
17831783 hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
17841784 hpxml_bldg . geothermal_loops [ 0 ] . bore_length = 300
17851785 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
17861786 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1787- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , 300 , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1787+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , 300 , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
17881788
17891789 # Test defaults w/ specified loop flow, num bore holes
17901790 hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = 2
17911791 hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = 3
17921792 hpxml_bldg . geothermal_loops [ 0 ] . bore_length = nil
17931793 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
17941794 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1795- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , 2 , 3 , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1795+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , 2 , 3 , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
17961796
17971797 # Test defaults w/ specified num bore holes, bore length
17981798 hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = nil
17991799 hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = 4
18001800 hpxml_bldg . geothermal_loops [ 0 ] . bore_length = 400
18011801 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
18021802 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1803- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , 4 , 16.4 , 400 , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1803+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , 4 , 16.4 , 400 , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
18041804
18051805 # Test defaults w/ specified loop flow, bore length
18061806 hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = 5
18071807 hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
18081808 hpxml_bldg . geothermal_loops [ 0 ] . bore_length = 450
18091809 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
18101810 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1811- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , 5 , nil , 16.4 , 450 , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1811+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , 5 , nil , 16.4 , 450 , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.4 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
18121812
18131813 # Test defaults w/ thermally enhanced grout type
18141814 hpxml_bldg . geothermal_loops [ 0 ] . grout_type = HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced
18151815 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
18161816 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1817- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.8 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1817+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.8 , HPXML ::GeothermalLoopGroutOrPipeTypeStandard , 0.23 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
18181818
18191819 # Test defaults w/ thermally enhanced pipe type
18201820 hpxml_bldg . geothermal_loops [ 0 ] . pipe_type = HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced
18211821 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
18221822 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1823- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.8 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.40 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1823+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.8 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.40 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
18241824
18251825 # Test defaults w/ specified rectangle bore config
18261826 hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
18271827 hpxml_bldg . geothermal_loops [ 0 ] . bore_config = HPXML ::GeothermalLoopBorefieldConfigurationRectangle
18281828 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
18291829 _default_hpxml , default_hpxml_bldg = _test_measure ( )
1830- _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.8 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.40 , 0.75 , 2.0161 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
1830+ _test_default_geothermal_loop_values ( default_hpxml_bldg . geothermal_loops [ 0 ] , HPXML ::GeothermalLoopLoopConfigurationVertical , nil , nil , 16.4 , nil , 5.0 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.8 , HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced , 0.40 , 1.25 , 2.6261 , HPXML ::GeothermalLoopBorefieldConfigurationRectangle )
18311831 end
18321832
18331833 def test_hvac_location
0 commit comments