Previous topic

Electrolyte Conductivity

Next topic

Leading Order Model

This Page

Base Electrolyte Conductivity Submodel

class pybamm.electrolyte_conductivity.BaseElectrolyteConductivity(param, domain=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
  • reactions (dict, optional) – Dictionary of reaction terms
  • **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.