Obtaining a parameter set for a model #2407
-
Hi, I'm new to using Pybamm, and I have been following the tutorials to get a feeling for how to use it, and I've been getting the syntax mostly. I want to change one or two of the parameters but the command to check for a certain value parameter_values = pybamm.ParameterValues("Chen2020") comes up with the following error:FileNotFoundError Traceback (most recent call last) File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\pybamm\parameters\parameter_values.py:76, in ParameterValues.init(self, values, chemistry) File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\pybamm\parameters\parameter_values.py:755, in ParameterValues.find_parameter(path) FileNotFoundError: Could not find parameter Chen2020 Failing that, I want to find the parameter values used for the model I have just run, I took it from tutorial 1: import numpy as np Ideally, I would like to simply like to change the Current and plot the terminal voltage along with the OCV curve to see how they compare. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Which PyBaMM version are you using? Also, it seems you are using Python 3.10, which we do not support yet, unfortunately (only Python 3.8 and 3.9). |
Beta Was this translation helpful? Give feedback.
-
See #2408 , reinstalling should fix it (but yeah python 3.10 also doesn't work) |
Beta Was this translation helpful? Give feedback.
See #2408 , reinstalling should fix it (but yeah python 3.10 also doesn't work)