pybamm.
ScipySolver
(method='BDF', tol=1e-08)[source]¶Solve a discretised model, using scipy.integrate.solve_ivp.
Parameters: |
---|
integrate
(derivs, y0, t_eval, events=None, mass_matrix=None, jacobian=None)[source]¶Solve a model defined by dydt with initial conditions y0.
Parameters: |
|
---|---|
Returns: | An object containing the times and values of the solution, as well as various diagnostic messages. |
Return type: |