Skip to content
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

#591 fix entropic change bug #702

Merged
merged 3 commits into from
Nov 5, 2019
Merged

Conversation

rtimms
Copy link
Contributor

@rtimms rtimms commented Nov 4, 2019

Description

Fixes a bug where the dimensional open circuit potential was being evaluated using the non-dimensional temperature instead of the dimensional temperature.

Also removed the params such as "Typical diffusivity..." etc from the csv files if a function has been provided. The typical coefficient is hard coded into the function, so changing the value in the csv had no effect and could potentially be confusing for users.

Fixes #591

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s.

  • New feature (non-breaking change which adds functionality)
  • Optimization (back-end change that speeds up the code)
  • Bug fix (non-breaking change which fixes an issue)

Key checklist:

  • No style issues: $ flake8
  • All tests pass: $ python run-tests.py --unit
  • The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.

Further checks:

  • Code is commented, particularly in hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

@codecov
Copy link

codecov bot commented Nov 4, 2019

Codecov Report

Merging #702 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #702      +/-   ##
==========================================
+ Coverage   98.26%   98.26%   +<.01%     
==========================================
  Files         176      176              
  Lines        9106     9108       +2     
==========================================
+ Hits         8948     8950       +2     
  Misses        158      158
Impacted Files Coverage Δ
...bamm/parameters/standard_parameters_lithium_ion.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e8d2b41...f355432. Read the comment docs.

Copy link
Sponsor Member

@brosaplanella brosaplanella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked and solves the problem. Thanks Rob!

@rtimms rtimms merged commit 595a101 into master Nov 5, 2019
@rtimms rtimms deleted the issue-591-entropic-change-bug branch November 5, 2019 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OCP entropic change
2 participants