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

Issue 573 implement LGM50 #854

Merged

Conversation

brosaplanella
Copy link
Sponsor Member

Description

Addition of the LGM50 parameter set from

Chang-Hui Chen, Ferran Brosa Planella, Kieran O’Regan, Dominika Gastol, W. Dhammika Widanage, and Emma Kendrick. "Development of Experimental Techniques for Parameterization of Multi-scale Lithium-ion Battery Models." Submitted for publication (2020).

Fixes #573

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. If necessary, also add to the list of breaking changes.

  • 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 Feb 25, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@d34816f). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #854   +/-   ##
=========================================
  Coverage          ?   98.24%           
=========================================
  Files             ?      180           
  Lines             ?    10277           
  Branches          ?        0           
=========================================
  Hits              ?    10097           
  Misses            ?      180           
  Partials          ?        0
Impacted Files Coverage Δ
...bamm/parameters/standard_parameters_lithium_ion.py 100% <ø> (ø)
pybamm/parameters/parameter_sets.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 d34816f...f62efc8. Read the comment docs.

Copy link
Contributor

@rtimms rtimms left a comment

Choose a reason for hiding this comment

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

looks great thanks @ferranbrosa ! just a few minor comments

diffusivity is taken to be a constant. The value is taken from [1].
References
----------
.. [1] Work in progress
Copy link
Contributor

Choose a reason for hiding this comment

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

is this the paper in the readme? info could be added here if so

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

Done!

Reaction rate for Butler-Volmer reactions between graphite and LiPF6 in EC:DMC.
References
----------
.. [1] Work in progress
Copy link
Contributor

Choose a reason for hiding this comment

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

as above

+ (0.0155 / (0.029 * c_n_max)) * ((cosh((sto - 0.105) / 0.029)) ** (-2))
)

return du_dT * 0
Copy link
Contributor

Choose a reason for hiding this comment

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

you should just be able to return 0*sto (and remove the unnecessary function for du_dT), or alternatively just set this to be zero in the .csv instead of a [function] and it should work too. the latter is probably cleaner

"cathode": "nmc_Chen2020",
"electrolyte": "lipf6_Nyman2008",
"experiment": "1C_discharge_from_full_Chen2020",
}
Copy link
Contributor

Choose a reason for hiding this comment

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

take a look at the latest master (see PR #818)-- you can add a reference here so people know to cite your paper if they use your parameter set

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

I talked to @tinosulzer and he said he would do so after the PR is merged.

@codecov
Copy link

codecov bot commented Feb 25, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@d34816f). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #854   +/-   ##
=========================================
  Coverage          ?   98.24%           
=========================================
  Files             ?      180           
  Lines             ?    10277           
  Branches          ?        0           
=========================================
  Hits              ?    10097           
  Misses            ?      180           
  Partials          ?        0
Impacted Files Coverage Δ
...bamm/parameters/standard_parameters_lithium_ion.py 100% <ø> (ø)
pybamm/parameters/parameter_sets.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 d34816f...f62efc8. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Feb 25, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@d34816f). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #854   +/-   ##
=========================================
  Coverage          ?   98.24%           
=========================================
  Files             ?      180           
  Lines             ?    10277           
  Branches          ?        0           
=========================================
  Hits              ?    10097           
  Misses            ?      180           
  Partials          ?        0
Impacted Files Coverage Δ
...bamm/parameters/standard_parameters_lithium_ion.py 100% <ø> (ø)
pybamm/parameters/parameter_sets.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 d34816f...f62efc8. Read the comment docs.

@valentinsulzer
Copy link
Member

Thanks @ferranbrosa , looks great! Merging

@valentinsulzer valentinsulzer merged commit d35e94b into pybamm-team:master Feb 25, 2020
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.

add LG M50 parameter set
3 participants