Skip to content

Commit d0460db

Browse files
authored
Merge pull request #1174 from NREL/kiva-error-bugfix
Kiva error bugfix
2 parents db86b47 + 0cbb5d9 commit d0460db

3 files changed

Lines changed: 16 additions & 13 deletions

File tree

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ __Bugfixes__
3333
- Fixes zero energy use for a ventilation fan w/ non-zero fan power and zero airflow rate.
3434
- Fixes excessive heat transfer when foundation wall interior insulation does not start from the top of the wall.
3535
- Fixes how relative paths are treated when using an OpenStudio Workflow.
36+
- Fixes possible simulation error if a slab has an ExposedPerimeter near zero.
3637
- BuildResidentialHPXML measure:
3738
- Fixes aspect ratio convention for single-family attached and multifamily dwelling units.
3839

HPXMLtoOpenStudio/measure.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,8 @@ def self.add_foundation_wall(runner, model, spaces, foundation_wall, slab_frac,
909909
length *= total_slab_exp_perim / total_fnd_wall_length
910910
end
911911

912+
return if length < 0.1 # Avoid Kiva error if exposed wall length is too small
913+
912914
if gross_area > net_area
913915
# Create a "notch" in the wall to account for the subsurfaces. This ensures that
914916
# we preserve the appropriate wall height, length, and area for Kiva.

HPXMLtoOpenStudio/measure.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<schema_version>3.0</schema_version>
44
<name>hpxm_lto_openstudio</name>
55
<uid>b1543b30-9465-45ff-ba04-1d1f85e763bc</uid>
6-
<version_id>ab468f1d-7990-4d13-b015-087d7a381c57</version_id>
7-
<version_modified>20220906T162356Z</version_modified>
6+
<version_id>22a4382c-e1f6-4fe6-aa03-b7e47e4194e1</version_id>
7+
<version_modified>20220912T230453Z</version_modified>
88
<xml_checksum>D8922A73</xml_checksum>
99
<class_name>HPXMLtoOpenStudio</class_name>
1010
<display_name>HPXML to OpenStudio Translator</display_name>
@@ -541,17 +541,6 @@
541541
<usage_type>resource</usage_type>
542542
<checksum>4D0D827D</checksum>
543543
</file>
544-
<file>
545-
<version>
546-
<software_program>OpenStudio</software_program>
547-
<identifier>3.3.0</identifier>
548-
<min_compatible>3.3.0</min_compatible>
549-
</version>
550-
<filename>measure.rb</filename>
551-
<filetype>rb</filetype>
552-
<usage_type>script</usage_type>
553-
<checksum>2B1174C8</checksum>
554-
</file>
555544
<file>
556545
<filename>hpxml_schematron/EPvalidator.xml</filename>
557546
<filetype>xml</filetype>
@@ -594,5 +583,16 @@
594583
<usage_type>resource</usage_type>
595584
<checksum>5694E794</checksum>
596585
</file>
586+
<file>
587+
<version>
588+
<software_program>OpenStudio</software_program>
589+
<identifier>3.3.0</identifier>
590+
<min_compatible>3.3.0</min_compatible>
591+
</version>
592+
<filename>measure.rb</filename>
593+
<filetype>rb</filetype>
594+
<usage_type>script</usage_type>
595+
<checksum>4F98F3F7</checksum>
596+
</file>
597597
</files>
598598
</measure>

0 commit comments

Comments
 (0)