-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add section 1 rule 6 #1607
Add section 1 rule 6 #1607
Conversation
|
||
return { | ||
"comparison_result": comparison_result, | ||
"error_msg_list": error_msg_list, | ||
"has_renewable": sum(renewable_annual_site_energy_use_list) > ZERO.ENERGY, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is the type of renewable_annual_site_energy_use_list
is a list of list - Should we use list comprehension or flatten the list to sum up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I will update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made one comment - I'd appreciate it if you could double-check it. Thanks!
… into RS/WX/update_1_6 # Conflicts: # rct229/rulesets/ashrae9012019/section1/section1rule6.py
…lidation is failing for an unknown reason. Manual review shows no errors.
…ation and pass rule 1-6.
…e comparisons might sometimes fail because "in" means something different for a list than a string. Ruletest 1-8 returns a list that had the correct message, but it was not a string and therefore the comparison was failing.
Ruletest 1-6 update, renumber old 1-6, 1-7
Fixed in #1629 |
This is draft implementation.
The rules are renumbered:
Original 1-6 -> 1-7
Original 1-7 -> 1-8
New 1-6 is added: #1570
This PR is putting on hold for review. The schema element: energysource does not have ON_SITE_RENEWABLE enum in the latest RES.