Base Electrolyte Conductivity Submodel

class pybamm.electrolyte_conductivity.BaseElectrolyteConductivity(param, domain=None, options=None)

Base class for conservation of charge in the electrolyte.

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

  • domain (str, optional) – The domain in which the model holds

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

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

set_boundary_conditions(variables)

A method to set the boundary conditions for the submodel. Note: this method modifies the state of self.boundary_conditions. 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.