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

Implement new workflow to search constructions. #1255

Merged
merged 4 commits into from Jan 25, 2022

Conversation

weilixu
Copy link
Collaborator

@weilixu weilixu commented Jan 18, 2022

The construction search in 90.1-2004 depends on min & max percent of surface.
The fix introduces a new workflow that added a new method called model_get_percent_of_surface_range, and it enables flexibility in identifying construction based on window to wall ratio by adding two search criteria: minimum_percent_of_surface and max_percent_of_surface.

The default behavior of this function returns nil for both min&max percent of surface. The detail implementation shall be overriden in the each individual routine (90.1-2004).

Add 90.1-2004 to test_small_office test set.

Tests has run locally for All ASHRAE prototype & baseline.

The new workflow added a new method called model_get_percent_of_surface_range, and it enables flexibility in identify construction based on window to wall ratio by adding two search criteria: minimum_percent_of_surface and max_percent_of_surface.
The default behavior of this function returns nil for both min&max percent of surface. The detail implementation shall be overriden in the each individual routine (90.1-2004 for example).
Add 90.1-2004 to test_small_office test set.
@weilixu weilixu requested a review from lymereJ January 18, 2022 16:33
…into OSSTD266-ExteriorWindowLookupFor9012004
@@ -3,7 +3,7 @@

class TestSmallOffice < CreateDOEPrototypeBuildingTest
building_types = ['SmallOffice']
templates = ['DOE Ref Pre-1980','DOE Ref 1980-2004','90.1-2007','90.1-2013','90.1-2016','90.1-2019']
templates = ['DOE Ref Pre-1980','DOE Ref 1980-2004','90.1-2004','90.1-2007','90.1-2013','90.1-2016','90.1-2019']
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's maybe remove 90.1-2004 from the list so templates is consistent with the other building types.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

90.1-2004 is removed.

@mdahlhausen mdahlhausen merged commit 6f11187 into master Jan 25, 2022
@mdahlhausen mdahlhausen deleted the OSSTD266-ExteriorWindowLookupFor9012004 branch January 25, 2022 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants