Initializes nrcan_446 branch: skylights & wells #1854
+47
−39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request overview
Description
BTAP is currently limited in how/where it adds NECB-required skylights in OpenStudio models (e.g. SRR 5% for NECB2011). Outstanding limitations include sloped roofs, narrow/concave roof surfaces, plenum/attic cases (requiring skylight wells). These initial limitations are understandable, given the challenges of dealing with odd or finely-grained geometry - no walk in the park. Yet without a general solution, BTAP remains unable to quantify (to the full extent) energy/carbon savings (or more commonly penalties) from code-required skylights in NECB reference buildings.
Approach
The solution is part of the OSut gem, a TBD dependency (TBD is now a standard OpenStudio gem, and is distributed with BTAP/OpenStudio-Standards). OSut's addSkylights method tackles the above limitations. It can fail with invalid geometry (e.g. some of the DND models!), or if the model geometry is, let's say, unreasonable (e.g. just a bunch of closets, or where all roof surfaces are heavily tessellated or subdivided as strips the width of a desk). This unfortunately may happen with 3rd-party models! Easiest to consult related OSut PRs, here & here.
Testing Plan
OSut's addSkylights is already heavily tested: e.g. OSut RSpec, as well tests on ALL DND projects (private repo, some BTAP staff have access). Specific BTAP unit tests are nonetheless needed. Existing regression tests will need to be updated, as the implications of a general solution are somewhat far reaching (e.g. automatic photocell placement, heating/cooling sizing, resulting energy use + carbon emissions).
Related issues
This work may solve the concerns raised here & here - not sure.
Pull Request Author
bundle exec rake doc
)bundle exec rake rubocop
)require
statements, ensure these are in core ruby or add to the gemspecReview Checklist
This will not be exhaustively relevant to every PR.