Skip to content
Discussion options

You must be logged in to vote

Hi @abhishek-appana, I tried running the code but also did not get a solution within 15 minutes or so.

We are actively working on improving the solvers in PyBaMM. Can you try using the develop branch of PyBaMM and switching to IDAKLUSolver, i.e.

solver = pybamm.IDAKLUSolver()
sim = pybamm.Simulation(model,parameter_values=parameter_values, solver=solver,experiment=experiment)
sim.solve()

With the new solver, I got an answer in 2 minutes and 15 seconds on my machine.

Replies: 2 comments 20 replies

Comment options

You must be logged in to vote
18 replies
@benshang1997
Comment options

@benshang1997
Comment options

@agriyakhetarpal
Comment options

@benshang1997
Comment options

@MarcBerliner
Comment options

Answer selected by abhishek-appana
Comment options

You must be logged in to vote
2 replies
@abhishek-appana
Comment options

@agriyakhetarpal
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants