Replies: 1 comment 1 reply
-
I guess you should use pybamm.exp instead of np.exp (I think this will change in the future and np functions will be possible to be used). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to build my function based on chen2020:
def nmc_LGM50_electrolyte_exchange_current_density_myfun(c_e, c_s_surf, c_s_max, T):
....
then, i update the parameters using my defined function, but always see an error for line:
arrhenius = np.exp(E_r / pybamm.constants.R * (1 / 298.15 - 1 / T))
error message:
TypeError: loop of ufunc does not support argument 0 of type PrimaryBroadcast which has no callable exp method
can you help me to fix it? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions