Skip to content

Syntax issue when loading parameters values #1

Description

@fagnelli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions