Skip to content

Commit

Permalink
Merge pull request #1080 from NREL/vent_bugfix
Browse files Browse the repository at this point in the history
Minor vent bugfix
  • Loading branch information
shorowit committed May 12, 2022
2 parents e54fbd8 + 2ce33f7 commit a295021
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
16 changes: 8 additions & 8 deletions HPXMLtoOpenStudio/measure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<schema_version>3.0</schema_version>
<name>hpxm_lto_openstudio</name>
<uid>b1543b30-9465-45ff-ba04-1d1f85e763bc</uid>
<version_id>0f575b7c-f7f0-4525-abc9-7fa5d4ffaa56</version_id>
<version_modified>20220512T220046Z</version_modified>
<version_id>b746a7ae-4798-44c1-a869-3b51d1159ad1</version_id>
<version_modified>20220512T224221Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -367,12 +367,6 @@
<usage_type>test</usage_type>
<checksum>32CF1B56</checksum>
</file>
<file>
<filename>airflow.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>48BA24A4</checksum>
</file>
<file>
<filename>meta_measure.rb</filename>
<filetype>rb</filetype>
Expand Down Expand Up @@ -582,5 +576,11 @@
<usage_type>resource</usage_type>
<checksum>C2F66DD0</checksum>
</file>
<file>
<filename>airflow.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>C9BF52CD</checksum>
</file>
</files>
</measure>
2 changes: 2 additions & 0 deletions HPXMLtoOpenStudio/resources/airflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ def self.apply(model, runner, weather, spaces, hpxml, cfa, nbeds,
next unless attic.attic_type == HPXML::AtticTypeVented

vented_attic = attic
break
end
vented_crawl = nil
hpxml.foundations.each do |foundation|
next unless foundation.foundation_type == HPXML::FoundationTypeCrawlspaceVented

vented_crawl = foundation
break
end

apply_natural_ventilation_and_whole_house_fan(model, weather, hpxml.site, vent_fans_whf, open_window_area, clg_ssn_sensor)
Expand Down

0 comments on commit a295021

Please sign in to comment.