How to call a new parameter set #2803
-
I am using python version 3.8.3 and pybamm verison 22.1 i am giving this command but getting the error that FileNotFoundError: Could not find parameter,ABC. my parameters_set.py file looks like this import warnings class ParameterSets(Mapping):
#: Singleton Instance of :class:ParameterSets """ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It's easier to just pass the dictionary of parameter values in this case from abc import get_parameter_values
pybamm.ParameterValues(get_parameter_values()) where |
Beta Was this translation helpful? Give feedback.
-
I encountered the same problem as you. ModuleNotFoundError Traceback (most recent call last) Could you help me how to solve this problem? |
Beta Was this translation helpful? Give feedback.
It's easier to just pass the dictionary of parameter values in this case
where
get_parameter_values()
returns the dict of parameter values