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

Rule Test 11-6 #1522

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"rule-11-6-a": {
"Section": 11,
"Rule": 6,
"Test": "a",
"test_description": "A one story building, single zone building has service hot water piping. The service hot water piping losses are correctly modeled.",
"expected_rule_outcome": "pass",
"standard": {
"rule_id": "11-6",
"ruleset_reference": "Table G3.1 #11, baseline column, i",
"rule_description": "Piping losses shall not be modeled.",
"applicable_rmr": "Baseline Model",
"rule_assertion": "=",
"comparison_value": "Expected Value",
"mandatory_rule": "No",
"schema_version": "0.0.34"
},
"rmd_transformations": {
"baseline": {
"id": "ASHRAE229 1",
"calendar": {
"is_leap_year": false
},
"data_timestamp": "2024-02-12T12:00Z",
"ruleset_model_descriptions": [
{
"id": "RMD 1",
"buildings": [
{
"id": "Building 1",
"building_segments": [
{
"id": "Building Segment 1",
"zones": [
{
"id": "Thermal Zone 1",
"floor_name": "Floor1",
"spaces": [
{
"id": "Space 1",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@jugonzal07 jugonzal07 Sep 12, 2024

Choose a reason for hiding this comment

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

Great catch, thanks Yun Joon. The service water heating distribution should now be linked for the space

"service_water_heating_uses": [
{
"id": "SHW 1",
"served_by_distribution_system": "SHW Distribution 1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe the value of served_by_distribution_system should be the same as the value of the id under the service_water_piping. Could you check?

Copy link
Contributor Author

@jugonzal07 jugonzal07 Sep 13, 2024

Choose a reason for hiding this comment

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

Hi Yun Joon,

The schema seems to indicate that this should match with a ServiceWaterHeatingDistributionSystem and not a
ServiceWaterPiping

https://github.com/pnnl/ruleset-checking-tool/blob/RT/JG/ruletest_11_6/rct229/schema/ASHRAE229.schema.json#L4765

Let me know if this complicates things on you all's end, but I believe this implementation is correct. Let me know if you all think overwise.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Juan, You're right. Thank you for pointing this out. I'll correct the 11-6 rule.

}
]
}
]
}
]
}
]
}
],
"service_water_heating_distribution_systems": [
{
"id": "SHW Distribution 1",
"service_water_piping": [
{
"id": "SHW Piping 1",
"are_thermal_losses_modeled": true
Copy link
Collaborator

@yunjoonjung-PNNL yunjoonjung-PNNL Sep 17, 2024

Choose a reason for hiding this comment

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

Can you flip the case (a) and (b)'s boolean value? This is because False is pass and True is fail, as shown bottom of the 11-6 RDS (https://github.com/pnnl/ruleset-checking-tool/blob/develop/docs/section11/Rule11-6.md#:~:text=Case1%3A%20piping%20losses%20are%20not%20modeled%2C%20PASS%3A%20if%20!piping_losses_modeled%3A%20PASS)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

bah! Yes, I got them mixed up. Thanks Yun Joon. I will add that in my next push.

}
]
}
],
"type": "BASELINE_0"
}
]
}
}
},
"rule-11-6-b": {
"Section": 11,
"Rule": 6,
"Test": "b",
"test_description": "A one story building, single zone building has service hot water piping. The service hot water piping losses are not modeled.",
"expected_rule_outcome": "fail",
"standard": {
"rule_id": "11-6",
"ruleset_reference": "Table G3.1 #11, baseline column, i",
"rule_description": "Piping losses shall not be modeled.",
"applicable_rmr": "Baseline Model",
"rule_assertion": "=",
"comparison_value": "Expected Value",
"mandatory_rule": "No",
"schema_version": "0.0.34"
},
"rmd_transformations": {
"baseline": {
"id": "ASHRAE229 1",
"calendar": {
"is_leap_year": false
},
"data_timestamp": "2024-02-12T12:00Z",
"ruleset_model_descriptions": [
{
"id": "RMD 1",
"buildings": [
{
"id": "Building 1",
"building_segments": [
{
"id": "Building Segment 1",
"zones": [
{
"id": "Thermal Zone 1",
"floor_name": "Floor1",
"spaces": [
{
"id": "Space 1",
"service_water_heating_uses": [
{
"id": "SHW 1",
"served_by_distribution_system": "SHW Distribution 1"
}
]
}
]
}
]
}
]
}
],
"service_water_heating_distribution_systems": [
{
"id": "SHW Distribution 1",
"service_water_piping": [
{
"id": "SHW Piping 1",
"are_thermal_losses_modeled": false
}
]
}
],
"type": "BASELINE_0"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
"output_validation_points": "ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/zones[0]/terminals[0]/fan/output_validation_points",
"preheat_system": "ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/heating_ventilating_air_conditioning_systems[0]/preheat_system",
"pumps": "ruleset_model_descriptions[0]/pumps",
"sensible_cool_capacity": "ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/heating_ventilating_air_conditioning_systems[0]/cooling_system/sensible_cool_capacity",
"schedules": "ruleset_model_descriptions[0]/schedules",
"sensible_cool_capacity": "ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/heating_ventilating_air_conditioning_systems[0]/cooling_system/sensible_cool_capacity",
"service_water_heating_distribution_systems": "ruleset_model_descriptions[0]/service_water_heating_distribution_systems",
"service_water_piping":"ruleset_model_descriptions[0]/service_water_heating_distribution_systems[0]/service_water_piping",
"service_water_heating_uses":"ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/zones[0]/spaces[0]/service_water_heating_uses",
"spaces": "ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/zones[0]/spaces",
"subsurfaces": "ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/zones[0]/surfaces[0]/subsurfaces",
"surfaces": "ruleset_model_descriptions[0]/buildings[0]/building_segments[0]/zones[0]/surfaces",
Expand Down
6 changes: 5 additions & 1 deletion rct229/schema/ASHRAE229.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4226,6 +4226,10 @@
"description": "Indicates if service water heating piping is a loop and recirculates",
"type": "boolean"
},
jugonzal07 marked this conversation as resolved.
Show resolved Hide resolved
"are_thermal_losses_modeled": {
"description": "Indicates if thermal losses from the service water heating piping are modeled",
"type": "boolean"
},
"insulation_thickness": {
"description": "Pipe insulation thickness",
"type": "number",
Expand Down Expand Up @@ -5080,4 +5084,4 @@
},
"version": "0.0.36",
"$ref": "ASHRAE229.schema.json#/definitions/RulesetProjectDescription"
}
}
Loading