diff --git a/HPXMLtoOpenStudio/measure.xml b/HPXMLtoOpenStudio/measure.xml index 399c302ab0..16a9008862 100644 --- a/HPXMLtoOpenStudio/measure.xml +++ b/HPXMLtoOpenStudio/measure.xml @@ -3,8 +3,8 @@ 3.1 hpxm_lto_openstudio b1543b30-9465-45ff-ba04-1d1f85e763bc - 98d9b3c1-f151-4160-8578-3c17162952ed - 2023-11-21T15:58:04Z + 887b2bb7-21a2-40f7-b152-3ddb309c8058 + 2023-11-21T16:14:15Z D8922A73 HPXMLtoOpenStudio HPXML to OpenStudio Translator @@ -262,7 +262,7 @@ hpxml_defaults.rb rb resource - 745C9EA1 + 9C9F94F7 hpxml_schema/HPXML.xsd diff --git a/HPXMLtoOpenStudio/resources/hpxml_defaults.rb b/HPXMLtoOpenStudio/resources/hpxml_defaults.rb index cb8e0d4eb0..2525eececb 100644 --- a/HPXMLtoOpenStudio/resources/hpxml_defaults.rb +++ b/HPXMLtoOpenStudio/resources/hpxml_defaults.rb @@ -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