Quickest way to check whether the experiments have been finished? #2401
-
Dear PyBaMM, I have been using
Big thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You could define your own callback, see https://github.com/pybamm-team/PyBaMM/blob/develop/examples/notebooks/callbacks.ipynb#L1 Set |
Beta Was this translation helpful? Give feedback.
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 iton_experiment_infeasible
andon_experiment_error
set it to False. Then at the end check if it's True or False