Skip to content

Commit

Permalink
#63 events arn't final
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Mar 6, 2024
1 parent 60bea45 commit 333e5c0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libraries/pybamm-developer/01_ode.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,8 @@ solve the model equations over time.

## PyBaMM events


The final thing we need to define for the reservoir model is the events. An
event is a condition that can be used to stop the solver, for example when the
voltage reaches a certain value. In PyBaMM an event can be defined using the
An event is a condition that can be used to stop the solver, for example when
the voltage reaches a certain value. In PyBaMM an event can be defined using the
[`pybamm.Event`](https://docs.pybamm.org/en/stable/source/api/events/event.html)
class. For example, if you wanted to define an event that stops the solver when
the time reaches 3, you would write
Expand Down

0 comments on commit 333e5c0

Please sign in to comment.