cideMOD.models.PXD.degradation.SEI.solvent_diffusion.equations
Classes
- class cideMOD.models.PXD.degradation.SEI.solvent_diffusion.equations.DiffusionSEIModelEquations[source]
Bases:
BaseCellModelEquations- build_weak_formulation(eq: ProblemEquations, var: ProblemVariables, cell: BatteryCell, mesher: BaseMesher, DT: TimeScheme, W: BlockFunctionSpace, problem) None[source]
This method builds the weak formulation of the electrochemical model.
- Parameters:
equations (ProblemEquations) – Object that contains the system of equations of the problem.
var (ProblemVariables) – Object that store the preprocessed problem variables.
cell (BatteryCell) – Object where cell parameters are preprocessed and stored.
mesher (BaseMesher) – Object that store the mesh information.
DT (TimeScheme) – Object that provide the temporal derivatives with the specified scheme.
W (BlockFunctionSpace) – Object that store the function space of each state variable.
problem (Problem) – Object that handles the battery cell simulation.
- build_weak_formulation_stationary(eq: ProblemEquations, var: ProblemVariables, cell: BatteryCell, mesher: BaseMesher, W: BlockFunctionSpace, problem)[source]
This method builds and adds the weak formulation of the electrochemical model that will be used to solve the stationary problem.
- Parameters:
equations (ProblemEquations) – Object that contains the system of equations of the stationary problem.
var (ProblemVariables) – Object that store the preprocessed problem variables.
cell (BatteryCell) – Object where cell parameters are preprocessed and stored.
mesher (BaseMesher) – Object that store the mesh information.
W (BlockFunctionSpace) – Object that store the function space of each state variable.
problem (Problem) – Object that handles the battery cell simulation.
- build_weak_formulation_transitory(eq: ProblemEquations, var: ProblemVariables, cell: BatteryCell, mesher: BaseMesher, W: BlockFunctionSpace, problem)[source]
This method builds and adds the weak formulation of the electrochemical model that will be used to solve the stationary problem.
- Parameters:
equations (ProblemEquations) – Object that contains the system of equations of the stationary problem.
var (ProblemVariables) – Object that store the preprocessed problem variables.
cell (BatteryCell) – Object where cell parameters are preprocessed and stored.
mesher (BaseMesher) – Object that store the mesh information.
W (BlockFunctionSpace) – Object that store the function space of each state variable.
problem (Problem) – Object that handles the battery cell simulation.
- explicit_update(problem) None[source]
This method updates some stuff after the implicit timestep is performed.
- Parameters:
problem (Problem) – Object that handles the battery cell simulation.