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
Open

Rule Test 11-6 #1522

wants to merge 9 commits into from

Conversation

jugonzal07
Copy link
Contributor

First cut at rule test 11-6

"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_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.

Copy link
Collaborator

@yunjoonjung-PNNL yunjoonjung-PNNL left a comment

Choose a reason for hiding this comment

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

Looks great to me. Thank you Juan!

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