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

Feature/esoh model update #2192

Merged
merged 42 commits into from
Jul 27, 2022
Merged

Feature/esoh model update #2192

merged 42 commits into from
Jul 27, 2022

Conversation

valentinsulzer
Copy link
Member

Description

Takes over from #2109

Fixes # (issue)

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

anoushka2000 and others added 30 commits June 16, 2022 10:47
…_update

# Conflicts:
#	examples/notebooks/models/electrode-state-of-health.ipynb
@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Merging #2192 (a5f8687) into develop (9856785) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #2192   +/-   ##
========================================
  Coverage    99.35%   99.35%           
========================================
  Files          347      347           
  Lines        19241    19310   +69     
========================================
+ Hits         19117    19186   +69     
  Misses         124      124           
Impacted Files Coverage Δ
pybamm/solvers/algebraic_solver.py 100.00% <ø> (ø)
...models/full_battery_models/lithium_ion/__init__.py 100.00% <100.00%> (ø)
...s/full_battery_models/lithium_ion/electrode_soh.py 100.00% <100.00%> (ø)
pybamm/simulation.py 98.81% <100.00%> (-0.01%) ⬇️
pybamm/solvers/solution.py 100.00% <100.00%> (ø)

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 9856785...a5f8687. 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.

Looks good! You will have to update CHANGELOG before merging.

return pybamm.AlgebraicSolver()


class ElectrodeSOHx0(pybamm.BaseModel):
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Needs docstring (probably it can be very similar to the old one that has been deleted)

@valentinsulzer valentinsulzer merged commit 468b39f into develop Jul 27, 2022
@valentinsulzer valentinsulzer deleted the feature/esoh_model_update branch September 15, 2022 19:25
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.

3 participants