-
Notifications
You must be signed in to change notification settings - Fork 390
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
Allow ZoneHVAC:WindowAirConditioner
with Airflow Network simulations
#10617
Conversation
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.
Walkthrough:
|
||
// Skip Window AC with no OA | ||
if (GetWindowACNodeNumber(m_state, i)) { | ||
NodeFound(i) = true; | ||
WindowACFound = true; | ||
} |
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.
Use the same approach as before by calling a function that checks if a node is part of a ZoneHVAC:WindowAirConditioner
and if so allows it to exist without being part of the AFN.
if (windowAC.OutAirVolFlow == 0) { | ||
windowACOutdoorAir = true; | ||
} else { | ||
windowACOutdoorAir = false; | ||
} |
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.
Only allow ZoneHVAC:WindowAirConditioner
s that do not provide outdoor air to not interfere with the AFN.
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.
This is using the same approach that we agreed upon for the other components that fall into the "unsupported equipment" category (in retrospect, maybe that wasn't the best name to choose, but it's OK), so this looks good to me.
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.
Yeah this looks all good.
} | ||
} | ||
return false; | ||
} |
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.
I could nitpick here,
windowACOutdoorAir = windowAC.OutAirVolFlow == 0;
- Why are you declaring the node indexes equal to zero and immediately reassigning them?
- The logic in the node number IF check is pretty difficult to read, could it be written in a more meaningful/readable way?
None of these are actual requests unless there is other work that needs done.
All happy with develop pulled in, let's get this merged. Thanks @lymereJ and @jasondegraw |
…and docs, and address comments from #10617.
Follow up to #10617 and allow other `ZoneHVAC:*` component with Airflow Network simulations
Pull request overview
This pull request allows simulations using the Airflow Network feature to proceed if a
ZoneHVAC:WindowAirConditioner
is included in a model only and only if its outdoor air flow rate is 0.Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.