Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone HVAC bug fix #98

Merged
merged 5 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### Changes from PRs

- Fixed bug with accounting for HVAC delivered heat for standalone HVAC runs
- Fixed bug with ASHP backup heater units
- Added OCHREException class to handle errors

Expand Down Expand Up @@ -43,4 +44,4 @@
- Added OS-HPXML sample files for testing (testing not started)
- Added documentation files and pushed to readthedocs
- Added PR template
- Added changelog
- Added changelog
6 changes: 3 additions & 3 deletions ochre/Equipment/Equipment.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ def update_model(self, control_signal=None):
# calculate electric and gas power and heat gains
heat_data = self.calculate_power_and_heat()

# Run update for subsimulators (e.g., water tank, battery thermal model)
super().update_model(heat_data)

# Add heat gains to zone
self.add_gains_to_zone()

# Run update for subsimulators (e.g., water tank, battery thermal model)
super().update_model(heat_data)

# Update electric real/reactive power with ZIP model
self.run_zip(voltage)

Expand Down