-
-
Notifications
You must be signed in to change notification settings - Fork 578
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
Max step size option #2253
Comments
Or at least do that in our drive cycle examples |
Hey @rtimms What are you excatly expecting out of this? Where can I find this? Thanks! |
I wanted to add a Note this is different from This might be more like medium rather than easy. |
I see. Can you provide a basic example for the same because I'm not getting where other parameters are gettiing called in https://github.com/pybamm-team/PyBaMM/blob/develop/pybamm/models/submodels/base_submodel.py |
I think you are looking at the wrong class (based on the link you attached). PyBaMM/pybamm/solvers/base_solver.py Line 19 in 6ab6c15
|
@rtimms Any update on this? |
What do you need an update on? I think you were looking at the wrong class, as suggested by @Saransh-cpp . |
@rtimms I was expecting the example on above. That would be helpful if you can provide it. |
Hi there @rtimms I had gone through the scipy integrate to try to understand what exacty could be done, but I don't find any parameter like max_step there. Would you like to suggest me anything in regards? |
|
Could I work on this issue if no one else is currently assigned to it? |
Hi @medha-14, thank you for extending your interest. Please feel free to take over the PR. |
Add a
max_step
parameter toBaseSolver
and pass it to the solvers in the appropriate way. Then for drive cycle simulations we should setmax_step
to the step size in the data.The text was updated successfully, but these errors were encountered: