From 80a2ea59c597e3873a63ac6a98d20da60c536873 Mon Sep 17 00:00:00 2001 From: Joe Robertson Date: Mon, 28 Oct 2024 14:43:59 -0700 Subject: [PATCH] Skip adding shared water heating load onto panel. --- HPXMLtoOpenStudio/measure.xml | 6 +++--- HPXMLtoOpenStudio/resources/defaults.rb | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HPXMLtoOpenStudio/measure.xml b/HPXMLtoOpenStudio/measure.xml index 7323132028..70b0b2399a 100644 --- a/HPXMLtoOpenStudio/measure.xml +++ b/HPXMLtoOpenStudio/measure.xml @@ -3,8 +3,8 @@ 3.1 hpxm_lto_openstudio b1543b30-9465-45ff-ba04-1d1f85e763bc - a60c276a-887a-4d9f-bfb7-a251d9b1d5a1 - 2024-10-28T17:55:13Z + bdfb5a0a-53e1-4906-acd4-799991d1f8d2 + 2024-10-28T21:43:04Z D8922A73 HPXMLtoOpenStudio HPXML to OpenStudio Translator @@ -327,7 +327,7 @@ defaults.rb rb resource - 39AE738F + 7D2B2B63 electric_panel.rb diff --git a/HPXMLtoOpenStudio/resources/defaults.rb b/HPXMLtoOpenStudio/resources/defaults.rb index b0de75f772..a9e90cd333 100644 --- a/HPXMLtoOpenStudio/resources/defaults.rb +++ b/HPXMLtoOpenStudio/resources/defaults.rb @@ -6003,10 +6003,10 @@ def self.get_panel_load_watts_breaker_spaces_values(hpxml_bldg, panel_load) end elsif type == HPXML::ElectricPanelLoadTypeWaterHeater - hpxml_bldg.water_heating_systems.each do |water_heating_system| next if !system_ids.include?(water_heating_system.id) next if water_heating_system.fuel_type != HPXML::FuelTypeElectricity + next if water_heating_system.is_shared_system if water_heating_system.water_heater_type == HPXML::WaterHeaterTypeStorage watts += UnitConversions.convert(water_heating_system.heating_capacity, 'btu/hr', 'w') # FIXME: use this instead per Work Plan.docx? @@ -6124,6 +6124,8 @@ def self.get_panel_load_watts_breaker_spaces_values(hpxml_bldg, panel_load) next if plug_load.plug_load_type != HPXML::PlugLoadTypeElectricVehicleCharging next if !system_ids.include?(plug_load.id) + # FIXME: next if MF? + if voltage == 120 # Level 1 watts += 1650 else # Level 2