Skip to content

Commit

Permalink
Revert changes to hpxml_defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Nov 21, 2023
1 parent da40cd4 commit 96db087
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>98d9b3c1-f151-4160-8578-3c17162952ed</version_id>
<version_modified>2023-11-21T15:58:04Z</version_modified>
<version_id>887b2bb7-21a2-40f7-b152-3ddb309c8058</version_id>
<version_modified>2023-11-21T16:14:15Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -262,7 +262,7 @@
<filename>hpxml_defaults.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>745C9EA1</checksum>
<checksum>9C9F94F7</checksum>
</file>
<file>
<filename>hpxml_schema/HPXML.xsd</filename>
Expand Down
2 changes: 1 addition & 1 deletion HPXMLtoOpenStudio/resources/hpxml_defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def self.apply_utility_bill_scenarios(runner, hpxml_header, hpxml_bldg, has_fuel
end
end

next if hpxml_bldg.pv_systems.size == 0
next unless hpxml_bldg.pv_systems.size > 0

if scenario.pv_compensation_type.nil?
scenario.pv_compensation_type = HPXML::PVCompensationTypeNetMetering
Expand Down

0 comments on commit 96db087

Please sign in to comment.