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

Update to v9.6.0-IOFreeze #4406

Merged
merged 107 commits into from
Sep 28, 2021
Merged

Update to v9.6.0-IOFreeze #4406

merged 107 commits into from
Sep 28, 2021

Conversation

joseph-robertson
Copy link
Collaborator

Pull request overview

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 this to the OpenStudio SDK 3.3.0 milestone Aug 24, 2021
@joseph-robertson joseph-robertson self-assigned this Aug 24, 2021
@joseph-robertson joseph-robertson added the Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. label Aug 24, 2021
resources/model/OpenStudio.idd Outdated Show resolved Hide resolved
Comment on lines -146 to -150
s = availabilityManagerListIdf.getString(openstudio::AvailabilityManagerAssignmentListFields::Name);
if (s) {
idfObject.setString(openstudio::AirLoopHVAC_OutdoorAirSystemFields::AvailabilityManagerListName, *s);
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we remove it from model (OpenStudio.idd) as well? Otherwise, is there a new mapping happening that I've missed?

Comment on lines 1007 to 1016
setSizingOption("NonCoincident");
setAllOutdoorAirinCooling("No");
setAllOutdoorAirinHeating("No");
setCentralCoolingDesignSupplyAirHumidityRatio(0.0085);
setCentralHeatingDesignSupplyAirHumidityRatio(0.0080);
setCoolingDesignAirFlowMethod("DesignDay");
setCoolingDesignAirFlowRate(0.0);
setHeatingDesignAirFlowMethod("DesignDay");
setHeatingDesignAirFlowRate(0.0);
setSystemOutdoorAirMethod("ZoneSum");
Copy link
Collaborator

Choose a reason for hiding this comment

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

@joseph-robertson A bunch of these are no longer present in the Ctor, while they should. At the very least the

setAllOutdoorAirinHeating("No");
setAllOutdoorAirinCooling("No");

Please put them all back.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the major source of EUI deviations in the Regression tests so far

Copy link
Collaborator Author

@joseph-robertson joseph-robertson Sep 22, 2021

Choose a reason for hiding this comment

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

Ok so just to recap, this is what happened:

  • I commented out set methods in the ctor that were just setting to default values (i.e., unnecessary calls to set methods)
  • By commenting out setAll methods, we have the unintended consequence of using default values
  • We don't want to use idd defaults because it causes EUI deviations, so we'll stick with non-default values

src/model/SizingSystem.cpp Outdated Show resolved Hide resolved
src/model/SizingSystem.cpp Outdated Show resolved Hide resolved
…t 100% OA to preserve historical behavior

See Notes in SizingSystem.cpp ctor. See this compiler explorer link to see the bug in action: https://godbolt.org/z/ojK1Y4G9j
@tijcolem
Copy link
Collaborator

Reg results look good.
https://github.com/NREL/OpenStudio-resources/runs/3723041013?check_suite_focus=true

Once the latest commit is done building I think this looks ready to drop in!

Copy link
Collaborator

@tijcolem tijcolem left a comment

Choose a reason for hiding this comment

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

All looks good!

@tijcolem tijcolem merged commit 057a86b into develop Sep 28, 2021
@tijcolem tijcolem deleted the v9.6.0-IOFreeze branch September 28, 2021 04:25
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.

Update to EnergyPlus 9.6.0
4 participants