Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix #2145 - Do not create an extra singlezone SPM humidity min created if humidifier downstream of fan #4348

Merged
merged 2 commits into from
Jun 21, 2021

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Jun 7, 2021

Pull request overview

Fix #2145 - Do not create an extra singlezone SPM humidity min created if humidifier downstream of fan

I took the regression test humidity_control_2.rb: https://github.com/NREL/OpenStudio-resources/blob/48ce9f5134aa94156df3a6b755e4ce767a34629a/model/simulationtests/humidity_control_2.rb#L57-L83

Simulated before and after fix. The in.idf will have three less SPMs (as expected), but the eplusout.err stays clean and there is no EUI deviation.

Pull Request Author

  • EnergyPlus ForwardTranslator API Changes / Additions
  • EnergyPlus ForwardTranslator Tests (in src/energyplus/Test)
  • All new and existing tests passes

Labels:

  • If change to an IDD file, add the label IDDChange
  • If breaking existing API, add the label APIChange
  • If deemed ready, add label Pull Request - Ready for CI so that CI builds your PR

Review Checklist

This will not be exhaustively relevant to every PR.

  • Perform a Code Review on GitHub
  • Code Style, strip trailing whitespace, etc.
  • All related changes have been implemented: model changes, model tests, FT changes, FT tests, VersionTranslation, OS App
  • Labeling is ok
  • 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

@jmarrec jmarrec added component - HVAC component - Model Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. labels Jun 7, 2021
@jmarrec jmarrec requested a review from kbenne June 7, 2021 14:05
@jmarrec jmarrec self-assigned this Jun 7, 2021
@tijcolem tijcolem added this to the OpenStudio SDK 3.3.0 milestone Jun 11, 2021
Copy link
Contributor

@kbenne kbenne left a comment

Choose a reason for hiding this comment

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

This gets a prize for ratio of production code change relative to test code. The code change amounts to essentially a one liner, and then a bunch of testing. Awesome.

@kbenne kbenne merged commit 2d4c6f0 into develop Jun 21, 2021
@kbenne kbenne deleted the 2145_SPM_Humidity branch June 21, 2021 15:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component - HVAC component - Model Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extra singlezone SPM humidity min created if humidifier downstream of fan
4 participants