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

Fix #4064 - RunPeriodControlSpecialDays are not Forward Translated #4072

Merged
merged 4 commits into from
Sep 14, 2020

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Sep 11, 2020

Pull request overview

Pull Request Author

Add to this list or remove from it as applicable. This is a simple templated set of guidelines.

  • 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)
  • Checked behavior in OpenStudioApplication, adjusted policies as needed (src/openstudio_lib/library/OpenStudioPolicy.xml)
  • 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

@jmarrec jmarrec added component - IDF Translation Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. labels Sep 11, 2020
@jmarrec jmarrec self-assigned this Sep 11, 2020
@jmarrec jmarrec force-pushed the 4064_RunPeriodControlSpecialDays_FT branch from 98ef81a to a76720c Compare September 11, 2020 09:06
@jmarrec jmarrec force-pushed the 4064_RunPeriodControlSpecialDays_FT branch from a76720c to edc48b5 Compare September 11, 2020 09:21
@jmarrec
Copy link
Collaborator Author

jmarrec commented Sep 11, 2020

Last commit is optional: enable reverse translation of RunControlPeriodSpecialDays. Thoughts @kbenne @joseph-robertson @tijcolem ? Once we decide whether we put it in or not, I will add release notes for the PR too

* [#4072](https://github.com/NREL/OpenStudio/pull/4072) 
    - `RunPeriodControlSpecialDays` were not Forward Translated by default, they now are. 
    - `RunPeriodControl:SpecialDays` IDF objects now are ReverseTranslated as well.

@kbenne
Copy link
Contributor

kbenne commented Sep 14, 2020

I don't think there is anything wrong with reverse translating special days.

@kbenne kbenne merged commit 2aeb103 into develop Sep 14, 2020
@kbenne kbenne deleted the 4064_RunPeriodControlSpecialDays_FT branch September 14, 2020 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component - IDF Translation 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.

RunPeriodControlSpecialDays are not Forward Translated
3 participants