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 1443 yang model #1446

Merged
merged 6 commits into from
Mar 25, 2021
Merged

Issue 1443 yang model #1446

merged 6 commits into from
Mar 25, 2021

Conversation

valentinsulzer
Copy link
Member

Description

Fixes some parameters in the Yang model

Fixes #1443

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

@valentinsulzer
Copy link
Member Author

Can't request a review from @KennethNwanoro for some reason

Copy link
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.

Looks good, thanks Tino!

> Yang, X., Leng, Y., Zhang, G., Ge, S., Wang, C. (2017). Modeling of lithium plating induced aging of lithium-ion batteries: Transition from linear to nonlinear aging. Journal of Power Sources, 360, 28-40.

Note: this parameter set does not claim to be representative of the true parameter values. Instead these are parameter values that were used to fit SEI models to observed experimental data in the referenced papers.
and references therein

Copy link
Member

Choose a reason for hiding this comment

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

Remove blank line (will fix Codacy)


> Ecker, Madeleine, et al. "Parameterization of a physico-chemical model of a lithium-ion battery i. determination of parameters." Journal of the Electrochemical Society 162.9 (2015): A1836-A1848.

>Ecker, Madeleine, et al. "Parameterization of a physico-chemical model of a lithium-ion battery II. Model validation." Journal of The Electrochemical Society 162.9 (2015): A1849-A1857.
Copy link
Member

Choose a reason for hiding this comment

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

You need a blank space (will fix Codacy)

@KennethNwanoro
Copy link
Contributor

Looks good, I will try the model again when it's merged.
Regards.

@codecov
Copy link

codecov bot commented Mar 25, 2021

Codecov Report

Merging #1446 (0c45082) into develop (e6ffa2d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1446   +/-   ##
========================================
  Coverage    98.28%   98.28%           
========================================
  Files          281      281           
  Lines        16209    16216    +7     
========================================
+ Hits         15931    15938    +7     
  Misses         278      278           
Impacted Files Coverage Δ
pybamm/parameters/geometric_parameters.py 100.00% <ø> (ø)
pybamm/parameters/lead_acid_parameters.py 100.00% <ø> (ø)
pybamm/parameters/parameter_sets.py 100.00% <ø> (ø)
...ybamm/models/submodels/interface/base_interface.py 99.61% <100.00%> (+<0.01%) ⬆️
...odels/submodels/tortuosity/bruggeman_tortuosity.py 100.00% <100.00%> (ø)
pybamm/parameters/lithium_ion_parameters.py 100.00% <100.00%> (ø)
pybamm/parameters/parameter_values.py 99.43% <100.00%> (+<0.01%) ⬆️

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 e6ffa2d...0c45082. Read the comment docs.

@valentinsulzer valentinsulzer merged commit 42486f8 into develop Mar 25, 2021
@valentinsulzer valentinsulzer deleted the issue-1443-yang-model branch March 25, 2021 21:27
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.

Some fixes for the Yang model
3 participants