Previous topic

Electrolyte Diffusion

Next topic

Constant Concentration

This Page

Base Electrolyte Diffusion Submodel

class pybamm.electrolyte_diffusion.BaseElectrolyteDiffusion(param, options=None)

Base class for conservation of mass in the electrolyte.

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

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

  • **Extends (** pybamm.BaseSubModel) –

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.