-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
Issue 1082 casadi #1089
Issue 1082 casadi #1089
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks Tino!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @tinosulzer looks good, just a small comment re the error raised
pybamm/solvers/casadi_solver.py
Outdated
) | ||
"Maximum number of decreased steps occurred at t={}. Try " | ||
"solving the model up to this time only or reducing dt_max." | ||
"".format(t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we give the dimensional time in the error to make it easier for people to pass to t_eval
. similar comment for dt_max
Codecov Report
@@ Coverage Diff @@
## develop #1089 +/- ##
========================================
Coverage 97.78% 97.78%
========================================
Files 242 242
Lines 12660 12662 +2
========================================
+ Hits 12379 12381 +2
Misses 281 281
Continue to review full report at Codecov.
|
Description
Some small changes to the casadi solver, particularly adding the events to the solution. Leaving the issue open as there is other stuff to do
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: