Electrode Base Model#

class pybamm.electrode.BaseElectrode(param, domain, options=None, set_positive_potential=True)#

Base class for electrode submodels.

Parameters:
  • param (parameter class) – The parameters to use for this submodel

  • domain (str) – Either ‘negative’ or ‘positive’

  • options (dict, optional) – A dictionary of options to be passed to the model.

  • set_positive_potential (bool, optional) – If True the battery model sets the positive potential based on the current. If False, the potential is specified by the user. Default is True.

Extends: pybamm.models.submodels.base_submodel.BaseSubModel

View inheritance diagram for this model

Inheritance diagram of pybamm.models.submodels.electrode.base_electrode.BaseElectrode