cideMOD.models.particle_models.SGM_basic.equations

Classes

ParticleModelSGMEquations()

class cideMOD.models.particle_models.SGM_basic.equations.ParticleModelSGMEquations[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 SGM particle 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 SGM particle 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 SGM particle model that will be used to solve the transitory problem.

Parameters:
  • equations (ProblemEquations) – Object that contains the system of equations of the transitory 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.

get_solvers_info(solvers_info, problem) None[source]

This method get the solvers information that concerns the SGM particle model.

Parameters:
  • solvers_info (dict) – Dictionary containing solvers information.

  • problem (Problem) – Object that handles the battery cell simulation.