From 9a7282c1c973e851aaf63d16f73616b95e121379 Mon Sep 17 00:00:00 2001 From: NicolaCourtier <45851982+NicolaCourtier@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:50:00 +0100 Subject: [PATCH] Re-run notebooks --- .../1-single-pulse-circuit-model.ipynb | 20 +- .../notebooks/comparing_cost_functions.ipynb | 10 +- .../equivalent_circuit_identification.ipynb | 6 +- .../multi_model_identification.ipynb | 4324 ++++++----------- .../multi_optimiser_identification.ipynb | 88 +- .../notebooks/optimiser_calibration.ipynb | 60 +- .../notebooks/pouch_cell_identification.ipynb | 16 +- examples/notebooks/spm_AdamW.ipynb | 10 +- examples/notebooks/spm_electrode_design.ipynb | 10 +- 9 files changed, 1460 insertions(+), 3084 deletions(-) diff --git a/examples/notebooks/LG_M50_ECM/1-single-pulse-circuit-model.ipynb b/examples/notebooks/LG_M50_ECM/1-single-pulse-circuit-model.ipynb index 25d618f1..10e19ee6 100644 --- a/examples/notebooks/LG_M50_ECM/1-single-pulse-circuit-model.ipynb +++ b/examples/notebooks/LG_M50_ECM/1-single-pulse-circuit-model.ipynb @@ -1192,9 +1192,9 @@ } }, "text/html": [ - "
" + ] }, "metadata": {}, "output_type": "display_data" @@ -3686,15 +2367,8 @@ }, { "cell_type": "code", - "execution_count": 33, - "metadata": { - "execution": { - "iopub.execute_input": "2024-04-14T18:58:01.681988Z", - "iopub.status.busy": "2024-04-14T18:58:01.681850Z", - "iopub.status.idle": "2024-04-14T18:58:01.683744Z", - "shell.execute_reply": "2024-04-14T18:58:01.683506Z" - } - }, + "execution_count": null, + "metadata": {}, "outputs": [], "source": [ "dataset = pybop.Dataset(\n", @@ -3717,14 +2391,8 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": null, "metadata": { - "execution": { - "iopub.execute_input": "2024-04-14T18:58:01.685149Z", - "iopub.status.busy": "2024-04-14T18:58:01.685052Z", - "iopub.status.idle": "2024-04-14T18:58:01.687180Z", - "shell.execute_reply": "2024-04-14T18:58:01.686972Z" - }, "id": "WPCybXIJ04qA" }, "outputs": [], @@ -3756,15 +2424,8 @@ }, { "cell_type": "code", - "execution_count": 35, - "metadata": { - "execution": { - "iopub.execute_input": "2024-04-14T18:58:01.688581Z", - "iopub.status.busy": "2024-04-14T18:58:01.688496Z", - "iopub.status.idle": "2024-04-14T18:58:01.775886Z", - "shell.execute_reply": "2024-04-14T18:58:01.775510Z" - } - }, + "execution_count": null, + "metadata": {}, "outputs": [], "source": [ "models = [\n", @@ -3784,14 +2445,8 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": null, "metadata": { - "execution": { - "iopub.execute_input": "2024-04-14T18:58:01.777342Z", - "iopub.status.busy": "2024-04-14T18:58:01.777250Z", - "iopub.status.idle": "2024-04-14T19:02:11.103750Z", - "shell.execute_reply": "2024-04-14T19:02:11.103457Z" - }, "id": "etMzRtx404qA" }, "outputs": [ @@ -3800,7 +2455,7 @@ "output_type": "stream", "text": [ "Running Single Particle Model\n", - "Halt: Maximum number of iterations (60) reached.\n", + "Halt: No significant change for 15 iterations.\n", "Running Single Particle Model with Electrolyte\n", "Halt: Maximum number of iterations (60) reached.\n" ] @@ -3828,14 +2483,8 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": null, "metadata": { - "execution": { - "iopub.execute_input": "2024-04-14T19:02:11.106047Z", - "iopub.status.busy": "2024-04-14T19:02:11.105928Z", - "iopub.status.idle": "2024-04-14T19:02:11.107948Z", - "shell.execute_reply": "2024-04-14T19:02:11.107722Z" - }, "id": "N3FtAhrT04qB" }, "outputs": [ @@ -3843,8 +2492,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "| Model: Single Particle Model | Results: [6.00001046e-05 8.53959364e-05] |\n", - "| Model: Single Particle Model with Electrolyte | Results: [6.56023366e-05 8.49563105e-05] |\n" + "| Model: Single Particle Model | Results: [6.91087517e-05 8.99973821e-05] |\n", + "| Model: Single Particle Model with Electrolyte | Results: [6.54090869e-05 7.45238157e-05] |\n" ] } ], @@ -3877,21 +2526,15 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": null, "metadata": { - "execution": { - "iopub.execute_input": "2024-04-14T19:02:11.109183Z", - "iopub.status.busy": "2024-04-14T19:02:11.109086Z", - "iopub.status.idle": "2024-04-14T19:02:12.193561Z", - "shell.execute_reply": "2024-04-14T19:02:12.193263Z" - }, "id": "ZVfozY0A04qC" }, "outputs": [ { "data": { "image/svg+xml": [ - "050010001500200025002.833.23.43.6ReferenceModelSingle Particle ModelTime / sVoltage / V" + "050010001500200025002.833.23.43.6ReferenceModelSingle Particle ModelTime / sVoltage / V" ] }, "metadata": {}, @@ -3900,7 +2543,7 @@ { "data": { "image/svg+xml": [ - "050010001500200025002.833.23.43.6ReferenceModelSingle Particle Model with ElectrolyteTime / sVoltage / V" + "050010001500200025002.833.23.43.6ReferenceModelSingle Particle Model with ElectrolyteTime / sVoltage / V" ] }, "metadata": {}, @@ -3927,18 +2570,12 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 467 }, - "execution": { - "iopub.execute_input": "2024-04-14T19:02:12.197133Z", - "iopub.status.busy": "2024-04-14T19:02:12.197010Z", - "iopub.status.idle": "2024-04-14T19:03:24.431107Z", - "shell.execute_reply": "2024-04-14T19:03:24.430817Z" - }, "id": "tJUJ80Ve04qD", "outputId": "855fbaa2-1e09-4935-eb1a-8caf7f99eb75" }, @@ -3946,7 +2583,7 @@ { "data": { "image/svg+xml": [ - "55μ60μ65μ70μ75μ80μ76μ78μ80μ82μ84μ86μ88μ90μ20406080100120140Single Particle ModelPositive electrode thickness [m]Negative electrode thickness [m]" + "55μ60μ65μ70μ75μ80μ76μ78μ80μ82μ84μ86μ88μ90μ0200M400M600M800MSingle Particle ModelPositive electrode thickness [m]Negative electrode thickness [m]" ] }, "metadata": {}, @@ -3955,7 +2592,7 @@ { "data": { "image/svg+xml": [ - "55μ60μ65μ70μ75μ80μ76μ78μ80μ82μ84μ86μ88μ90μ20406080100120140160Single Particle Model with ElectrolytePositive electrode thickness [m]Negative electrode thickness [m]" + "55μ60μ65μ70μ75μ80μ76μ78μ80μ82μ84μ86μ88μ90μ00.2B0.4B0.6B0.8B1BSingle Particle Model with ElectrolytePositive electrode thickness [m]Negative electrode thickness [m]" ] }, "metadata": {}, @@ -3989,261 +2626,6 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.7" - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "06f2374f91c8455bb63252092512f2ed": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "2.0.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border_bottom": null, - "border_left": null, - "border_right": null, - "border_top": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - }, - "423bffea3a1c42b49a9ad71218e5811b": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "2.0.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border_bottom": null, - "border_left": null, - "border_right": null, - "border_top": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - }, - "56ff19291e464d63b23e63b8e2ac9ea3": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "SliderStyleModel", - "state": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "SliderStyleModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "StyleView", - "description_width": "", - "handle_color": null - } - }, - "646a8670cb204a31bb56bc2380898093": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "2.0.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "2.0.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border_bottom": null, - "border_left": null, - "border_right": null, - "border_top": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - }, - "7d46516469314b88be3500e2afcafcf6": { - "model_module": "@jupyter-widgets/output", - "model_module_version": "1.0.0", - "model_name": "OutputModel", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_646a8670cb204a31bb56bc2380898093", - "msg_id": "", - "outputs": [], - "tabbable": null, - "tooltip": null - } - }, - "8d003c14da5f4fa68284b28c15cee6e6": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "VBoxModel", - "state": { - "_dom_classes": [ - "widget-interact" - ], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "VBoxModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [ - "IPY_MODEL_aef2fa7adcc14ad0854b73d5910ae3b4", - "IPY_MODEL_7d46516469314b88be3500e2afcafcf6" - ], - "layout": "IPY_MODEL_423bffea3a1c42b49a9ad71218e5811b", - "tabbable": null, - "tooltip": null - } - }, - "aef2fa7adcc14ad0854b73d5910ae3b4": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "FloatSliderModel", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "2.0.0", - "_model_name": "FloatSliderModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "2.0.0", - "_view_name": "FloatSliderView", - "behavior": "drag-tap", - "continuous_update": true, - "description": "t", - "description_allow_html": false, - "disabled": false, - "layout": "IPY_MODEL_06f2374f91c8455bb63252092512f2ed", - "max": 1.1333333333333333, - "min": 0, - "orientation": "horizontal", - "readout": true, - "readout_format": ".2f", - "step": 0.011333333333333332, - "style": "IPY_MODEL_56ff19291e464d63b23e63b8e2ac9ea3", - "tabbable": null, - "tooltip": null, - "value": 0 - } - } - } } }, "nbformat": 4, diff --git a/examples/notebooks/multi_optimiser_identification.ipynb b/examples/notebooks/multi_optimiser_identification.ipynb index 8b6fd9e2..c0281bab 100644 --- a/examples/notebooks/multi_optimiser_identification.ipynb +++ b/examples/notebooks/multi_optimiser_identification.ipynb @@ -562,7 +562,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelAdamWTime / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelAdamWTime / sVoltage / V" ] }, "metadata": {}, @@ -571,7 +571,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.944.1ReferenceModelGradient descentTime / sVoltage / V" + "05001000150020003.53.63.73.83.944.1ReferenceModelGradient descentTime / sVoltage / V" ] }, "metadata": {}, @@ -580,7 +580,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModeliRprop-Time / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModeliRprop-Time / sVoltage / V" ] }, "metadata": {}, @@ -589,7 +589,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelCovariance Matrix Adaptation Evolution Strategy (CMA-ES)Time / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelCovariance Matrix Adaptation Evolution Strategy (CMA-ES)Time / sVoltage / V" ] }, "metadata": {}, @@ -598,7 +598,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelSeperable Natural Evolution Strategy (SNES)Time / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelSeperable Natural Evolution Strategy (SNES)Time / sVoltage / V" ] }, "metadata": {}, @@ -607,7 +607,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelParticle Swarm Optimisation (PSO)Time / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelParticle Swarm Optimisation (PSO)Time / sVoltage / V" ] }, "metadata": {}, @@ -616,7 +616,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelExponential Natural Evolution Strategy (xNES)Time / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelExponential Natural Evolution Strategy (xNES)Time / sVoltage / V" ] }, "metadata": {}, @@ -625,7 +625,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelNelder-MeadTime / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelNelder-MeadTime / sVoltage / V" ] }, "metadata": {}, @@ -634,7 +634,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelCuckoo SearchTime / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelCuckoo SearchTime / sVoltage / V" ] }, "metadata": {}, @@ -643,7 +643,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelSciPyMinimizeTime / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelSciPyMinimizeTime / sVoltage / V" ] }, "metadata": {}, @@ -652,7 +652,7 @@ { "data": { "image/svg+xml": [ - "05001000150020003.53.63.73.83.94ReferenceModelSciPyDifferentialEvolutionTime / sVoltage / V" + "05001000150020003.53.63.73.83.94ReferenceModelSciPyDifferentialEvolutionTime / sVoltage / V" ] }, "metadata": {}, @@ -683,7 +683,7 @@ { "data": { "image/svg+xml": [ - "5101520253000.511.522.533.5AdamWIterationCost" + "5101520253000.511.522.533.5AdamWIterationCost" ] }, "metadata": {}, @@ -692,7 +692,7 @@ { "data": { "image/svg+xml": [ - "1020300.60.650.70.750.80.851020300.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "1020300.60.650.70.750.80.851020300.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -701,7 +701,7 @@ { "data": { "image/svg+xml": [ - "510152011.522.533.5Gradient descentIterationCost" + "510152011.522.533.5Gradient descentIterationCost" ] }, "metadata": {}, @@ -710,7 +710,7 @@ { "data": { "image/svg+xml": [ - "510152000.10.20.30.40.50.60.70.851015200.40.50.60.70.80.911.11.21.3Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "510152000.10.20.30.40.50.60.70.851015200.40.50.60.70.80.911.11.21.3Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -719,7 +719,7 @@ { "data": { "image/svg+xml": [ - "10203040506000.511.522.533.5iRprop-IterationCost" + "10203040506000.511.522.533.5iRprop-IterationCost" ] }, "metadata": {}, @@ -728,7 +728,7 @@ { "data": { "image/svg+xml": [ - "2040600.650.70.750.82040600.50.550.60.65Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "2040600.650.70.750.82040600.50.550.60.65Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -737,7 +737,7 @@ { "data": { "image/svg+xml": [ - "1020304000.511.522.53Covariance Matrix Adaptation Evolution Strategy (CMA-ES)IterationCost" + "1020304000.511.522.53Covariance Matrix Adaptation Evolution Strategy (CMA-ES)IterationCost" ] }, "metadata": {}, @@ -746,7 +746,7 @@ { "data": { "image/svg+xml": [ - "501001502002500.50.550.60.650.70.750.8501001502002500.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "501001502002500.50.550.60.650.70.750.8501001502002500.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -755,7 +755,7 @@ { "data": { "image/svg+xml": [ - "102030405000.511.522.53Seperable Natural Evolution Strategy (SNES)IterationCost" + "102030405000.511.522.53Seperable Natural Evolution Strategy (SNES)IterationCost" ] }, "metadata": {}, @@ -764,7 +764,7 @@ { "data": { "image/svg+xml": [ - "1002000.550.60.650.70.751002000.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "1002000.550.60.650.70.751002000.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -773,7 +773,7 @@ { "data": { "image/svg+xml": [ - "102030400.0030.00350.0040.00450.0050.0055Particle Swarm Optimisation (PSO)IterationCost" + "102030400.0030.00350.0040.00450.0050.0055Particle Swarm Optimisation (PSO)IterationCost" ] }, "metadata": {}, @@ -782,7 +782,7 @@ { "data": { "image/svg+xml": [ - "501001502000.550.60.650.70.750.8501001502000.40.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "501001502000.550.60.650.70.750.8501001502000.40.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -791,7 +791,7 @@ { "data": { "image/svg+xml": [ - "10203040506000.511.522.53Exponential Natural Evolution Strategy (xNES)IterationCost" + "10203040506000.511.522.53Exponential Natural Evolution Strategy (xNES)IterationCost" ] }, "metadata": {}, @@ -800,7 +800,7 @@ { "data": { "image/svg+xml": [ - "1002003000.60.620.640.660.681002003000.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "1002003000.60.620.640.660.681002003000.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -809,7 +809,7 @@ { "data": { "image/svg+xml": [ - "10203040506000.511.522.533.5Nelder-MeadIterationCost" + "10203040506000.511.522.533.5Nelder-MeadIterationCost" ] }, "metadata": {}, @@ -818,7 +818,7 @@ { "data": { "image/svg+xml": [ - "2040600.620.640.660.680.70.722040600.50.550.60.650.70.75Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "2040600.620.640.660.680.70.722040600.50.550.60.650.70.75Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -827,7 +827,7 @@ { "data": { "image/svg+xml": [ - "102030400.010.020.030.04Cuckoo SearchIterationCost" + "102030400.010.020.030.04Cuckoo SearchIterationCost" ] }, "metadata": {}, @@ -836,7 +836,7 @@ { "data": { "image/svg+xml": [ - "501001502000.50.550.60.650.70.750.8501001502000.40.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "501001502000.50.550.60.650.70.750.8501001502000.40.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -845,7 +845,7 @@ { "data": { "image/svg+xml": [ - "510152000.10.20.30.40.50.6SciPyMinimizeIterationCost" + "510152000.10.20.30.40.50.6SciPyMinimizeIterationCost" ] }, "metadata": {}, @@ -854,7 +854,7 @@ { "data": { "image/svg+xml": [ - "102030400.560.580.60.620.640.660.680.70.72102030400.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "102030400.560.580.60.620.640.660.680.70.72102030400.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -863,7 +863,7 @@ { "data": { "image/svg+xml": [ - "51015200.0030.0040.0050.0060.007SciPyDifferentialEvolutionIterationCost" + "51015200.0030.0040.0050.0060.007SciPyDifferentialEvolutionIterationCost" ] }, "metadata": {}, @@ -872,7 +872,7 @@ { "data": { "image/svg+xml": [ - "2004006000.50.550.60.650.70.750.82004006000.40.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "2004006000.50.550.60.650.70.750.82004006000.40.450.50.550.60.650.7Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -902,7 +902,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4AdamWNegative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4AdamWNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -911,7 +911,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Gradient descentNegative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Gradient descentNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -920,7 +920,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4iRprop-Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4iRprop-Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -929,7 +929,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Covariance Matrix Adaptation Evolution Strategy (CMA-ES)Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Covariance Matrix Adaptation Evolution Strategy (CMA-ES)Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -938,7 +938,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Seperable Natural Evolution Strategy (SNES)Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Seperable Natural Evolution Strategy (SNES)Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -947,7 +947,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Particle Swarm Optimisation (PSO)Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Particle Swarm Optimisation (PSO)Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -956,7 +956,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Exponential Natural Evolution Strategy (xNES)Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Exponential Natural Evolution Strategy (xNES)Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -965,7 +965,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Nelder-MeadNegative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Nelder-MeadNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -974,7 +974,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Cuckoo SearchNegative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4Cuckoo SearchNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -983,7 +983,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4SciPyMinimizeNegative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4SciPyMinimizeNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -992,7 +992,7 @@ { "data": { "image/svg+xml": [ - "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4SciPyDifferentialEvolutionNegative electrode active material volume fractionPositive electrode active material volume fraction" + "0.50.550.60.650.70.750.80.550.60.650.70.750.80.40.81.21.622.4SciPyDifferentialEvolutionNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, diff --git a/examples/notebooks/optimiser_calibration.ipynb b/examples/notebooks/optimiser_calibration.ipynb index c7b820b0..1492095c 100644 --- a/examples/notebooks/optimiser_calibration.ipynb +++ b/examples/notebooks/optimiser_calibration.ipynb @@ -312,7 +312,7 @@ { "data": { "image/svg+xml": [ - "0500100015003.53.553.63.653.7ReferenceModelOptimised ComparisonTime / sVoltage / V" + "0500100015003.53.553.63.653.7ReferenceModelOptimised ComparisonTime / sVoltage / V" ] }, "metadata": {}, @@ -341,13 +341,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "0.001\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ + "0.001\n", "NOTE: Boundaries ignored by \n", "0.012285714285714285\n", "NOTE: Boundaries ignored by \n", @@ -422,7 +416,7 @@ { "data": { "image/svg+xml": [ - "204060801000.020.030.040.050.060.07Sigma: 0.001IterationCost" + "204060801000.020.030.040.050.060.07Sigma: 0.001IterationCost" ] }, "metadata": {}, @@ -431,7 +425,7 @@ { "data": { "image/svg+xml": [ - "204060801000.470.480.490.50.510.520.53204060801000.570.5750.580.5850.59Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "204060801000.470.480.490.50.510.520.53204060801000.570.5750.580.5850.59Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -440,7 +434,7 @@ { "data": { "image/svg+xml": [ - "2040608010000.010.020.030.040.050.060.07Sigma: 0.012285714285714285IterationCost" + "2040608010000.010.020.030.040.050.060.07Sigma: 0.012285714285714285IterationCost" ] }, "metadata": {}, @@ -449,7 +443,7 @@ { "data": { "image/svg+xml": [ - "204060801000.460.480.50.520.540.560.580.6204060801000.5650.570.5750.580.5850.590.5950.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "204060801000.460.480.50.520.540.560.580.6204060801000.5650.570.5750.580.5850.590.5950.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -458,7 +452,7 @@ { "data": { "image/svg+xml": [ - "2040608010000.010.020.030.040.050.060.07Sigma: 0.023571428571428573IterationCost" + "2040608010000.010.020.030.040.050.060.07Sigma: 0.023571428571428573IterationCost" ] }, "metadata": {}, @@ -467,7 +461,7 @@ { "data": { "image/svg+xml": [ - "204060801000.460.480.50.520.540.560.580.60.62204060801000.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "204060801000.460.480.50.520.540.560.580.60.62204060801000.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -476,7 +470,7 @@ { "data": { "image/svg+xml": [ - "2040608010000.010.020.030.040.050.060.07Sigma: 0.03485714285714286IterationCost" + "2040608010000.010.020.030.040.050.060.07Sigma: 0.03485714285714286IterationCost" ] }, "metadata": {}, @@ -485,7 +479,7 @@ { "data": { "image/svg+xml": [ - "204060801000.460.480.50.520.540.560.580.60.620.64204060801000.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "204060801000.460.480.50.520.540.560.580.60.620.64204060801000.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -494,7 +488,7 @@ { "data": { "image/svg+xml": [ - "2040608010000.010.020.030.040.050.060.07Sigma: 0.046142857142857145IterationCost" + "2040608010000.010.020.030.040.050.060.07Sigma: 0.046142857142857145IterationCost" ] }, "metadata": {}, @@ -503,7 +497,7 @@ { "data": { "image/svg+xml": [ - "204060801000.460.480.50.520.540.560.580.60.620.64204060801000.520.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "204060801000.460.480.50.520.540.560.580.60.620.64204060801000.520.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -512,7 +506,7 @@ { "data": { "image/svg+xml": [ - "2040608010000.010.020.030.040.050.060.07Sigma: 0.05742857142857143IterationCost" + "2040608010000.010.020.030.040.050.060.07Sigma: 0.05742857142857143IterationCost" ] }, "metadata": {}, @@ -521,7 +515,7 @@ { "data": { "image/svg+xml": [ - "204060801000.460.480.50.520.540.560.580.60.620.64204060801000.520.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "204060801000.460.480.50.520.540.560.580.60.620.64204060801000.520.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -530,7 +524,7 @@ { "data": { "image/svg+xml": [ - "2040608000.010.020.030.040.050.060.07Sigma: 0.06871428571428571IterationCost" + "2040608000.010.020.030.040.050.060.07Sigma: 0.06871428571428571IterationCost" ] }, "metadata": {}, @@ -539,7 +533,7 @@ { "data": { "image/svg+xml": [ - "204060800.50.550.60.65204060800.520.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "204060800.50.550.60.65204060800.520.530.540.550.560.570.580.590.6Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -548,7 +542,7 @@ { "data": { "image/svg+xml": [ - "1020304050607000.010.020.030.040.050.060.07Sigma: 0.08IterationCost" + "1020304050607000.010.020.030.040.050.060.07Sigma: 0.08IterationCost" ] }, "metadata": {}, @@ -557,7 +551,7 @@ { "data": { "image/svg+xml": [ - "2040600.50.550.60.652040600.520.530.540.550.560.570.580.590.60.61Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" + "2040600.50.550.60.652040600.520.530.540.550.560.570.580.590.60.61Negative electrode active material volume fractionPositive electrode active material volume fractionParameter ConvergenceFunction CallFunction CallNegative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -587,7 +581,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.001Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.001Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -596,7 +590,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.012285714285714285Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.012285714285714285Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -605,7 +599,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.023571428571428573Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.023571428571428573Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -614,7 +608,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.03485714285714286Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.03485714285714286Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -623,7 +617,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.046142857142857145Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.046142857142857145Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -632,7 +626,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.05742857142857143Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.05742857142857143Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -641,7 +635,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.06871428571428571Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.06871428571428571Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -650,7 +644,7 @@ { "data": { "image/svg+xml": [ - "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.08Negative electrode active material volume fractionPositive electrode active material volume fraction" + "0.40.50.60.70.80.40.450.50.550.60.650.70.750.80.10.20.30.4Sigma: 0.08Negative electrode active material volume fractionPositive electrode active material volume fraction" ] }, "metadata": {}, @@ -688,7 +682,7 @@ { "data": { "image/svg+xml": [ - "0500100015003.53.553.63.653.7ReferenceModelOptimised ComparisonTime / sVoltage / V" + "0500100015003.53.553.63.653.7ReferenceModelOptimised ComparisonTime / sVoltage / V" ] }, "metadata": {}, diff --git a/examples/notebooks/pouch_cell_identification.ipynb b/examples/notebooks/pouch_cell_identification.ipynb index a5d840ec..e82815a2 100644 --- a/examples/notebooks/pouch_cell_identification.ipynb +++ b/examples/notebooks/pouch_cell_identification.ipynb @@ -376,7 +376,7 @@ { "data": { "image/svg+xml": [ - "02004006008003.723.743.763.78ReferenceModelOptimised ComparisonTime / sVoltage / V" + "02004006008003.723.743.763.78ReferenceModelOptimised ComparisonTime / sVoltage / V" ] }, "metadata": {}, @@ -1367,9 +1367,9 @@ } }, "text/html": [ - "