From bafb33c13c0556e8ae0b1da391fe24d24fa42038 Mon Sep 17 00:00:00 2001 From: Ferran Brosa Planella Date: Wed, 29 Jul 2020 18:38:15 +0200 Subject: [PATCH] #1056 removed commented line --- ...utorial 4 - Setting parameter values.ipynb | 34 ++++++++++++------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/examples/notebooks/Getting Started/Tutorial 4 - Setting parameter values.ipynb b/examples/notebooks/Getting Started/Tutorial 4 - Setting parameter values.ipynb index 21792cee27..5fe490f3ab 100644 --- a/examples/notebooks/Getting Started/Tutorial 4 - Setting parameter values.ipynb +++ b/examples/notebooks/Getting Started/Tutorial 4 - Setting parameter values.ipynb @@ -18,9 +18,19 @@ "cell_type": "code", "execution_count": 1, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[33mWARNING: You are using pip version 20.1.1; however, version 20.2 is available.\n", + "You should consider upgrading via the '/home/ferranbrosa/PyBaMM/env/bin/python -m pip install --upgrade pip' command.\u001b[0m\n", + "Note: you may need to restart the kernel to use updated packages.\n" + ] + } + ], "source": [ - "#%pip install pybamm -q # install PyBaMM if it is not installed\n", + "%pip install pybamm -q # install PyBaMM if it is not installed\n", "import pybamm\n", "import os\n", "os.chdir(pybamm.__path__[0]+'/..')" @@ -129,8 +139,8 @@ " 'EC initial concentration in electrolyte [mol.m-3]': 4541.0,\n", " 'Electrode height [m]': 0.065,\n", " 'Electrode width [m]': 1.58,\n", - " 'Electrolyte conductivity [S.m-1]': ,\n", - " 'Electrolyte diffusivity [m2.s-1]': ,\n", + " 'Electrolyte conductivity [S.m-1]': ,\n", + " 'Electrolyte diffusivity [m2.s-1]': ,\n", " 'Initial concentration in electrolyte [mol.m-3]': 1000.0,\n", " 'Initial concentration in negative electrode [mol.m-3]': 29866.0,\n", " 'Initial concentration in positive electrode [mol.m-3]': 17038.0,\n", @@ -401,7 +411,7 @@ " 'Negative electrode diffusivity [m2.s-1]': 3.3e-14,\n", " 'Negative electrode double-layer capacity [F.m-2]': 0.2,\n", " 'Negative electrode electrons in reaction': 1.0,\n", - " 'Negative electrode exchange-current density [A.m-2]': ,\n", + " 'Negative electrode exchange-current density [A.m-2]': ,\n", " 'Negative electrode porosity': 0.25,\n", " 'Negative electrode specific heat capacity [J.kg-1.K-1]': 700.0,\n", " 'Negative electrode surface area to volume ratio [m-1]': 383959.0,\n", @@ -669,7 +679,7 @@ " 'Positive electrode diffusivity [m2.s-1]': 4e-15,\n", " 'Positive electrode double-layer capacity [F.m-2]': 0.2,\n", " 'Positive electrode electrons in reaction': 1.0,\n", - " 'Positive electrode exchange-current density [A.m-2]': ,\n", + " 'Positive electrode exchange-current density [A.m-2]': ,\n", " 'Positive electrode porosity': 0.335,\n", " 'Positive electrode specific heat capacity [J.kg-1.K-1]': 700.0,\n", " 'Positive electrode surface area to volume ratio [m-1]': 382184.0,\n", @@ -724,8 +734,8 @@ "output_type": "stream", "text": [ "EC initial concentration in electrolyte [mol.m-3]\t4541.0\n", - "Electrolyte conductivity [S.m-1]\t\n", - "Electrolyte diffusivity [m2.s-1]\t\n", + "Electrolyte conductivity [S.m-1]\t\n", + "Electrolyte diffusivity [m2.s-1]\t\n", "Initial concentration in electrolyte [mol.m-3]\t1000.0\n", "Negative electrode Bruggeman coefficient (electrolyte)\t1.5\n", "Positive electrode Bruggeman coefficient (electrolyte)\t1.5\n", @@ -753,7 +763,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "f1d953c18b294933a33140e7b890cd1d", + "model_id": "2b686feb685b4668b970d49bb137c9d2", "version_major": 2, "version_minor": 0 }, @@ -829,7 +839,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "63c4c3143dd94d01b569a31435127435", + "model_id": "256191f9988349ffaf5396faf4bb1fef", "version_major": 2, "version_minor": 0 }, @@ -902,7 +912,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "3966a3e7ea5040c197d4e23a3cb9dc11", + "model_id": "bb5a94d141e94425954d4c1963d0f14c", "version_major": 2, "version_minor": 0 }, @@ -964,7 +974,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "b99031baebdc478499f3609a74144d96", + "model_id": "9534fe9341194950b1dc4169752331c2", "version_major": 2, "version_minor": 0 },