mtnlion.models.double_layer module¶
Isothermal model extended with double-layer capacitance
-
class
mtnlion.models.double_layer.
DoubleLayer
(Ns)[source]¶ Bases:
mtnlion.models.isothermal.Isothermal
The double-layer model comes from surface science where a structure forms on the surface of a solid when exposed to a fluid. In this case, the structure that forms on the particles is an electrical charge which causes an opposing charge to build up in the electrolyte near the surface. The separation of electrical charge around the particle surface has the same behavior as a plate capacitor.
-
class
DoubleLayer
[source]¶ Bases:
mtnlion.formula.Formula
Double-layer flux.
-
form
(arguments, domain)[source]¶ This method must be overloaded to define the form of the Formula.
- Parameters
arguments – All arguments defined by overriding one or more of Formula.Variables, Formula.Formulas, Formula.Parameters, Formula.Lambdas, and Formula.TimeDiscretization
domain – The current domain in which the function is being evaluated
- Returns
FFL form
-
-
class
TotalFlux
[source]¶ Bases:
mtnlion.formula.Formula
Replaces the standard intercalation flux from the isothermal model.
-
form
(arguments, domain)[source]¶ This method must be overloaded to define the form of the Formula.
- Parameters
arguments – All arguments defined by overriding one or more of Formula.Variables, Formula.Formulas, Formula.Parameters, Formula.Lambdas, and Formula.TimeDiscretization
domain – The current domain in which the function is being evaluated
- Returns
FFL form
-
-
class