Replies: 1 comment
-
I am trying to utilize solid diffusivity function estimated from GITT. Could anybody tell me whether the above function is capable in pybamm? Thanks so much. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi PyBaMM team,
Just curious, is there a method to make solid phase diffusivity as a function of stoichiometry? For example, can I use 'measured_graphite_diffusivity_Ecker2015.csv' as a lookup table to determine diffusivity? I tried the following code but the solution never converges. I would appreciate any advice. I am new to Python. Thank you.
def D1pos(sto, T):
Tref = 25 + 273.15
E_D1pos = 30e3
arrhenius = pybamm.exp(E_D1pos / pybamm.constants.R * (1 / Tref - 1 / T))
D1pos_lookup = pybamm.Interpolant(D1posLookUp[:, 0], D1posLookUp[:, 1], sto, interpolator = 'cubic')
return D1pos_lookup * arrhenius
Beta Was this translation helpful? Give feedback.
All reactions