Single Particle Model with Electrolyte (SPMe)

class pybamm.lithium_ion.SPMe(options=None, name='Single Particle Model with electrolyte', build=True)

Single Particle Model with Electrolyte (SPMe) of a lithium-ion battery, from [1]. Inherits most submodels from SPM, only modifies potentials and electrolyte.

Parameters:
  • options (dict, optional) – A dictionary of options to be passed to the model. For a detailed list of options see BatteryModelOptions.

  • name (str, optional) – The name of the model.

  • build (bool, optional) – Whether to build the model on instantiation. Default is True. Setting this option to False allows users to change any number of the submodels before building the complete model (submodels cannot be changed after the model is built).

Examples

>>> import pybamm
>>> model = pybamm.lithium_ion.SPMe()
>>> model.name
'Single Particle Model with electrolyte'

References

Extends: pybamm.lithium_ion.SPM