Skip to content

[Bug]: hysteresis state error #4332

@llh929423719

Description

@llh929423719

PyBaMM Version

24.5

Python Version

3.9

Describe the bug

Under some specific parameter sets, hysteresis state will exceed the range of (-1,1),adding bounds in WyciskOpenCircuitPotential submodel seems to have no effect.
bug_hys

Steps to Reproduce

my hysteresis paramset:
'Secondary: Negative particle hysteresis decay rate': 0.005,
'Secondary: Negative particle hysteresis switching factor': 0.2,

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions