Skip to content

Conversation

@lymereJ
Copy link
Collaborator

@lymereJ lymereJ commented Mar 5, 2025

Pull request overview

Follow-up to #10791, but focuses on Coil:*:WaterToAirHeatPump:EquationFit coils.

Pull Request Author

  • Title of PR should be user-synopsis style (clearly understandable in a standalone changelog context)
  • Label the PR with at least one of: Defect, Refactoring, NewFeature, Performance, and/or DoNoPublish
  • Pull requests that impact EnergyPlus code must also include unit tests to cover enhancement or defect repair
  • Author should provide a "walkthrough" of relevant code changes using a GitHub code review comment process
  • If any diffs are expected, author must demonstrate they are justified using plots and descriptions
  • If changes fix a defect, the fix should be demonstrated in plots and descriptions

Reviewer

  • Perform a Code Review on GitHub
  • If branch is behind develop, merge develop and build locally to check for side effects of the merge
  • If defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • If feature, test running new feature, try creative ways to break it
  • CI status: all green or justified
  • Check that performance is not impacted (CI Linux results include performance check)
  • Run Unit Test(s) locally
  • Check any new function arguments for performance impacts
  • Verify IDF naming conventions and styles, memos and notes and defaults
  • If new idf included, locally check the err file and other outputs

@lymereJ lymereJ added NewFeature Includes code to add a new feature to EnergyPlus AirflowNetwork Related primarily on airflow-network portions of the codebase labels Mar 5, 2025
@lymereJ lymereJ added this to the EnergyPlus 25.1 milestone Mar 5, 2025
Comment on lines 10599 to 10617
} else if (SELECT_CASE_var == "COIL:COOLING:WATERTOAIRHEATPUMP:EQUATIONFIT") {
ValidateComponent(m_state,
"Coil:Cooling:WaterToAirHeatPump:EquationFit",
DisSysCompCoilData(i).name,
IsNotOK,
format(RoutineName) + CurrentModuleObject);
if (IsNotOK) {
ErrorsFound = true;
}

} else if (SELECT_CASE_var == "COIL:HEATING:WATERTOAIRHEATPUMP:EQUATIONFIT") {
ValidateComponent(m_state,
"Coil:Heating:WaterToAirHeatPump:EquationFit",
DisSysCompCoilData(i).name,
IsNotOK,
format(RoutineName) + CurrentModuleObject);
if (IsNotOK) {
ErrorsFound = true;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Add Coil:*:WaterToAirHeatPump:EquationFit objects as a possible valid coil choice.

@lymereJ lymereJ requested a review from jasondegraw March 5, 2025 23:01
@shorowit
Copy link
Contributor

shorowit commented Mar 5, 2025

@lymereJ Any chance you could support the Coil:*:WaterToAirHeatPump:VariableSpeedEquationFit objects too?

@lymereJ
Copy link
Collaborator Author

lymereJ commented Mar 5, 2025

I think so. I'll look to add it shortly.

@mjwitte mjwitte added the IDDChange Code changes impact the IDD file (cannot be merged after IO freeze) label Mar 6, 2025
Copy link
Member

@jasondegraw jasondegraw left a comment

Choose a reason for hiding this comment

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

This looks good to go in as far as I can see.

@lymereJ we need to start compiling example models that use all of these coils. They probably won't fit in the example file set here, but that's OK. I'll follow up via email soonish.

@Myoldmopar
Copy link
Member

This is also happy with develop pulled in. I checked with @jmarrec and since this object isn't wrapped in OpenStudio, we're comfortable making an exception here. But it's a lifetime single exception @lymereJ, enjoy it! 😆 Merging.

@Myoldmopar Myoldmopar merged commit c409806 into develop Mar 17, 2025
10 checks passed
@Myoldmopar Myoldmopar deleted the afn_dx_wahp_coils branch March 17, 2025 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AirflowNetwork Related primarily on airflow-network portions of the codebase IDDChange Code changes impact the IDD file (cannot be merged after IO freeze) NewFeature Includes code to add a new feature to EnergyPlus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants