FaradayInstitution / continuum-model-review

Supporting material for the review of continuum models by Brosa Planella et al (2022).
13 stars 2 forks source link

Syntax issue when loading parameters values #1

Open fagnelli opened 7 months ago

fagnelli commented 7 months ago

Hi,

I recently looked into the paper "A continuum of physics-based lithium-ion battery models reviewed" and I am new with pyBaMM. I have been testing the script named compare_parameters.ipynb, and it seems that:

param = pybamm.ParameterValues(chemistry=pybamm.parameter_sets.Chen2020)

leads to an error. Instead, trying:

param = pybamm.ParameterValues("Chen2020")

seems to solve the issue. I have installed PyBaMM 24.1 on Ubuntu 22.04.

Nomados commented 5 months ago

I have the same issue on Ubuntu 20.04