@@ -477,15 +477,15 @@ def test_ground_loop
477
477
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
478
478
_model , _test_hpxml , test_hpxml_bldg = _test_measure ( args_hash )
479
479
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 )
481
481
482
482
# Bore depth greater than the max -> increase number of boreholes
483
483
hpxml , hpxml_bldg = _create_hpxml ( 'base-hvac-ground-to-air-heat-pump.xml' )
484
484
hpxml_bldg . site . ground_conductivity = 0.2
485
485
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
486
486
_model , _test_hpxml , test_hpxml_bldg = _test_measure ( args_hash )
487
487
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 )
489
489
490
490
# Bore depth greater than the max -> increase number of boreholes until the max, set depth to the max, and issue warning
491
491
hpxml , hpxml_bldg = _create_hpxml ( 'base-hvac-ground-to-air-heat-pump.xml' )
@@ -501,7 +501,7 @@ def test_ground_loop
501
501
XMLHelper . write_file ( hpxml . to_doc , @tmp_hpxml_path )
502
502
_model , _test_hpxml , test_hpxml_bldg = _test_measure ( args_hash )
503
503
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 )
505
505
end
506
506
507
507
def test_g_function_library_linear_interpolation_example
0 commit comments