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

Chiller:Electric:EIR node API refactor, ChillerAbsorption/ChillerAbsorption tertiary node refactor #3847

Merged
merged 33 commits into from
Mar 3, 2020

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Jan 16, 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 severity - Blocker component - HVAC Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. APIChange A motivated non-backward compatible change that breaks the existing API and needs to be communicated labels Jan 16, 2020
@jmarrec jmarrec added this to the OpenStudio 3.0.0 Official milestone Jan 16, 2020
@jmarrec jmarrec requested a review from kbenne January 16, 2020 13:42
@jmarrec jmarrec self-assigned this Jan 16, 2020
The reason I didn't do it for condenser water flow rate is that it's not used if air/evap cooled
…ompressorElectricConsumptionRejectedbyCondenser
…d default it to 1 in Ctor

PER I/O ref: "If this field is not entered then the capacity fraction is set to 1.0"
@jmarrec
Copy link
Collaborator Author

jmarrec commented Jan 16, 2020

@kbenne Still working on this one, realized model was missing methods, and FT was missing even more

@jmarrec
Copy link
Collaborator Author

jmarrec commented Jan 16, 2020

@kbenne Ok, ready for review I think.

@kbenne
Copy link
Contributor

kbenne commented Feb 24, 2020

@jmarrec did you or can you add one or more simulation tests to demonstrate this feature?

jmarrec added a commit that referenced this pull request Feb 25, 2020
@jmarrec
Copy link
Collaborator Author

jmarrec commented Feb 26, 2020

@kbenne NREL/OpenStudio-resources#97. A good idea to have done that, I realized I completely messed it up: all three chillers should have tertiary = DEMAND side of another loop, not supply:

  • For ChillerAbsorption, ChillerAbsorptionIndirect: this is the generator loop (Hot water loop (or steam, but not in OS)), so it should logically be on the demand side of that one. No problem here.
  • For ChillerElectricEIR, it's way trickier...
    • But given that the chiller isn't "active" in terms of responding to any loop on the HR loop, I think it makes more sense on the demand side
    • There are no example files with a ChillerElectricEIR with HR, but Chiller:EngineDriven, and that's on the demand side
    • It seems that I found a tiny sentence in the engineering reference guide after all that seem to indicate demand side... cf here
    • Note that the heat recovery side of the chiller is placed on the demand-side of a heat recovery loop which will typically supply a hot water storage tank.

    • But E+ will let your file run if you put it on the supply side of the Heat Recovery Loop...
    • So that seems akin to Clarify options for placement of solar collectors on PlantLoops: demand side? Supply side? Both EnergyPlus#7735 (Placement of solar collectors)
    • In the end until proven otherwise, I have chosen to limit connection to the DEMAND side of the Heat Recovery Loop

@kbenne kbenne merged commit 644272d into develop Mar 3, 2020
@kbenne kbenne deleted the 3606_ChillerNodeRefactor branch March 3, 2020 16:32
jmarrec added a commit that referenced this pull request Mar 5, 2020
…IR HR Flow Rate since that makes E+ REQUIRE the nodes
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 - HVAC IDDChange Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. severity - Blocker
Projects
None yet
2 participants