PyBaMM icon indicating copy to clipboard operation
PyBaMM copied to clipboard

Lists of input parameters in initial conditions

Open pipliggins opened this issue 2 weeks ago • 2 comments

Re-implementation of #5191 for clearer implementation history

Allows input parameters used as initial conditions to be included within lists of inputs to the solver by converting model.y0 to model.y0_list, and calculating one initial state per input parameter set.

This rolls back a lot of the changes made by #4981 as the functionality is added to all the solvers; the initial_conditions argument added for IDAKLU has been removed in favour of allowing all inputs to be included within inputs.

Fixes #5154 Fixes #5131

pipliggins avatar Dec 12 '25 14:12 pipliggins