Tutorials not working on visual studio code #3694
-
Hello, I am using PyBAMM for a final year project on fast charging battery and I am currently running through the tutorials to get to grips with the basics of PyBAMM. When I attempt to run the tutorial looking at lithium plating, I am getting the error : OptionError: Option 'lithium plating' not recognised. Best matches are ['operating mode', 'side reactions', 'thermal'] This appears when I attempt to run the lines of code detailed below: choose modelsplating_options = ["reversible", "irreversible", "partially reversible"] pick parametersparameter_values = pybamm.ParameterValues("OKane2022") parameter_values.update({"Lithium plating kinetic rate constant [m.s-1]": 1E-9})parameter_values.update({"Lithium plating transfer coefficient": 0.5}) I am relatively new to python itself so I don't know whether it is an error with my setup or if something else is going wrong. Any help would be great! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @dmilson14, may I ask what version of PyBaMM you are using (i.e., the output of Additionally, if you're using the version from GitHub and have built it from source, could you post the output of |
Beta Was this translation helpful? Give feedback.
-
Perfect, thank you very much! |
Beta Was this translation helpful? Give feedback.
Yes, that's correct. We will be supporting Python 3.12 from the next release onwards (24.1rcX and 24.1) – for PyBaMM 23.9, the supported Python versions are Python 3.8–3.11.