I want to define my own function for positive electrode OCP #2806
Unanswered
kumaryash7
asked this question in
Q&A
Replies: 1 comment 2 replies
-
def ocp(sto):
return pybamm.Interpolant(x, y, sto, interpolator="cubic")
parameter_values["Negative electrode OCP [V]"] = ocp where |
Beta Was this translation helpful? Give feedback.
2 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.
-
I want to define a function for positive electrode OCP in which I have a graph between soc and positive equilibrium potential, where I want to interpolate the equilibrium potential values according to the corresponding soc values from the graph.
Is there any predefined function in pybamm for the same?
Beta Was this translation helpful? Give feedback.
All reactions