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 #7136 - Clarify which peak the outputs of the coil sizing details are referring to #7397

Merged
merged 4 commits into from
Sep 28, 2019

Conversation

jmarrec
Copy link
Contributor

@jmarrec jmarrec commented Jul 17, 2019

Pull request overview

Fix #7136 - Clarify which peak the outputs of the coil sizing details are referring to

Work Checklist

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

  • Title of PR should be user-synopsis style (clearly understandable in a standalone changelog context)
  • At least one of the following appropriate labels must be added to this PR to be consumed into the changelog:
    • Defect: This pull request repairs a github defect issue. The github issue should be referenced in the PR description
    • Refactoring: This pull request includes code changes that don't change the functionality of the program, just perform refactoring
    • NewFeature: This pull request includes code to add a new feature to EnergyPlus
    • Performance: This pull request includes code changes that are directed at improving the runtime performance of EnergyPlus
    • DoNoPublish: This pull request includes changes that shouldn't be included in the changelog

Review Checklist

This will not be exhaustively relevant to every PR.

  • Functional code review (it has to work!)
  • If defect, results of running current develop vs this branch should exhibit the fix
  • CI status: all green or justified
  • Performance: CI Linux results include performance check
  • Unit Test(s)
  • C++ checks:
    • Argument types
    • If any virtual classes, ensure virtual destructor included, other things
  • IDD changes:
    • Verify naming conventions and styles, memos and notes and defaults
    • Open windows IDF Editor with modified IDD to check for errors
    • If transition, add to input rules file for interfaces
    • If transition, add transition source
    • If transition, update idfs
  • If new idf included, locally check the err file and other outputs
  • Required documentation updates?
  • ExpandObjects changes?
  • If output changes, including tabular output structure, add to output rules file for interfaces

@jmarrec jmarrec force-pushed the Fix_7136_PeakCoil branch from 596191c to 8f0dd5a Compare July 30, 2019 14:57
@mjwitte mjwitte added the Defect Includes code to repair a defect in EnergyPlus label Jul 31, 2019
@mjwitte mjwitte added this to the EnergyPlus 9.2.0 milestone Aug 5, 2019
@rraustad
Copy link
Contributor

rraustad commented Aug 19, 2019

@mjwitte I have reviewed this and see a new column in the Coil Sizing Details table as Peak Load Type to Size On. Either total or sensible is reported based on the user selection for:

  Sizing:System,
    VAV Sys 1,               !- AirLoop Name
    sensible,                !- Type of Load to Size On

The only question I would have is if we want to report total or sensible based on DataSizing::FinalSysSizing(curSysNum).CoolingPeakLoadType

            // assign CoolingPeakLoadType based on LoadSizeType for now
            if (SysSizInput(SysSizIndex).LoadSizeType == Sensible) {
                SysSizInput(SysSizIndex).CoolingPeakLoadType = SensibleCoolingLoad;
            } else if (SysSizInput(SysSizIndex).LoadSizeType == Total) {
                SysSizInput(SysSizIndex).CoolingPeakLoadType = TotalCoolingLoad;
            } else {
                SysSizInput(SysSizIndex).CoolingPeakLoadType = SensibleCoolingLoad;
            }

or if we want to report sensible, total or ventilationrequirement based on the actual Sizing:System user input for Type of Load to Size On via SysSizInput(SysSizIndex).LoadSizeType.

                auto const loadSizeType(cAlphaArgs(iLoadTypeSizeAlphaNum));
                if (loadSizeType == "SENSIBLE") {
                    SysSizInput(SysSizIndex).LoadSizeType = Sensible;
                    // } else if ( loadSizeType == "LATENT" ) {
                    // SysSizInput( SysSizIndex ).LoadSizeType = Latent;
                } else if (loadSizeType == "TOTAL") {
                    SysSizInput(SysSizIndex).LoadSizeType = Total;
                } else if (loadSizeType == "VENTILATIONREQUIREMENT") {
                    SysSizInput(SysSizIndex).LoadSizeType = Ventilation;

Example file 5ZoneAutoDXVAV.idf

CoilSizingDetails

Other than that I have no issues with the changes here (other than maybe the location of the new column and if this report should also be included in Coil Sizing Summary).

@mjwitte mjwitte added the OutputChange Code changes output in such a way that it cannot be merged after IO freeze label Aug 19, 2019
@mjwitte
Copy link
Contributor

mjwitte commented Aug 19, 2019

The one referenced at the top of Sizing:System is for the airflow rates, so, I would think that DataSizing::FinalSysSizing(curSysNum).CoolingPeakLoadType is the correct one to use.
This is still a draft PR, and if it's adding a column to an output table, it's not going to get in for v9.2 I/O freeze.

@jmarrec jmarrec marked this pull request as ready for review August 22, 2019 12:29
@mjwitte
Copy link
Contributor

mjwitte commented Aug 28, 2019

@jmarrec Because this changes the structure of an output table, it should have an entry in
src/Transition/OutputRulesFiles/OutputChanges9-2-0-to-9-3-0.md (which would be a new file here in this PR - just copy the prior one and clean out old stuff)

@jmarrec
Copy link
Contributor Author

jmarrec commented Aug 28, 2019

@mjwitte done in e94d988

@rraustad rraustad added the MergeAfterRelease Pull request has been tentatively approved, just can't merge until code is unfrozen label Aug 28, 2019
@Myoldmopar Myoldmopar merged commit 8917cd0 into NREL:develop Sep 28, 2019
@jmarrec jmarrec deleted the Fix_7136_PeakCoil branch October 2, 2019 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Includes code to repair a defect in EnergyPlus MergeAfterRelease Pull request has been tentatively approved, just can't merge until code is unfrozen OutputChange Code changes output in such a way that it cannot be merged after IO freeze
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unclear which peak the outputs of the coil sizing details are referring to
9 participants