Skip to content

Commit

Permalink
Issue 2219 initial soc from experiment (#2851)
Browse files Browse the repository at this point in the history
* Added initial soc example

* rpt example

* first draft of rpt code hackthon

* Hackathon: new notebook complete

* Renamed notebook to avoid merge conflicts

* Reverted notebook to original name

* changelog

* Deleted redundant notebook

* Added discharge capacity scatter plot to notebook

* changelog

* Moved RPT notebook to where it belongs

* Added rpt-experiment to index.rst

* Updated notebook to follow new rule

* minor change to notebook

---------

Co-authored-by: Robert Timms <[email protected]>
Co-authored-by: GaneshM <[email protected]>
  • Loading branch information
3 people authored Oct 3, 2023
1 parent 6699f31 commit 4265569
Show file tree
Hide file tree
Showing 4 changed files with 433 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Processed variables now get the spatial variables automatically, allowing plotting of more generic models ([#3234](https://github.com/pybamm-team/PyBaMM/pull/3234))
- Numpy functions now work with PyBaMM symbols (e.g. `np.exp(pybamm.Symbol("a"))` returns `pybamm.Exp(pybamm.Symbol("a"))`). This means that parameter functions can be specified using numpy functions instead of pybamm functions. Additionally, combining numpy arrays with pybamm objects now works (the numpy array is converted to a pybamm array) ([#3205](https://github.com/pybamm-team/PyBaMM/pull/3205))
- Implement the MSMR model ([#3116](https://github.com/pybamm-team/PyBaMM/pull/3116))
- Added new example notebook `rpt-experiment` to demonstrate how to set up degradation experiments with RPTs ([#2851](https://github.com/pybamm-team/PyBaMM/pull/2851))

## Bug fixes

Expand Down
1 change: 1 addition & 0 deletions docs/source/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ The notebooks are organised into subfolders, and can be viewed in the galleries
notebooks/callbacks.ipynb
notebooks/change-settings.ipynb
notebooks/initialize-model-with-solution.ipynb
notebooks/rpt-experiment.ipynb
notebooks/simulating-long-experiments.ipynb
notebooks/simulation-class.ipynb
notebooks/solution-data-and-processed-variables.ipynb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "pybamm",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -325,7 +325,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.8.10"
},
"toc": {
"base_numbering": 1,
Expand Down
429 changes: 429 additions & 0 deletions docs/source/examples/notebooks/rpt-experiment.ipynb

Large diffs are not rendered by default.

0 comments on commit 4265569

Please sign in to comment.