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

Allow user to overwrite automatic hybrid GHP sizing #459

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ Classify the change according to the following categories:


## Develop

### Added
- Allow the user to overwrite "Automatic" GHP hybrid sizing by specifying if the auxiliary unit is a "Heater" or "Cooler" through the `GHP.ghpghx_inputs.hybrid_ghx_sizing_method` variable

## v0.48.2
### Added
- Battery residual value if choosing replacement strategy for degradation
- Add new **ElectricStorage** parameters **max_duration_hours** and **min_duration_hours** to bound the energy duration of battery storage
Expand Down
8 changes: 8 additions & 0 deletions src/core/scenario.jl
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,14 @@ function Scenario(d::Dict; flex_hvac_from_json=false)
end
ghpghx_inputs["hybrid_auto_ghx_sizing_flag"] = false

elseif hybrid_ghx_sizing_method == "Heater"
is_ghx_hybrid = true
hybrid_sizing_flag = -2.0 #heating
@info "Sizing an auxiliary heating unit for hybrid GHX"
elseif hybrid_ghx_sizing_method == "Cooler"
is_ghx_hybrid = true
hybrid_sizing_flag = -1.0 #cooling
@info "Sizing an auxiliary cooling unit for hybrid GHX"
elseif hybrid_ghx_sizing_method == "Fractional"
is_ghx_hybrid = true
hybrid_sizing_flag = get(ghpghx_inputs, "hybrid_ghx_sizing_fraction", 0.6)
Expand Down
Loading