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: PeopleDefinition's EnclosureAveraged key #5100

Merged
merged 11 commits into from
Mar 8, 2024

Conversation

joseph-robertson
Copy link
Collaborator

Pull request overview

For OS:People:Definition's "Mean Radiant Temperature Calculation Type" field, support key change from "ZoneAveraged" to "EnclosureAveraged".

Questions:

  • Continue to allow use of "ZoneAveraged" (i.e., somehow deprecate this key)?

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 27, 2024
@joseph-robertson joseph-robertson self-assigned this Feb 27, 2024
@joseph-robertson joseph-robertson mentioned this pull request Feb 27, 2024
13 tasks
@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.

Remove ZoneAverage completely. Change the PeopleDefinition::setMeanRadiantTemperatureCalculationType to replace ZoneAveraged to EnclosureAveraged

resources/model/OpenStudio.idd Outdated Show resolved Hide resolved
src/osversion/VersionTranslator.cpp Outdated Show resolved Hide resolved
src/osversion/VersionTranslator.cpp Outdated Show resolved Hide resolved
src/model/test/People_GTest.cpp Outdated Show resolved Hide resolved
@jmarrec
Copy link
Collaborator

jmarrec commented Mar 7, 2024

@joseph-robertson I made some changes, assuming the build works and tests don't look too broken, let's merge that back into the main IOFreeze branch.

@ci-commercialbuildings
Copy link
Collaborator

ci-commercialbuildings commented Mar 7, 2024

@jmarrec jmarrec merged commit aad49be into v24.1.0-IOFreeze Mar 8, 2024
1 of 4 checks passed
@jmarrec jmarrec deleted the v24.1.0-IOFreeze-people branch March 8, 2024 13:53
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