pybamm.
Solution
(t, y, t_event, y_event, termination)[source]¶Class containing the solution of, and various attributes associated with, a PyBaMM model.
Parameters: |
|
---|
append
(solution)[source]¶Appends solution.t and solution.y onto self.t and self.y. Note: this process removes the initial time and state of solution to avoid duplicate times and states being stored (self.t[-1] is equal to solution.t[0], and self.y[:, -1] is equal to solution.y[:, 0]).
t
¶Times at which the solution is evaluated
t_event
¶Time at which the event happens
termination
¶Reason for termination
y
¶Values of the solution
y_event
¶Value of the solution at the time of the event