Conversation
* rescue files from overloaded git branch * fix due to api tweaks * run black * forgot to add a file * fix test errors * pin coolprop version * update version, disable superancillaries * run black * respond to Marcus's feedback * getting close * address Will's comments * tests for set_scaling_factor * support for unions in python 3.9 * testing the scaling profiler is way too fragile * modify test to be less fragile * remove pdb
* rescue files from overloaded git branch * fix due to api tweaks * run black * forgot to add a file * fix test errors * pin coolprop version * update version, disable superancillaries * run black * respond to Marcus's feedback * getting close * address Will's comments * tests for set_scaling_factor * support for unions in python 3.9 * testing the scaling profiler is way too fragile * modify test to be less fragile * remove pdb * rescue files from branch * towards scaling cv * preliminary testing * scaling by defn constraint * scale constraint by definition constraint * Disable obsolete tests for now * run black * actually add tests * inh * tests for methods rescued from old scaling tools * pylint * test to make sure that value is reverted * Apply suggestions from code review spelling fixes Co-authored-by: Brandon Paul <[email protected]> * additional clarity * more files rescued from branch --------- Co-authored-by: Brandon Paul <[email protected]>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1662 +/- ##
==========================================
+ Coverage 77.11% 77.45% +0.33%
==========================================
Files 395 395
Lines 62909 64760 +1851
Branches 10274 10897 +623
==========================================
+ Hits 48514 50157 +1643
- Misses 11985 12092 +107
- Partials 2410 2511 +101 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* error for unnamed expressions * pylint * default is warning=False * make sure expression walker doesn't emit warnings * rescue files from different branch * tests for scaler base get_scaling_factor
* error for unnamed expressions * pylint * default is warning=False * make sure expression walker doesn't emit warnings * fix get_default_scaling_factor * no build on demand * not every component has lock attribute creation context * rescue files from different branch * avoid duplicate code and add tests * remove unused variable * fix spelling * pylint * changes suggested from review --------- Co-authored-by: Bethany Nicholson <[email protected]>
* rescue files from overloaded git branch * fix due to api tweaks * run black * forgot to add a file * fix test errors * pin coolprop version * update version, disable superancillaries * run black * respond to Marcus's feedback * getting close * address Will's comments * tests for set_scaling_factor * support for unions in python 3.9 * testing the scaling profiler is way too fragile * modify test to be less fragile * remove pdb * rescue files from branch * towards scaling cv * preliminary testing * scaling by defn constraint * scale constraint by definition constraint * Disable obsolete tests for now * run black * actually add tests * inh * tests for methods rescued from old scaling tools * pylint * test to make sure that value is reverted * Apply suggestions from code review spelling fixes Co-authored-by: Brandon Paul <[email protected]> * additional clarity * more files rescued from branch * rescue files from other branch * first tests * tests * additional scaling * more tests * fixes * run black * black on forgotten file * fix failing tests * fix issues when initializing FpcTP * begin scaling for cubic complementarity vle * error for unnamed expressions * pylint * enthalpy of formation test * default is warning=False * make sure expression walker doesn't emit warnings * Cubic complementarity VLE test * avoid auto-construction and run black * new scaling for test_BTIdeal_FcTP * BT ideal test * regularly scheduled scaling has been interrupted by a bug in scaling core * fix get_default_scaling_factor * tests for one more example ported * delegate scaling for solubility product forms * test FcPh * test FcTP * test_FpcTP * test FTPx * FPhx * no build on demand * not every component has lock attribute creation context * no more enth_mol_phase * run black * move to scaler object get scaling factor for future extension * get rid of remaing gsf and pylint changes * Actually scale cubic complementarity VLE and pylint * rescue files from different branch * tests for scaler base get_scaling_factor * remove dependency on fix_gdsf * pylint * maybe pylint will like this better * Is this acceptable to both pylint and black? * stash * fix failing test * black * pylint * minor tweaks * increase test coverage * avoid generation of properties * more test coverage for IdealBubbleDew * Renaming and comments * fix wrong constraint scaling method * reply to review comments * revert legacy test * failing test * improve error message * update authors * forgot to save file * fix exception match * Let's see if three solves is enough * less strict complementarity * xfail --------- Co-authored-by: Brandon Paul <[email protected]>
* adding rstoic and pressure changer scalers and tests * updating pressure changer tests * changing turbine test case * more pressure changer tests * rstoic test cleanup and comment cleanup * remove work_mechanical from pressure changer scaler * added 'propagate_state_scaling' for isentropic properties * added scaling factor tests for rstoic * Apply suggestion from @dallan-keylogic Make sure `overwrite` option is correctly passed --------- Co-authored-by: dallan-keylogic <[email protected]>
* additional test for propagating scaling factors within a block * Control Volume 1D scaler * phase material balance cv0d * test for submodel scaler for blockdata * Tests for flow direction attribute * black and typo * remove unused variables * protected property error message depends on python version * test no override * test propagate scaling factors * additional test coverage
* additional test for propagating scaling factors within a block * Control Volume 1D scaler * phase material balance cv0d * test for submodel scaler for blockdata * Tests for flow direction attribute * black and typo * remove unused variables * protected property error message depends on python version * test no override * test propagate scaling factors * additional test coverage * Mixer scaler * test with inherent reactions * test inlet_blocks * Pylint * Apply suggestion from @bpaul4 Co-authored-by: Brandon Paul <[email protected]> * default_scaler attribute should live on indexed block * Apply suggestion from @dallan-keylogic * Apply suggestion from @dallan-keylogic --------- Co-authored-by: Brandon Paul <[email protected]>
* rescue mscontactor scaler from branch * test geometry scaling * dynamics scaling * Energy balance testing * test inherent reaction scaling * final stage of tests * run black * pylint
* tweak scale_variable_by_definition_constraint to take scaling hints into account * pin pyomo * unused import * failing test * additional coverage * expressions no hints * respond to reviewer comments * more reviewer comments
* rescue from old branch * change methodology to get reference state * beginning testing * more tests * round out separator scaling testing * extract leach solution properties * ideal separation and inherent reaction tests * flash tests * run black * cull unused imports * test failures and unused code * Fully breaks dependence on ControlVolumeScalerBase * remove defunct scaler * black * respond to Marcus's comments * docstring
* cstr scaler class and tests * scale reaction variable to reduce jacobian * remove additional scaler class * run black * remove unused imports for pylint * switch scaler to CV to improve jacobian, clean up old tests * remove commented code * change scaler test to component test
* Scalers objects for the FeedFlash * Update feed_flash.py
* stash * scaler object for Helmholtz properties * increase codecov * review * unused imports
* scalers for the hx1d and pfr * add xfail back
* rescue from old branch * change methodology to get reference state * beginning testing * more tests * round out separator scaling testing * extract leach solution properties * ideal separation and inherent reaction tests * flash tests * run black * cull unused imports * test failures and unused code * Fully breaks dependence on ControlVolumeScalerBase * remove defunct scaler * black * Scaler for feed, product, and state junction * respond to Marcus's comments
* stash * scaler object for Helmholtz properties * increase codecov * stash * sl separator scaler * Valve scaler * spelling mistake * unused import * get rid of commented code * minor change to reset diffs * pylint changes
* feat: add 0d heat exchanger scaler * HX0D scaling * heater scaler * attribution * pylint * avoid reliance on integration tests * review * minor change to reset diffs * revert minor change --------- Co-authored-by: strahlw <[email protected]>
* 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]>
* combintorial explosion * finish scaler * extract electrolyte testing config * fire test * Pylint * unused import * no longer unreachable code * review comments * reviewer comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary/Motivation:
This PR is to compare the work we're doing on the feature branch
scaling_toolboxwith main and to run the CI tests we have to allow us to view CodeCov reports.Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: