Skip to content

Commit

Permalink
Ensure normal shielding.
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Apr 24, 2024
1 parent a56c01d commit af164e0
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions rulesets/resources/301ruleset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ def self.create_new_hpxml(orig_hpxml)
new_bldg.header.manualj_heating_setpoint = 70
new_bldg.header.manualj_cooling_setpoint = 75

new_bldg.site.fuels = orig_bldg.site.fuels
new_bldg.site.site_type = HPXML::SiteTypeSuburban
new_bldg.site.shielding_of_home = HPXML::ShieldingNormal

add_emissions_scenarios(new_hpxml, new_bldg)

return new_hpxml
Expand Down Expand Up @@ -280,9 +284,6 @@ def self.set_summary_reference(orig_bldg, new_bldg)
@ncfl = orig_bldg.building_construction.number_of_conditioned_floors
@ncfl_ag = orig_bldg.building_construction.number_of_conditioned_floors_above_grade

new_bldg.site.fuels = orig_bldg.site.fuels
new_bldg.site.site_type = HPXML::SiteTypeSuburban

new_bldg.building_construction.number_of_conditioned_floors = orig_bldg.building_construction.number_of_conditioned_floors
new_bldg.building_construction.number_of_conditioned_floors_above_grade = orig_bldg.building_construction.number_of_conditioned_floors_above_grade
new_bldg.building_construction.number_of_bedrooms = orig_bldg.building_construction.number_of_bedrooms
Expand All @@ -301,9 +302,6 @@ def self.set_summary_rated(orig_bldg, new_bldg)
@ncfl = orig_bldg.building_construction.number_of_conditioned_floors
@ncfl_ag = orig_bldg.building_construction.number_of_conditioned_floors_above_grade

new_bldg.site.fuels = orig_bldg.site.fuels
new_bldg.site.site_type = HPXML::SiteTypeSuburban

new_bldg.building_construction.number_of_conditioned_floors = orig_bldg.building_construction.number_of_conditioned_floors
new_bldg.building_construction.number_of_conditioned_floors_above_grade = orig_bldg.building_construction.number_of_conditioned_floors_above_grade
new_bldg.building_construction.number_of_bedrooms = orig_bldg.building_construction.number_of_bedrooms
Expand All @@ -322,9 +320,6 @@ def self.set_summary_iad(orig_bldg, new_bldg)
@ncfl = 2.0
@ncfl_ag = 2.0

new_bldg.site.fuels = orig_bldg.site.fuels
new_bldg.site.site_type = HPXML::SiteTypeSuburban

new_bldg.building_construction.number_of_conditioned_floors = @ncfl
new_bldg.building_construction.number_of_conditioned_floors_above_grade = @ncfl_ag
new_bldg.building_construction.number_of_bedrooms = @nbeds
Expand Down

0 comments on commit af164e0

Please sign in to comment.