Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDAKLU solver: add option for multiple initial conditions #3713

Open
martinjrobins opened this issue Jan 11, 2024 · 0 comments
Open

IDAKLU solver: add option for multiple initial conditions #3713

martinjrobins opened this issue Jan 11, 2024 · 0 comments
Labels

Comments

@martinjrobins
Copy link
Contributor

Description

Allow for specifying multiple initial conditions and solving in parallel using the IDAKLU solver

Motivation

Solving many simulations in parallel with different initial conditions is neccessary for implementing Unscented Kalman Filter or Particle Filter based parameter estimation methods, such as those currently being implemented in PyBOP (pybop-team/PyBOP#12). The IDAKLU solver currently has functionality for running multiple simulations with different parameters, but not for different initial conditions

Possible Implementation

How this is implemented would have to be discussed further, as currently the initial conditions are part of the model rather than the solver. Perhaps the solver could have an API for overriding the model y0 which allows for passing in either a column vector (single simulation) or a 2D array (n simulations where n is the number of columns)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant