-
Notifications
You must be signed in to change notification settings - Fork 398
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
UnitarySystem set point based control of humidity not working correctly #6892
Comments
@rraustad For this, I see three options to fix:
|
I would rather set the node conditions at the end of the calc routine so that the sim function didn't need to be called during iterations. The methodology of using Init, Calc, Update, and Report to do specific things did not take into account that it would be faster to just iterate on the Calc routine and then call the Sim function after iterations have converged. Or the 4th option is to use the DXCoilOutletTemp and DXCoilOutletHumRat variables instead of the node conditions in the UnitarySystem (although the water coils don't use these variables, should have been more generic) but it seems like more work. At bottom of DX Calc functions is:
|
OK, I'll do that. So, if the Calc function sets the leaving node conditions, can that be removed from the Report function? |
Actual, the Update function, but never mind, won't touch that, will just add to the calc functions for now. |
Added these lines to
And this works great - at least for |
Closed via #7215 |
Issue overview
Testing of new AirLoopHVAC:UnitarySystem shows incorrect logic when checking for outlet humidity level.
Line 10766 of UnitarySystem.cc
However, SolveRoot iterates on PLR via function DOE2DXCoilResidual (doesn't use SimDXCoil) and does not set the outlet node humidity ratio which is set in Report for DXCoils. So here, the OutletHumRatDXCoil shows the last iterations humrat. This may also be happening for other coil types. I thought at one point that the node conditions were set at the end of the CalcDOE2 routine but don't see that now.
Details
Some additional details for this issue (if relevant):
Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
The text was updated successfully, but these errors were encountered: