@@ -477,15 +477,15 @@ def test_ground_loop
477477 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
478478 _model , _test_hpxml , test_hpxml_bldg = _test_measure ( args_hash )
479479 assert_equal ( 3 , test_hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes )
480- assert_in_epsilon ( 776.7 / 3 + 5.0 , test_hpxml_bldg . geothermal_loops [ 0 ] . bore_length , 0.01 )
480+ assert_in_epsilon ( 688.5 / 3 + 5.0 , test_hpxml_bldg . geothermal_loops [ 0 ] . bore_length , 0.01 )
481481
482482 # Bore depth greater than the max -> increase number of boreholes
483483 hpxml , hpxml_bldg = _create_hpxml ( 'base-hvac-ground-to-air-heat-pump.xml' )
484484 hpxml_bldg . site . ground_conductivity = 0.2
485485 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
486486 _model , _test_hpxml , test_hpxml_bldg = _test_measure ( args_hash )
487487 assert_equal ( 5 , test_hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes )
488- assert_in_epsilon ( 2151.1 / 5 + 5 , test_hpxml_bldg . geothermal_loops [ 0 ] . bore_length , 0.01 )
488+ assert_in_epsilon ( 2062.9 / 5 + 5 , test_hpxml_bldg . geothermal_loops [ 0 ] . bore_length , 0.01 )
489489
490490 # Bore depth greater than the max -> increase number of boreholes until the max, set depth to the max, and issue warning
491491 hpxml , hpxml_bldg = _create_hpxml ( 'base-hvac-ground-to-air-heat-pump.xml' )
@@ -501,7 +501,7 @@ def test_ground_loop
501501 XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
502502 _model , _test_hpxml , test_hpxml_bldg = _test_measure ( args_hash )
503503 assert_equal ( 10 , test_hpxml_bldg . geothermal_loops [ 0 ] . num_bore_holes )
504- assert_in_epsilon ( 3761.5 / 10 + 5 , test_hpxml_bldg . geothermal_loops [ 0 ] . bore_length , 0.01 )
504+ assert_in_epsilon ( 3187.0 / 10 + 5 , test_hpxml_bldg . geothermal_loops [ 0 ] . bore_length , 0.01 )
505505 end
506506
507507 def test_g_function_library_linear_interpolation_example
0 commit comments