Skip to content

Conversation

hdunham
Copy link
Collaborator

@hdunham hdunham commented Oct 1, 2025

reverts the changes made in #459

This reverts commit 902e999.
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts changes made in #459 that implemented hybrid GHP functionality. The main purpose is to remove the complex hybrid GHP sizing workflow and return to the simpler automatic GHP sizing approach.

Key changes include:

  • Removed hybrid GHP test scenarios and test code
  • Simplified GHP sizing logic by removing hybrid workflow iterations
  • Removed hybrid-related fields from GHP struct and results

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/scenarios/ghp_inputs_hybrid.json Removed hybrid GHP test scenario file
test/runtests.jl Removed hybrid GHP functionality tests
src/results/heating_cooling_load.jl Added whitespace formatting
src/results/ghp.jl Simplified GHP results by removing hybrid fields and rounding
src/core/scenario.jl Simplified GHP sizing logic by removing hybrid workflow
src/core/ghp.jl Removed hybrid-related fields from GHP struct
CHANGELOG.md Removed hybrid-related changelog entry

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

is_ghx_hybrid = true
hybrid_sizing_flag = get(ghpghx_inputs, "hybrid_ghx_sizing_fraction", 0.6)
elseif hybrid_ghx_sizing_method !== nothing
else
Copy link

Copilot AI Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This else clause will match any non-nil hybrid_ghx_sizing_method value other than 'Automatic' or 'Fractional', but the logic suggests it should only match when hybrid_ghx_sizing_method is not nothing. Change to elseif hybrid_ghx_sizing_method !== nothing.

Suggested change
else
elseif hybrid_ghx_sizing_method !== nothing

Copilot uses AI. Check for mistakes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about this, can be dealt with when the GHP updates are fixed and reintroduced

hdunham and others added 30 commits October 2, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants