Skip to content

Issue 2219 initial soc from experiment - #2851

Merged
brosaplanella merged 24 commits into
pybamm-team:developfrom
DrSOKane:issue-2219-initial-SoC-from-experiment
Oct 3, 2023
Merged

brosaplanella merged 24 commits into
pybamm-team:developfrom
DrSOKane:issue-2219-initial-SoC-from-experiment

Conversation

@DrSOKane

@DrSOKane DrSOKane commented Apr 3, 2023

Copy link
Copy Markdown
Contributor

Description

Added new rpt-experiment notebook to demonstrate how to set up degradation experiments with reference performance tests (RPTs).

Fixes #2219

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: $ pre-commit run (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
  • All tests pass: $ python run-tests.py --all
  • The documentation builds: $ python run-tests.py --doctest

You can run unit and doctests together 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

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@codecov

codecov Bot commented Apr 3, 2023

Copy link
Copy Markdown

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (3c48029) 99.56% compared to head (2e8e8ec) 99.56%.
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2851   +/-   ##
========================================
  Coverage    99.56%   99.56%           
========================================
  Files          253      253           
  Lines        19559    19559           
========================================
  Hits         19474    19474           
  Misses          85       85           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rtimms

rtimms commented May 2, 2023

Copy link
Copy Markdown
Contributor

@DrSOKane @ganmad do you know what happened to the version of this notebook with the additional custom plots (can’t remember exactly what they were)? that would be a nice addition

@DrSOKane

DrSOKane commented May 2, 2023

Copy link
Copy Markdown
Contributor Author

@DrSOKane @ganmad do you know what happened to the version of this notebook with the additional custom plots (can’t remember exactly what they were)? that would be a nice addition

Do you mean this one by Ganesh? https://github.com/ganmad/PyBaMM-Local/blob/issue-2219-initial-SoC-from-experiment/examples/notebooks/rpt-experiment.ipynb

@rtimms

rtimms commented May 2, 2023

Copy link
Copy Markdown
Contributor

yes, thanks! would be good to add those with some explanation

@ganmad

ganmad commented May 2, 2023 via email

Copy link
Copy Markdown
Contributor

@@ -0,0 +1,424 @@
{

@brosaplanella brosaplanella Aug 16, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A few minor style comments:

  • Use bullet points (* in markdown)
  • Format the variables (e.g. cccv_experiment) as inline code, using ` before and after the variable.

Reply via ReviewNB

@brosaplanella
brosaplanella requested a review from rtimms August 16, 2023 15:38

@brosaplanella brosaplanella left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks Simon! Looks good to me, just a small style comment. It would be good to get @rtimms review before merging.

@rtimms

rtimms commented Sep 22, 2023

Copy link
Copy Markdown
Contributor

Thanks, @DrSOKane looks good! I think the notebook text could be updated to give a better explanation of what is being done and why, but otherwise good to go!

@brosaplanella
brosaplanella merged commit 4265569 into pybamm-team:develop Oct 3, 2023
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.

Calculate initial_soc from model states

4 participants