cideMOD.models.PXD.electrochemical.outputs

Classes

ElectrochemicalModelOutputs()

A class that contains the mandatory methods to be overrided related to the outputs of cideMOD.models.ElectrochemicalModel.

class cideMOD.models.PXD.electrochemical.outputs.ElectrochemicalModelOutputs[source]

Bases: BaseCellModelOutputs

A class that contains the mandatory methods to be overrided related to the outputs of cideMOD.models.ElectrochemicalModel.

get_c_e_avg()[source]
get_capacity()[source]
get_cell_state(cell_state: OrderedDict, problem) None[source]

This method updates the cell state dictionary with the current cell state variables of this specific model.

Parameters:
  • cell_state (OrderedDict) – Dictionary containing the current cell state variables

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

get_current()[source]
get_i_Li_int_avg()[source]
get_i_Li_total_avg()[source]
get_outputs_info(warehouse: Warehouse) None[source]

This method modifies a dictionary containing the information of both the global and internal variables that can be outputed by the electrochemical model.

Parameters:

warehouse (Warehouse) – Object that postprocess, store and write the outputs.

get_phi_e_avg()[source]
get_phi_s_avg()[source]
get_voltage()[source]
prepare_outputs(warehouse: Warehouse, var: ProblemVariables, cell: BatteryCell, mesher: BaseMesher, DA: DimensionalAnalysis, problem) None[source]

This method computes the expression of the requested internal variables to be ready for being evaluated and stored.

Parameters:
  • warehouse (Warehouse) – Object that postprocess, store and write the outputs.

  • var (ProblemVariables) – Object containing the problem variables.

  • cell (BatteryCell) – Object where cell parameters are preprocessed and stored.

  • mesher (BaseMesher) – Object that store the mesh information.

  • DA (DimensionalAnalysis) – Object where the dimensional analysis is performed.

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