Skip to content

Commit

Permalink
Update PV test so we don't have to change the expected value every year.
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Jan 2, 2025
1 parent 34fce41 commit 91e0d7d
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>f5059b5f-8030-497a-bab2-94f90354de7e</version_id>
<version_modified>2024-12-20T20:07:28Z</version_modified>
<version_id>b1a7f30e-13ab-4e7c-ab3a-78f4bf9f17e9</version_id>
<version_modified>2025-01-02T18:44:10Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -663,7 +663,7 @@
<filename>test_defaults.rb</filename>
<filetype>rb</filetype>
<usage_type>test</usage_type>
<checksum>D57EF59F</checksum>
<checksum>3EA9D3F5</checksum>
</file>
<file>
<filename>test_enclosure.rb</filename>
Expand Down
2 changes: 1 addition & 1 deletion HPXMLtoOpenStudio/tests/test_defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3501,7 +3501,7 @@ def test_pv_systems
_test_default_pv_system_values(default_hpxml_bldg, 0.96, 0.14, false, HPXML::LocationRoof, HPXML::PVTrackingTypeFixed, HPXML::PVModuleTypeStandard, 135)

# Test defaults w/ year modules manufactured
pv.year_modules_manufactured = 2010
pv.year_modules_manufactured = Date.today.year - 14
XMLHelper.write_file(hpxml.to_doc, @tmp_hpxml_path)
_default_hpxml, default_hpxml_bldg = _test_measure()
_test_default_pv_system_values(default_hpxml_bldg, 0.96, 0.198, false, HPXML::LocationRoof, HPXML::PVTrackingTypeFixed, HPXML::PVModuleTypeStandard, 135)
Expand Down

0 comments on commit 91e0d7d

Please sign in to comment.