Skip to content

[Bug]: input parameters that affect the initial condition not handled #5154

@martinjrobins

Description

@martinjrobins

PyBaMM Version

develop

Python Version

3.10

Describe the bug

If an input parameter is used in the initial conditions of the model, then passing in a list of input parameter sets doesn't calculate the correct initial conditions for each set (only the first set is used)

Steps to Reproduce

  1. setup a model with an input parameter used in the initial condition
  2. solve it with multiple input params and check the solution, the initial conditions will be identical for each

Relevant log output

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsolver

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions