-
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
Correction of Some Problems in the ChillerHeater Model #10635
Conversation
This commit includes the "design document" for the fix to the chiller heater issue described in #10065.
This commit includes fixes for two separate issues. First, when in heating mode, the evaporator and compressor power was always at full power, not at the power that the condenser needed. Second, there were random times when in simultaneously heating and cooling mode that no evaporator load or compressor energy due to a logic flaw in the code. This should fix those issues though there are probably more issues with this model. This at least addresses those two issues that have caused users problems.
This commit includes unit tests, a couple of fixes to the code that the unit tests uncovered, and some code simplification. This is PR candidate.
After further review of the code and the concepts of minPLR and frac, I realized that this one change was not consistent with the concept and the change was a mistake on my part. This backs out this change and corrects the unit test as well. Now this is PR ready.
@Myoldmopar @mjwitte Ok, this is a significant improvement over what we had before. I think that the bugs noted by the users previously have been fixed now. Not saying that this model is without problems but this should be a good step forward. Let me know if you have any questions or concerns. |
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 looks fine to me. Good testing and description of the issue and changes. And good improvement just for a few dozen lines of code. I'm happy with this.
And CI has just the expected diffs in two files, otherwise clean. I'm inclined to merge, anyone have any issues here? |
No issues. It looks much better than before. |
Pull request overview
NOTE: ENHANCEMENTS MUST FOLLOW A SUBMISSION PROCESS INCLUDING A FEATURE PROPOSAL AND DESIGN DOCUMENT PRIOR TO SUBMITTING CODE
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.