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

Zone design loads #1705

Merged
merged 44 commits into from May 15, 2024
Merged

Zone design loads #1705

merged 44 commits into from May 15, 2024

Conversation

shorowit
Copy link
Contributor

@shorowit shorowit commented May 2, 2024

Pull Request Description

Calculate block design loads at the HPXML Zone level. If no HPXML Zone elements are present, the entire building is treated as a single zone (like before).

TODO:

  • Finalize infiltration/ventilation
  • Decide on duct loads for HPs w/ standalone backup systems
  • Update output files
  • How to handle homes with, e.g., no cooling system or a partial cooling system?
  • Can we use more robust AttachedToSpace checks? See Schematron doc
  • Finalize internal gains
  • Update input/output documentation

Checklist

PR Author: Check these when they're done. Not all may apply. strikethrough and check any that do not apply.

PR Reviewer: Verify each has been completed.

  • Schematron validator (EPvalidator.xml) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

…es are present, the entire building is treated as a single zone.
@shorowit shorowit added the enhancement New feature or request label May 2, 2024
@shorowit shorowit self-assigned this May 2, 2024
@shorowit
Copy link
Contributor Author

shorowit commented May 6, 2024

Action items per our discussion today:

  • Document when AttachedToZone/AttachedToSpace are required
  • Add error-checking for surfaces w/ AttachedToSpace that are attached to an unconditioned space; add validation test
  • Add validation tests where sum(Space) != Building for #Occupants and Sensible/Latent Internal Gains
  • Create GitHub issue around need for more flexibility where cooling system and heating system do not serve the same zone (same set of spaces) Add flexibility for system-level design loads #1706
  • Investigate diffs w/ parent PR
  • Create new PR to better handle ventilation -- issue created at Improve MJ8 infiltration/ventilation #1711
  • Create HPXML test file w/ multiple conditioned zones; add unit tests

cc @yzhou601 @jonwinkler

shorowit and others added 9 commits May 6, 2024 18:38
…dio-HPXML into zone_design_loads

# Conflicts:
#	BuildResidentialHPXML/measure.rb
#	BuildResidentialHPXML/measure.xml
#	HPXMLtoOpenStudio/measure.xml
#	HPXMLtoOpenStudio/resources/hvac_sizing.rb
#	workflow/tests/base_results/results_simulations_energy.csv
#	workflow/tests/base_results/results_simulations_loads.csv
#	workflow/tests/base_results/results_simulations_misc.csv
@shorowit shorowit marked this pull request as ready for review May 15, 2024 03:24
@shorowit shorowit requested a review from yzhou601 May 15, 2024 03:28
base-enclosure-infil-ela.xml,6.8,91.76,36000.0,24000.0,0.0,37830.0,8798.0,7508.0,0.0,575.0,6840.0,0.0,0.0,2148.0,2171.0,9790.0,0.0,20619.0,6126.0,7037.0,0.0,207.0,321.0,0.0,0.0,0.0,2293.0,1314.0,0.0,3320.0,0.0,0.0,0.0,0.0,0.0,0.0
base-enclosure-infil-ela.xml,6.8,91.76,36000.0,24000.0,0.0,37830.0,8798.0,7508.0,0.0,575.0,6840.0,0.0,0.0,2148.0,2171.0,9790.0,0.0,20565.0,6072.0,7037.0,0.0,207.0,321.0,0.0,0.0,0.0,2293.0,1314.0,0.0,3320.0,0.0,-591.0,0.0,-1391.0,0.0,800.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that some of these diffs are because we used to prevent a negative value for latent cooling loads. It's been this way since the initial implementation of MJ8. But I have confirmed with another ACCA accredited software tool that negative values are fine; you can report a negative latent cooling load and the total cooling load can indeed be lowered by a negative latent cooling load.

Copy link
Collaborator

@yzhou601 yzhou601 left a comment

Choose a reason for hiding this comment

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

I haven't run any simulation yet, just reviewing codes and trying to understand the changes. Glad to see much refactoring happening here. Overall they look pretty good. Thorough tests around them. I'm going to approve first, probably will be able to test more during room by room branch review.

HPXMLtoOpenStudio/resources/hpxml.rb Show resolved Hide resolved
HPXMLtoOpenStudio/resources/hpxml_defaults.rb Outdated Show resolved Hide resolved
HPXMLtoOpenStudio/resources/hpxml_defaults.rb Outdated Show resolved Hide resolved
HPXMLtoOpenStudio/resources/hvac_sizing.rb Outdated Show resolved Hide resolved
HPXMLtoOpenStudio/resources/hvac_sizing.rb Show resolved Hide resolved
HPXMLtoOpenStudio/resources/hvac_sizing.rb Outdated Show resolved Hide resolved
HPXMLtoOpenStudio/tests/test_hvac_sizing.rb Outdated Show resolved Hide resolved
HPXMLtoOpenStudio/tests/test_hvac_sizing.rb Show resolved Hide resolved
@yzhou601
Copy link
Collaborator

Latest changes look good to me, everything looks good, for the only remaining question about fenestration procedure, I don't think it's necessary to answer it before merging. I'm fine going with what it is now and we can discuss it later.

@shorowit shorowit merged commit 32f5187 into room-by-room-sizing May 15, 2024
7 checks passed
@shorowit shorowit deleted the zone_design_loads branch May 15, 2024 23:05
@joseph-robertson joseph-robertson mentioned this pull request May 16, 2024
16 tasks
@shorowit shorowit mentioned this pull request May 16, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants