Previous topic

Base Model

Next topic

Composite Model

This Page

Leading Order Model

class pybamm.electrode.ohm.LeadingOrder(param, domain, set_positive_potential=True)

An electrode submodel that employs Ohm’s law the leading-order approximation to governing equations.

Parameters:
  • param (parameter class) – The parameters to use for this submodel
  • domain (str) – Either ‘Negative’ or ‘Positive’
  • set_positive_potential (bool, optional) – If True the battery model sets the positve potential based on the current. If False, the potential is specified by the user. Default is True.
  • **Extends (** pybamm.electrode.ohm.BaseModel) –
get_coupled_variables(variables)

Returns variables which are derived from the fundamental variables in the model.

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.