Skip to content

Commit

Permalink
Force hp to 100% and either secondary system or separate backup to 0%.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Jul 26, 2023
1 parent 3a1e1e8 commit 3738f64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions measures/ApplyUpgrade/measure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ def run(model, runner, user_arguments)
heat_pump_backup_heating_efficiency = heat_pump_backup_values['heat_pump_backup_heating_efficiency']
heat_pump_backup_heating_capacity = heat_pump_backup_values['heat_pump_backup_heating_capacity']

# It's possible this was < 1.0 due to adjustment for secondary heating system
measures['BuildResidentialHPXML'][0]['heat_pump_fraction_heat_load_served'] = 1.0
measures['BuildResidentialHPXML'][0]['heating_system_2_fraction_heat_load_served'] = 0.0

# Integrated; heat pump's distribution system and blower fan power applies to the backup heating
# e.g., ducted heat pump (e.g., ashp, gshp, ducted minisplit) with ducted (e.g., furnace) backup
if heat_pump_backup_type == HPXML::HeatPumpBackupTypeIntegrated
Expand All @@ -386,8 +390,6 @@ def run(model, runner, user_arguments)
# e.g., ducted heat pump (e.g., ashp, gshp) with ductless (e.g., boiler) backup
elsif heat_pump_backup_type == HPXML::HeatPumpBackupTypeSeparate
measures['BuildResidentialHPXML'][0]['heat_pump_backup_type'] = heat_pump_backup_type
measures['BuildResidentialHPXML'][0]['heat_pump_fraction_heat_load_served'] = 1.0

measures['BuildResidentialHPXML'][0]['heating_system_2_type'] = heating_system_type
measures['BuildResidentialHPXML'][0]['heating_system_2_fuel'] = heat_pump_backup_fuel
measures['BuildResidentialHPXML'][0]['heating_system_2_heating_efficiency'] = heat_pump_backup_heating_efficiency
Expand Down
6 changes: 3 additions & 3 deletions measures/ApplyUpgrade/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>apply_upgrade</name>
<uid>33f1654c-f734-43d1-b35d-9d2856e41b5a</uid>
<version_id>da619018-b2d5-433f-885f-db5829e898f7</version_id>
<version_modified>2023-07-24T22:01:01Z</version_modified>
<version_id>d96374dc-41c7-450f-a265-0607d7a6e43d</version_id>
<version_modified>2023-07-26T21:14:55Z</version_modified>
<xml_checksum>9339BE01</xml_checksum>
<class_name>ApplyUpgrade</class_name>
<display_name>Apply Upgrade</display_name>
Expand Down Expand Up @@ -6330,7 +6330,7 @@
<filename>measure.rb</filename>
<filetype>rb</filetype>
<usage_type>script</usage_type>
<checksum>A3C9EEA5</checksum>
<checksum>AE4B052C</checksum>
</file>
<file>
<filename>constants.rb</filename>
Expand Down

0 comments on commit 3738f64

Please sign in to comment.