Skip to content

Commit

Permalink
Try using blower fan and airflow cfm, and electric auxiliary energy, …
Browse files Browse the repository at this point in the history
…for air handler and pump power.
  • Loading branch information
joseph-robertson committed Nov 5, 2024
1 parent b43d482 commit 0d70d4f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 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>69b4f68d-e265-4354-b7ed-9f799f32ce63</version_id>
<version_modified>2024-11-05T03:26:45Z</version_modified>
<version_id>2fa0362f-43db-4591-9ffb-e6c8b19ea23a</version_id>
<version_modified>2024-11-05T03:53:48Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -327,7 +327,7 @@
<filename>defaults.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>CB2C2F2D</checksum>
<checksum>DF31D5DC</checksum>
</file>
<file>
<filename>electric_panel.rb</filename>
Expand Down
12 changes: 10 additions & 2 deletions HPXMLtoOpenStudio/resources/defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5917,14 +5917,22 @@ def self.get_panel_load_power_breaker_spaces_values(hpxml_bldg, panel_load)
if distribution_system.distribution_system_type == HPXML::HVACDistributionTypeAir
watts += get_240v_air_handler_load_from_capacity(UnitConversions.convert(heating_system.heating_capacity, 'btu/hr', 'kbtu/hr'))
elsif distribution_system.distribution_system_type == HPXML::HVACDistributionTypeHydronic
watts += get_240v_pump_load_from_capacity(UnitConversions.convert(heating_system.heating_capacity, 'btu/hr', 'kbtu/hr'))

# FIXME: use ElectricAuxiliaryEnergy and assumptiopn from HVAC.apply_boiler
# watts += get_240v_pump_load_from_capacity(UnitConversions.convert(heating_system.heating_capacity, 'btu/hr', 'kbtu/hr'))
watts += heating_system.electric_auxiliary_energy / 2.08 # only 81 W?

end
end
breaker_spaces += get_breaker_spaces_from_heating_capacity(heating_system.heating_capacity)
else
if !distribution_system.nil?
if distribution_system.distribution_system_type == HPXML::HVACDistributionTypeAir
watts += get_120v_air_handler_load_from_capacity(UnitConversions.convert(heating_system.heating_capacity, 'btu/hr', 'kbtu/hr'))

# FIXME: use FanPowerWattsPerCFM and HeatingAirflowCFM
# watts += get_120v_air_handler_load_from_capacity(UnitConversions.convert(heating_system.heating_capacity, 'btu/hr', 'kbtu/hr'))
watts += heating_system.fan_watts_per_cfm * heating_system.heating_airflow_cfm

elsif distribution_system.distribution_system_type == HPXML::HVACDistributionTypeHydronic
watts += get_120v_pump_load_from_capacity(UnitConversions.convert(heating_system.heating_capacity, 'btu/hr', 'kbtu/hr'))
end
Expand Down

0 comments on commit 0d70d4f

Please sign in to comment.