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 920 dimensional interp #1028

Merged
merged 11 commits into from
May 29, 2020
9 changes: 8 additions & 1 deletion examples/notebooks/Creating Models/1-an-ode-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,13 @@
"source": [
"In the [next notebook](./2-a-pde-model.ipynb) we show how to create, discretise and solve a PDE model in pybamm."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -271,7 +278,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.5"
"version": "3.6.9"
}
},
"nbformat": 4,
Expand Down
7 changes: 7 additions & 0 deletions examples/notebooks/Creating Models/2-a-pde-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,13 @@
"source": [
"In the [next notebook](./3-negative-particle-problem.ipynb) we build on the example here to to solve the problem of diffusion in the negative electrode particle within the single particle model. In doing so we will also cover how to include parameters in a model. "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,13 @@
"source": [
"In the [next notebook](./4-comparing-full-and-reduced-order-models.ipynb) we consider the limit of fast diffusion in the particle. This leads to a reduced-order model for the particle behaviour, which we compare with the full (Fickian diffusion) model. "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -316,7 +323,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.5"
"version": "3.6.9"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "dbcd70fa09c6404dab80036156401985",
"model_id": "a020dc7cd8574e698ef0e06d4392e689",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -357,6 +357,13 @@
"source": [
"In the [next notebook](./5-a-simple-SEI-model.ipynb) we consider a simple model for SEI growth, and show how to correctly pose the model in non-dimensional form and then create and solve it using pybamm."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -375,7 +382,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.5"
"version": "3.6.9"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "efe1fe18458a42d88056baf689f6da80",
"model_id": "8d9c98b030934135908c6ddd5c92699b",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -635,6 +635,13 @@
"source": [
"The purpose of this notebook has been to go through the steps involved in getting a simple model working within PyBaMM. However, if you plan on reusing your model and want greater flexibility then we recommend that you create a new class for your model. We have set out instructions on how to do this in the \"Adding a Model\" tutorial in the documentation. "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

Large diffs are not rendered by default.

431 changes: 361 additions & 70 deletions examples/notebooks/Getting Started/Tutorial 3 - Basic Plotting.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{
"data": {
"text/plain": [
"<pybamm.solvers.solution.Solution at 0x7fabe3f3e6a0>"
"<pybamm.solvers.solution.Solution at 0x7f648b879828>"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -89,7 +89,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6424823b40b548c8ad170e2e6797b5cb",
"model_id": "a551cd74c2c94180870a552c07bd0715",
"version_major": 2,
"version_minor": 0
},
Expand Down
34 changes: 5 additions & 29 deletions examples/notebooks/compare-comsol-discharge-curve.ipynb

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions examples/notebooks/compare-ecker-data.ipynb

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions examples/notebooks/expression_tree/expression-tree.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,6 @@
"\n",
"After the third stage, our expression tree is now able to be evaluated by one of the solver classes. Note that we have used a single equation above to illustrate the different types of expression trees in PyBaMM, but any given models will consist of many RHS or algebraic equations, along with boundary conditions. See [here](https://github.com/pybamm-team/PyBaMM/blob/master/examples/notebooks/add-model.ipynb) for more details of PyBaMM models."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -227,7 +220,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.7"
"version": "3.6.9"
}
},
"nbformat": 4,
Expand Down
9 changes: 8 additions & 1 deletion examples/notebooks/models/DFN.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "29f22a3ab3bd4ce8825acdd6fb655f36",
"model_id": "c0cb0a7f6d134873aeff4ef5b3a4730a",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -247,6 +247,13 @@
"[1] M. Doyle, T.F. Fuller, and J. Newman. Modeling of galvanostatic charge and discharge of thelithium/polymer/insertion cell.Journal of the Electrochemical society, 140(6):1526–1533, 1993"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
Loading