pybop.applications.gitt_methods#
Classes#
Fit the diffusion timescale of each pulse from a galvanostatic intermittent |
|
Fit the diffusion timescale of one pulse from a galvanostatic intermittent |
Module Contents#
- class pybop.applications.gitt_methods.GITTFit(gitt_dataset: pybop.Dataset, pulse_index: list[numpy.ndarray], parameter_values: pybamm.ParameterValues, cost: pybop.ErrorMeasure | pybop.LogLikelihood | None = None, optimiser: pybop.BaseOptimiser | None = pybop.SciPyMinimize, verbose: bool = False)[source]#
Bases:
pybop.BaseApplicationFit the diffusion timescale of each pulse from a galvanostatic intermittent titration technique (GITT) measurement.
- Parameters:
gitt_dataset (pybop.Dataset) – A dataset containing the “Time [s]”, “Current function [A]” and “Voltage [V]” for a GITT measurement.
pulse_index (list[np.ndarray]) – A nested list of integers representing the indices of each pulse in the dataset.
parameter_values (pybamm.ParameterValues) – A parameter set containing values for the parameters of the SPDiffusion model.
cost (pybop.ErrorMeasure | pybop.LogLikelihood, optional) – The cost function to quantify the error (default: pybop.RootMeanSquaredError).
optimiser (pybop.BaseOptimiser, optional) – The optimisation algorithm to use (default: pybop.SciPyMinimize).
verbose (bool, optional) – If True, progress messages are printed (default: False).
- __call__() pybop.Dataset[source]#
- class pybop.applications.gitt_methods.GITTPulseFit(parameter_values: pybamm.ParameterValues, cost: pybop.ErrorMeasure | pybop.LogLikelihood | None = None, optimiser: pybop.BaseOptimiser | None = pybop.SciPyMinimize, verbose: bool = True)[source]#
Bases:
pybop.BaseApplicationFit the diffusion timescale of one pulse from a galvanostatic intermittent titration technique (GITT) measurement using the diffusion model for a single, spherical particle representing the working electrode.
The cost function requires a “domain”-based weighting to fit (possibly non-uniform) data consistently across the observed time period.
- Parameters:
gitt_pulse (pybop.Dataset) – A dataset containing the “Time [s]”, “Current function [A]” and “Voltage [V]” for one pulse obtained from a GITT measurement.
parameter_values (pybamm.ParameterValues) – A parameter set containing values for the parameters of the SPDiffusion model.
cost (pybop.ErrorMeasure | pybop.LogLikelihood, optional) – The cost function to quantify the error (default: pybop.RootMeanSquaredError).
optimiser (pybop.BaseOptimiser, optional) – The optimisation algorithm to use (default: pybop.SciPyMinimize).
verbose (bool, optional) – If True, progress messages are printed (default: True).
- __call__(gitt_pulse: pybop.Dataset) pybop.OptimisationResult[source]#