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

modify JAX bdf solver to allow solution of semi-explicit DAEs #1104

Closed
martinjrobins opened this issue Jul 11, 2020 · 0 comments · Fixed by #1107
Closed

modify JAX bdf solver to allow solution of semi-explicit DAEs #1104

martinjrobins opened this issue Jul 11, 2020 · 0 comments · Fixed by #1107
Assignees

Comments

@martinjrobins
Copy link
Contributor

martinjrobins commented Jul 11, 2020

Summary
Matlab allows for ode15s to solve semi-explicit DAEs by solving the equivalent ODE using a singular mass matrix. Need to modify the Jax BDF solver to do the same

Motivation
So JAX BDF solver can solve semi-explicit DAEs (i.e. all DAE models in Pybamm). Currently limited to ODEs

References

[1] Shampine, L. F. and M. W. Reichelt, “The MATLAB ODE Suite,” SIAM Journal on Scientific Computing, Vol. 18, 1997, pp. 1–22.

See also comments by @tinosulzer in #1038

@martinjrobins martinjrobins self-assigned this Jul 11, 2020
martinjrobins added a commit that referenced this issue Jul 13, 2020
martinjrobins added a commit that referenced this issue Jul 13, 2020
martinjrobins added a commit that referenced this issue Jul 13, 2020
martinjrobins added a commit that referenced this issue Jul 13, 2020
martinjrobins added a commit that referenced this issue Jul 13, 2020
martinjrobins added a commit that referenced this issue Jul 14, 2020
martinjrobins added a commit that referenced this issue Jul 14, 2020
martinjrobins added a commit that referenced this issue Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant