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
Defrost Model Improvements #1674
Conversation
…o defrost_improvements
I think this is ready for review @jonwinkler @shorowit |
…o defrost_improvements # Conflicts: # BuildResidentialHPXML/measure.rb # BuildResidentialHPXML/measure.xml # HPXMLtoOpenStudio/measure.xml # ReportSimulationOutput/measure.rb # ReportSimulationOutput/measure.xml # workflow/tests/base_results/results_simulations_bills.csv # workflow/tests/base_results/results_simulations_misc.csv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying to find a description of what is "advanced" about this defrost approach and how it differs from our standard defrost model. It's not mentioned anywhere -- not in the documentation, not in the PR description, not in the changelog, not in the BuildResHPXML measure argument description. How is someone supposed to choose whether to use this?
Also, should it be described as a "research" feature, like we're doing for some GEB features?
Finally, I can't help but feel like there should be a single top-level input rather than a per-system input. Surely you would want to use this for any HVAC system that has defrost controls, no?
I keep wondering if we should group a bunch of "advanced research" inputs together in the HPXML header:
|
Ha I was just about to ask whether there should be a top level element like that. I like this idea. |
Good point Scott, I agree that the documentation is not perfect, I'll add more detailed descriptions to these files. |
…o defrost_improvements
@jonwinkler I guess this is a question for you, is it possible to have use cases that we only want to apply this defrost approach for some systems but keep the previous approach for others under the same HPXML Building? |
@yzhou601 I can't think of any. Do you mean one building with multiple heat pumps where we want to use the default approach for one heat pump and the advanced approach for the other? I don't think that would be the case. |
Yes that's what I mean, if we move the input to the top level then we can only specify one for the whole building, so that's why I'm asking. Great, then I'm going to proceed in this way. |
How about under SimulationControl? Right now, (Not sure if the name should be "AdvancedFeatures", "ResearchFeatures", or "AdvancedResearchFeatures" 😄) |
And for defrost, instead of a boolean, maybe it should be choice element. |
For geb features, my previous changes are made to be under /HPXML/Building/BuildingDetails/BuildingSummary/extension/ so that those are saved at building level. SimulationControl is at HPXML level, so is it possible that for some use case, within one HPXML element, Building elements use different inputs for these features? |
I can't imagine someone would want to use different assumptions for different |
…o defrost_improvements
…udio-HPXML into defrost_improvements
…o defrost_improvements # Conflicts: # HPXMLtoOpenStudio/measure.xml # workflow/tests/base_results/results_simulations_bills.csv # workflow/tests/base_results/results_simulations_energy.csv # workflow/tests/base_results/results_simulations_hvac.csv # workflow/tests/base_results/results_simulations_loads.csv # workflow/tests/base_results/results_simulations_misc.csv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation overall looks very reasonable, though I didn't scrutinize the calculations or EnergyPlus results at all. I assume that you and Jon have been testing this and are happy with the results.
I did push a commit with a few language changes, you might look that over. Otherwise, just a few things I noticed below.
Pull Request Description
Allow an optional improved defrost model
Breaking change: Replaces
SimulationControl/TemperatureCapacitanceMultiplier
withSimulationControl/AdvancedResearchFeatures/TemperatureCapacitanceMultiplier
.Checklist
PR Author: Check these when they're done. Not all may apply.
strikethroughand check any that do not apply.PR Reviewer: Verify each has been completed.
EPvalidator.xml
) has been updatedopenstudio tasks.rb update_hpxmls
)HPXMLtoOpenStudio/tests/test*.rb
and/orworkflow/tests/test*.rb
)openstudio tasks.rb update_measures
has been run