You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing sim.plot with a 2D current collector variable doesn't give the correct plot, but also doesn't raise an error. We should either fix it or raise an error.
e.g. doing
options = {
"current collector": "potential pair",
"dimensionality": 2, # 2D current collectors
"thermal": "x-lumped",
}
model = pybamm.lithium_ion.SPM(options)
sim = pybamm.Simulation(model)
solution = sim.solve()
sim.plot(["Negative current collector potential [V]"])
Doing
sim.plot
with a 2D current collector variable doesn't give the correct plot, but also doesn't raise an error. We should either fix it or raise an error.e.g. doing
gives the wrong plot. But
gives the correct result. The result from
sim.plot
is transposed, so we just need to catch/fix this in quickplot.The text was updated successfully, but these errors were encountered: