Skip to content
Discussion options

You must be logged in to vote

You could define your own callback, see https://github.com/pybamm-team/PyBaMM/blob/develop/examples/notebooks/callbacks.ipynb#L1

Set self.success = True at the start and then it on_experiment_infeasible and on_experiment_error set it to False. Then at the end check if it's True or False

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RuiheLi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants