Skip to content

Commit

Permalink
- Make sure optimise energy includes DHW profile
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterpeere committed Sep 16, 2024
1 parent 5fa4129 commit c56dffd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions GHEtool/Methods/optimise_load_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ def optimise_load_profile_energy(
building_load = HourlyBuildingLoadMultiYear(building_load.hourly_heating_load_simulation_period,
building_load.hourly_cooling_load_simulation_period,
building_load._cop,
building_load._eer)
building_load._eer,
building_load.hourly_dhw_load_simulation_period,
building_load._cop_dhw)

# set max peak values
init_peak_heating = building_load.hourly_heating_load_simulation_period.copy()
Expand Down Expand Up @@ -239,7 +241,9 @@ def optimise_load_profile_energy(
peak_heating=building_load.monthly_peak_heating_simulation_period,
peak_cooling=building_load.monthly_peak_cooling_simulation_period,
efficiency_heating=building_load._cop,
efficiency_cooling=building_load._eer)
efficiency_cooling=building_load._eer,
dhw=building_load.monthly_baseload_dhw_simulation_period,
efficiency_dhw=building_load._cop_dhw)

borefield.load = monthly_load

Expand Down

0 comments on commit c56dffd

Please sign in to comment.