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

Rest preceding discharge step causes DAE solver bug (Chen 2020) #955

Closed
Kieran-ORegan opened this issue Apr 13, 2020 · 2 comments
Closed

Comments

@Kieran-ORegan
Copy link

Including a rest before the following discharge step does not allow successful simulation due to a bug with 'DAE solver'.

"Newton/Linesearch algorithm failed to converge"

experiment = pybamm.Experiment(
["Rest for 5 minutes",
"Discharge at 0.5C until 2.5 V",
"Rest for 120 minutes"],
period="10 seconds",
)
model = pybamm.lithium_ion.DFN()
chemistry = pybamm.parameter_sets.Chen2020
parameter_values = pybamm.ParameterValues(chemistry=chemistry)
parameter_values["Negative electrode diffusivity [m2.s-1]"] = 1.3e-14
sim = pybamm.Simulation(model, parameter_values=parameter_values, experiment=experiment)
sim.solve()

image

@rtimms
Copy link
Contributor

rtimms commented Apr 13, 2020

looks like this will be fixed by PR #951

@valentinsulzer
Copy link
Member

Yep this should be fixed now

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

No branches or pull requests

3 participants