Skip to content

Commit

Permalink
pybamm-team#1778 fix parameter values example
Browse files Browse the repository at this point in the history
  • Loading branch information
brosaplanella committed Mar 29, 2023
1 parent 67a2e34 commit 33e8726
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions examples/scripts/compare_lithium_ion_heat_of_mixing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
pybamm.lithium_ion.DFN({"thermal": "x-lumped"},name="nhom")
]

parameter_values = pybamm.ParameterValues("Chen2020_composite")
parameter_values = pybamm.ParameterValues("Chen2020")

# create and run simulations
sims = []
Expand All @@ -20,24 +20,4 @@
sims.append(sim)

# plot
pybamm.dynamic_plot(
sims,
[
[
"Average negative primary particle concentration",
"Average negative secondary particle concentration",
],
[
"X-averaged negative electrode primary volumetric "
"interfacial current density [A.m-3]",
"X-averaged negative electrode secondary volumetric "
"interfacial current density [A.m-3]",
"X-averaged negative electrode volumetric "
"interfacial current density [A.m-3]",
],
"X-averaged negative electrode primary open-circuit potential [V]",
"X-averaged negative electrode secondary open-circuit potential [V]",
"Average positive particle concentration [mol.m-3]",
"Voltage [V]",
],
)
pybamm.dynamic_plot(sims)

0 comments on commit 33e8726

Please sign in to comment.