Previous topic

Full Model

Next topic

Explicit Model

This Page

Leading Order Model

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

Leading-order model for conservation of charge in the electrolyte employing the Stefan-Maxwell constitutive equations employing the surface potential difference formulation and where capacitance is present.

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 (** BaseLeadingOrderSurfaceForm) –

set_rhs(variables)

A method to set the right hand side of the differential equations which contain a time derivative. Note: this method modifies the state of self.rhs. Unless overwritten by a submodel, the default behaviour of ‘pass’ is used as implemented in pybamm.BaseSubModel.

Parameters

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

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

Leading-order model for conservation of charge in the electrolyte employing the Stefan-Maxwell constitutive equations employing the surface potential difference formulation.

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: BaseLeadingOrderSurfaceForm

set_algebraic(variables)

A method to set the differential equations which do not contain a time derivative. Note: this method modifies the state of self.algebraic. Unless overwritten by a submodel, the default behaviour of ‘pass’ is used as implemented in pybamm.BaseSubModel.

Parameters

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