diff --git a/HPXMLtoOpenStudio/measure.xml b/HPXMLtoOpenStudio/measure.xml
index 90a88c0d34..89fa420476 100644
--- a/HPXMLtoOpenStudio/measure.xml
+++ b/HPXMLtoOpenStudio/measure.xml
@@ -3,8 +3,8 @@
3.1
hpxm_lto_openstudio
b1543b30-9465-45ff-ba04-1d1f85e763bc
- 972718e7-19fc-4b8f-adc9-246916d17229
- 2023-08-25T14:42:54Z
+ 9f0c57c4-a887-4b4a-bf50-90ba783b18d9
+ 2023-09-11T23:05:26Z
D8922A73
HPXMLtoOpenStudio
HPXML to OpenStudio Translator
@@ -322,7 +322,7 @@
hvac.rb
rb
resource
- 63E26750
+ B86B4518
hvac_sizing.rb
diff --git a/HPXMLtoOpenStudio/resources/hvac.rb b/HPXMLtoOpenStudio/resources/hvac.rb
index 3e27e48f55..b583dc5950 100644
--- a/HPXMLtoOpenStudio/resources/hvac.rb
+++ b/HPXMLtoOpenStudio/resources/hvac.rb
@@ -284,10 +284,10 @@ def self.apply_ground_to_air_heat_pump(model, runner, weather, heat_pump,
ground_heat_exch_vert.setUTubeDistance(UnitConversions.convert(heat_pump.geothermal_loop.shank_spacing, 'in', 'm'))
ground_heat_exch_vert.setPipeThickness(UnitConversions.convert((hp_ap.pipe_od - hp_ap.pipe_id) / 2.0, 'in', 'm'))
ground_heat_exch_vert.setMaximumLengthofSimulation(1)
- ground_heat_exch_vert.setGFunctionReferenceRatio(0.0005)
ground_heat_exch_vert.setDesignFlowRate(UnitConversions.convert(hp_ap.GSHP_Loop_flow, 'gal/min', 'm^3/s'))
ground_heat_exch_vert.setNumberofBoreHoles(hp_ap.GSHP_Bore_Holes.to_i)
ground_heat_exch_vert.setBoreHoleLength(UnitConversions.convert(hp_ap.GSHP_Bore_Depth, 'ft', 'm'))
+ ground_heat_exch_vert.setGFunctionReferenceRatio(ground_heat_exch_vert.boreHoleRadius.get / ground_heat_exch_vert.boreHoleLength.get) # ensure this ratio is consistent with rb/H so that g values will be taken as-is
ground_heat_exch_vert.removeAllGFunctions
for i in 0..(hp_ap.GSHP_G_Functions[0].size - 1)
ground_heat_exch_vert.addGFunction(hp_ap.GSHP_G_Functions[0][i], hp_ap.GSHP_G_Functions[1][i])