#11566: ZoneHVAC:HybridUnitaryHVAC - Return Air constraints not referenced#11576
Draft
kevin-moos wants to merge 3 commits intoNatLabRockies:developfrom
Draft
#11566: ZoneHVAC:HybridUnitaryHVAC - Return Air constraints not referenced#11576kevin-moos wants to merge 3 commits intoNatLabRockies:developfrom
kevin-moos wants to merge 3 commits intoNatLabRockies:developfrom
Conversation
rraustad
reviewed
May 4, 2026
| OAHRConstraintmet = true; | ||
| } | ||
| bool RATempConstraintMet = (Minimum_Return_Air_Temperature_Blank || Tra >= Minimum_Return_Air_Temperature) && | ||
| (Minimum_Return_Air_Temperature_Blank || Tra <= Maximum_Return_Air_Temperature); |
Collaborator
There was a problem hiding this comment.
Should the 2nd Minimum_RA_Temp_Blank be Max?
Contributor
Author
There was a problem hiding this comment.
Yes, thanks for catching that one!
rraustad
reviewed
May 4, 2026
| if (Tosa >= Minimum_Outdoor_Air_Temperature && Tosa <= Maximum_Outdoor_Air_Temperature) { | ||
| OATempConstraintmet = true; | ||
| } | ||
| bool OATempConstraintMet = (Tosa >= Minimum_Outdoor_Air_Temperature && Tosa <= Maximum_Outdoor_Air_Temperature); |
Collaborator
There was a problem hiding this comment.
Doesn't OAT have the same issue with a blank Min/Max OAT? I also don't see how the other default limits are applied? e.g., Min/Max humrat of 0.0 and 0.1 or RH of 0% and 100%, where do these get set? All these CMode::Initialize functions just return true, so how do any of the warnings following these function calls get executed? i.e., lines 610, 618 and 628.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request overview
Description of the purpose of this PR
Add logic to check Return Air constraints for temperature, humidity ratio, and relative humidity. Add bools to track whether Min/Max Return Temp constraints were left blank in the IDF. Update logic to ignore these constraints when left blank.
Pull Request Author
Reviewer