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

Addresses #4531, breaking changes #4548

Merged
merged 10 commits into from Mar 16, 2022
Merged

Addresses #4531, breaking changes #4548

merged 10 commits into from Mar 16, 2022

Conversation

joseph-robertson
Copy link
Collaborator

@joseph-robertson joseph-robertson commented Mar 7, 2022

Pull request overview

  • Addresses Breaking changes to consider #4531:
  • CoolingTower:*Speed
    • evaporationLossMode (boost::optional<std::string> to std::string)
    • blowdownCalculationMode (boost::optional<std::string> to std::string)
    • cellControl for CoolingTower:VariableSpeed
  • PlantLoop
    • commonPipeSimulation (boost::optional<std::string> to std::string)
    • isCommonPipeSimulationDefaulted
    • add commonPipeSimulationValues getter
    • add validCommonPipeSimulationValues getter

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 self-assigned this Mar 7, 2022
@joseph-robertson joseph-robertson mentioned this pull request Mar 7, 2022
13 tasks
@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. component - Model APIChange A motivated non-backward compatible change that breaks the existing API and needs to be communicated labels Mar 7, 2022
@joseph-robertson joseph-robertson changed the base branch from v22.1.0-IOFreeze to develop March 7, 2022 21:48
@joseph-robertson joseph-robertson changed the base branch from develop to v22.1.0-IOFreeze March 8, 2022 15:32
@NREL NREL deleted a comment from ci-commercialbuildings Mar 8, 2022
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.

No problem with these changes. I'd like a quick one or two line tests for the PlantLoop method probably.
And I will run a full OpenStudio-Resources test suite to check whether we need API version switches over there.

src/model/PlantLoop_Impl.hpp Show resolved Hide resolved
@jmarrec
Copy link
Collaborator

jmarrec commented Mar 14, 2022

@jmarrec
Copy link
Collaborator

jmarrec commented Mar 14, 2022

OS-resources run is clean, no new failures.

@jmarrec jmarrec merged commit 313107d into v22.1.0-IOFreeze Mar 16, 2022
@jmarrec jmarrec deleted the issue-4531 branch March 16, 2022 08:47
@tijcolem tijcolem mentioned this pull request Mar 25, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APIChange A motivated non-backward compatible change that breaks the existing API and needs to be communicated 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.

None yet

3 participants