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

BoilerHotWater: new Off Cycle Parasitic Fuel Load field #4949

Merged
merged 17 commits into from Sep 13, 2023

Conversation

joseph-robertson
Copy link
Collaborator

Pull request overview

  • Support new "Off Cycle Parasitic Fuel Load" field for Boiler:HotWater.

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 Aug 29, 2023
@joseph-robertson joseph-robertson added this to the OpenStudio SDK 3.7.0 milestone Aug 29, 2023
@joseph-robertson joseph-robertson self-assigned this Aug 29, 2023
@joseph-robertson joseph-robertson changed the base branch from develop to v23.2.0-IOFreeze August 29, 2023 17:52
@joseph-robertson joseph-robertson mentioned this pull request Aug 29, 2023
26 tasks
@joseph-robertson joseph-robertson marked this pull request as ready for review September 11, 2023 21:19
Comment on lines 13782 to 13784
N10; \field Off Cycle Parasitic Fuel Load
\units W
\note parasitic fuel load when the boiler is not operating (i.e., standing pilot)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add required-field. And adjust \min-fields above.


Following E+ and putting it as the end. I know this is less work because no VT needed, but it's lazy. It should have been next to the On Cycle Parasitic Electric Load in E+.

Perhaps we should do it anyways.

Copy link
Contributor

Choose a reason for hiding this comment

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

That was me. Yes, I was being lazy efficient.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't blame you. Especially since Transition in E+ forces you to go to fortran hell :)
For us, VT will need to happen anyways to hard code it to zero, so it's two lines extra to move it in the right location

src/model/BoilerHotWater.cpp Show resolved Hide resolved
Model m;
BoilerHotWater boiler(m);

ASSERT_TRUE(boiler.parasiticElectricLoad());
Copy link
Collaborator

Choose a reason for hiding this comment

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

(Side note but this should never have returned an optional)

src/energyplus/Test/BoilerHotWater_GTest.cpp Outdated Show resolved Hide resolved
src/osversion/test/VersionTranslator_GTest.cpp Outdated Show resolved Hide resolved
resources/model/OpenStudio.idd Outdated Show resolved Hide resolved
@jmarrec
Copy link
Collaborator

jmarrec commented Sep 12, 2023

Aside from the last two minor comments, this looks great!

@jmarrec jmarrec merged commit 0d36b05 into v23.2.0-IOFreeze Sep 13, 2023
0 of 4 checks passed
@jmarrec jmarrec deleted the boiler-hot-water branch September 13, 2023 06:59
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.

None yet

4 participants