-
-
Notifications
You must be signed in to change notification settings - Fork 547
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
Removed sd_a- particle size parameters: mean, standard deviation #3226
Removed sd_a- particle size parameters: mean, standard deviation #3226
Conversation
sd_a
- particle size parameters: mean, standard deviationThis reverts commit 2328efc.
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## develop #3226 +/- ##
===========================================
- Coverage 99.71% 99.71% -0.01%
===========================================
Files 248 248
Lines 18826 18824 -2
===========================================
- Hits 18772 18770 -2
Misses 54 54
☔ View full report in Codecov by Sentry. |
The linkChecker has failed because of a timeout from loading/checking one website. |
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, thanks! Can you also remove the mean and standard deviation parameters where they are added to the parameter set in size_distribution_parameters.py
?
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.
Thanks!
I think I also have to remove the tests that search for the removed parameter to fix the build checks. |
Yes, you need to replace them with a test for a different parameter that should be added by |
Unsuccessful checks:
|
…ze-parameters-mean-sd
Description
Problem:
Particle size parameters like mean/standard deviation are defined but not used, potentially leading to a situation where the user changes it but it will have no effect
Considerations:
-There isn't one mean standard deviation parameter in size_distribution_parameter.py but sd_p and sd_n for the area-weighted standard deviation of positive and negative electrodes respectively.
-
sd_p
andsd_n
cannot be directly removed as they are used in the calculations of R_min and R_max which like you said determine the geometry. We can remove to parameter by assigning the default value of 0.3 in the calculations.Solution:
Removed
sd_a
parameter (area-weighted particle-size standard deviation) from the codebase.Fixes #3219
Type of change
Key checklist:
$ pre-commit run
(see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
$ python run-tests.py --doctest
You can run unit and doctests together at once, using
$ python run-tests.py --quick
.