Skip to content

Commit

Permalink
Revert to original approach for garage height.
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Jan 3, 2025
1 parent 5b425ef commit 2e4ed56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions HPXMLtoOpenStudio/measure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<schema_version>3.1</schema_version>
<name>hpxm_lto_openstudio</name>
<uid>b1543b30-9465-45ff-ba04-1d1f85e763bc</uid>
<version_id>5cbfd102-1753-4556-8163-e6ba38052941</version_id>
<version_modified>2025-01-02T23:44:23Z</version_modified>
<version_id>78d28973-41cf-482b-aab8-53b59beea41c</version_id>
<version_modified>2025-01-03T01:19:55Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -189,7 +189,7 @@
<filename>airflow.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>7356370C</checksum>
<checksum>29D991BE</checksum>
</file>
<file>
<filename>battery.rb</filename>
Expand Down
3 changes: 2 additions & 1 deletion HPXMLtoOpenStudio/resources/airflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1707,9 +1707,10 @@ def self.apply_infiltration_to_garage(model, spaces, hpxml_bldg, infil_values, d

space = spaces[HPXML::LocationGarage]
area = UnitConversions.convert(space.floorArea, 'm^2', 'ft^2')
volume = UnitConversions.convert(space.volume, 'm^3', 'ft^3')
hor_lk_frac = 0.4 # DOE-2 Default
neutral_level = 0.5 # DOE-2 Default
sla = get_infiltration_SLA_from_ACH50(ach50, infil_values[:avg_ceil_height])
sla = get_infiltration_SLA_from_ACH50(ach50, volume / area)
ela = sla * area
c_w_SG, c_s_SG = calc_wind_stack_coeffs(hpxml_bldg, hor_lk_frac, neutral_level, space)
apply_infiltration_to_unconditioned_space(model, space, nil, ela, c_w_SG, c_s_SG, duct_lk_imbals)
Expand Down

0 comments on commit 2e4ed56

Please sign in to comment.