cideMOD.models.PXD.electrochemical.outputs
Classes
A class that contains the mandatory methods to be overrided related to the outputs of |
- class cideMOD.models.PXD.electrochemical.outputs.ElectrochemicalModelOutputs[source]
Bases:
BaseCellModelOutputsA class that contains the mandatory methods to be overrided related to the outputs of
cideMOD.models.ElectrochemicalModel.- 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_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.
- 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.