Diagnostics Toolbox Scaling#1697
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## scaling_toolbox #1697 +/- ##
===================================================
+ Coverage 77.40% 77.41% +0.01%
===================================================
Files 395 395
Lines 64629 64698 +69
Branches 10859 10877 +18
===================================================
+ Hits 50026 50088 +62
- Misses 12093 12097 +4
- Partials 2510 2513 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| include_scaling_factors=True, | ||
| include_ipopt_autoscaling=False, |
There was a problem hiding this comment.
Is it problematic if a user sets both of these options to True? If so, an error should be raised in these cases
There was a problem hiding this comment.
No, it's not. Now that we've set the scale_model writer setting to True, the IPOPT autoscaling is an additional layer of scaling on top of the user-provided scaling factors. This option reflects that.
Co-authored-by: MarcusHolly <[email protected]>
agarciadiego
left a comment
There was a problem hiding this comment.
@dallan-keylogic Do we know how this will affect the diagnostics toolbox notebook in idaes/examples?
* first steps to make diagnostics toolbox work with scaling factors * include scaling in model diagnostics * switch get_scaling_factor to using the suffix finder * change in functionality * Suffix is no longer generated from get_scaling_factor * Update idaes/core/scaling/util.py Co-authored-by: MarcusHolly <[email protected]> --------- Co-authored-by: MarcusHolly <[email protected]>
Summary/Motivation:
Changes the Diagnostics Toolbox to take model scaling into account.
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: