-
Notifications
You must be signed in to change notification settings - Fork 292
Add holdup initialization to MSContactor #1707
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
Add holdup initialization to MSContactor #1707
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1707 +/- ##
==========================================
- Coverage 77.44% 77.43% -0.01%
==========================================
Files 395 395
Lines 64792 64810 +18
Branches 10902 10908 +6
==========================================
+ Hits 50178 50187 +9
- Misses 12099 12108 +9
Partials 2515 2515 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@dallan-keylogic putting this not on the Nov release but the Feb release. |
bpaul4
left a comment
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.
Looks good to me.
| for stream in model.streams: | ||
| holdup_var = getattr(model, stream + "_material_holdup") | ||
| holdup_eqn = getattr(model, stream + "_material_holdup_constraint") | ||
| # calculate_variable_from_constraint(holdup_var, holdup_eqn) |
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.
Remove?
Summary/Motivation:
This PR adds additional initialization behavior for the MSContactor when
has_holdup=True.Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: