bmlite.SPM.postutils#

Routines in this submodule contains all post-processing functions for the SPM package.

Functions#

intercalation(soln)

Plots anode and cathode particle intercalation profiles vs. time.

pixels(soln)

Makes pixel plots for most 2D (space/time) variables.

post(soln)

Run post processing to determine secondary variables.

potentials(soln)

Plots anode, electrolyte, and cathode potentials vs. time.

Module Contents#

bmlite.SPM.postutils.intercalation(soln)[source]#

Plots anode and cathode particle intercalation profiles vs. time.

Parameters:

soln (Solution) – A single particle model solution object.

See also

StepSolution, CycleSolution

bmlite.SPM.postutils.pixels(soln)[source]#

Makes pixel plots for most 2D (space/time) variables.

Parameters:

soln (SPM Solution object) – A single particle model solution object.

See also

StepSolution, CycleSolution

bmlite.SPM.postutils.post(soln)[source]#

Run post processing to determine secondary variables.

Parameters:

soln (Solution) – A single particle model solution object.

Returns:

postvars (dict) – Post processed variables, as described below.

Key

Value [units] (type)

sdot_an

anode Faradaic current at t [kmol/m2/s] (1D array)

sdot_ca

cathode Faradaic current at t [kmol/m2/s] (1D array)

See also

StepSolution, CycleSolution

bmlite.SPM.postutils.potentials(soln)[source]#

Plots anode, electrolyte, and cathode potentials vs. time.

Parameters:

soln (Solution) – A single particle model solution object.

See also

StepSolution, CycleSolution