Skip to content

Commit

Permalink
Typo using ceil.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Oct 25, 2024
1 parent dab0ad5 commit 80b42c7
Show file tree
Hide file tree
Showing 2 changed files with 4 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>18d36d26-1606-4b0d-84a7-f7fa2c6b9892</version_id>
<version_modified>2024-10-25T19:26:14Z</version_modified>
<version_id>31a8247f-e2b2-4139-8645-885b8c1e828d</version_id>
<version_modified>2024-10-25T22:06:17Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -327,7 +327,7 @@
<filename>defaults.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>6BA0B424</checksum>
<checksum>4A099624</checksum>
</file>
<file>
<filename>electric_panel.rb</filename>
Expand Down
2 changes: 1 addition & 1 deletion HPXMLtoOpenStudio/resources/defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5790,7 +5790,7 @@ def self.get_120v_fan_load_from_capacity(_capacity)

# TODO
def self.get_breaker_spaces_from_heating_capacity(capacity)
return [UnitConversions.convert(capacity, 'btu/hr', 'kw') / 12.0].ceil * 2.0 + 2
return (UnitConversions.convert(capacity, 'btu/hr', 'kw') / 12.0).ceil * 2.0 + 2
end

# TODO
Expand Down

0 comments on commit 80b42c7

Please sign in to comment.