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

v24.1.0-IOFreeze: No Load Supply Air Flow Rate Control Set To Low Speed #5096

Merged
merged 22 commits into from
Mar 7, 2024

Conversation

joseph-robertson
Copy link
Collaborator

@joseph-robertson joseph-robertson commented Feb 22, 2024

Pull request overview

New "No Load Supply Air Flow Rate Control Set To Low Speed" field for the following objects:

  • ZoneHVAC:PackagedTerminalAirConditioner
  • ZoneHVAC:PackagedTerminalHeatPump
  • ZoneHVAC:WaterToAirHeatPump
  • AirLoopHVAC:UnitarySystem

Pull Request Author

  • Model API Changes / Additions
  • Any new or modified fields have been implemented in the EnergyPlus ForwardTranslator (and ReverseTranslator as appropriate)
  • Model API methods are tested (in src/model/test)
  • EnergyPlus ForwardTranslator Tests (in src/energyplus/Test)
  • If a new object or method, added a test in NREL/OpenStudio-resources: Add Link
  • If needed, added VersionTranslation rules for the objects (src/osversion/VersionTranslator.cpp)
  • Verified that C# bindings built fine on Windows, partial classes used as needed, etc.
  • All new and existing tests passes
  • If methods have been deprecated, update rest of code to use the new methods

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

@joseph-robertson joseph-robertson added Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. IDDChange labels Feb 22, 2024
@joseph-robertson joseph-robertson self-assigned this Feb 22, 2024
@joseph-robertson joseph-robertson mentioned this pull request Feb 22, 2024
13 tasks
}
}

newObject.setString(10, "Yes");
Copy link
Collaborator Author

@joseph-robertson joseph-robertson Feb 22, 2024

Choose a reason for hiding this comment

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

Ummm... should this be "No"? IDF Version Updater sets this to "No" (but the default is "Yes") ...

See resources/energyplus/Office_With_Many_HVAC_Types/in.idf.

@joseph-robertson joseph-robertson marked this pull request as ready for review March 5, 2024 15:25
Copy link
Collaborator

@jmarrec jmarrec left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I'd like to see additions to model tests + FT tests for that field (a dozen of lines total)

Also, I'd like to ensure that the "Yes" is the former default. Is it @joseph-robertson ? (either it's documented in E+ that it is, or you've run an Openstudio-resources test that uses these objects and they show no EUI change).


Suggestions: changing to getBooleanFieldValue + shortening VT test to avoid annoying maintenance issues.

src/osversion/test/VersionTranslator_GTest.cpp Outdated Show resolved Hide resolved
src/model/ZoneHVACWaterToAirHeatPump.cpp Outdated Show resolved Hide resolved
@joseph-robertson
Copy link
Collaborator Author

On the "No" vs "Yes" default issue...

I tried running fan_on_off.rb on OpenStudio-resources, using both v3.7.0 and v3.8.0-alpha. The energy results change for both "No" and "Yes" (and are the same). So, something else must be accounting for the deviation. And not sure what to make of "No" and "Yes" having identical results.

@jmarrec
Copy link
Collaborator

jmarrec commented Mar 7, 2024

Assuming CI builds fine after I resolved conflicts, we can do ahead and merge this one, it's good enough to go into the main IOFreeze branch, we can figure out the Yes / No EUI deviation later on.

@ci-commercialbuildings
Copy link
Collaborator

ci-commercialbuildings commented Mar 7, 2024

@jmarrec jmarrec merged commit 7c9b367 into v24.1.0-IOFreeze Mar 7, 2024
1 of 4 checks passed
@jmarrec jmarrec deleted the v24.1.0-IOFreeze-low-speed branch March 7, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDDChange 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.

3 participants