Skip to content

Conversation

@KarenWGard
Copy link
Collaborator

updated to reflect schema changes for open229/ruleset-model-description-schema#349

- create the list for this building segment: `swh_uses_dict[bldg_seg.id] = []`
- look at each swh use in the building segment: `for swh_use in bldg_seg.service_water_heating_uses:`
- append the swh use id to the bldg_seg list: `swh_uses[bldg_seg.id].append(swh_use.id)`
- look at each space in the building segment: `for space in build_seg...spaces:`
Copy link
Collaborator

@yunjoonjung-PNNL yunjoonjung-PNNL May 30, 2025

Choose a reason for hiding this comment

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

@KarenWGard Here are my understanding of this change.

  1. The description in line 9 says a list service_water_heating_uses objects, but what this implementation does is to have a list of swh_use ids, which is different from what the description says.
  2. If we make this change, the 11-11, 11-12 rules have an error. How would you handle this?

@weilixu weilixu merged commit f4b91a8 into develop Aug 5, 2025
2 checks passed
@weilixu weilixu deleted the RDS/KJW/function_get_SWH_uses_associated_with_each_building_segment branch August 5, 2025 17:49
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.

5 participants