@@ -1760,74 +1760,74 @@ def test_geothermal_loops
1760
1760
hpxml_bldg . geothermal_loops [ 0 ] . bore_config = nil
1761
1761
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1762
1762
_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 )
1764
1764
1765
1765
# Test defaults w/ specified loop flow
1766
1766
hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = 1
1767
1767
hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
1768
1768
hpxml_bldg . geothermal_loops [ 0 ] . bore_length = nil
1769
1769
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1770
1770
_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 )
1772
1772
1773
1773
# Test defaults w/ specified num bore holes
1774
1774
hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = nil
1775
1775
hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = 2
1776
1776
hpxml_bldg . geothermal_loops [ 0 ] . bore_length = nil
1777
1777
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1778
1778
_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 )
1780
1780
1781
1781
# Test defaults w/ specified bore length
1782
1782
hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = nil
1783
1783
hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
1784
1784
hpxml_bldg . geothermal_loops [ 0 ] . bore_length = 300
1785
1785
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1786
1786
_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 )
1788
1788
1789
1789
# Test defaults w/ specified loop flow, num bore holes
1790
1790
hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = 2
1791
1791
hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = 3
1792
1792
hpxml_bldg . geothermal_loops [ 0 ] . bore_length = nil
1793
1793
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1794
1794
_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 )
1796
1796
1797
1797
# Test defaults w/ specified num bore holes, bore length
1798
1798
hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = nil
1799
1799
hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = 4
1800
1800
hpxml_bldg . geothermal_loops [ 0 ] . bore_length = 400
1801
1801
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1802
1802
_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 )
1804
1804
1805
1805
# Test defaults w/ specified loop flow, bore length
1806
1806
hpxml_bldg . geothermal_loops [ 0 ] . loop_flow = 5
1807
1807
hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
1808
1808
hpxml_bldg . geothermal_loops [ 0 ] . bore_length = 450
1809
1809
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1810
1810
_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 )
1812
1812
1813
1813
# Test defaults w/ thermally enhanced grout type
1814
1814
hpxml_bldg . geothermal_loops [ 0 ] . grout_type = HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced
1815
1815
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1816
1816
_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 )
1818
1818
1819
1819
# Test defaults w/ thermally enhanced pipe type
1820
1820
hpxml_bldg . geothermal_loops [ 0 ] . pipe_type = HPXML ::GeothermalLoopGroutOrPipeTypeThermallyEnhanced
1821
1821
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1822
1822
_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 )
1824
1824
1825
1825
# Test defaults w/ specified rectangle bore config
1826
1826
hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes = nil
1827
1827
hpxml_bldg . geothermal_loops [ 0 ] . bore_config = HPXML ::GeothermalLoopBorefieldConfigurationRectangle
1828
1828
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
1829
1829
_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 )
1831
1831
end
1832
1832
1833
1833
def test_hvac_location
0 commit comments