-
Notifications
You must be signed in to change notification settings - Fork 464
Fix Unitary System Multispeed Heat Pump Not Propagating Error Flag #11433
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26817,6 +26817,18 @@ TEST_F(ZoneUnitarySysTest, ZeroCoolingSpeedTest) | |
| , !- Heat Recovery Water Outlet Node Name | ||
| UnitarySystemPerformance:Multispeed, !- Design Specification Multispeed Object Type | ||
| Sys 1 Furnace DX Cool Unitary System MultiSpeed Performance; !- Design Specification Multispeed Object Name | ||
|
|
||
| UnitarySystemPerformance:Multispeed, | ||
| MultiSpeed Performance, !- Name | ||
| 1, !- Number of Speeds for Heating | ||
| 2, !- Number of Speeds for Cooling | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't match the name of the test ("ZeroCoolingSpeedTest"). @rraustad thoughts on whether this or the test name needs to change?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well first off, the name of this new object,
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch, I thought I corrected that. Just checked locally, and either way, it doesn't appear to matter what the name is. Fun.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It may not matter in this unit test, but I hope it matters in a simulation. I do see that the EXPECT_EQ's are looking for the cooling coil to be off. Whether that's a result of the multispeed performance object (obviously not) or something else is the question. I think the unit test is testing this line so adding a multispeed performance object will likely not change the result.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like getDesignSpecMSHPIndex raises a severe error message and returns a Are there any legitimate cases where we don't find the object, and then just continue on? It seems to me we should either find a valid object, or fatal out. Thoughts?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it would be fair to say that if the inputs are blank then -1 is valid, otherwise a valid object should be found. |
||
| No, !- Single Mode Operation | ||
| , !- No Load Supply Air Flow Rate Ratio | ||
| AutoSize, !- Heating Speed 1 Supply Air Flow Ratio | ||
| AutoSize, !- Cooling Speed 1 Supply Air Flow Ratio | ||
| AutoSize, !- Heating Speed 2 Supply Air Flow Ratio | ||
| AutoSize; !- Cooling Speed 2 Supply Air Flow Ratio | ||
|
|
||
| Coil:Cooling:DX, | ||
| Sys 1 Furnace DX Cool Cooling Coil, !- Name | ||
| Sys 1 Furnace DX Cool Supply Fan Outlet, !- Evaporator Inlet Node Name | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So with this fix how could the original unit test have completed without fatal'ing out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See this comment