Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Feb 23, 2024
1 parent e626b2a commit 9a230f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rulesets/tests/test_hvac.rb
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def test_shared_boiler_baseboard
_all_calc_types.each do |calc_type|
_hpxml, hpxml_bldg = _test_ruleset(hpxml_name, calc_type)
if [Constants.CalcTypeERIRatedHome].include? calc_type
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, shared_loop_watts: 600 }])
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, eae: 208 }])
else
hvac_iq_values = _get_default_hvac_iq_values(eri_version, 0.5)
if [Constants.CalcTypeCO2eReferenceHome].include? calc_type # All-electric
Expand All @@ -690,7 +690,7 @@ def test_shared_boiler_fan_coil
_all_calc_types.each do |calc_type|
_hpxml, hpxml_bldg = _test_ruleset(hpxml_name, calc_type)
if [Constants.CalcTypeERIRatedHome].include? calc_type
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, shared_loop_watts: 600, fan_coil_watts: 150 }])
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, eae: 520 }])
else
hvac_iq_values = _get_default_hvac_iq_values(eri_version, 0.5)
if [Constants.CalcTypeCO2eReferenceHome].include? calc_type # All-electric
Expand All @@ -711,7 +711,7 @@ def test_shared_boiler_fan_coil_ducted
_all_calc_types.each do |calc_type|
_hpxml, hpxml_bldg = _test_ruleset(hpxml_name, calc_type)
if [Constants.CalcTypeERIRatedHome].include? calc_type
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, shared_loop_watts: 600, fan_coil_watts: 150 }])
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, eae: 520 }])
else
hvac_iq_values = _get_default_hvac_iq_values(eri_version, 0.5)
if [Constants.CalcTypeCO2eReferenceHome].include? calc_type # All-electric
Expand All @@ -732,7 +732,7 @@ def test_shared_boiler_water_loop_heat_pump
_all_calc_types.each do |calc_type|
_hpxml, hpxml_bldg = _test_ruleset(hpxml_name, calc_type)
if [Constants.CalcTypeERIRatedHome].include? calc_type
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, shared_loop_watts: 600 }])
_check_heating_system(hpxml_bldg, [{ systype: HPXML::HVACTypeBoiler, fuel: HPXML::FuelTypeNaturalGas, eff: 0.92, frac_load: 1.0, num_units_served: 6, eae: 208 }])
else
hvac_iq_values = _get_default_hvac_iq_values(eri_version, 0.5)
if [Constants.CalcTypeCO2eReferenceHome].include? calc_type # All-electric
Expand Down

0 comments on commit 9a230f5

Please sign in to comment.