how to plot OCV versus time #4059
alirahdarian
started this conversation in
General
Replies: 1 comment
-
model.variable_names() will show you all the output variables including 'Battery open-circuit voltage [V]'. e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Can someone tell me how can plot open circuit potential (OCV) over time in this code? I don't want to see different contributions in voltage. I just want to plot OCV versus time. (I could not find OCV in the output parameters)
import pybamm
model = pybamm.lithium_ion.DFN()
sim = pybamm.Simulation(model)
sim.solve([0, 3600])
output_variables = ["Voltage [V]"]
sim.plot(output_variables=output_variables)
Beta Was this translation helpful? Give feedback.
All reactions