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

Rds/kjw/rule 23 6 #880

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Rds/kjw/rule 23 6 #880

wants to merge 3 commits into from

Conversation

KarenWGard
Copy link
Collaborator

updated to use get_dict_of_zones_and_terminal_units_served_by_hvac_sys

@KarenWGard KarenWGard self-assigned this Jan 1, 2023
@KarenWGard KarenWGard changed the base branch from master to develop January 3, 2023 20:26
- loop through the hvac systems in the dictionary: `for hvac_b_id in dict_of_zones_and_terminal_units_served_by_hvac_sys:`
- Check if HVAC system is type 6, 8, 8a, 6b, 8b: `if hvac_b_id in eligible_systems:`
- we do the rule check for each terminal: `for terminal_b_id in dict_of_zones_and_terminal_units_served_by_hvac_sys[hvac_b_id]["Terminal_Unit_List"]:`
- get the terminal unit associated with the id: `terminal_b = match_data_element(B_RMI,Terminal,terminal_b_id)`

Copy link
Collaborator

Choose a reason for hiding this comment

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

I may misunderstood, if the applicability check already filtered out the applicable HVAC systems, why do we need to check for eligibility again at line 44?
We can do:
dict_of_zones_and_terminal_units_served_by_hvac_sys[hvac_b_id]?

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.

2 participants