Schema Version: 0.0.37
Mandatory Rule: TRUE
Rule ID: 11-17
Rule Description: "All buildings that will have service water heating loads must include those loads in the simulation"
Rule Assertion: PASS/FAIL/UNDETERMINED
Appendix G Section Reference: Table G3.1 #1, proposed column, (a)
Evaluation Context: P_RMD - each building segment
Data Lookup:
Function Call:
- get_SWH_bats_and_SWH_use
- get_building_segment_SWH_bat
- get_SWH_uses_associated_with_each_building_segment
- get_component_by_id
- get the building segment service water heating building area type:
swh_bat = get_building_segment_SWH_bat(P_RMD,building_segment)
- check if the building segment has service water heating loads. First create a boolean has_swh_loads and set it to false:
has_swh_loads = false
- get the service water heating uses in the building segment
service_water_heating_use_ids = get_SWH_uses_associated_with_each_building_segment(P_RMD, building_segment.id)
- look at each service water heating use id:
for swh_use_id in service_water_heating_use_ids:
- get the swh_use using get_component_by_ID:
swh_use = get_component_by_ID(P_RMD, swh_use_id)
- check to see if the use has SWH loads:
if swh_use.use > 0:
- set has_swh_loads to TRUE and break out of the loop:
has_swh_loads = TRUE; break;
- set has_swh_loads to TRUE and break out of the loop:
- get the swh_use using get_component_by_ID:
- if the building segment has SWH loads, PASS:
if has_swh_loads: PASS
- if the BAT is UNDETERMINED, then rule outcome is UNDETERMINED and provide a note:
elif swh_bat == 'UNDETERMINED': UNDETERMINED; note = "No SWH loads were simulated. The SWH Building Area type is UNDETERMINED, so this rule cannot assess whether building type is likely to have SWH loads. Recommend manual check to determine if SWH loads should have been simulated based on whether the building will have SWH loads."
- otherwise, check if the BAT is one of ALL_OTHERS, WAREHOUSE or PARKING_GARAGE, rule outcome is UNDETERMINED:
elif: swh_bat in ['ALL_OTHERS', 'WAREHOUSE', 'PARKING_GARAGE']: UNDETERMINED; note = "There are no service water heating loads simulated in this building segment. SWH Building Area type is " + swh_bat + ". Confirm that there will be no service water heating loads in this building segment."
- otherwise, all other cases fail:
else: FAIL; note = "There were no service water heating loads simulated in this building segment. Service water heating loads are expected for Building Area Type: " + swh_bat
- checking this at the proposed model. The check for the baseline model will be done by checking that proposed = baseline in Rule 11-15
- Language on the rule?