@@ -3411,20 +3411,20 @@ def self.get_geothermal_loop_borefield_ft_per_ton(mj, hpxml_bldg, geothermal_loo
34113411
34123412 # Runtime fraction average in heating/cooling months, assumed
34133413 if mj . htd > 0
3414- rtf_DesignMon_Heat = ( mj . heat_setpoint - weather . data . MonthlyAvgDrybulbs [ heating_month ] ) / mj . htd
3414+ rtf_design_mon_heat = ( mj . heat_setpoint - weather . data . MonthlyAvgDrybulbs [ heating_month ] ) / mj . htd
34153415 else
3416- rtf_DesignMon_Heat = 0
3416+ rtf_design_mon_heat = 0
34173417 end
34183418 if mj . ctd > 0
3419- rtf_DesignMon_Cool = ( weather . data . MonthlyAvgDrybulbs [ cooling_month ] - mj . cool_setpoint ) / mj . ctd
3419+ rtf_design_mon_cool = ( weather . data . MonthlyAvgDrybulbs [ cooling_month ] - mj . cool_setpoint ) / mj . ctd
34203420 else
3421- rtf_DesignMon_Cool = 0
3421+ rtf_design_mon_cool = 0
34223422 end
3423- rtf_DesignMon_Heat = [ [ rtf_DesignMon_Heat , 0.25 ] . max , 1.0 ] . min
3424- rtf_DesignMon_Cool = [ [ rtf_DesignMon_Cool , 0.25 ] . max , 1.0 ] . min
3423+ rtf_design_mon_heat = [ [ rtf_design_mon_heat , 0.25 ] . max , 1.0 ] . min
3424+ rtf_design_mon_cool = [ [ rtf_design_mon_cool , 0.25 ] . max , 1.0 ] . min
34253425
3426- nom_length_heat = ( 1.0 - 1.0 / clg_ap . heat_rated_cops [ 0 ] ) * ( r_value_bore + r_value_ground * rtf_DesignMon_Heat ) / ( weather . data . DeepGroundAnnualTemp - ( 2.0 * clg_ap . design_hw - clg_ap . design_delta_t ) / 2.0 ) * UnitConversions . convert ( 1.0 , 'ton' , 'Btu/hr' )
3427- nom_length_cool = ( 1.0 + 1.0 / clg_ap . cool_rated_cops [ 0 ] ) * ( r_value_bore + r_value_ground * rtf_DesignMon_Cool ) / ( ( 2.0 * clg_ap . design_chw + clg_ap . design_delta_t ) / 2.0 - weather . data . DeepGroundAnnualTemp ) * UnitConversions . convert ( 1.0 , 'ton' , 'Btu/hr' )
3426+ nom_length_heat = ( 1.0 - 1.0 / clg_ap . heat_rated_cops [ 0 ] ) * ( r_value_bore + r_value_ground * rtf_design_mon_heat ) / ( weather . data . DeepGroundAnnualTemp - ( 2.0 * clg_ap . design_hw - clg_ap . design_delta_t ) / 2.0 ) * UnitConversions . convert ( 1.0 , 'ton' , 'Btu/hr' )
3427+ nom_length_cool = ( 1.0 + 1.0 / clg_ap . cool_rated_cops [ 0 ] ) * ( r_value_bore + r_value_ground * rtf_design_mon_cool ) / ( ( 2.0 * clg_ap . design_chw + clg_ap . design_delta_t ) / 2.0 - weather . data . DeepGroundAnnualTemp ) * UnitConversions . convert ( 1.0 , 'ton' , 'Btu/hr' )
34283428
34293429 return nom_length_heat , nom_length_cool
34303430 end
0 commit comments