Error in defining custom function for electrolyte diffusivity #2805
-
import pybamm as pb pb.set_logging_level("NOTICE") // my custom function which has liquid phase concentration and temp as parameters // calling the custom function // running this experiment gives the following error
)
) //error --> TypeError: Parameter provided for 'Electrolyte diffusivity [m2.s-1]' is of the wrong type (should either be scalar-like or callable) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just do |
Beta Was this translation helpful? Give feedback.
Just do
param['Electrolyte diffusivity [m2.s-1]']=electrolyte_diffusivity