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 1651 remove domain #1654

Merged
merged 7 commits into from Sep 13, 2021
Merged

Issue 1651 remove domain #1654

merged 7 commits into from Sep 13, 2021

Conversation

valentinsulzer
Copy link
Member

Description

Fixes #1651

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 Sep 10, 2021

Codecov Report

Merging #1654 (c960d20) into develop (6dc1335) will increase coverage by 0.01%.
The diff coverage is 99.86%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1654      +/-   ##
===========================================
+ Coverage    99.26%   99.27%   +0.01%     
===========================================
  Files          343      342       -1     
  Lines        18677    18717      +40     
===========================================
+ Hits         18540    18582      +42     
+ Misses         137      135       -2     
Impacted Files Coverage Δ
pybamm/__init__.py 94.87% <ø> (-0.13%) ⬇️
pybamm/expression_tree/symbol.py 98.98% <ø> (+0.73%) ⬆️
...s/graphite_Ai2020/graphite_cracking_rate_Ai2020.py 100.00% <ø> (ø)
...aphite_Ai2020/graphite_diffusivity_Dualfoil1998.py 100.00% <ø> (ø)
...s/graphite_Ai2020/graphite_volume_change_Ai2020.py 100.00% <ø> (ø)
...ctrodes/lico2_Ai2020/lico2_cracking_rate_Ai2020.py 100.00% <ø> (ø)
...ctrodes/lico2_Ai2020/lico2_volume_change_Ai2020.py 100.00% <ø> (ø)
...s/full_battery_models/lithium_ion/electrode_soh.py 100.00% <ø> (ø)
...tery_models/lithium_ion/electrode_soh_half_cell.py 100.00% <ø> (ø)
...amm/models/full_battery_models/lithium_ion/spme.py 100.00% <ø> (ø)
... and 85 more

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 4ceb334...c960d20. 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.

thanks, @tinosulzer !

" 'Negative electrode lithium plating interfacial current density [A.m-2]',\n",
" 'X-averaged negative electrode lithium plating interfacial current density',\n",
" 'X-averaged negative electrode lithium plating interfacial current density [A.m-2]',\n",
" 'lithium plating concentration',\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

Very minor, but should "lithium" have a capital "L" for consistency with other names?

model.submodels["negative sei"] = pybamm.sei.NoSEI(model.param, "Negative")
model.submodels["positive sei"] = pybamm.sei.NoSEI(model.param, "Positive")
model.submodels["negative sei"] = pybamm.sei.NoSEI(model.param)
model.submodels["positive sei"] = pybamm.sei.NoSEI(model.param)
Copy link
Contributor

Choose a reason for hiding this comment

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

can this be removed? looks like we don't need to set it in the lithium-ion models anymore?

@valentinsulzer valentinsulzer merged commit fd864c0 into develop Sep 13, 2021
@valentinsulzer valentinsulzer deleted the issue-1651-remove-domain branch September 13, 2021 16:57
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.

Remove "domain" argument from SEI and li plating
2 participants