mtnlion.models.isothermal module¶
Base Newman isothermal model
-
class
mtnlion.models.isothermal.Isothermal(num_functions)[source]¶ Bases:
mtnlion.model.ModelThe basic DFN lithium-ion model with no thermal considerations and a 1D approximation of the solid concentration.
-
class
ElectrolyteConcentration[source]¶ Bases:
mtnlion.formula.FormulaConcentration of lithium in the electrolyte.
-
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
ElectrolytePotential[source]¶ Bases:
mtnlion.formula.FormulaCharge conservation in the electrolyte.
-
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
ExchangeCurrentDensity[source]¶ Bases:
mtnlion.formula.FormulaThe exchange current density is the current in the absence of net electrolysis and at zero overpotential.
-
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
IntercalationFlux[source]¶ Bases:
mtnlion.formula.FormulaDescribes how the electrical current on an electrode depends on the electrode potential.
-
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
KappaDEff[source]¶ Bases:
mtnlion.formula.Formulakappa_d effective
-
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
KappaEff[source]¶ Bases:
mtnlion.formula.FormulaEffective conductivity of the electrolyte.
-
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
KappaRef[source]¶ Bases:
mtnlion.formula.FormulaBulk conductivity of the homogeneous materials.
-
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
OpenCircuitPotential[source]¶ Bases:
mtnlion.formula.FormulaOpen-circuit potential formula.
-
class
Overpotential[source]¶ Bases:
mtnlion.formula.FormulaVoltage difference between a reduction potential and the potential of the redox event.
-
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
SolidConcentration(legendre)[source]¶ Bases:
mtnlion.formula.FormulaConcentration of lithium in the solid, 1D approximation using Legendre polynomials.
-
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
SolidConcentrationBoundary[source]¶ Bases:
mtnlion.formula.FormulaThis Formula defines the value of the lithium concentration at the surface of the solid particle.
-
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
SolidConcentrationNeumann[source]¶ Bases:
mtnlion.formula.FormulaNuemann boundary for the solid concentration. This Formula doesn’t use a boundary domain due to the 1D 1D approximation.
-
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
SolidPotential[source]¶ Bases:
mtnlion.formula.FormulaCharge conservation in the solid.
-
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
SolidPotentialNeumann[source]¶ Bases:
mtnlion.formula.FormulaNeumann boundary for the solid potential at the anode/cathode current collector boundaries.
-
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
StateOfCharge[source]¶ Bases:
mtnlion.formula.FormulaState of Charge (SOC) formula.
-
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