Skip to content

Commit

Permalink
quick fix for the slow test (#4039)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric G. Kratz <kratman@users.noreply.github.com>
  • Loading branch information
valentinsulzer and kratman committed Apr 24, 2024
1 parent 4189099 commit 44d946f
Showing 1 changed file with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
" model,\n",
" experiment=experiment,\n",
" parameter_values=param,\n",
" discretisation_kwargs={\"remove_independent_variables_from_rhs\": True},\n",
")\n",
"solution = sim.solve(calc_esoh=False)"
]
Expand All @@ -82,7 +83,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "d3d8dcb00eb7421a83a4655bfd8e1245",
"model_id": "6b19474c3912495eb75217e009760637",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -96,7 +97,7 @@
{
"data": {
"text/plain": [
"<pybamm.plotting.quick_plot.QuickPlot at 0x169320050>"
"<pybamm.plotting.quick_plot.QuickPlot at 0x152567510>"
]
},
"execution_count": 2,
Expand Down Expand Up @@ -152,7 +153,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6e6d0630770b475893301455ac4910c7",
"model_id": "789a681c8c574bb8b3d3016a844dd9a2",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -166,7 +167,7 @@
{
"data": {
"text/plain": [
"<pybamm.plotting.quick_plot.QuickPlot at 0x175c86c10>"
"<pybamm.plotting.quick_plot.QuickPlot at 0x163635410>"
]
},
"execution_count": 3,
Expand All @@ -186,6 +187,7 @@
" model,\n",
" experiment=experiment,\n",
" parameter_values=param,\n",
" discretisation_kwargs={\"remove_independent_variables_from_rhs\": True},\n",
" )\n",
" solution = sim.solve(calc_esoh=False)\n",
" solutions.append(solution)\n",
Expand Down Expand Up @@ -223,12 +225,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "979c0f154595488da4fab0bd7cd66565",
"model_id": "ad36439975754b29bbbef1bd94379408",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"interactive(children=(FloatSlider(value=0.0, description='t', max=1.8531299069255607, step=0.01853129906925560"
"interactive(children=(FloatSlider(value=0.0, description='t', max=1.8531298311682403, step=0.01853129831168240"
]
},
"metadata": {},
Expand All @@ -237,7 +239,7 @@
{
"data": {
"text/plain": [
"<pybamm.plotting.quick_plot.QuickPlot at 0x2846e3b90>"
"<pybamm.plotting.quick_plot.QuickPlot at 0x164f1f810>"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -298,12 +300,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "42f77d86732043a795b8c3264fd755bc",
"model_id": "91ea043e10d342049929095e48e98c5e",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"interactive(children=(FloatSlider(value=0.0, description='t', max=1.8506642114311478, step=0.01850664211431147"
"interactive(children=(FloatSlider(value=0.0, description='t', max=1.8506629989989005, step=0.01850662998998900"
]
},
"metadata": {},
Expand All @@ -312,7 +314,7 @@
{
"data": {
"text/plain": [
"<pybamm.plotting.quick_plot.QuickPlot at 0x2852402d0>"
"<pybamm.plotting.quick_plot.QuickPlot at 0x29d0de550>"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -415,7 +417,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.11.8"
},
"toc": {
"base_numbering": 1,
Expand Down

0 comments on commit 44d946f

Please sign in to comment.