-
-
Notifications
You must be signed in to change notification settings - Fork 712
Open
Description
Description
DiffSL is a DSL for specifying ODE (or discretised PDE) models. This issue proposes an export functionality to convert a discretised pybamm model to the DiffSL language: https://martinjrobins.github.io/diffsl/
Motivation
pydiffsol is a wrapper around the rust solver diffsol, initial tests using the SPM model show that this solver is faster than the existing pybamm solvers, so this would be a useful route for users wanting to use diffsol to solve pybamm models quickly
Possible Implementation
export an already discretised pybamm model in the DiffSL language (i.e just write out a string)
Additional context
BradyPlanden