-
Notifications
You must be signed in to change notification settings - Fork 460
Fix excess fluid properties warnings leading to huge err file size #10939
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
Conversation
| // Error handling | ||
| if (error != GlycolError::Invalid && !state.dataGlobal->WarmupFlag) { | ||
| df->glycolErrorLimits[(int)error] = this->errors[(int)error].count; | ||
| df->glycolErrorLimits[(int)error] = ++this->errors[(int)error].count; |
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.
Why is df->glycolErrorLimits[ ] even needed? Line 4201 could be:
if (++this->errors[(int)error].count <= df->GlycolErrorLimitTest) {
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.
That's a fine question, but this definitely cleaned up those files. I'm going to get this merged but if you want to continue investigating if glycolErrorLimits is really needed, that can happen later.
|
|
Thanks to CI for finding a defect file. PipeHeatTransfer_Outair shows the issue with a 71 kB err file. This branch shows a 4 kB error file: |
Pull request overview
Description of the purpose of this PR
Pull Request Author
Reviewer