Doyle-Fuller-Newman (DFN)

class pybamm.lithium_ion.DFN(options=None, name='Doyle-Fuller-Newman model', build=True)

Doyle-Fuller-Newman (DFN) model of a lithium-ion battery, from [1].

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.DFN()
>>> model.name
'Doyle-Fuller-Newman model'

References

Extends: pybamm.lithium_ion.BaseModel

class pybamm.lithium_ion.BasicDFN(name='Doyle-Fuller-Newman model')

Doyle-Fuller-Newman (DFN) model of a lithium-ion battery, from [2].

This class differs from the pybamm.lithium_ion.DFN model class in that it shows the whole model in a single class. This comes at the cost of flexibility in comparing different physical effects, and in general the main DFN class should be used instead.

Parameters:

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

References

Extends: pybamm.lithium_ion.BaseModel