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

RS/CH/get_zcc #269

Merged
merged 30 commits into from
Mar 15, 2022
Merged

RS/CH/get_zcc #269

merged 30 commits into from
Mar 15, 2022

Conversation

charliepnnl
Copy link
Collaborator

No description provided.

@@ -64,7 +66,7 @@ Logic:
- For each surface in zone: `for surface in zone.surfaces:`

- Check if surface is interior, get adjacent zone: `if surface.adjacent_to == "INTERIOR": adjacent_zone = match_data_element(RMR, zones, surface.adjacent_zone_id)`

**[CH: There is no `surface.fenestration_subsurfaces` field. There is a `surface.subsurfaces` field instead. Subsurface has `opaque_area` and `glazed_area`.]**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Surface.fenestration_subsurfaces is no longer in the schema. I'll correct the calculation below.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is corrected.

@@ -88,7 +90,7 @@ Logic:
- For each space in zone: `for space in zone.spaces:`

- Check if lighting space type is residential, space is classified as residential: `if space.lighting_space_type in ["DORMITORY_LIVING_QUARTERS" , "FIRE_STATION_SLEEPING_QUARTERS", "GUEST_ROOM", "DWELLING_UNIT", "HEALTHCARE_FACILITY_NURSERY", "HEALTHCARE_FACILITY_PATIENT_ROOM"]: space_residential_flag = TRUE`

**[CH: I suggest replacing `space_residential_flag` with `zone_has_residential_spaces` and replacing `space_nonresidential_flag` with `zone_has_residential_spaces`.]**
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll update these.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is updated.

@@ -107,10 +109,10 @@ Logic:

- Else if zone has interior parking spaces, classify zone as unenclosed: `if( space.lighting_space_type == "PARKING_AREA_INTERIOR" for space in zone.spaces ): zone_conditioning_category_dict[zone.id] = "UNENCLOSED"`

- Else if zone is crawlspace, classify zone as unenclosed: `else if ( ( zone.volume / sum( space.floor_area for space in zone.spaces ) ) < CRAWLSPACE_HEIGHT_THRESHOLD ) AND ( ( get_opaque_surface_type(surface) in ["HEATED SLAB-ON-GRADE", "UNHEATED SLAB-ON-GRADE"] ) AND ( surface.adjacent_to == "GROUND" ) for surface in zone.surfaces ): zone_conditioning_category_dict[zone.id] = "UNENCLOSED"` (Note XC, need to check surface != Floor, RDS online not updated)
- Else if zone is crawlspace, classify zone as unenclosed: `else if ( ( zone.volume / sum( space.floor_area for space in zone.spaces ) ) < CRAWLSPACE_HEIGHT_THRESHOLD ) AND ( ( get_opaque_surface_type(surface) in ["HEATED SLAB-ON-GRADE", "UNHEATED SLAB-ON-GRADE"] ) AND ( surface.adjacent_to == "GROUND" ) for `**[CH: insert `any`]**` surface in zone.surfaces ): zone_conditioning_category_dict[zone.id] = "UNENCLOSED"` (Note XC, need to check surface != Floor, RDS online not updated)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll correct this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is corrected. Also deleted the surface.adjacent_to requirement. Heated and unheated slab-on-grades are adjacent to ground by definition.


- Else if zone is attic, classify zone as unenclosed: `else if ( ( get_opaque_surface_type(surface) == "CEILING" ) AND ( surface.adjacent_to == "EXTERIOR" ) for surface in zone.surfaces ): zone_conditioning_category_dict[zone.id] = "UNENCLOSED"`
- Else if zone is attic, classify zone as unenclosed: `else if ( ( get_opaque_surface_type(surface) == "CEILING"`**[CH: ROOF?]**` ) AND ( surface.adjacent_to == "EXTERIOR" ) for `**[CH: insert `any`]**` surface in zone.surfaces ): zone_conditioning_category_dict[zone.id] = "UNENCLOSED"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll correct "Ceiling" to "Roof“ and add any for surfaces.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is corrected.


- Calculate and save total central heating output per floor area for HVAC system to dictionary: `hvac_heat_capacity_dict[hvac_sys_id] = total_central_heat_capacity / hvac_zone_list_w_area_dict[hvac_sys_id]["TOTAL_AREA"]`
- Get heated space criteria: `system_min_heating_output = data_lookup(table_3_2,climate_zone)`

- For each zone in RMR: `for zone in RMR...zones:`

Copy link
Collaborator

Choose a reason for hiding this comment

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

I will need to include zonal cooling output in the calculation below. The schema has been updated to reflect that.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is updated.

Add terminal.cooling_capacity; change fenestration to subsurface; change res/nonres flag name; update crawlspace qualification; correct unenclosed zone qualification;
@weilixu weilixu requested a review from xingcx March 7, 2022 18:00
docs/ruleset_functions/get_zone_conditioning_category.md Outdated Show resolved Hide resolved
]
for subsurface in find_all("subsurfaces[*]", surface)
],
ZERO.U_FACTOR,
)

Copy link
Collaborator

Choose a reason for hiding this comment

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

See comment above about the F-factor & C-factor.

It seems the product of net surface area * surface U-value is not added?

@weilixu
Copy link
Collaborator

weilixu commented Mar 15, 2022

Will merge the ZCC an additional ticket is created to address the ground surfaces in the product sum of heat transfer rate. #362

@weilixu weilixu merged commit feffd67 into develop Mar 15, 2022
@weilixu weilixu deleted the RS/CH/get_zcc branch February 22, 2024 16:26
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.

3 participants