Previous topic

Function control external circuit

Next topic

Interface

This Page

Experiment events

class pybamm.external_circuit.ExperimentEvents(param)

Model to impose the events for experiments.

set_events(variables)

A method to set events related to the state of submodel variable. Note: this method modifies the state of self.events. Unless overwritten by a submodel, the default behaviour of ‘pass’ is used a implemented in pybamm.BaseSubModel.

Parameters:variables (dict) – The variables in the whole model.