Constant Active Material

class pybamm.active_material.Constant(param, domain, options, phase='primary')

Submodel for constant active material

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

  • domain (str) – The domain of the model either ‘Negative’ or ‘Positive’

  • options (dict) – Additional options to pass to the model

  • phase (str, optional) – Phase of the particle (default is “primary”)

  • **Extends (** pybamm.active_material.BaseModel) –

get_fundamental_variables()

A public method that creates and returns the variables in a submodel which can be created independent of other submodels. For example, the electrolyte concentration variables can be created independent of whether any other variables have been defined in the model. As a rule, if a variable can be created without variables from other submodels, then it should be placed in this method.

Returns:

The variables created by the submodel which are independent of variables in other submodels.

Return type:

dict